Reading a CSV file in Python using the "csv" module's "reader" object

Pubblicato il: 03 ottobre 2023
sul canale di: PatchyPython
67
1

CSV (Comma Separated Values) files are a popular format for all sort of information, including spreadsheets. Here I show you how to use the "reader" object from the "csv" module in the standard library to make reading CSV files even easier. This is especially useful when you are dealing with particular "dialects" of CSV files, that follow specific conventions for encoding some characters (for instance for including commas in the data, besides using them as separators). Instructions on writing CSV files can be found in the notebooks linked below.

Embedded video, part of the following courses:
Computer Programming at Queen Mary, University of London
Jupyter notebook: https://tinyurl.com/yc2tpdfs
Coding for Scientists at Queen Mary, University of London
Jupyter notebook: https://tinyurl.com/bdef2fcj

Notebooks will open on Google Colab - no installation required


In questa pagina del sito puoi guardare il video online Reading a CSV file in Python using the "csv" module's "reader" object della durata di ore minuti seconda in buona qualità , che l'utente ha caricato PatchyPython 03 ottobre 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 67 volte e gli è piaciuto 1 spettatori. Buona visione!