notebooks/common.py
def drop_empty(t: pd.DataFrame) -> pd.DataFrame:
    """Remove all empty rows and columns."""
    t = t.dropna(axis=0, how='all')
    t = t.dropna(axis=1, how='all')
    return t
Remove all empty rows and columns.
Remove all empty rows and columns.
Remove all empty rows and columns .
def drop_empty(t: pd.DataFrame) -> pd.DataFrame:
    t = t.dropna(axis=0, how='all')
    t = t.dropna(axis=1, how='all')
    return t
def drop_empty ( t : pd . DataFrame ) -> pd . DataFrame : t = t . dropna ( axis = 0 , how = 'all' ) t = t . dropna ( axis = 1 , how = 'all' ) return t
Remove all empty rows and columns.
Remove all empty rows and columns .
"""Remove all empty rows and columns."""
t
pd.DataFrame