CSV Column to Python Dictionary

Опубликовано: 14 Октябрь 2024
на канале: DataEng Uncomplicated
12,960
134

#python

This video walks through how to convert a single column from a CSV file into a python dictionary. This tutorial uses the DictReader method. It also walks through how to query to find out if a value exists in the list of values within the python dictionary.

timestamps
00:00 video overview
00:23 import python csv DictReader
01:38 Create python dictionary
01:55 append values in record to dictionary
02:50 print results
3:02 find if value exists in dictionary