openpyxl.utils.inference module

Type inference functions

openpyxl.utils.inference.cast_numeric(value)[source]

Explicitly convert a string to a numeric value

openpyxl.utils.inference.cast_percentage(value)[source]

Explicitly convert a string to numeric value and format as a percentage

openpyxl.utils.inference.cast_time(value)[source]

Explicitly convert a string to a number and format as datetime or time