Learn how to create a pivot table from a CSV file in Excel, Google Sheets, or Python, and how to successfully export a pivot table back to a flat CSV.