Reading in Files in Pandas | Python Pandas Tutorials

Поділитися
Вставка
  • Опубліковано 11 гру 2024

КОМЕНТАРІ •

  • @christianwiah4526
    @christianwiah4526 Рік тому +39

    This is how people should teach - easy, smooth, and clear breakdown of concepts.

  • @bear76917
    @bear76917 7 місяців тому +13

    As a python beginner without any programming background, I watched a lot of videos on youtube and found them very hard to follow. This video is the best I've ever watched so far! Thanks!

  • @damaslan2246
    @damaslan2246 Рік тому +14

    Great video from Alex as always. For those who don't know how to access to "copy as a path", you hold shift and right-click the file. I hope this helps.

  • @beardedmtbr
    @beardedmtbr Рік тому +8

    Great video Alex as always, still can’t believe how much I have learned from you and your videos in the last 6 months! Definitely tunning in to brush up and keep it fresh! Bring back the intro!

  • @vishnuekilwale4186
    @vishnuekilwale4186 Рік тому +3

    This is the thing I was looking for. I had wish to someone make it more easy.
    This is my first step 🚶‍♂️ to learn python.
    Lots of love ❤️ for this video

  • @victorchinemerem2704
    @victorchinemerem2704 Рік тому +11

    Thank you for being a truely outstanding teacher. Your passion for impacting knowledge and your dedication to your students is obvious in everything you do.
    I feel so lucky to learn from you sir. I hope you know the priceless impact you are making in so many lives.
    Sir, please I have a humble request.
    I would appreciate if you would make a video of PYTHON in Data Analysis. A complete series. Much love sir.....

  • @kpeyialale1104
    @kpeyialale1104 Рік тому +1

    You teach in the most simple way. Thank you for zooming the screen so one can see the text clearly. God bless you. Keep up the good work

  • @litaogechi86
    @litaogechi86 Рік тому

    I feel like giving you a hug @Alex. Thanks for relieving me hours searching for this solution. Thanks alot

  • @dccoulthard
    @dccoulthard Рік тому +2

    Great video. It's been really hard to find good Python videos. It seems like EVERY Python for Data Analytics course that I buy has a teacher that comes from the computer science world, and talks about it that way. Your approach makes is SO much easier for us non-computer scientists to learn!

  • @kmetriqs
    @kmetriqs Рік тому

    Thank you Alex! I watched the first video and it automatically switched to the next one, but I came back to hit thumbs-up and leave this comment.
    The best Pandas course (I tried many of them)

  • @SidiMohamed-x4y
    @SidiMohamed-x4y 3 місяці тому

    The best before the course l was disappointed because I couldn’t open the bath of file and now it’s going up 😂😂❤thanks you’re the best now l will see all your videos and if you have a group not free l will join it really it’s helpful and fantastic explanation!!

  • @emmanuelojuyenum879
    @emmanuelojuyenum879 11 місяців тому

    This is so simplified and informative, thanks Alex.

  • @MuhammadSohail-w6r
    @MuhammadSohail-w6r 8 місяців тому +1

    Very fantastic way to teach.

  • @ajaybhandari9596
    @ajaybhandari9596 6 місяців тому

    Amazing tutorial.
    thanks for straightforwardly explaining this.
    I want to request you to please make a video on Mathematics used in Data analysis.

  • @chahineatallah2636
    @chahineatallah2636 9 місяців тому

    great video, new for me is the "copy for path" lol, used to do that different way or "type manually"

  • @theauroralightyr
    @theauroralightyr 3 місяці тому

    Great job, easy to understand. Thank you so much.

  • @sajuthomas9659
    @sajuthomas9659 Рік тому

    Alex, thanks for the video. Nicely explained. Looking forward to future videos.

  • @srijanrawat4014
    @srijanrawat4014 Рік тому

    Great videos MAN , one thing i struggled with was no module named panda , would have helped if you told us how to download the library or maybe its because i am doing it in vs code : still great vidoes man u are G.O.A.T

  • @rajeshkumar2k567
    @rajeshkumar2k567 Рік тому +1

    13:26 how does the comand knows that it has to do changes for jason file, you did not mention that show all the columns for Jason file.

  • @İsmayılSadıqov-v6b
    @İsmayılSadıqov-v6b Рік тому

    Great video! Thanks, keep moving forward!

  • @ivanko-nebo
    @ivanko-nebo Рік тому +26

    not having intro sounded so different. It feels that I've missed some part of the video or even lost a complete previous episode.

  • @azamat.tkht47
    @azamat.tkht47 2 місяці тому +1

    my country mentioned yay

  • @yurobert3007
    @yurobert3007 Рік тому +1

    Brilliant tutorial. Thanks.

  • @moxie1189
    @moxie1189 Рік тому

    Chris Bruehl from Maven Analytics has an outstanding Pandas and NumPy master class course. I would recommend that over some unknown course.

    • @AlexTheAnalyst
      @AlexTheAnalyst  Рік тому +1

      I've taken both and I prefer this one actually

  • @KvintKek
    @KvintKek Рік тому

    Nice channel you have got!!! Thank you!!!

  • @ianafele6196
    @ianafele6196 Рік тому +1

    Finally!!!!!!!!!!

  • @adwaamohamed2674
    @adwaamohamed2674 3 місяці тому +2

    pd.options.display.max_rows = 235
    for anybody who couldn't run the code

  • @kunalkaushal6466
    @kunalkaushal6466 Рік тому

    Hello Alex, I have been going through your videos and learned a lot from them. Really thankful for it. Just wanted a little bit of your time to review my Resume which I have made. Your advice would be of great help. Looking forward to your time.
    Thank you.

  • @MohsinAminAnjum
    @MohsinAminAnjum Місяць тому

    18:22 this statement doesn't work Alex Please can u explain it. or anyone else

  • @yagndabhi2178
    @yagndabhi2178 4 місяці тому

    1:58 4:55 7:42 9:52

  • @odiljoniminov6866
    @odiljoniminov6866 Місяць тому

    Uzbekistan 😄🙌

  • @preetshah3793
    @preetshah3793 10 місяців тому

    Please make a video on numpy for data analysis

  • @infiniteboredom1
    @infiniteboredom1 Рік тому

    how would I manipulate the data frame such that I could set a min and max? lets say in the case of the example above, ranking from 12 to max 35

  • @John-pb7gb
    @John-pb7gb 6 місяців тому +1

    Hi Alex, What if my csv file which is separated by a comma has uneven number of columns, can we import it using pandas?

    • @DeranKumar-sz3co
      @DeranKumar-sz3co 5 місяців тому

      Yes import the Csv file, read the Csv file and go for data cleaning and manipulation

  • @samshepherd6197
    @samshepherd6197 Рік тому +1

    i need your help! I try to brimg in Pandas as pd but i get error message:
    it is there i can see it.?
    FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\Samson\\Documents\\CSV Excel Databasse\\sales'

    • @amal7411jo
      @amal7411jo 8 місяців тому

      please add the correct file name

  • @Nandhu470
    @Nandhu470 9 місяців тому

    Can you make a playlist of numpy and matplotlib libraries it will help us a lot

  • @abhishekmarubadi5718
    @abhishekmarubadi5718 Місяць тому

    can you tell me or if possible make a video of how to get started with jupyter. I tried to install and run the first line "import pandas as pd", it always gives me an error..

  • @Hanap.s-jp4sv
    @Hanap.s-jp4sv 10 місяців тому

    thank you soo much sir

  • @positively8461
    @positively8461 11 місяців тому

    Thank You

  • @namaaazaizeh1258
    @namaaazaizeh1258 Рік тому

    thank you Alix for every thing
    I want to ask you smth how can I download the txt , json , csv files form gethup ?

  • @daewanshbansal6173
    @daewanshbansal6173 10 місяців тому

    Hi can anybody help me im getting error refers that no such module exists named “pandas“?

  • @the_seahawk22
    @the_seahawk22 Рік тому +1

    kept getting an error when trying to import the excel file. Not sure what is going on. Help? kept telling me persmission denied

    • @Kishor_D7
      @Kishor_D7 Рік тому

      Me also,but you should close the excel file for importing otherwise permission denied will come..

    • @harisshi
      @harisshi 8 місяців тому

      shift + right Click on folder, now copy as path option will be visible.

  • @AnieAnime
    @AnieAnime Рік тому

    for some reason i am not able to download these files from github, the raw files end up not opening the page and the download button doesn't work.

  • @shadow6161
    @shadow6161 Рік тому

    finally pandas came to the zoo now slowly import Numpy animal also from numerical statistics city .

  • @pitaszekfistaszek
    @pitaszekfistaszek 5 місяців тому

    I love the tutorial so far but the line: print(data_frame.loc['Uzbekistan']) does not work neither in jupyter, nor in VSO.

    • @pitaszekfistaszek
      @pitaszekfistaszek 5 місяців тому

      Alright. I had to change index_col attribute to 'Country'.

  • @aashishmittal206
    @aashishmittal206 8 місяців тому

    Can anyone please explain how to get "copy as path" in Windows right click context menu?
    I don't think it is there by default!

    • @SyahmirSupardi
      @SyahmirSupardi 2 місяці тому +1

      If you using window 10, hold shift while right click to get that option

    • @aashishmittal206
      @aashishmittal206 2 місяці тому

      @@SyahmirSupardi Yeah. I figured it out. Thank you anyway.

  • @Bendelman911
    @Bendelman911 Рік тому +3

    Hi Alex! Thanks for video. 12 out 10 as usually. I would like to ask you if you could give us permission to download the files? Thanks in advance!

    • @AlexTheAnalyst
      @AlexTheAnalyst  Рік тому +1

      Of course - should be provided on my github to download :)

  • @EatingGuo
    @EatingGuo 4 місяці тому

    Loc[‘john’] always showing key error

  • @rajeshgautam-k2r
    @rajeshgautam-k2r Рік тому

    @Alex hi Alex , " import pandas as pd
    pd.read_csv(r"C:\Users\munag\OneDrive\Desktop\Learnings\Data Analyst\countries of the world.csv")"
    FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\munag\\OneDrive\\Desktop\\Learnings\\Data Analyst\\countries of the world.csv' ---- I am getting this error. Can you Please point out where did i do wrong?

    • @praneshs-zt2nd
      @praneshs-zt2nd Рік тому

      1)check if you have assigned it to a variable,
      df = pd.read_csv(r"C:\Users\munag\OneDrive\Desktop\Learnings\Data Analyst\countries of the world.csv")
      2)double check if the file path is correct(you might have moved file to someother location)

  • @wise6469
    @wise6469 Рік тому

    Hello Alex, I would like to know your opinion on Data Analyst freelancer jobs. Is there actually such a thing?
    It would be great if you'd share your thoughts on this.

  • @milanvulic7947
    @milanvulic7947 Місяць тому

    I have a problem :D It cannot read a file when i input path and do all the things like "r". It shows me FileNotFoundError

    • @akbotazhardemkulova2039
      @akbotazhardemkulova2039 Місяць тому

      same

    • @milanvulic7947
      @milanvulic7947 Місяць тому

      @@akbotazhardemkulova2039 it works for me now but not csv, try to use excel file instead and put df.read_excel()

    • @arundaniel7817
      @arundaniel7817 Місяць тому

      @@akbotazhardemkulova2039if you are using windows you have to use two ‘\\’ rather than one ‘\’. Example: c:\\users\\mickeymouse\\data\\my.csv

  • @adwaamohamed2674
    @adwaamohamed2674 3 місяці тому

    thank you so much for your
    optionError: No such keys(s): 'dispaly.max.rows'
    why I have that error guys

  • @chefernandez563
    @chefernandez563 Рік тому

    so i got an error when importing 'sheet1' i then renamed the sheet to somthing else and then it worked

  • @akhmadmikael6576
    @akhmadmikael6576 Рік тому

    Like always this video is very good. But when i try to read the Excel. But why it can't read it? Should i download the openpyxl?

    • @zoestoermer1129
      @zoestoermer1129 Рік тому

      I ran into the same problem and realized it was because I had that excel file open, maybe that is why it was not reading it for you as well

  • @benrum
    @benrum Рік тому

    sangat bermanfaat

  • @juhairmanar7055
    @juhairmanar7055 8 місяців тому

    Datasets links not working

  • @moseistrujillo8300
    @moseistrujillo8300 Рік тому +6

    no intro?

    • @AlexTheAnalyst
      @AlexTheAnalyst  Рік тому +3

      Haha I didn't know people wanted it! I just went straight in - next series I will :)

  • @PawanSahare
    @PawanSahare Рік тому

    How do I read .dat file?

  • @codingtrap5389
    @codingtrap5389 Рік тому

    Is it the first video of pandas??

  • @DavidBurgermeister
    @DavidBurgermeister Рік тому

    No matter how far I get in data analytics, I will always think of black and white bears first when I hear pandas. Where the heck did the name come from, anyway?

  • @onlysrk
    @onlysrk Рік тому

    18:19 Uzbek sila

  • @arvindeleon4527
    @arvindeleon4527 4 місяці тому

    What IDE is this?

  • @catarinamacedo2864
    @catarinamacedo2864 11 місяців тому

    Hey! :) I'm having problems with pd.set_option("display.max_rows",200). If I write pd.get_option(("display.max_rows") it says is 200, but when i run df again, its only showing first and last columns as before. Do you know what the problem could be?🙏

    • @morris9973
      @morris9973 11 місяців тому

      I see you have "display.max_rows", but in the video Alex used "display.max.rows", so a dot, not an underscore. have you tried that?

  • @nesa6582
    @nesa6582 6 місяців тому

    Why you didnt show how to set everything up???? xD

  • @agadirmaroc6908
    @agadirmaroc6908 Рік тому +1

    Alex thanks for the video but for information (“western sahara) is not an official country it’s a part of kingdom of Morocco 🇲🇦

  • @samshepherd6197
    @samshepherd6197 Рік тому +1

    How to use pandas in 2023

  • @FredyArg
    @FredyArg Рік тому

    Hello, great videos, do you know how to use python pandas to read excel files from sharepoint online, using certificate or PKI or x509? I have tried everything and cant get access, keep getting 401 errors…thanks

  • @bennguyen1313
    @bennguyen1313 9 місяців тому

    What if your text file doesn't contain a perfect table. For example, I have a huge text files that looks like this:
    #Time (HHH:MM:SS): 002:34:02
    # T(ms) BUS CMD1 CMD2 FROM SA TO SA WC TXST RXST ERROR DT00 DT01 DT02 DT03 DT04 DT05 DT06 DT07
    # ===== === ==== ==== ==== == ==== == == ==== ==== ====== ==== ==== ==== ==== ==== ==== ==== ====
    816 B0 D84E BC RT27 2 14 D800 2100 0316 0000 0000 0000 0000 CCCD 0000
    817 A0 DC50 RT27 2 BC 16 D800 2120 0000 4080 3000 0000 3000 0000 0000
    #Time (HHH:MM:SS): 002:34:03
    # T(ms) BUS CMD1 CMD2 FROM SA TO SA WC TXST RXST ERROR DT00 DT01 DT02 DT03 DT04 DT05 DT06 DT07
    # ===== === ==== ==== ==== == ==== == == ==== ==== ====== ==== ==== ==== ==== ==== ==== ==== ====
    056 B0 D84E BC RT27 2 14 D800 2100 0316 0000 0000 0000 0000 CCCD 0000
    057 A0 DC50 RT27 2 BC 16 D740 2120 0000 4080 3000 0000 3000 0000 0000
    How can I do pd.read_table to get just the data from DT00 thru DT07 into an array, without doing lots of preprocessing to scrub out the repeating #Time headers that appear throughout the file?