How to pull data from a CSV file in Python

preview_player
Показать описание
Hello everyone, today's video is a short one but a good one. I have been using CSV files a lot in my current project for my data structures and algorithms 2 class. I had a lot of issues early on trying to get the data in to the lists and print it so I figured this would be a good video. Let me know what you think in the comments and please subscribe if you are not yet, I'm trying to get to the 1000 subs mark :).

Peter-Pyke on GitHub
Рекомендации по теме
Комментарии
Автор

Thank you for the explanation, I'm working on a project that has almost this exact problem rn and this helped me understand it better

thefrub
Автор

Thank you for this video! I have a question: How to would be, if i want that myList had a array of objects?

esmaben
Автор

How can we extract data against specific date from column?

adey
Автор

Thanks for the video. I have a question. I am trying to take 9 different raw data files, convert to csv, parse as needed, fix missing values, etc. Run exploratory analysis on the csv using python. Then I have to take those 9 files and combine into one file and run exploratory analysis. Do I need to use excel to convert to CSV first for each one or can I use python to perform that function for me. How do I import the files into my python project so I do not have to use pathways? I appreciate any help. Good video.

xetmnon
Автор

Hey Porkchop. I´m trying to retrieve number values from a csv file and store them as json, without the Quotation mark. Any link to one of your videos? Thanks I want to store them like [32.789, 8.456] (like coordinates)

brunomachado
Автор

I wish you could show how to extract specific columns, but thanks for the video

yaweli
Автор

In 5:50, how can I append to the list all the values that are located in just one column?

adanordonez
Автор

what is the tool you are working now? i have downloaded python setup but my screen is not same as you working in the video now.
Please tell me what to install to type the code like you do

vanishreevelmurugan
Автор

Thank you so much for your video! I’ve learned a lot! I have one question, how am I able to do the exact same function without csv.reader? My professor doesn’t want us using that, and I’m not sure how else to do it.

lomar-omhc
Автор

how to extract text (if possible specific section text ) from multiple resume extension as doc, docx, pdf and save all into a new csv file in 3 row data entry system.

sagarsrinivas
Автор

You are so handsome and your voice. Gosh!

TheCopperMystic
Автор

Let’s say I have a csv file with 2 columns. I have years on one column and sales amount in the second. The issue I am having is that I don’t know how to make a list with the year because I need to calculate the means for them. How would I create a list with all the years

reddeadcobra
Автор

how to store the data in CSV FILES proper format using python

thippeswamykv
Автор

I am getting an error;
NameError: name 'filename' is not defined
how do I fix this? I hope you answer my question, thank you in advance.

discere
visit shbcf.ru