Python From Zero 07 — CSV Files

Python From Zero 07 — CSV Files In this video we do a first introduction to working with CSV data in Python. We briefly cover: what CSV files actually are opening files normally in Python read mode CSV is still just text underneath Python’s csv module csv.reader csv.DictReader rows and columns simple data processing exporting CSV files We begin with one CSV file. Then step by step we: import it into Google Colab open it as a normal file parse the CSV data load rows into dictionaries add new rows add a new column modify the dataset and finally export everything into a brand new CSV file So by the end: we start with one CSV... and Python generates another one. Everything is written and executed live using Python in Google Colab. This series starts from absolute zero and builds step by step toward real programming concepts and projects. #python #csv #programming #learnpython #coding #googlecolab