concepts.benchmark.gridworld.crafting_world.crafting_world_gen.utils.underline_to_pascal#

underline_to_pascal(s)[source]#

Converts a string from underlined to pascal case.

Example

>>> underline_to_pascal("hello_world")
"HelloWorld"
Parameters:

s (str) – the string to convert.

Returns:

the converted string.

Return type:

str