How to Fix pandas `pivot_table` Margins Aggregating Both Rows and Columns

Python Pandas How to Concatenate Two Columns

Python Pandas 7 examples of filters and lambda apply

text/CSV file to dataframe with Python and pandas