SEARCH IN NUMPY (where( ) & searchsorted( )) – PYTHON PROGRAMMING




[ad_1]

Searching the element in ndarray
1. where( )
2. searchsorted( )

Source


[ad_2]

Comment List

  • Sundeep Saradhi Kanthety
    January 13, 2021

    Thanks, your video is helpful. But I was expecting the search with the 'searchsorted' from the right side. If u could explain that too it would've been better. Thanks!

  • Sundeep Saradhi Kanthety
    January 13, 2021

    Sir, please explain the output of this program:

    l = [

    [3, 8, 1],

    [9, 6, 3],

    [5, 1, 1]

    ]

    brr = np.array(l, np.int8)

    print(brr)

    print(brr.ndim)

    print(np.where(brr>5))

    Output:
    [[3 8 1]

    [9 6 3]

    [5 1 1]]

    2

    (array([0, 1, 1], dtype=int64), array([1, 0, 1], dtype=int64)) # I am confused in this line.

  • Sundeep Saradhi Kanthety
    January 13, 2021

    Sir, Pls give some home work to do for practice on these concepts…its better to everyone.

  • Sundeep Saradhi Kanthety
    January 13, 2021

    Can anyone tell me is this videos are enough to learn python programming??

  • Sundeep Saradhi Kanthety
    January 13, 2021

    Sir im a non IT student n i have learnt from ur videos very well.Thaanks a lot.Please do start machine leaning sir

  • Sundeep Saradhi Kanthety
    January 13, 2021

    Thank you sirπŸ‘

  • Sundeep Saradhi Kanthety
    January 13, 2021

    Sir, you're my Guru like as 'Dronacharya'. Guru ji ,explain interthread communication in java .

  • Sundeep Saradhi Kanthety
    January 13, 2021

    Sir, how many videos are left to finish the Python full tutorial?

  • Sundeep Saradhi Kanthety
    January 13, 2021

    Sir can u tell Django frame wrok in python programming sir

  • Sundeep Saradhi Kanthety
    January 13, 2021

    Thank you sir

  • Sundeep Saradhi Kanthety
    January 13, 2021

    very useful sir πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘

Write a comment