code: def profile_df(df):
    
    # The bootstrap CSS messes up the Datalab display so we tweak it to not have an effect.
    # TODO(gram): strip it out rather than this kludge.
    return IPython.core.display.HTML(
        pandas_profiling.ProfileReport(df).html.replace('bootstrap', 'nonexistent'))
docs: Generate a profile of data in a dataframe.
  
    Args:
      df: the Pandas dataframe.