openpyxl.utils.inference module

Type inference functions

openpyxl.utils.inference.cast_numeric(value)[源代码]

Explicity convert a string to a numeric value

openpyxl.utils.inference.cast_percentage(value)[源代码]

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

openpyxl.utils.inference.cast_time(value)[源代码]

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