flasc.data_processing.dataframe_manipulations.df_drop_nan_rows#
- flasc.data_processing.dataframe_manipulations.df_drop_nan_rows(df: DataFrame | FlascDataFrame, verbose: bool = False) DataFrame | FlascDataFrame [source]#
Drop all-nan rows.
Remove entries in dataframe where all rows (besides 'time') have nan values.
- Parameters:
df (pd.Dataframe | FlascDataFrame) -- Input pandas dataframe
verbose (bool, optional) -- Print progress. Defaults to False.
- Returns:
Dataframe with all-nan rows removed
- Return type:
pd.Dataframe | FlascDataFrame