Комментарии:
You're amazing :)))
ОтветитьGreat tutorial, Thanks guy who looks like Edward Snowden.
ОтветитьThanks for your affords! :) Old playlist, still valuable, yayyy. -- Simple question: Since the "with open" all your code is indented. A"must", because longer code gets pretty messy, no?
Ответитьthanks a lot💕
ОтветитьTHANK YOU SO MUCH!!!
ОтветитьUsed this for my Netflix viewing history CSV... awesome lol
Ответитьfam can u speak up tf u aint loud enough
ОтветитьGreat video. Thank you! It's very easy to understand :)
Ответитьomg thank you so much you are the best
ОтветитьSo say you have a .csv file where you have to read a row and you want to print that one item from that set. How would you go about doing so?
ОтветитьHmmm, and where should I place this file for Python to see it?
Ответитьik i'm very late but thank you soo much. i really needed this
ОтветитьHow do you convert the csv data into a float ?
ОтветитьNICE !
ОтветитьYou rock, brutha! Thanks. This is just what I was looking for.
Ответитьim getting an error no such file 'example.csv' i dont know where file has
ОтветитьI love the way you teach <3 Thank you so much!
Ответитьwhy: color = row[3]
colors.append(color)?
why not colors.append(row[3]) ?
Obligatory "Hi Edward Snowden" Comment
Ответитьcan I ask you ?
ОтветитьVery good, thanks
Ответитьwth is WITH AS?
ОтветитьThank you so much, I couldn't find a video describing how to do columns and rows. Youre a god.
ОтветитьHello what is the purpose of "delimiter=,"
ОтветитьPlease anyone help to resolve this error.
import csv
with open('ex1.csv') as csvfile:
read_file= csv.reader(csvfile,delimiter=',')
print(read_file)
color = []
name = []
for r in read_file:
print(r)
color = r[3]
name = r[1]
color.append(color)
name.append(name)
print(name)
print(color)
<_csv.reader object at 0x7f8685505e48>
['22/may/1995', 'shivam', 'lko', 'black']
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-52-a1561de3b081> in <module>()
12 name = r[1]
13
---> 14 color.append(color)
15 name.append(name)
16
AttributeError: 'str' object has no attribute 'append'
Great stuff!
Ответитьgot an error no such directory found
though the file is saved with csv plss help
Please can me using python in GUI remote access desktop
Ответитьindex coldex sentdex
ОтветитьYou need to move your face cam or a least shrink it cause i missed half that lesson due to not seeing the code...
ОтветитьVery helpful!
ОтветитьThank you Edward!
ОтветитьIf my csv file has an header, how to make our code realize that that's our header and we dont need to print the header text?
Ответитьwill the real edward snowden please stand up , i think we are gonna have a problem here
Ответитьwhy doesnt the print(readcsv) part work?
ОтветитьAnyone who got a tip for a CSV like program for Linux/Ubuntu?
Ответитьhow to overcome this error
object has no atrribute to append
how i apply this for jupyter notebook
ОтветитьHow to take an average number for one row?
ОтветитьI was confused all day, thinking I was doing something wrong, the code was not working. And it was because I misspelled "delimiter"
ОтветитьHELP!!!
error = csv has no attribute "reader"
im using python 3.6
i used dir() and "reader" is nowhere to be found!
Since a comma is only one delimiter allowed in a group of many, a better association for the first element of the acronym 'CSV' would be 'common' wouldn't it? (since each separator is of the same relative type) Just a thought...
ОтветитьLol I made my own CSV module already but I didn't know it was part of python standard library. Oops.
Ответитьis it was CSV tutorial really?
Ответитьi could never figure, which one is identifier and which ones is keyword. Because you never tell the words u useare default keywords and cannot be changed as it is a builtin feauture/function while expaining. Please do mention which are keywords and which are userdefined identifiers.
And does csv have only these functions? or more?
Can we just access csv files or we can also edit/write from python script.
what kind of fuel are you using?
ОтветитьHow we can make search efficient such that if string is made up of 2 names(<first> <last> then entering first or last name returns the result
ОтветитьI believe it's comma separated VALUES, but you're reading them in as variables 😁
Ответить