cfl_data_utils.references package

pylint: disable=missing-docstring

Submodules

cfl_data_utils.references._type_tests module

The type tests are used in finding the type of a variable when it is a string, but could actually be of a different type.

This can be commonly used when extracting data from a CSV.

Todo

  • Could all potentially be replaced with single line isinstance statements or assertions
cfl_data_utils.references._type_tests.datetime_type_test(value)[source]

Type test for potential datetimes

Parameters:value – The value to be type tested
cfl_data_utils.references._type_tests.float_type_test(value)[source]

Type test for potential floats

Parameters:value – The value to be type tested
cfl_data_utils.references._type_tests.int_type_test(value)[source]

Type test for potential integers

Parameters:value – The value to be type tested

cfl_data_utils.references.constants module

These constants are used often amongst many projects, so have been made importable to reduce error in mis-typing and effort to add them to each project