acore.types package#

Collect common types of pandas DataFrames used in the package.

Documentation of DataFrame Models API: https://pandera.readthedocs.io/en/stable/dataframe_models.html

check_numeric_dataframe(df: DataFrame) DataFrame[source]#

Check if the DataFrame contains only numeric data. returns the DataFrame again if it is valid (allowing chaining).

select_numeric_columns(df: DataFrame) DataFrame[source]#

Select only numeric columns from the DataFrame.

build_schema_all_floats(df: DataFrame) DataFrameSchema[source]#

Build a schema that checks if all columns are float, potentially containing NaN values.

Submodules#