CSV Files in Python || Python Tutorial || Learn Python Programming

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 พ.ย. 2024

ความคิดเห็น • 448

  • @Socratica
    @Socratica  2 ปีที่แล้ว +7

    Wear a Socratica Python shirt for good luck coding: shop.socratica.com/products/python-by-socratica

  • @NeoGhiofish
    @NeoGhiofish 5 ปีที่แล้ว +160

    Socratica. @3:45 saved my ass during my job interview Monday. I had to convert a text file with garbled data to a file that could be opened in Excel. I usually use Linux so I was mortified when I discovered that it was inserting blank lines after each row in the file. Then I remembered this video that I watched while cramming for the interview. They left a voicemail last night, saying they had "good news."
    Thank you so much.

    • @jetaimemina
      @jetaimemina 4 ปีที่แล้ว +15

      @ehud kotegaro No, but he did find out that Jesus was born!

    • @gauravnegi4312
      @gauravnegi4312 4 ปีที่แล้ว

      @@jetaimemina lmfao! great comment.

  • @Socratica
    @Socratica  5 ปีที่แล้ว +107

    It's official! The Socratica Python Kickstarter was a success! Thank you to all of our supporters. Because of you, many more Python videos coming soon!! 💜🦉

    • @equitymonk34
      @equitymonk34 5 ปีที่แล้ว +4

      absolutely superb explanations on all videos and we will love to see more such videos.

    • @krishnathakur2138
      @krishnathakur2138 3 ปีที่แล้ว

      Please do a little graphics but i loved the explaination

  • @guiray2000
    @guiray2000 7 ปีที่แล้ว +9

    I went through about 20 Python tutorial sites to try to figure out how to just read a CSV file and still was confused (I am a programmer but new to Python). Then I discovered this video. It was one of the best presentations ever and very clear and exactly what I needed to know. It was also very futuristic like an intelligent robot on a spaceship giving instructions. So very well done indeed!

  • @AnkitBindal97
    @AnkitBindal97 7 ปีที่แล้ว +13

    she's definitely one of the coolest python teachers on TH-cam. loved the way she teaches python.. keep making more tutorials

  • @brutalbutler
    @brutalbutler 6 ปีที่แล้ว +250

    Felt like im getting debriefed for an MI5 mission

  • @pravin8419
    @pravin8419 6 ปีที่แล้ว +37

    Best mix of humor with mournful and melancholic voice to deliver substance. In short, what a lovely video with great information

  • @KapilMarwaha
    @KapilMarwaha 5 ปีที่แล้ว +19

    "With big data comes big responsibility !"
    ... you are just wow!

  • @ronimiguel
    @ronimiguel 7 ปีที่แล้ว +290

    Best presentation I've ever seen, I felt like I was in the future. Thanks

    • @Nasreddiin
      @Nasreddiin 5 ปีที่แล้ว +2

      In the future? The future will be without machine...

    • @spencerjames9417
      @spencerjames9417 4 ปีที่แล้ว

      @@Nasreddiin bet

    • @ulysses1904
      @ulysses1904 4 ปีที่แล้ว +5

      I felt like I was in 1967's cliched vision of the future. Regardless, the content is great.

    • @Zook919
      @Zook919 4 ปีที่แล้ว

      Dude, I swear I felt the same... lol

    • @mviktor21
      @mviktor21 2 ปีที่แล้ว

      Socratica teaches as all learning videos must be, emphatetic but simple, to the point.

  • @aws96314
    @aws96314 7 ปีที่แล้ว +132

    the presentation is superb

    • @TheNsn666
      @TheNsn666 7 ปีที่แล้ว +8

      future of learning is by games and things that looks like games.

    • @zbzb-ic1sr
      @zbzb-ic1sr 7 ปีที่แล้ว +8

      Better than a lot of paid tutorials.

    • @shobharoy2033
      @shobharoy2033 7 ปีที่แล้ว +5

      Exactly my opinion, better than Lynda and Udemy

  • @ademolaorolu5930
    @ademolaorolu5930 6 ปีที่แล้ว +4

    You will never stop to amuse me with your use of words. The video is concise and precise.

  • @ryanvb3452
    @ryanvb3452 6 ปีที่แล้ว

    This Python series deserves a TH-cam channel of its own. Please make more videos.

  • @onecanina
    @onecanina 7 ปีที่แล้ว +53

    Thank you so much for the tutorials. These are excellent and so fun to watch. One suggestion, if possible, try not having the codes written on the very bottom of the video screen. When pausing the video to follow the steps and copy the codes the loading bar will appear and block the content. it is not even a problem, but I guess this could help the viewers trying to copy the codes =)

  • @collardwe1
    @collardwe1 7 ปีที่แล้ว +8

    Ulka Simone Mohanty you are one of the best teachers in the world. Your style and clear explanations make the learning experience one of the best I have ever had. Thank you very much

    • @silversolver7809
      @silversolver7809 5 ปีที่แล้ว +1

      She does a great voice-over, very convincing as if she knew the material.

    • @CarbonsHDTuts
      @CarbonsHDTuts 2 ปีที่แล้ว

      @@silversolver7809 I think it's because she does know the material, her twitter says shes a comp-sci geek

    • @silversolver7809
      @silversolver7809 2 ปีที่แล้ว

      @@CarbonsHDTuts :) I was just poking fun at the text-to-speech delivery.

  • @BryanTyner
    @BryanTyner 6 ปีที่แล้ว +10

    Great tutorials! Simple tip for accessibility: Avoid using the bottom 1/10th of the video window, as it will be covered by closed captions. With captions on, I can't see the code, arrows, and other content you're describing. Keeping content above the bottom 1/10th of the video window improves accessibility for users with hearing impairments and those who aren't fluent English speakers.

    • @jessicabrock3220
      @jessicabrock3220 5 ปีที่แล้ว

      Bryan Tyner also, I would suggest not to use the top 1/10 of the window. TH-cam places links for suggested videos there.

  • @naveedhunzai
    @naveedhunzai 4 ปีที่แล้ว +2

    In love with Python because of You Socratica, May you live forever in the realms of Big Data :)

  • @PrestonBannister
    @PrestonBannister 7 ปีที่แล้ว +79

    From back-of-mind: You should be cast in the next Tron movie. :)

    • @EmileAI
      @EmileAI 6 ปีที่แล้ว

      Preston Bannister there won’t be another one

    • @arthurnonimus
      @arthurnonimus 6 ปีที่แล้ว

      @@EmileAI Just wait.....

    • @dirkmcnasty8585
      @dirkmcnasty8585 5 ปีที่แล้ว

      @@EmileAI yep, it was turned TROFF now... :(

  • @darkguardian1314
    @darkguardian1314 4 ปีที่แล้ว +38

    Cortana's weird sister. 🤣
    The instructor is an an actor listed in IMDB.

    • @jesalgandhi
      @jesalgandhi 4 ปีที่แล้ว

      That's because she's an actor lol

    • @jhtrico1850
      @jhtrico1850 3 ปีที่แล้ว

      I thought she was an AI

  • @riskyrun
    @riskyrun 4 ปีที่แล้ว

    Your mission:Should you choose to save the world.Or just save it in a CSV format.Love these videos.

  • @Helen-lm6bb
    @Helen-lm6bb 6 ปีที่แล้ว +39

    lol this video is so dramatic... I love it!

    • @dabbrill4609
      @dabbrill4609 5 ปีที่แล้ว +1

      Right? It's like the telenovela version of a programming guide.

  • @frankkoslowski6917
    @frankkoslowski6917 5 ปีที่แล้ว +2

    A good presentation is one thing. When it stimulates further self motivated research; then it becomes excellent.

  • @disneykidzshowhd4377
    @disneykidzshowhd4377 5 ปีที่แล้ว +1

    I hope 20 years from now, all youtube videos are all like this one. This is 20 years to the future.

  • @essuede
    @essuede 5 ปีที่แล้ว

    if all subjects in school were presented in a unique way like this, it would make things much more interesting and attainable.
    thank you for this.

  • @gordontang7837
    @gordontang7837 4 ปีที่แล้ว +7

    "with big data, comes big responsibility" that was the funniest line

  • @gmccalip
    @gmccalip 6 ปีที่แล้ว

    Best resource on this that I have found. Outstanding job of presenting a simple, yet robust method to handle CSVs.
    I did have one minor glitch, an error message about "file = open(path, newline='')"
    The solution is "file = open(path,'rU')" # the U is uppercase.

  • @igorthelight
    @igorthelight 4 ปีที่แล้ว +9

    "Personally, I would've chosen a different name for a class. But I'm only a singleton".
    Superb! :-)

    • @igorthelight
      @igorthelight 4 ปีที่แล้ว

      @Paritosh Jadhav Oops! My mistake :-)

  • @mahajanravish
    @mahajanravish 7 ปีที่แล้ว +30

    ha ha 😅 really good. Your way of teaching is different and exceptional.

  • @wuersen
    @wuersen 2 ปีที่แล้ว

    Girl you rock and you need your own Stand up Comeday show!!!

  • @vladimirignatov2121
    @vladimirignatov2121 7 ปีที่แล้ว

    As far as i can understand the main goal of this tutorial is a demonstration of advantages of the csv-module over general python's method of reading csv-files. More precisely you declare that the csv-module can parse csv-file and manage exceptions more robust than the general method. But all that you demonstrate for csv-module can be implemented by general python's file reading ways equally. You doesn't demonstrate by examples what exactly can do csv-module that couldn't do general python's file reading techniques.
    In the rest very good, clear, creative and visually attractive tutorial.

  • @QuarktaschemitSenf
    @QuarktaschemitSenf 2 ปีที่แล้ว

    hahaha the presentation 🙂
    *dramatic tone* "Get ready to look at values, that have been seperated....*dramatic pause* by commas".
    Funny, entertaining and educational. Good job!

  • @MoSec9
    @MoSec9 5 ปีที่แล้ว

    I usually hate robot narration, but this may just be the sexiest robot ever. I can't get enough of this. On a more serious note, GREAT job! and thank you!

  • @xxxyyy5983
    @xxxyyy5983 3 ปีที่แล้ว

    I love these tutorials. They remind me of the old C&C games.

  • @osein8900
    @osein8900 ปีที่แล้ว

    the best educational video I have ever seen in youtube
    thanks a bunch

  • @mindsetnuggets
    @mindsetnuggets 6 ปีที่แล้ว +2

    My oh my!! This is out of this world tutorial. Best presentation ever. I have subscribed so that I know what I should know but don't know or could know if I didn't subscribe.

  • @tawhidshahrior8804
    @tawhidshahrior8804 3 ปีที่แล้ว

    this is the coolest tutorial i have ever come across.

  • @PunmasterSTP
    @PunmasterSTP 3 ปีที่แล้ว

    CSV? More like CS-yee...haw! Another phenomenal Python video from Socratica!

  • @narsinghyadav1071
    @narsinghyadav1071 4 ปีที่แล้ว

    I'd love more Python from Socratica

  • @abdulhamidyusuf2848
    @abdulhamidyusuf2848 5 ปีที่แล้ว +3

    every time she says RUN i hear the music in my head 😹, TBH the content is charming, thank you.

  • @freakindividual
    @freakindividual 7 ปีที่แล้ว

    omg straight to the point tutorial with a practical example what will make my job easier. no noise what so ever. outstanding channel. thank u

  • @elghark
    @elghark 5 ปีที่แล้ว

    Starting from 00:49 .... that music in background simply great!

  • @-x-dx7295
    @-x-dx7295 6 ปีที่แล้ว

    Un grand merci d'Aix les Bains en France. Vos vidéos sont simples, claires et précises. Idéales pour le débutant que je suis.🙏

  • @coffeeisthepathtovictory1290
    @coffeeisthepathtovictory1290 3 ปีที่แล้ว

    LOVE this intro, it reminds one of the game Command and Conquer Tiberian sun with those video cut scenes ❤

  • @asoftraiden
    @asoftraiden 7 ปีที่แล้ว

    Best girl of socratica.. please make more programming courses.. make it more advanced.

  • @faroukhasnaoui5097
    @faroukhasnaoui5097 4 ปีที่แล้ว

    I repeated this video 2 times, it's a very important lesson, Thank you.

  • @thecodinghustle1006
    @thecodinghustle1006 5 ปีที่แล้ว +2

    i absolutely love her presentation! and team socratica too

  • @pusac5697
    @pusac5697 7 ปีที่แล้ว +2

    ... if you had only subscribed... genious!

  • @julzbuzz7243
    @julzbuzz7243 3 ปีที่แล้ว

    She is ADDICTIVELY Amazing🤞

  • @mheermance
    @mheermance 5 ปีที่แล้ว

    Working with dates and times is a delicate affair in any language. Especially when building client server systems that span time zones! Throw in countries with different DST rules, even though they're at the same line of longitude. For the finishing touch I dare you to find out the time in Arizona!

  • @uploader3371
    @uploader3371 7 ปีที่แล้ว

    I liked how fast the video goes. I paused and go back, but it's great to have a lot of info in short videos.
    LOL, the voice sounds so strict and seems like a sci-fi movie. haha

  • @TheBontenbal
    @TheBontenbal 4 ปีที่แล้ว

    I love the socratica movies!
    However, if you just want to show the data prettytable is also a nice option:
    from prettytable import from_csv
    csv_file = open('google_stock_data.csv')
    print(from_csv(csv_file))

  • @cjstevens6405
    @cjstevens6405 4 ปีที่แล้ว +1

    If you get "SyntaxError: (unicode error)" when defining 'path' (as I did), try replacing each single slash \ with a double slash \\. This makes it a *raw* string, and this worked for me.

    • @tienphieubat
      @tienphieubat 4 ปีที่แล้ว

      i also get "syntax error" althrough i did like you. can you help me?

    • @captainfuture2882
      @captainfuture2882 4 ปีที่แล้ว

      @@tienphieubat Please post your line, maybe I can help.

  • @FuZhixiang
    @FuZhixiang 7 ปีที่แล้ว

    Having watched many videos, I find this one is helpful and straightforward.

  • @siddharthramachandran2221
    @siddharthramachandran2221 5 ปีที่แล้ว

    Why is there no separate python playlist...
    Absolutely love these videos
    Would love if better all videos were there in a playlist

    • @Socratica
      @Socratica  5 ปีที่แล้ว

      There is a Socratica Teaches Python playlist!
      Here it is: bit.ly/PythonSocratica

  • @GEScott71
    @GEScott71 6 ปีที่แล้ว

    Very helpful, I needed to read and then write csv files and this tutorial helped me write my first useful program!

  • @ubermensch5472
    @ubermensch5472 4 ปีที่แล้ว

    wow, you are one serious teacher

  • @piotrbienkowski1095
    @piotrbienkowski1095 5 ปีที่แล้ว

    I was not sure why I like this lady teaching us Python. But then it clicked on me: she reminds me of Shaw from the Person of Interest! :-)

  • @juliastovall5749
    @juliastovall5749 7 ปีที่แล้ว

    this is the best utube video I have ever seen

  • @asoftraiden
    @asoftraiden 7 ปีที่แล้ว

    Ridiculously beautiful tutorial.

  • @plaifaha.2674
    @plaifaha.2674 7 ปีที่แล้ว

    I found solution to remove quotes from each row, I was finding this video. Thank you very much!

  • @alamagha2039
    @alamagha2039 6 ปีที่แล้ว

    You are a magic to my intellectual development.

  • @MrAviaportal
    @MrAviaportal 5 ปีที่แล้ว

    I just ran this video once again in case i did not understand something...I did not even on the second time.......but i damn love that voice

  • @joshambush8574
    @joshambush8574 6 ปีที่แล้ว +2

    oh god this has such a hackery vibe. love it lol

  • @sagarghait2760
    @sagarghait2760 5 ปีที่แล้ว

    I thought, I was watching a movie.. great tutorial to Learn...the way of presentation is so good 🤗

  • @शिवप्रमति
    @शिवप्रमति 3 ปีที่แล้ว

    Very Unique way to create tutorial.. Great Job.

  • @niueanlaho
    @niueanlaho 4 ปีที่แล้ว

    I love your voice.......it should be used on more apps or GPS.......

  • @rahulpandey974
    @rahulpandey974 4 ปีที่แล้ว

    really liked it , I am a beginner here
    thanks for these

  • @aryanmn1569
    @aryanmn1569 5 ปีที่แล้ว +3

    reporter: Why you want become rich?
    me: To donate and force Socratica them make more vids!

  • @Julio-uq1ie
    @Julio-uq1ie 6 ปีที่แล้ว +1

    Love at python vids from Socratica.

  • @MarsVlogSoon
    @MarsVlogSoon 7 ปีที่แล้ว +38

    expecting more video tutorials on python

  • @goufsunchannel5800
    @goufsunchannel5800 3 ปีที่แล้ว

    Its like future AI ..amazing . keep it up 👍

  • @Wibblium
    @Wibblium 7 ปีที่แล้ว +3

    The ISO standard date format is the least esoteric date format out there! (YYYY-MM-DD)

  • @swannschilling474
    @swannschilling474 3 ปีที่แล้ว

    Always a pleasure!! 🥰

  • @TheSubhadipMondal
    @TheSubhadipMondal 6 ปีที่แล้ว

    New presentation ......first time seen ..thanks ..best explanation

  • @siki3702
    @siki3702 3 ปีที่แล้ว

    I am in love with this baji♥️

  • @sravanbob
    @sravanbob 7 ปีที่แล้ว

    advance teaching great lessons like a sci-fi movie style tutorials grt work !!!

  • @DanielPizarro184
    @DanielPizarro184 2 ปีที่แล้ว

    best python channel

  • @timothy8428
    @timothy8428 5 ปีที่แล้ว +1

    And here's me parsing CSVs by hand. Of course there's a CSV module because of course there is.

  • @eduardolopes243
    @eduardolopes243 5 ปีที่แล้ว +2

    import pandas as pd
    data = pd.read_csv("/path/to/file.csv") #enjoy!
    great video though

  • @pravarsharma
    @pravarsharma 4 ปีที่แล้ว

    Woww now that's something i never expected.. You got a subscriber🤩

  • @raissabenoccithibes3768
    @raissabenoccithibes3768 4 ปีที่แล้ว +1

    This is an amazing job you guys have been doing! So great to learn!
    Thank you so much for helping me to go towards Data Science!

  • @paguerchanel
    @paguerchanel 4 ปีที่แล้ว

    This video format is amazing!!!

  • @mtcondie
    @mtcondie 6 ปีที่แล้ว +1

    This is the first video I have watched of the python series and I am only 22 seconds in to the video. But, I feel like this video is a mission briefing in a video game cut scene. also, I am picking up a very seven of nine vibe. lol.

  • @mukhitdinkakenov3238
    @mukhitdinkakenov3238 5 ปีที่แล้ว

    Thank you a lot for the provided tutorial. Saved much time to understand, how the current things work.

  • @MrNagios
    @MrNagios 7 ปีที่แล้ว

    I like the way they explain Python.

  • @powerhour4602
    @powerhour4602 5 ปีที่แล้ว +1

    22 seconds in and wishing Lynda.com would redo all their tuts like this lmao. So reminiscent of Command and Conquer.

  • @arregull
    @arregull 5 ปีที่แล้ว +1

    Python - Socratica
    Excel -Leila Gharani
    Good finds :)

  • @srikantabanerjee1547
    @srikantabanerjee1547 3 ปีที่แล้ว

    love you. Lifesaver🤧🤧

  • @TonderayiKanoz
    @TonderayiKanoz 7 ปีที่แล้ว

    Awesome! thumbs up Ulka and your team.

  • @zeyadramadan8759
    @zeyadramadan8759 4 ปีที่แล้ว

    Really like your videos. Always to the point.

  • @oinn6216
    @oinn6216 4 ปีที่แล้ว

    Amaizing video format. The best I've seen. I'm continue watching even I'm not a python dev :D

  • @ravengwo
    @ravengwo 5 ปีที่แล้ว +1

    for Windows the line: file=open(returns_path, 'w') should have newline=' ' parameter as well, as without it the new CSV has blank lines between records

  • @cryingkelp
    @cryingkelp 4 ปีที่แล้ว

    This channel is awesome and this video was extremely helpful. Thank you!!

  • @LJHuang-jn8bj
    @LJHuang-jn8bj 7 ปีที่แล้ว

    Perfect demo and explanation

  • @ezequielgallo1961
    @ezequielgallo1961 5 ปีที่แล้ว

    Saved my life! Thank you so much!! Furthermore It is so inspiring. What a legend!!

  • @akramsystems
    @akramsystems 7 ปีที่แล้ว +9

    if you're using python 2.7 the newline=' ' wont work, instead add import io dependency and use io.open() instead of open()

    • @ramaks8186
      @ramaks8186 7 ปีที่แล้ว

      thank you so much ali akram for your tip.

    • @paulmichaud3230
      @paulmichaud3230 6 ปีที่แล้ว

      Thanks!

  • @cpobyrne1
    @cpobyrne1 2 ปีที่แล้ว

    I love this singleton!

  • @sedimenter
    @sedimenter 7 ปีที่แล้ว

    Interesting. I like the format, a little strange, but engaging. THank you.

  • @venutekmal9878
    @venutekmal9878 6 ปีที่แล้ว

    Great work Socratica , really excellent presentation on python and stock returns process

  • @benji667
    @benji667 7 ปีที่แล้ว

    got my subscription. Dayum well presented

  • @yashnu
    @yashnu 7 ปีที่แล้ว +4

    I thought I recognised Ulka, and sure enough, there she is!

    • @Socratica
      @Socratica  7 ปีที่แล้ว +7

      That's amazing! Small world!!
      Isn't she incredible?!
      Thanks for watching! :)

    • @dimitriosdesmos4699
      @dimitriosdesmos4699 7 ปีที่แล้ว

      yashnu who is ulka

    • @SagarPanchalMOTIMALA
      @SagarPanchalMOTIMALA 7 ปีที่แล้ว +2

      Do you wanna marry her!!! Focus on python...lol

    • @trolleymasterzero4940
      @trolleymasterzero4940 6 ปีที่แล้ว

      is she hawt or what ;-;