Link

Cleans a pandas DataFrame

datacommons.clean_frame(pd_frame)

A convenience function that cleans a pandas DataFrame.

Arguments

  • pd_frame (pandas.DataFrame) - The Pandas DataFrame.

Returns

A pandas.DataFrame with all rows containing empty or NaN elements removed.