lisa.datautils.df_convert_to_nullable#

lisa.datautils.df_convert_to_nullable(df)[source]#

Convert the columns of the dataframe to their equivalent nullable dtype, when possible.

Parameters:

df (pandas.DataFrame) – The dataframe to convert.

Returns:

The dataframe with converted columns.