Exporting results to multiple formats
📖 Scenario: You have collected sales data for a small store. You want to save this data in different file formats so you can share it easily with others who may use different software.
🎯 Goal: Create a small sales data table using pandas, then export it to CSV and Excel files.
📋 What You'll Learn
Create a pandas DataFrame with specific sales data
Set a filename variable for saving files
Export the DataFrame to a CSV file
Export the DataFrame to an Excel file
Print confirmation messages after each export
💡 Why This Matters
🌍 Real World
Saving data in multiple formats helps share information with different tools and users easily.
💼 Career
Data scientists often export data to CSV and Excel to communicate results with teams and clients.
Progress0 / 4 steps