Numpy Tutorial in Hindi

Поделиться
HTML-код
  • Опубликовано: 26 окт 2024

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

  • @CodeWithHarry
    @CodeWithHarry  5 лет назад +626

    Like karna mat bhoolna :)
    Pandas In one video is coming soon.. Subscribe and hit the bell icon to stay tuned!

    • @safety1610
      @safety1610 5 лет назад +5

      QNA

    • @rupakbarman885
      @rupakbarman885 5 лет назад +3

      @@safety1610 Bro You are right.

    • @Coding_Asmr_PraDev
      @Coding_Asmr_PraDev 5 лет назад +2

      QnA

    • @arpitagec9
      @arpitagec9 5 лет назад +6

      I can't say how much I am grateful to you after this video. Thanks a lot, bro! 😊 Please cover other important libraries like pandas,matplotlib,scikit-learn,scipy etc.
      After this I would request you to deep dive into statistics part pls, else the knowledge gained through data science would be incomplete.
      Looking forward to your upcoming videos 👍.☺️

    • @anubhavgupta6331
      @anubhavgupta6331 4 года назад +7

      Bhai please make complete tutorial of matplotlib including seaborn please.....

  • @kishansharma5617
    @kishansharma5617 3 года назад +14

    waah hero ho boss, itne easy way se samjha diya jisko main 3 din se padh k nahi samajh paya....society needs more heroes like you. Appreciate bhai the efforts you have given. Thanks a lot. :)

    • @sunilmaurya6594
      @sunilmaurya6594 5 месяцев назад +1

      cuz he does not touch complex things in any video

  • @nnnBigOne
    @nnnBigOne Год назад +58

    07:03 Numpy gives efficient storage and ready-made functions for data analysis.
    14:06 Using Jupyter Notebook and Numpy
    21:09 Learned about creating numpy arrays using python objects
    28:12 Creating numpy arrays from Python structures and using intrinsic numpy array creation objects
    35:15 Numpy array creation methods and reshaping
    42:18 Understanding numpy arrays and axis
    49:21 Using arg sort and axis to sort 2D arrays
    56:18 NumPy arrays take less space compared to Python arrays.

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

      Thanks, bro this is what I was looking for.

    • @ankitmondal1236
      @ankitmondal1236 4 дня назад

      Is this video still worth it ? If I started now in 2024

    • @Ashu-lw2vo
      @Ashu-lw2vo 2 дня назад

      @@ankitmondal1236 for data science its basic introduction not full

  • @anshdholakia714
    @anshdholakia714 3 года назад +67

    44:58, I feel that the argsort(axis=0) when applied to the 2D array, shows the indices sorted with respect to the vertical directions and the axis=1 shows induced sorted wrt the horizontal direction :)

    • @NitinKumar-wm2dg
      @NitinKumar-wm2dg Год назад +1

      sahi hai, vo harry bhaiya kabhi kabhi galti se bol dete hai shayad. Mai bhi output dekh kar hi samjha

    • @sathvikreddy9106
      @sathvikreddy9106 2 месяца назад

      nahi vo sah =i bol rha hai, phir se check karo, axis =0 along the rows and across the columns

  • @techmatrix2103
    @techmatrix2103 5 лет назад +180

    Please make a series on chatbot with AI and Deep learning

  • @sakshamkumar4036
    @sakshamkumar4036 3 года назад +38

    44:42 --> 'argsort()' may be used to find the index of all the elements of a sorted array of any dimension. for a 2d array, we have to specify the axis whose elements we want to sort

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

      no it's not necessary to specify axis for a 2d array when using argsoft()

  • @payelpal8775
    @payelpal8775 2 года назад +6

    44:56
    Function: myar.argsort(axis = 1)
    Display: array
    ([[0, 1, 2],
    [0, 1, 2],
    [2, 1, 0]], dtype=int64)
    Functionality: it will display the indexes of the values from the original array and sort the values

  • @ujjwal2473
    @ujjwal2473 2 года назад +35

    Wow, I can't believe I understood numpy so easily in 1 day. Your teaching style is so amazing, Harry sir. Hats off to you. Going to learn pandas next.
    Keep up the good work you're doing, you don't know how many students you actually help everyday.

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

      dont forget to practice

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

      @@hum4424 from where to do ? do u have resources ?if yes pls do share it here

  • @rajadityasureshbhai1892
    @rajadityasureshbhai1892 3 года назад +7

    44:54
    We want an argsort of axis 1, so as we all know that axis one goes from left to right hence when the first whole column will be an axis of when axis 1 is concerned, hence if we try to sort it we will come to know that all the elements are already sorted, so it will yield and answer as [0,1,2].

  • @nandankumar3496
    @nandankumar3496 3 года назад +6

    45:13 arg.sort() it works by default rows wise and if we give it axis =0 . then it work vertically every column and if we give axis = 0 then it work horizantally

  • @bhattrahul301
    @bhattrahul301 2 года назад +5

    I was not knowing that its so easy to handle NumPy and pandas...Kudos to COde Master Mr.Harry.....I know that you but still I wanna tell, you are providing occupation to a family.....which is so kind....HATTSSS OFFF to this master....We all love you....😍
    Do we have notes of pandas and numpy?

  • @RaviPal-mo3nc
    @RaviPal-mo3nc 3 года назад +15

    44:58 in axis = 0 it tells us where the required elements are w.r.t vertical axis for them to be sorted in ascending order vertically
    In axis = 1 it is considered horizontally

  • @mitalisingh7239
    @mitalisingh7239 3 года назад +17

    Argsort arranges the indices of elements in increasing order of element value. Depending on the axis, it works like...for axis 0 it sorts every column individually and for axis 1 it sorts the rows individually.

  • @heirofsam
    @heirofsam Год назад +43

    There are 6 general mechanisms for creating arrays:
    -Conversion from other Python structures (i.e. lists and tuples)
    -Intrinsic NumPy array creation functions (e.g. arange, ones, zeros, etc.)
    -Replicating, joining, or mutating existing arrays
    -Reading arrays from disk, either from standard or custom formats
    -Creating arrays from raw bytes through the use of strings or buffers
    -Use of special library functions (e.g., random)

  • @zahoorahmedsayyad
    @zahoorahmedsayyad 3 года назад +5

    44:30
    As you have given (axis=1) as argument for argsort it will sort elements with respect to in horizontal axis.

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

    ar.argsort(axis=1) gives the given 2D array in ascending order for all rows. [ [1,2,3] , [4,5,6] , [0,1,7] ]

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

    ar.argsort(axis=0)
    This will give us the index to sort the array column-wise, vertically.

  • @AniketKumar-bm8gi
    @AniketKumar-bm8gi 5 лет назад +222

    Please make video on tensorflow, keras, matplotlib, pandas, scipy modules.

    • @sumitrawat6493
      @sumitrawat6493 3 года назад +9

      bro jupiter ki jagah vs code use kar sakte hai

    • @AniketKumar-bm8gi
      @AniketKumar-bm8gi 3 года назад +2

      @@sumitrawat6493 Haa bhai kar sakte hain 👍

    • @amanshukla270
      @amanshukla270 2 года назад +5

      What is the difference between methods and attributes?

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

      Also SymPy

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

      @@amanshukla270 methods are functions and attributes are variables (in classes ) . You can think like that

  • @kamranhossain9849
    @kamranhossain9849 4 года назад +2

    Argsort(axis=0)..this provide the sorted position of the value of axis 0...like if axis 0 has some numbers like 4,2,7..then argsort will provide the following position 1,0,2..

  • @mohitthakur738
    @mohitthakur738 3 года назад +15

    Brother you're great. You're helping many who can't learn these concept easily. I watched your both videos on numpy and pandas, again thanks a ton. Harry 😊

  • @TGajanan
    @TGajanan Год назад +10

    Hey, thank you, Harry, I am started following your videos from the last 3-4 months What a content you created for free of cost you deserve a big Applause 👏 👏

  • @husi_razzaq.725
    @husi_razzaq.725 2 месяца назад

    Harry Brother kesay shukriya kaho aap ko ....
    Auesome Understanding of Numpy in just one hour......
    Hats off.... Love from Pakistan❤❤❤

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

    44:42 -> what argsort() does is it returns the indices of the array's elements in the ascending order depending upon the axis that has been assigned to it.

  • @factsyard1087
    @factsyard1087 5 лет назад +26

    Sir please Do QNA 🙏🙏🙏

  • @rohitprasad1397
    @rohitprasad1397 5 лет назад +12

    Extremely good work. Cut to cut & point to point tutorial. We liked it. Please make some videos on Panada and Scipy. Keep it up :-)

    • @CodeWithHarry
      @CodeWithHarry  5 лет назад +17

      Pandas is already uploaded and scipy is coming soon. Thanks for your love and support!

    • @ruchiagarwal4943
      @ruchiagarwal4943 4 года назад +5

      right

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

      ​@@ruchiagarwal4943hi

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

    ar.argsort(axis = 1)
    array ([0,1,2]
    [0,1,2]
    [2,1,0])
    2 = 3
    2 = 6
    0 = 7
    it represents ascending value in every row (horizontally)...

  • @NishantKumar-jq9nz
    @NishantKumar-jq9nz 2 года назад +2

    Thankyou so much Harry Bhaiya, ye video mere liye kaffi helpful thi😍😍😍😍

  • @SaritaSingh-rb4sq
    @SaritaSingh-rb4sq 4 месяца назад

    Argsort is used to arrange elements from ascending to descending order in 2D array and when axis = 0 , it is according to vertical direction and when axis = 1,it is according to horizontal direction.

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

    For 44:50 , ar.argsort(axis=1) will give us the indices by which we can sort our numpy 2d array elements column-wise

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

    argsort simply arrange the element indices in ascending order.
    like argsort(axis =0) means it will simply arrange element indices in ascending order column wise.
    argsort(axis = 1) works as row wise.

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

    ar.argsort(axis=1) - gives the element position to sort the array for column, horizontally in asc
    ar.argsort(axis=0) - gives the element position to sort the array for rows, vertically in asc
    I know its confusing since axis=0 is row and axis=1 is column

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

    For 48:48 in np.where(ar>5)
    (array ([1,2]), array([2,0])
    As I understood you mean there are 2 tuples (1,2) and (2,0) which shows the index of items greater that 5.
    But I think this two tuples are not for 2 index of 2 elements rather it is index of X and Y axis of all the elements greater than 5.
    Pls correct me if I am wrong.

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

      you are right bro . i was very confused but your comment gave me relief . thanks a lot

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

    @44:58 about ar.argsort(axis=0)
    we know that argsort method sorts the elements in a way that we can make out which element is lower or greater in the manner of 0 1 2 indexes, so when we execute it for every 0 axis we will be getting columns sorted out, so eventually the output will be
    ([[0, 2, 2],
    [1, 0, 0],
    [2, 1, 1]]

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

      array([[1, 2, 3],
      [4, 5, 6],
      [7, 1, 0]])
      argsort(axis=0) shouldn't be like array([[0, 1, 1],
      [1, 2, 2],
      [2, 0, 0]])
      because for the 2nd and 3 rd column the largest number are present at index 1 [2, 3],
      [5, 6],
      [ 1, 0]

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

    Argeort is working as if the index values are same in that position then your array will got sort and for axis=0 means it is sorting column wise😊

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

    ar.argsort(axis=1) it is showing the indices of the horizontal elements (row elements) according to which if we would have arranged the elements we would have got a sorted array.

  • @anish5733
    @anish5733 3 месяца назад +1

    The argsort(axis=0) works on columns if we look at the column no1 then the smallest is at index 0, the middlest as at index 1 and the largest is at index 2 so it become 0,1,2 and in column 2 : the smallest is at index 2, the middlest is at index 0 and the largest is at index 1 so it become 2,0,1..so like this we have to write the index of the smallest number to largest in a column (from smallest to largest )

  • @abhishekroka6721
    @abhishekroka6721 4 года назад +3

    .argsort() function gives the order in which a given array must be arranged for ascending order, it returns the index number of elements present in an array.

    • @sumitrawat6493
      @sumitrawat6493 3 года назад

      bro jupiter ki jagah vs code use kar sakte hai

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

    ar.argsort(axis=1) will return a matrix of same order with sorter indices on axis one. This will tell us the indices of min to max element of the row
    for example;
    [
    [4,5,6],
    [8,22,1],
    [100,23,1]
    ]
    will result in
    [[0,1,2],
    [1,2,0],
    [2,1,0]]

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

    argsort(); Basically Sort the array according to indexes ... if you put (axis=0) then it will give you that indexes which are sort for top to bottom and if you put (axis=1) then it will give you that indexes which are sort for right to left respectively.

  • @rohanchaudhari6297
    @rohanchaudhari6297 2 года назад +2

    ar.argsort(axis=1)
    # for axis =1 it will sort the array by the column
    ar.argsort(axis=0)
    # for axis = 0 it will give the index of the maximum element in each row

  • @codeblooded9878
    @codeblooded9878 4 года назад

    dear sir, this is only one video I proper clear numpy thanks sir for your videos and you are the best teacher on youtube.

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

    argsort(axis=0)
    It tells the indexes of 2D array in sorted order for vertical matrices. But argsort(axis=1) tells the sorted indexes of arrays in horizontal matrices of an array.

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

    Hi, your vedio's are leaner friendly, but if you could prounce numerical numbers in English,then its more convenient for Non-hindi students,great going!

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

    "hum ko sirf numpy hi nahi padhna hai , besically hum ko data science karna hai " ------love this line

  • @ashushrivastav9918
    @ashushrivastav9918 4 года назад +5

    Such a great Explanation of Numpy, I have understood alots of things through this video.
    So thanks alot♥️.

  • @ozge-yagizfan
    @ozge-yagizfan Год назад +2

    I am here now after 100 days of python course and now i move further to machine learning

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

    Thank you गुरु जी❤

  • @gamingwithrksaver4868
    @gamingwithrksaver4868 4 года назад +1

    argsort is symply giving indexes of a sorted array.
    arr.argsort(axis=0) gives inces of sorted array for each row.

  • @bhaiyajimaharaj4813
    @bhaiyajimaharaj4813 5 лет назад

    thank you harry bhai mene aapke python ke pure 123 video dheke and numpy bhi appne bahut achi and simple tareke se sikayeye hai. your way of teaching, so laveable :)

  • @pratikkawalgikar4839
    @pratikkawalgikar4839 4 года назад +19

    Hi Harry,
    Your videos are too good and easy to understand.
    Thanks for uploading the videos.
    I have one query. How can we download/extract the output data from Jupyter Notebook?

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

    thank u so much harry bhai...
    it means a lot...

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

    Thank you very much for this course!!!

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

    Such a great introduction tutorial on numpy. Got a clarity finally. Keep up the hardwork harry❤

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

    at 45:30 in axis = 0 it gives matrix of indicies to sort the given matrix wrt to rows..... and vice versa for axis = 1

  • @uzaireditz444
    @uzaireditz444 20 дней назад

    Learned alot of basics from this short video

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

    argsort() will give the indices in which we should place our numbers of array to make it in ascending order in respective axis.

  • @kaushalsahu7243
    @kaushalsahu7243 3 года назад +1

    wha bhaia maza aa gaya numpy sekh ke apke sath....

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

    You are just Amazing Harry........Thanks aton for teaching Numpy in simplest way possible......Learned a lot on Numpy.......Thanks bro

  • @krishnabhadhouria
    @krishnabhadhouria 7 месяцев назад

    you have cleared all my doubts regarding numpy. thankyou!

  • @salimshakeel8961
    @salimshakeel8961 7 месяцев назад

    [axis=1] , Its give the index of horizontally row of matrix on which it will sort

  • @ruhiscorner7318
    @ruhiscorner7318 Год назад +2

    Hi Harry, could you please also upload a fully detailed Power BI tutorial? That would be a knockout for sure, thanks in advance!

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

    argsort(axis = 0) which find the lowest number in the array w.r.t rows and give the index then second lowest number and its index and so on... if we have three numbers ( 1, 4, 6) it finds index of 1 then index for 4 and then index for 6)

  • @ARYANTIWARI-y5t
    @ARYANTIWARI-y5t 11 месяцев назад

    argsort(axis=1)
    it return the index of element if we set the element according to given index then we get the sort array

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

    thank u so much for teaching in a layman language

  • @SatyamRocker
    @SatyamRocker 5 месяцев назад

    Your teaching style is too good thus all beginner type stude prefer you ❤
    Love from Satyam Rocker

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

    v=np.array([[1,2,3],[4,5,6],[7,8,9]]) implementing argsort(axis=0) here will provide us the answer
    [[0 0 0]
    [1 1 1]
    [2 2 2]]
    looking at the matrix from axis=0 we notice that among (1,4,7) && (2,5,8) && (7,8,9) the lowest elements belonged to each of their indexes, then for ist elements the indexes would be zero,then one, then 2. If the arrangement would have been reversed the sorting would also have been reversed i.e
    ([[7,8,9],[4,5,6],[1,2,3]])
    [[2 2 2]
    [1 1 1]
    [0 0 0]]

  • @rachnajha1233
    @rachnajha1233 Год назад +2

    Easy to understand for IT Or Non- IT people's. 😊

  • @TheTraderRam
    @TheTraderRam 4 года назад +1

    Bhai Thank You Thank You
    .
    Please make a series on chatbot with AI and Deep learning.............

  • @pranitajadhav9741
    @pranitajadhav9741 3 года назад +4

    Your tutorials are just awesome it really helps us a lot

  • @tooncartoon3427
    @tooncartoon3427 3 года назад +1

    ar.argsort(axis=0) ....here axis=0 represents the row in a matrix ( array in matrix form) so....ar.argsort(axis=0) will show the INDEX having the max value in a particular row .

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

    Thank you harry bro, for such a explanatory tutorial, please publish more content on Data science for self learning

  • @muhammadsameer9161
    @muhammadsameer9161 4 года назад +3

    its very helpful for me for my NumPy Quiz test
    thanks bro

  • @anilsangani8862
    @anilsangani8862 4 года назад +1

    Kya baat hein , Your basics are so clear . I always will refer to your videos in future for Python

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

    Sir meri ek request hai , aap please of latex typing and colourful editing ke liye Software based video banao , highly recommend and currently required ......💖💯💯

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

    Thanks alot brother.. god bless you

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

    I learn Python, JavaScript, C# and am learning more from your channel.

  • @rohanjaiswal64
    @rohanjaiswal64 3 года назад +59

    GREAT WORK

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

    Thankyou Harry bhai. Helped me a lot

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

    44: 56 argsort -> return the index of element that should be for having the items in ascending order.
    suppose argsort(axis=1) , now it will see the index of items in the axis 1 i.e row ( because axis 0 is column and axis 1 is column ) so that we will get the elements of row in ascending order

  • @allrounder9620
    @allrounder9620 3 года назад

    aapke sabhi vdeos full of content h.all video are liberary of knowledge.

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

    Your teaching is very amazing

  • @namanmamodia5731
    @namanmamodia5731 4 года назад

    Sir Thankyou very much your videos
    helps so much to learn python.Numpy library aache se understand
    ho gayi he.

  • @EXCELwaleBhaiyyaa
    @EXCELwaleBhaiyyaa 7 месяцев назад

    Superb introduction to NumPy topic... Thanks for the tutorial..! :)

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

    here axis =0 means move along the columns and now elements gets sorted according to indexes along columns and corresponding to maximum value in column 1 index will come firsst.

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

    Great video. For ppl who know how to install jupyter and basics of it can skip the video to 15:00

  • @HeartOfTech-cw5kz
    @HeartOfTech-cw5kz Год назад

    Thank you Harry Bhai 😊😊🤍🤍🤍🤍
    You are the best for me.✨✨✨

  • @Userk2406
    @Userk2406 Год назад +3

    14:35 numpy start here..
    32:10 numpy axis

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

    Thank u 😘 so much 💕 sir 🙏

  • @vedantsgoodlife7302
    @vedantsgoodlife7302 5 лет назад +6

    Wow, numpy in 50 mins! Will look forward for pandas video.

  • @iampbhatta
    @iampbhatta 11 месяцев назад

    This is the best 56 minutes ever invested. Great vid awesome tutorial. 56:01

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

    Thank you yar harry bhai aap bahut achchha padhate ho❤️

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

    You are the badshah of coding... resemblance to The rapper

  • @darkfantasy9239
    @darkfantasy9239 2 месяца назад

    in argsort(axis=0) it arange the axis=0 element with their indices and represent it incresing order

  • @AnimeshSinghIITM
    @AnimeshSinghIITM 3 года назад

    Harry bhai dil se THANK YOU!!!

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

    very well explained bhaia😄

  • @pratikshadewangan9998
    @pratikshadewangan9998 3 года назад

    Numpy in 50 mins
    Thanks Harry bhai
    Kl mera interview h i was struggling for that
    Ab mai revise kr skti hu

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

    please make a one video course- "data science in python"

  • @kaushalsahu7243
    @kaushalsahu7243 3 года назад

    argsort() basically sorts each and every line on the array and displays the sorted index

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

    Him 4 yrs back >>> new creators ❤‍🔥

  • @ShadowLearner
    @ShadowLearner 3 года назад

    Thanks for your lucid explanation...