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

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

    Do you want to learn python from me with a lot of interactive quizzes, and exercises? Here is my project-based python learning course: codebasics.io/courses/python-for-beginner-and-intermediate-learners

  • @mahdikotti8110
    @mahdikotti8110 5 ปีที่แล้ว +6

    man your work quality is priceless !! short , very useful , with examples and informative videos !! the best way to learn python for data science !! keep up the good work and thanks a lot

  • @nickt423
    @nickt423 5 ปีที่แล้ว +46

    This should save you some time! Here is the text he copied and pasted for examples 3 through 5
    # way 3 (python dictionary)
    weather_data = {
    'day': ['1/1/2017', '1/2/2017', '1/3/2017'],
    'temperature': [32, 35, 28],
    'windspeed': [6,7,2],
    'event': ['Rain', 'Sunny', 'Snow']
    }
    # way 4 (python tuple list)
    weather_data = [
    ('1/1/2017', 32, 6, 'Rain'),
    ('1/2/2017', 35, 7, 'Sunny'),
    ('1/3/2017', 28, 2, 'Snow')
    ]
    # way 5 (python dictionary list)
    weather_data = [
    {'day': '1/1/2017', 'temperature': 32, 'windspeed': 6, 'event': 'Rain'},
    {'day': '1/2/2017', 'temperature': 35, 'windspeed': 7, 'event': 'Sunny'},
    {'day': '1/3/2017', 'temperature': 28, 'windspeed': 2, 'event': 'Snow'}
    ]

  • @kevinzhang8974
    @kevinzhang8974 6 ปีที่แล้ว +34

    this is so far the best video for self-learning Python/Pandas ... thank you so much!

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

    I agree with so many others here....your videos are truly top notch.

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

    Man! Best tute I've ever seen on pandas. Lovely

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

    You made best tutorials!

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

    Great Pandas Tutorial

  • @venkatyalamati3285
    @venkatyalamati3285 3 หลายเดือนก่อน

    I got just impressed during first time watching your videos... but second time, I feel it's great!!!!

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

    great work man !

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

    Nice and well-explained videos.

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

    Great tutoriel!!!

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

    Very methodical approach to teaching. Great. Thanks👍

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

    Amazing videos. Thanks a ton.

  • @kavithayadav9692
    @kavithayadav9692 29 วันที่ผ่านมา +1

    soo helpful, thanks for this video .

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

    Simple ! And easy

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

    great work !

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

    Man you are awesome.

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

    A great tutorial...

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

    Thanks man such a great vedio

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

    Thank you for making the concept so easy and simple .I am worried about the people why gave "thumbs down" wishing if they know better let us know with the proof of video tutorials---------you thumbs downer-----

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

    Thank you!

  • @Forever._.curious..
    @Forever._.curious.. ปีที่แล้ว +1

    Very much good 👍

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

    a great work

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

    Simple and efficient ... Thank you

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

      I am happy you liked it Dan 😊

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

    legend. this is amazing. Thanks for sharing!

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

    thank you!!

  • @vameghmirtalebi2758
    @vameghmirtalebi2758 4 หลายเดือนก่อน

    i will come back tommorow nice video ❤

  • @md.shafiqulislam5692
    @md.shafiqulislam5692 5 ปีที่แล้ว

    nice tutorial

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

    Super !

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

    Thank you for teaching me Basics of Pandas..

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

      It's my pleasure sabarish

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

    Great Tutorial. Can you list some tips if we need to productionalize this using Cloud environment - AWS/GCP/Azure? Thanks.

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

    Thanks sir
    There tutorials are really helpful

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

    This is a gr8 tutorial, i have one question , can we apply theses datafrmaes in spark ?

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

    Awesome information ❤️

    • @codebasics
      @codebasics 3 ปีที่แล้ว +1

      Glad you think so!

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

    great all videos

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

    Excellent. I am not able to use read _excel() and it throws errors. I installed xlrd as per the error message, However no go

  • @AbhijeetSingh-rx9ef
    @AbhijeetSingh-rx9ef 2 ปีที่แล้ว

    what happens in the last one? how the system is interpreting that dates and events etc are column headings and need to be placed at the top only

  • @vivekyadav-eb1ic
    @vivekyadav-eb1ic 2 ปีที่แล้ว

    *I think before importing excel in pandas one should install, xlrd using pip or conda*

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

    Sir i want the answer for
    Write the syntax of dataframe method?

  • @rayoh2011
    @rayoh2011 8 หลายเดือนก่อน

    It's now October 2023. For people using the newer versions of Pandas, you need to upgrade the Excel reading module.
    Short story: XLRD is the default engine for Pandas to read Excel files, and as it happens XLRD stopped supporting XLSX files.
    If you want to read one anyway, you need to pip install openpyxl, and set it to be the reading engine instead of the default.

    • @harutora-san1713
      @harutora-san1713 8 หลายเดือนก่อน

      Tbh i knew about this but still forgot lol thanks for reminding

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

    Hello, what does the r before C: ?
    df = pd.csv_read(r 'C:\datasets\example.csv')
    With some letters of the lowercase alphabet from error if there is not.
    thx
    ric

  • @satishkumar-ir9wy
    @satishkumar-ir9wy 2 ปีที่แล้ว

    Hi Sir, can you help me to read multiple parquet files from different directories using python

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

    It's great tutorial.I have a question when I am using a large excel file all data is not displayed in jupyter notebook.How to make all data display. I have file wioth 200+ rows and 16 columns.In between it will show break with ........ for two lines and continues

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

      pd.set_option('display.max_columns', 500)
      pd.set_option('display.width', 1000)
      chaange the second parameter according to your dataset

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

    WHAT IS THE DIFFERENCE BETWEEN XLS FILE AND CSV FILE BOTH LOOKS SIMILAR

  • @ayushgupta80
    @ayushgupta80 3 หลายเดือนก่อน

    Ways of creating data frames
    1. read_csv()
    2. read_excel(location , "Sheet1")
    3. as dictionary ( 3:26)
    4. as tuple ( list of tuples ) Each element in a list is tuple ( 4:20)
    5 . list of dictionaries (6:25)

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

    in example 3 the following error message is displayed. Name Error: pd is not defined.

  • @charmeevaghela4169
    @charmeevaghela4169 2 ปีที่แล้ว +1

    Sir i am not able to use read_excel() it is throwing errors like module not found
    i have imported pandas as pd and done the same as you taught, can you please tell the solution ?

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

    AttributeError: module 'pandas' has no attribute 'read_excel'

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

    from sql file?

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

    do we need "pip install xlrd" for read_csv?

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

      you don't need to install anything extra as long as you have done pip install pandas or installed anaconda.

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

    at 5:19 there are only 3 data points in tuple still you mentioned 4 columns and it worked why

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

    👍

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

    Sir I have one error, dataframe object has not attribute dataframe

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

    Sir I'm not able to import excel and CSV. file the way you telling.i'm getting error like unicode error codec can't decode bytes in postinton 2-3: truncated\uxxxx escape.I have installed pandas
    I have searched this error in Gogle and I got a solution such as use duplicate backlash , forwardlash and r" " still it's same error poping up
    What's mistake have I been doing sir here

  • @Al-Ahdal
    @Al-Ahdal 4 ปีที่แล้ว

    Boss, I am using the same Jupyter notebook, but I could'nt see border lines in df across rows and columns, could you please help in this.

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

      That's because you are using old version of notebook. Download latest version of anaconda and install it

    • @Al-Ahdal
      @Al-Ahdal 4 ปีที่แล้ว

      @@codebasics , currently using this: Anaconda3 2019.10 (Python 3.7.4 64-bit)

  • @aartikhemani6014
    @aartikhemani6014 6 หลายเดือนก่อน

    df=pd.read_excel("file.xlsx", "Sheet1")
    its not working its giving error with comma, and if i am trying sheet_name = "Sheet1" its showing sheet not found
    what to do?

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

    I have problem with csv file. I kept getting the same error over and over again. The pandas has no attributes called csv . Any one help

  • @born2victory944
    @born2victory944 10 หลายเดือนก่อน

    Sir how to save our file in jupyter notebook anaconda plz sir maake a video

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

    i am not able to open the csv file it is giving me error
    UnicodeDecodeError: 'utf-8' codec can't decode byte 0xae in position 16: invalid start byte
    Give me solution

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

      Refer
      www.edureka.co/community/51644/python-unicodedecodeerror-codec-decode-position-invalid

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

    sir i m getting an error in read the csv file as UnicodeDecodeError ....
    anyone please help

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

    How to add return value from function to dataframe column?

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

      Df.column_name.apply(function_name)

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

    install xlrd if unable to read excel file

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

    I have a worksheet (sample) as follows.
    df.head()
    uniname 19.1 19.2 19.3 19.4
    0 uni1 Complied NotAppl Clarification NotAppl
    1 uni2 NotAppl Complied NotComplied Clarification
    2 uni3 Clarification NotComplied Complied Complied
    3 uni4 Complied Clarification NotAppl Complied
    df.dtypes()
    uniname object
    19.1 object
    19.2 object
    19.3 object
    19.4 object
    dtype: object
    Objective here is
    To count each university having count of having each status for each article (19.1,19.2 etc).
    e.g output.
    Uniname | Article | Status | Count
    uni1 - | 19.1 - | Complied - | 2
    | 19.1 - | NotAppl - | 1
    | 19.1 - | Clarification - | 1
    | 19.2 | NotAppl | 1
    | 19.2 | Complied | 1
    |19.2 | NotComplied | 1
    | 19.2 |Clarification|
    uni2.........
    uni3.........
    uni3 .......
    I have used nested loops and with functions such as iterrows() and iteritems() for dataframe, however not able to crack it. Can you help?

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

      Got some further code to slice and dice into dataframe and reached to following level.
      Step 1: Three loops and three different lists to store values for each column.
      Step2: covered them into dataframes and index them
      dfunin = pd.DataFrame(unin)
      dfarti= pd.DataFrame(arti)
      dfstat = pd.DataFrame(stat)
      dfunin.set_index(0,inplace=True)
      dfarti.set_index(0,inplace=True)
      dfstat.set_index(0,inplace=True)
      Step3: Creating a Dictionary and storing the value for each
      newdict = {"aUniname":'',
      "bArticle":'',
      "cStatus": ''}
      for i,r in dfunin.iterrows():
      #print("University -->" , r[i])
      newdict['aUniname']= r[i] - # Getting error "KeyError : 1"
      for i1,r1 in dfarti.iterrows():
      print("Article -->" , r1[i1])
      #newdict['bArticle']= r1[i1]
      for i2,r2 in dfstat.iterrows():
      print("Status -->" , r2[i1])
      #newdict['cStatus']= r2[i2]
      Query at this stage: Getting an Keyvalue error while assigning value to dictionary
      KeyError Traceback (most recent call last)
      in ()
      12
      13 for i1,r1 in dfarti.iterrows():
      ---> 14 print("Article -->" , r1[i1])
      15 #newdict['bArticle']= r1[i1]
      16
      Can you guide at this stage?

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

    Step by step roadmap to learn data science in 6 months: th-cam.com/video/H4YcqULY1-Q/w-d-xo.html
    Machine learning tutorials with exercises:
    th-cam.com/video/gmvvaobm7eQ/w-d-xo.html

  • @mymoviemania1
    @mymoviemania1 2 หลายเดือนก่อน

    Learning From 7 year old tutorials🥲

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

    Thank you!