polars#

Accessors#

Note

Registered as df.ht(...) on any polars.DataFrame via polars.api.register_dataframe_namespace().

Functions#

inf_count

Counts the number of infinite values in each column of a Polars DataFrame.

nan_count

Counts the number of NaN values in each column of a Polars DataFrame.

nul_count

Counts the number of null values in each column of a Polars DataFrame.

lowercase_polars_df

Converts all column names and string columns to lowercase.

to_float32_polars_df

Convert float and decimal columns to float32 to reduce memory usage.