Pandas

  • A Pandas recipe: pivoting a table

    The pivot operation of a dataframe transforms some columns values in columns using other columns as a reference. Sounds crazy, isn’t?