Tutorial 9- Python Pandas Tutorials In Hindi- Dataframes, Series And Dataframes Operation-Part 1

Поделиться
HTML-код
  • Опубликовано: 20 авг 2024
  • Pandas is a software library written for the Python programming language for data manipulation and analysis. In particular, it offers data structures and operations for manipulating numerical tables and time series. It is free software released under the three-clause BSD license.
    ----------------------------------------------------------------------------------------------------------------
    github: github.com/kri...
    Python playlist in hindi : • Tutorial 1- Python Ove...
    Please donate if you want to support the channel through GPay UPID,
    Gpay: krishnaik06@okicici
    -----------------------------------------------------------------------------------------------------------------------
    Recording Gears That I Use
    shorturl.at/wzI68
    ---------------------------------------------------------------------------------------------------------------------------
    #krish #pythonbusted
    Connect with me here:
    Twitter: / krishnaik06​
    Facebook: / krishnaik06​
    instagram: / krishnaik06

Комментарии • 101

  • @user-wt4bb8yl3x
    @user-wt4bb8yl3x Год назад +4

    Really thankful to you Krish. I am transitioning my career towards Data field, being with Python experience , your videos helping me a lot to understand these useful concepts. The way you explain is really awesome. This is really a great work you are doing. GBU

  • @user-fg9pl4iu1v
    @user-fg9pl4iu1v Месяц назад

    indexing assignment to get the col 1 and col 4 we can use these two steps to get the desire outcome
    1 df.iloc[:,0::3]
    2 df[["Column1","Column4"]]
    by using these two steps we can easily get the desire outcome
    By the way i really enjoy learning from your videos its very informative and have learned alot

  • @comingtomorrow
    @comingtomorrow Год назад +4

    00:22:56 - cream is chessy and question is very easy , answer = df.iloc[0:5,0:4:3] .

    • @saumilgupta2383
      @saumilgupta2383 Год назад +5

      pura column hi aa rha hai to rowindex columnindex ki kya jrurt hai sidha hi df[["Column1","Column4"]] kr do

  • @awkumyoungstar2473
    @awkumyoungstar2473 10 месяцев назад +8

    In this code, iloc[:, [0, 3]] selects all rows (:) and the columns at positions 0 and 3 (which correspond to "col1" and "col4"). The resulting DataFrame, selected_columns, will contain only these two columns.

  • @harshGupta0103
    @harshGupta0103 2 месяца назад +1

    My Table :
    Column1 Column2 Column3 Column4 Column5
    Row 1 0 1 2 3 4
    Row 2 5 6 7 8 9
    Row 3 10 11 12 13 14
    Row 4 15 16 17 18 19
    Row 5 20 21 22 23 24
    Row 6 25 26 27 28 29
    Row 7 30 31 32 33 34
    Row 8 35 36 37 38 39
    Row 9 40 41 42 43 44
    Row 10 45 46 47 48 49
    1st way : df[['Column1','Column5']]
    output :
    Column1 Column5
    Row 1 0 4
    Row 2 5 9
    Row 3 10 14
    Row 4 15 19
    Row 5 20 24
    Row 6 25 29
    Row 7 30 34
    Row 8 35 39
    Row 9 40 44
    Row 10 45 49
    2nd way : df.iloc[:,0:5:4]
    output :
    Column1 Column5
    Row 1 0 4
    Row 2 5 9
    Row 3 10 14
    Row 4 15 19
    Row 5 20 24
    Row 6 25 29
    Row 7 30 34
    Row 8 35 39
    Row 9 40 44
    Row 10 45 49

  • @MithileshKumar-tm9yl
    @MithileshKumar-tm9yl Год назад +3

    Respected sir.i have read carefully your present videos..
    I hope this video will be very helpful in our kvs examination...

  • @HeyKaran-ir5mm
    @HeyKaran-ir5mm 10 месяцев назад +2

    thank you, sir... for this indirect help.
    and congrats for your great work.
    🙏🙏👍

  • @proud_indian0161
    @proud_indian0161 4 месяца назад

    nice explanation, before I was really confused between these three indexing ways.

  • @RixwanKhan
    @RixwanKhan Год назад +1

    Bhai k bolna and dikhna bilkul Qaaleen bhaiya jesa hai :P Respect from Pakistan

  • @vishalpal7968
    @vishalpal7968 Год назад

    Rely thankful krish I'm transforming our career towards data filed it's videos help me going to Data Analytics position.

  • @udaybhanchauhan3582
    @udaybhanchauhan3582 Год назад

    Sb clear kr diya esi hi video search kr rha tha thanks

  • @AnuragSharma-vi5cv
    @AnuragSharma-vi5cv 2 года назад +2

    Thanks, Krish liked the video and the concepts you taught keep doing it

  • @hritavsinghsolanki8893
    @hritavsinghsolanki8893 6 месяцев назад +1

    00:01 Introduction to Python Pandas
    02:26 Pandas simplifies handling data in Python
    06:43 Converting data to a dataframe in Python Pandas
    09:13 Creating and viewing dataframes in Python Pandas
    14:14 Understanding the indexing and data manipulation techniques in Pandas
    16:35 The difference between Dataframes and Series in Pandas
    20:28 Understanding the indexing technique using row and column index numbers
    22:51 Introduction to basic operations in Pandas
    27:46 Using Pandas to perform various data operations
    29:48 Understanding unique values in a column.

  • @sidnoga
    @sidnoga 2 года назад +1

    I really like the way you teach...

  • @aniksamaddar1088
    @aniksamaddar1088 Год назад +1

    And Thanks your videos are absolutely great .

    • @easydatascience2508
      @easydatascience2508 Год назад

      Hei, bro, you can watch mine too. The playlists for Python and R provide most of the fundamentals. And you can find the link to source files in video description.

  • @SaurabhSingh-sy1pe
    @SaurabhSingh-sy1pe Месяц назад

    @17:04
    type(df['column1'])
    type(df[['column2','column4']])
    in both cases output is dataframe

  • @MrAd540
    @MrAd540 Год назад

    Superb Video.Thank you so much for making the video..Kindly complete the full python video.

  • @jeekakrishna
    @jeekakrishna 2 года назад +3

    This is useful. Sir ek video matplotlib par bhi

  • @amanagarwal721
    @amanagarwal721 4 месяца назад

    Thankyou so much brother😊💯

  • @ankeshkumar3205
    @ankeshkumar3205 Год назад

    Thanks sir , This is very useful.

  • @kaushik_1809
    @kaushik_1809 3 месяца назад

    Thankyou sir

  • @VikasSingh-nq5yx
    @VikasSingh-nq5yx 2 года назад +8

    In[ ] : df [[ "column1" , "column4" ]]
    Out[ ] : column1 Column4
    Row1 0 3
    Row2 4 7
    Row3 8 11
    Row4 12 15
    Row5 16 19

  • @dilipinamdar5523
    @dilipinamdar5523 Год назад

    Thanks, Krish

  • @apurbakumarmajumder9478
    @apurbakumarmajumder9478 Год назад

    thank you bhaiya for your video

  • @__________________________6910
    @__________________________6910 2 года назад +3

    you said that kal hii mil jayega iske part 2 and 3. But 2 din hoo geyee, part 2 and part 3 nehi aye 😣

  • @AbhishekRajput-bc6ux
    @AbhishekRajput-bc6ux 15 дней назад

    print(data.iloc[0:5,0::3])

  • @shashi_kamal_chakraborty
    @shashi_kamal_chakraborty 2 года назад +1

    Sir, "THANKS A " + "LOT "*3 !!!

  • @shub_vyas
    @shub_vyas Год назад +1

    By Using index values : df.iloc[:,[0,3]]
    By Using loc : df.loc[:,['Column1','Column4']]

  • @sanichara_
    @sanichara_ 2 года назад +1

    Assignment= df.iloc[0:5, 0:4:3]

    • @VikasSingh-nq5yx
      @VikasSingh-nq5yx 2 года назад

      🤔🤔How?

    • @sanichara_
      @sanichara_ 2 года назад

      @@VikasSingh-nq5yx Please watch full video and try to execute :)

    • @VikasSingh-nq5yx
      @VikasSingh-nq5yx 2 года назад

      @@sanichara_ dekha but 0:4:3 ek sath likh skte hai kya

    • @maulikpanchal1373
      @maulikpanchal1373 2 года назад

      a=df.iloc[:2,:]
      b=df.iloc[3:,:]
      pd.concat([a, b], axis=0)

  • @adityakumartripathi8547
    @adityakumartripathi8547 Год назад +1

    there are two ways to get all those numbers from column1 and column4
    In[ ] : df[['column1,'column4]]
    and
    In[ ] : df.iloc[: , : : 3]

  • @worldcultureisdumb2658
    @worldcultureisdumb2658 Год назад

    Assignment answer is df.iloc[0:,0::3]

  • @razanaeem7491
    @razanaeem7491 9 месяцев назад

    What code i would write if i want to sum enrolled number of trainees in my data filtered data class status = complete and contractual trainees class status = cancelled and completed and show it college wise number

  • @bumbchick
    @bumbchick 2 года назад

    Thanks

  • @dynamicacceleration
    @dynamicacceleration Год назад +1

    ❤❤

  • @world_news261
    @world_news261 Год назад

    Great bhai ❤❤

  • @mahboobsiddiqui1713
    @mahboobsiddiqui1713 10 месяцев назад

    Read Column : df[['col1','col4']]

  • @user-vu3yb8jk5e
    @user-vu3yb8jk5e 11 месяцев назад

    sir name df not defined error kse theek hota anyone please help me with this

  • @kumaraditya5426
    @kumaraditya5426 Год назад

    Sir mere me type single wale ka pandas.core.frame.Dataframe aa raha hai

  • @mukultiwari5204
    @mukultiwari5204 Год назад

    Can we skip the row also??

  • @priyapandey8951
    @priyapandey8951 Год назад

    Assignment:
    df.iloc[0:,::3]
    Column1 Column4
    Row1 0 3
    Row2 4 7
    Row3 8 11
    Row4 12 15
    Row5 16 19

  • @DeepakSharma-sl5et
    @DeepakSharma-sl5et Год назад

    Hii sir, actually when I started my pandas library and import pandas and try. to create dataframe it show pandas has no attribute of dataframe.. What can I do now??...

    • @DeepakSharma-sl5et
      @DeepakSharma-sl5et Год назад

      Please anyone help me...

    • @adityatikoji1317
      @adityatikoji1317 Год назад

      @@DeepakSharma-sl5et you need to pass the data as krishan sir passes at starting of the video 0:30
      go through that again other wise copy this snippet and try to paste
      df = (np.arange(1,20).reshape(5,4),index = ["r1","r2","r3","r4","r5"],columns=["c1","c2","c3","c4"])

  • @vishalpal7968
    @vishalpal7968 Год назад

    Sheet kha milegi

  • @awkumyoungstar2473
    @awkumyoungstar2473 10 месяцев назад

    Assigment done by Zeeshan khattak from abdul wali khan university of Mardan pakistan
    dp.iloc[:, [0, 3]]

  • @abhisheksharma10600
    @abhisheksharma10600 9 месяцев назад

    df[["Column1","Column4"]]

  • @rechutambe8687
    @rechutambe8687 9 месяцев назад

    df[['Column1','Column4']]

  • @KhushiKumari-wg7xw
    @KhushiKumari-wg7xw 4 месяца назад

    [0:,3:] #answer

  • @ashishvinod2193
    @ashishvinod2193 Год назад

    df[['Col1' , 'Col4']]

  • @ajay2347
    @ajay2347 2 года назад

    Ans : [:,::3]

  • @umangsharma563
    @umangsharma563 Год назад

    df=pd.DataFrame(data=np.arange(0,20).reshape(5,4),index=["Row1","Row2","Row3","Row4","Row5"],columns=["columns1",
    "columns2",
    "columns3",
    "columns4"])
    ---------------------------------------------------------------------------
    TypeError Traceback (most recent call last)
    Cell In[65], line 1
    ----> 1 df=pd.DataFrame(data=np.arange(0,20).reshape(5,4),index=["Row1","Row2","Row3","Row4","Row5"],columns=["columns1",
    2 "columns2",
    3 "columns3",
    4 "columns4"])
    TypeError: 'numpy.ndarray' object is not callable

  • @user-zd9wc2zm1z
    @user-zd9wc2zm1z 7 месяцев назад

    df[['colum1','colum5']]

  • @programmer1305
    @programmer1305 2 года назад

    df.iloc [:,1::4]
    Correct answer

    • @VikasSingh-nq5yx
      @VikasSingh-nq5yx 2 года назад

      Can you teach me please double colon :: use?

    • @mithunmahato309
      @mithunmahato309 2 года назад

      Start : end : step size
      I think .. plz correct me if wrong...
      I am learning programming in python

    • @VikasSingh-nq5yx
      @VikasSingh-nq5yx 2 года назад

      @@mithunmahato309 it's right 👌

    • @VikasSingh-nq5yx
      @VikasSingh-nq5yx 2 года назад

      @@mithunmahato309 mithun you on Instagram?

    • @mohitujjain6562
      @mohitujjain6562 2 года назад

      df.iloc[:,[0,3]]
      Correct ans5

  • @taimoorkhalid8054
    @taimoorkhalid8054 5 дней назад

    df5.iloc[:,[0,3]]