def pruneNullRows(df):
  """
  Removes rows that are all nulls.
  :param pd.DataFrame df:
  This is done in place to avoid storage problems with large dataframes.
  :return pd.DataFrame:
  """
  return df.dropna(axis=0, how='all')