Part 5A - CSV and Excel Fundamentals Using ChatGPT Scripts
Part 5A - CSV and Excel Fundamentals Using ChatGPT Scripts
Chapters
- Understanding CSV and Excel Files
- Reading a CSV File
- Writing a CSV File
- Reading an Excel File
Purpose
Learn how to use ChatGPT scripts to generate Python programs that work with CSV and Excel files.
Standard Workflow
Business Problem → ChatGPT Script → Generated Python Program → Test → Improve Script → Improve Program
Chapter 1 - Understanding CSV and Excel Files
- What is CSV
- What is XLSX
- Advantages and disadvantages
- Business examples
Chapter 2 - Reading a CSV File
Program: Read-CSV.py
Topics: - pandas - read_csv() - row counts - column counts
Chapter 3 - Writing a CSV File
Program: Write-CSV.py
Topics: - DataFrame - to_csv() - UTF-8 output
Chapter 4 - Reading Excel Files
Program: Read-Excel.py
Topics: - read_excel() - worksheets - summaries
Part 5A Review
- Read CSV
- Write CSV
- Read Excel
- Improve ChatGPT scripts