Tutorial 4 - Numpy and Inbuilt Functions Tutorial

Поділитися
Вставка
  • Опубліковано 3 лют 2025

КОМЕНТАРІ • 238

  • @rajashekarbarapata1764
    @rajashekarbarapata1764 5 років тому +391

    Who want to clap for this man👏👏

    • @AdvDevraj
      @AdvDevraj 5 років тому +5

      👏🏻👏🏻👏🏻👏🏻

    • @priyankapatel6803
      @priyankapatel6803 5 років тому +4

      👍👍👏

    • @priyankapatel6803
      @priyankapatel6803 5 років тому +6

      Thank you very much sir, pl. keep sharing your knowledge, so useful..for everyone..God bless you.

    • @swatikashyap717
      @swatikashyap717 5 років тому +1

      Rajashekar Barapata he's the best ! I have improved greatly!

    • @ASNPersonal
      @ASNPersonal 5 років тому +2

      I have improved my index concept gratly

  • @sagarmishra3517
    @sagarmishra3517 4 роки тому +35

    Hello Krish, I am obliged to take time and express my gratitude towards your efforts and teaching method. I am watching your tutorials since yesterday, and I just so happy to learn and actually understand everything. I am looking forward to follow the playlist, and excited to learn. Thanks man, you deserve our respect and the money as well, I will be joining your membership.
    I will request all the people who are reading my comment to consider joining the membership to help him grow❣

  • @manojsupyal1912
    @manojsupyal1912 4 роки тому +25

    Q1-If I pick up 4,5 from 2nd row
    And 6,8 from third row than In. is
    Arr[1: , 2:4]
    Q2-Pick up 3,4,5 from 2nd row than
    In. is Arr[1:2,1:4]
    Thank you so much sir.

  • @parththakurdesai809
    @parththakurdesai809 5 років тому +17

    Thank you soo much Krish. I am recommending your channel to all my friends. I really like your genuine teaching passion. I learn a lot from all your videos. Thanks for being a mentor.

  • @54mu33le
    @54mu33le 2 роки тому +3

    Absolutely great content being put here by this man. I wish there were more teachers like him across different domains. What a stupendous job he is doing here.

  • @farazahmed1668
    @farazahmed1668 4 роки тому +7

    I never thought understanding the prerequisite of machine learning is that much easy and Krish sir you make it alot easier.

    • @ShubhamKumar-nr1ce
      @ShubhamKumar-nr1ce 8 місяців тому

      hello sir what are you doing now means which domain

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

      @@ShubhamKumar-nr1ce i am learning FastAPI and the future plan is to learn react and follow panaverse GitHub repository to learn the complete ecosystem of modern python and generative ai.

  • @ShivamSingh-kn3gz
    @ShivamSingh-kn3gz 4 роки тому +10

    For the subarray 4, 5, 6, 8 code is:
    arr[1: , 2: 4]
    For the subarray 3, 4, 5 code is:
    arr[1, 1: 4].
    I started your session, sir, really your contents are truly valuable. Thanks for making this all happen. I wanna learn as best as possible about the concept of Machine Learning.
    Really glad that I found your channel at the time when I was in its complete need.
    Thank you soo much, sir

    • @yeshjadhav8082
      @yeshjadhav8082 3 роки тому +3

      For sub array 3,4,5 it can be arr[1:2,1:4]

  • @archanaashok1980
    @archanaashok1980 3 роки тому +2

    Hi Krish, Python is made so simple to learn from you. Always had difficulty in understanding and remembering from other tutors. Never felt it so easy and enjoyable to learn. Thank you for your efforts.

  • @sathiyaraj5704
    @sathiyaraj5704 4 роки тому +22

    I started watching this playlist today after knowing the learning path from your yesterday's video. thanks a lot

    • @tintintintin576
      @tintintintin576 4 роки тому

      How far you've reached...? Just asking out of curiosity...

    • @sathiyaraj5704
      @sathiyaraj5704 4 роки тому +1

      @@tintintintin576 At that time i was unaware of GATE exam and the brand value of doing masters in IIT. It all depends on individual's choice. We all love to work in latest technologies in top notch companies and we even learn everything out of curiosity forgetting the easiest path to reach there is to have CS foundation strong and doing m.tech in IIT.

    • @uditarora1215
      @uditarora1215 4 роки тому

      Hey @SATHIYA RAJ can u help me pls in learning data science in python as I am complete fresher can u pls get in touch through telegram or discord . Also I am new to his channel I am planning to access all its content and side by side a mentor and a friend 🙏

    • @sathiyaraj5704
      @sathiyaraj5704 4 роки тому

      @@uditarora1215 i am also a fresher. After gate exam on feb 13, i have started again learning data science full fledged. lets do it together.

    • @laksh._.official
      @laksh._.official 3 роки тому

      Did you become a data scientist or analyst yet?🧐

  • @bishalgupta49
    @bishalgupta49 4 роки тому +1

    This is the first video of your channel that i got recommended and man i loved it . Thanks for sharing.

  • @srajat
    @srajat 5 років тому +14

    Bro! You're helping us all a lot! Proud of you!
    An Indian teaching everything in depth. Thanks so so much. Keep up the good work. Looking forward to pandas tutorial too. 🤘🏻🤘🏻🤘🏻

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

    arr[1:3,2:4] = array([[4, 5],
    [6, 8]]) Thank you Krish! I am following your path to become a Data scientist

  • @zahabiyarangwala1808
    @zahabiyarangwala1808 4 роки тому +7

    Honestly glad to have come across your channel and it brings in humungous value to the folks trying to learn. You are truly the best. You make commendable efforts and as a part of the learning community, I hold enormous respect for your contribution in helping us. (y)

  • @ravikhandsiya1238
    @ravikhandsiya1238 5 років тому +1

    Thank you Krish Naik for teaching us by this much of patience. You have cleared so many of my doubts.

  • @farazahmed1668
    @farazahmed1668 4 роки тому

    His explanation is clear and everything is practical.

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

    Goat of Python bro, learned 3 months work in 3 lectures.

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

      hi, how is this course?

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

      @@pratappawar8899 He explains every concept in detail with examples. I also just started watching a few weeks back.

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

      @@shreyshah7133 what other courses did u watch, which u recommend?

  • @arandomwho
    @arandomwho 2 роки тому

    thank you again....i gonna finish your amazing course in a week

  • @xeno_plays2930
    @xeno_plays2930 9 місяців тому +2

    For accessing 4,5,6,8 answer is arr[1: , 2:4] and for accessing 3,4,5 answer will be arr[1:2,1:4]

  • @gulabmeetyou
    @gulabmeetyou 5 років тому +7

    EAGERLY EXPECTING Scikit learn and PLOTLY tutorials. No one has taught about Plotly... If you make this it would be great....

  • @Virus-ke8xj
    @Virus-ke8xj 4 роки тому

    Just 3 videos into and you made it really interesting ❤️❤️🙏🙏🙏

  • @anvayawalgaonkar4119
    @anvayawalgaonkar4119 3 роки тому

    great explanation!!! if I cover all these concepts I will be data scientist within couple of months: Absolute best explanation..

  • @rusteze4710
    @rusteze4710 5 років тому +1

    Excited to watch more tutorials on deployment

  • @Anupkumar-xv3vd
    @Anupkumar-xv3vd 5 років тому +10

    print(arr[1:,2:4])
    print(arr[1:2,1:4])

  • @sharvandas4349
    @sharvandas4349 4 роки тому +1

    *Numpy *Array
    1.Creating One Dimensional array.
    2.Creating Two Dimensional array.
    3.Shape, reshape and indexing(slicing) done in two dimensional.
    4.In-built function present in numpy- arange, linspace, ones, random.(and more)
    5.Concept of copy and Exploratory data analysis
    Please share the list built-in functions of numpy. Thanks

  • @tahabimuhammad4524
    @tahabimuhammad4524 5 років тому +1

    Thanks for the videos. One change : Here, even if the elements are of not same data type, arrays can be created. So, they need not be of same data type.
    import numpy as np
    my_lst1=[1,2,3,'sdfs',5]
    my_lst2=[2,3,4,5,6]
    my_lst3=[9,7,'wow',8,9]
    arr=np.array([my_lst1,my_lst2,my_lst3])
    print(arr)

    • @krishnaik06
      @krishnaik06  5 років тому

      Yes it can be created..but the array should have common datatypes elements

  • @manavshah2119
    @manavshah2119 4 роки тому

    Sir Thank you so much your playlist is very used full and it was very fast unsersting.

  • @BHANU693
    @BHANU693 2 роки тому +8

    Following are taught in video:
    -Array definition
    - Numpy library import
    - Array Shape and Reshape
    - Array indexing
    - Array Range
    - Array linspace
    - Array copy and broadcasting
    - some functions in Array like np.ones, np.random.rand (random distribution), np.random.randn (normal distribution), np.random.randint etc.

  • @learn_with_rudraa
    @learn_with_rudraa 2 роки тому

    time: 14:30
    assigment asn:
    array[1:,2:4]

  • @sapnaSingh-gk9nq
    @sapnaSingh-gk9nq 3 роки тому

    Answer to print 1.) 3,4,5 @14:20
    arr1[1:2,1:4 ]
    2.) 4,5 and 6,8
    arr1[1: , 2:4]

  • @ajaxaj8470
    @ajaxaj8470 4 роки тому

    Guys, watch this playlist as well for Numpy revision
    ua-cam.com/video/NVTWjd_UpzM/v-deo.html

  • @kesshie07
    @kesshie07 3 роки тому

    Hi, for assignment @14:23... 1. arr[1:,2:4] & 2. arr[1,1:4]

  • @banimohammad8276
    @banimohammad8276 4 роки тому

    your explanation is very good

  • @farazahmed1668
    @farazahmed1668 4 роки тому

    I understand this chapter of numpy in 3 days there are lot to learn in 26 minutes.

  • @sandipansarkar9211
    @sandipansarkar9211 4 роки тому

    Very nice explanation .Thanks

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

    Highly insightful

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

    this is one of the best playlist for learning python for data science, can you please tell me how can I practice without anaconda environment? As my PC does not support the environment.

  • @shubhamchaudhary7322
    @shubhamchaudhary7322 4 роки тому

    done...heading to video number 8 :)

  • @vysakhkailas940
    @vysakhkailas940 4 роки тому

    wow Sir. Love all your videos. Thank you !!

  • @journeyofengineerjoe7386
    @journeyofengineerjoe7386 2 роки тому

    14:25
    [1:,2:4]
    [1:,1:4]

  • @manateluguabbaiinuk-mahanu761
    @manateluguabbaiinuk-mahanu761 3 роки тому

    arr[1:2, 1:4]
    output: array([[3, 4, 5]])

  • @louerleseigneur4532
    @louerleseigneur4532 3 роки тому

    Thanks Krish

  • @poojakukreti8618
    @poojakukreti8618 4 роки тому +1

    array of 45 68 ----- arr[1:,2:4]
    array of 345 ----- arr[1,1:4]

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

    Hi Krish, great effort. But i request you to improve the audio quality. Audio quality is not so good to follow the recording.
    thank you.

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

    First of all thank u so much for amazing tutorials on python. I have a question. When I do this,
    my_lst=[1,2,3,4]
    arr=np.array([my_lst])
    arr
    The output comes as array([[1,2,34]])
    Is it two dimensional then?

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

      Yes you are wrapping the my_list inside another list (using [ ]) in the line np.array. So it will create a 2d array with 1 row and 4 columns.

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

      @@wajahatali4828 But if I do like this arr=np.array(my_lst) then output is [1 2 3 4] that means this is not 2D array?

  • @kornelies
    @kornelies 5 років тому

    Hi..In[105] -( val=2)..in this case we take "val" to do the operations like...arr*val, arr>val,.......correct me if i am wrong..Thank you Krish for your valuable teaching

  • @striders5473
    @striders5473 5 років тому +1

    I have a request to make : if you could provide a mind map of the things that we are learning in numpy, pandas, matplotlib and other python libraries that we are going to learn that would be really helpful.....getting to know all the things that we have to learn will be better for better understanding and remembering also.
    looking forward to your reply.

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

    Here are the functions mentioned in the video with examples:
    * Creating arrays:
    * `np.array()`: This function is used to create arrays from various data types like lists, tuples, etc. For example, `np.array([1, 2, 3, 4, 5])` creates a one-dimensional array with elements 1, 2, 3, 4, and 5.
    * `np.zeros()`: This function creates an array filled with zeros. For example, `np.zeros((3, 4))` creates a two-dimensional array with 3 rows and 4 columns, all filled with zeros.
    * `np.ones()`: This function creates an array filled with ones. For example, `np.ones((2, 2))` creates a two-dimensional array with 2 rows and 2 columns, all filled with ones.
    * `np.random.rand()`: This function creates an array filled with random floats between 0 and 1. For example, `np.random.rand(2, 3)` creates a two-dimensional array with 2 rows and 3 columns, filled with random floats between 0 and 1.
    * `np.random.randn()`: This function creates an array filled with random samples from the standard normal distribution. For example, `np.random.randn(3, 3)` creates a two-dimensional array with 3 rows and 3 columns, filled with random samples from the standard normal distribution.
    * Indexing and slicing:
    * `[]`: This operator is used to access elements of an array. For example, `arr[0]` accesses the first element of the array `arr`.
    * `[:, :]`: This is used to access all elements of an array. For example, `arr[:, :]` accesses all elements of the array `arr`.
    * `[start:stop:step]`: This is used to slice an array. For example, `arr[1:4:2]` selects elements from index 1 to index 4 (excluding index 4) with a step of 2.
    * Mathematical operations:
    * `+`, `-`, `*`, `/`: These operators are used to perform basic arithmetic operations on arrays element-wise. For example, `arr1 + arr2` adds the corresponding elements of arrays `arr1` and `arr2`.
    * `x * arr`: This multiplies each element of the array `arr` by the scalar `x`.
    * `arr.shape`: This attribute returns the shape of the array as a tuple of integers. For example, `arr.shape` might return `(3, 4)`, indicating that the array has 3 rows and 4 columns.
    * Reshaping:
    * `np.reshape()`: This function is used to reshape an array into a new shape. For example, `np.reshape(arr, (2, 6))` reshapes the array `arr` into a two-dimensional array with 2 rows and 6 columns.
    * Other functions:
    * `np.dot()`: This function is used to perform dot product or matrix multiplication between arrays.
    * `np.sum()`: This function is used to calculate the sum of all elements in an array.
    * `np.mean()`: This function is used to calculate the mean of all elements in an array.
    These are just a few of the many functions available in NumPy. I hope this helps! -courtesy:GeminiAI

  • @aamnasuhail4468
    @aamnasuhail4468 3 роки тому

    Done and Implemented !!

  • @harish00784
    @harish00784 4 роки тому

    arr1[1:,2:4] for [4,5,6,8] and arr1[1:2,1:4] for [3,4,5]

  • @AInamedMia
    @AInamedMia 3 роки тому +1

    What is the difference between arrays with the following shapes:
    (x,) and (x,1)
    Aren't both the same, i.e. an 1D array?

    • @AInamedMia
      @AInamedMia 3 роки тому +2

      My bad, should have searched first. Found it:
      stackoverflow.com/questions/38402227/numpy-why-is-there-a-difference-between-x-1-and-x-dimensionality
      Concise explanation for those who are interested:
      (x,) is a 1D array
      (x,1) is a 2D array (!), the length of it's second element is 1. Also, Numpy does not have vectors or matrices, only n-dimensional arrays. That helps understand this better.

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

    Awesome

  • @RajeshMaallah
    @RajeshMaallah 5 років тому +2

    How do I query if column 2 is grater than column 1 in three dimensional arry?
    [(2,3,4),(1,4,6)] check if 3>2 & 4>1

  • @RafiM-l4w
    @RafiM-l4w Рік тому

    #slice operation to print only [3,4,5] in second row
    arr[1:2,1:4]

  • @namanrungta144
    @namanrungta144 4 роки тому

    for indexing...
    arr[1:,2:4]
    arr[1:2,1:4]

  • @sanjeevashoka7948
    @sanjeevashoka7948 4 роки тому

    Thanks a lot Sir ,

  • @avinashtripathi3692
    @avinashtripathi3692 4 роки тому +1

    while creating a dimensional array, why does the shape indicates (5,0) and why not (1,5)?

    • @sapnaSingh-gk9nq
      @sapnaSingh-gk9nq 3 роки тому

      (r,c) where r is rows and c is columns so it'll show you first no of rows and then columns

  • @manateluguabbaiinuk-mahanu761
    @manateluguabbaiinuk-mahanu761 3 роки тому

    arr[1:3, 2:4]
    array([[4, 5],
    [6, 8]])

  • @Arun-rm5bb
    @Arun-rm5bb 8 місяців тому

    i havent studied statistics can i complete python playlist then move to statistics or have to compalsary study statistics first ?

  • @pranavsinha5700
    @pranavsinha5700 2 роки тому

    awesome

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

    Thank you

  • @Suraj-mj2jo
    @Suraj-mj2jo 3 роки тому +4

    Assignment -
    array[1:,2:4]
    array[1:2,1:4]

  • @Cricketpracticevideoarchive
    @Cricketpracticevideoarchive 5 років тому +2

    Hi Krish,
    I want to enrol in the course but I am not able to open the google form.
    Could you please help me out.
    Thanks
    Priyadarshi

  • @ROLLNUMBERDS-MY-3067
    @ROLLNUMBERDS-MY-3067 Рік тому

    can we copy or replace number with srting vaue

  • @mohitaggarwal7971
    @mohitaggarwal7971 4 роки тому +3

    hello sir i am getting an error " module 'numpy' has no attribute 'arrange'". how this is to be resolved??

  • @ParvathyAjith-y7k
    @ParvathyAjith-y7k Рік тому

    hi Krish,
    What's the difference between random.rand and random.random_sample ?
    btw, these lectures are super helpful!! Thank you so much for this

  • @sandeeppal1083
    @sandeeppal1083 2 роки тому

    Hi Krish, if the first list has 3 elements, 2nd has 4 elements and 3rd has 5 elements then still NumPy can create a multidimensional array?

  • @venkateswarareddypusapati4310
    @venkateswarareddypusapati4310 5 років тому +1

    Hi,please make a video on pandas,scipy.
    Thanks

  • @hometvfirestick
    @hometvfirestick 3 роки тому

    thanks

  • @tanmaydigraskar7156
    @tanmaydigraskar7156 3 роки тому

    Hii Krish I am confused in .copy() concept

  • @NKATRUKUSUMANADH
    @NKATRUKUSUMANADH 3 роки тому

    hello,sir,,is this concept of numpy enough to go through machine learning

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

    print(arr[1:,3:])
    print("-----Asssiment Tasks 1----")
    print(arr[1:,2:4])
    print("-----Asssiment Tasks 2----")
    print(arr[1,1:4])

  • @arijitsarkar2992
    @arijitsarkar2992 3 роки тому

    Sir, what is use of np.ones

  • @simplyanup9658
    @simplyanup9658 2 роки тому

    But when I was trying to insert different data type into an array , it is accepting

  • @pranjalpatel6181
    @pranjalpatel6181 3 роки тому

    Is these Jupyter notebook files uploaded somewhere

  • @pavanvg5141
    @pavanvg5141 5 років тому +1

    Sir can you please do project on mechanical engineering domain??

  • @KrisalynDaphne
    @KrisalynDaphne 25 днів тому

    1.arr1=arr[1:,2:-1]
    2.arr2=arr[1,1:-1]

  • @bhushanmali7635
    @bhushanmali7635 2 роки тому

    18.07 when we print "arr" the output array is comma seperated but when we print "arr1" output is space seperated.. why?
    when we use linspace the array is of shape 10 rows and 5 columns .. why? and why not 25 rows and 2 column or other?

  • @priya3677
    @priya3677 3 роки тому

    sir what is the difference between range () and arange()

  • @malladipavankalyan2767
    @malladipavankalyan2767 4 роки тому

    Hi all , is it easy to go directly to libraries than of inbuilt DS and functions concept , someone ans

  • @maheshan5503
    @maheshan5503 5 років тому

    Super

  • @Moonwalkerrabhi
    @Moonwalkerrabhi 3 роки тому

    Great efforts sir

  • @divyapatnaik7492
    @divyapatnaik7492 2 роки тому

    Is there any documents available for this particular playlist?

  • @einstein007able
    @einstein007able 5 років тому +1

    Hey we're is the course curriculum details which I saw below one of ur videos. Also experience error in enrolling in ur course.

    • @krishnaik06
      @krishnaik06  5 років тому +2

      Online platform will be created. Dont worry it will be shared

  • @SB-fs4vi
    @SB-fs4vi 4 роки тому

    Thanks Krish for these videos👏.I am a beginner in python and from bio science background.I am using pycharm for coding and found differences in syntaxes in pycharm than jupiter notebook.Why it is like that?kindly reply.

    • @MrShree370
      @MrShree370 4 роки тому

      the diffrences will always be there, Just get your basics clear about the syntax and how the data should be approached. you can use either of them depending upon your requirements.

    • @SB-fs4vi
      @SB-fs4vi 4 роки тому

      @@MrShree370 Many thanks for the advice🙏

  • @madhavimishra7943
    @madhavimishra7943 3 роки тому

    sir can u plz help me..mai Pychm use kr rhe hu bt use me numpy import error show kr rha..mai google kiya kuch nhi mila information ki kaise thik kru..bs yahi bol rhe h problem aati h so plz help

  • @asprihashrivastava7548
    @asprihashrivastava7548 4 роки тому

    I have a confusion.. when we execute copy() function and print arr and arr1 then why is the space difference between the two array?

  • @artifiedai8898
    @artifiedai8898 4 роки тому

    Hello, How can We select 1st and 3rd row and 2nd and 4th column. Is it possible using numpy?

  • @Arceus948
    @Arceus948 2 роки тому +1

    Sir i have exam tomorrow, r these numpy functions sufficient for my exam???

  • @_itz_pk
    @_itz_pk 3 роки тому

    New threads comes in
    :5: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.
    arr=np.array([lst1,lst2,lst3])
    this want work anymore

  • @AmanVerma-sy2de
    @AmanVerma-sy2de 4 роки тому

    arr[1:,2:4] =
    array([[4, 5],
    [6, 8]])
    arr[1:2,1:4] = array([[3, 4, 5]])

  • @venkataduri5790
    @venkataduri5790 5 років тому

    I am not able select multiple cells using
    shift+Down arrow
    or shift+J.
    Help will be appreciated.

  • @venkatratnamratnam2716
    @venkatratnamratnam2716 4 роки тому

    Bro I find your tutorials are so good and useful. I have a question where to start...?. There are lot of video playlists like stats,Ml,python...Please suggest me to learn data science as a beginner ,first i have to go through stats or Machine learning...please suggest bro,

    • @krishnaik06
      @krishnaik06  4 роки тому +1

      Start with my complete ML playlist

    • @venkatratnamratnam2716
      @venkatratnamratnam2716 4 роки тому

      @@krishnaik06 I started with this bro but here in this video u said to watch Stats ,so i am a bit confused..whats first stats or ML

    • @parikshitrajpara5706
      @parikshitrajpara5706 4 роки тому

      did you find how to start DS?

    • @snehithoddula7905
      @snehithoddula7905 4 роки тому

      @@krishnaik06
      import sympy as sp
      import numpy as np
      l1=[2,3,5,7]
      a=np.array(l1)
      print(type(a[1]))
      print(sp.isprime(i for i in a))
      why doesn't this programme giving me correct output?
      how to check any array has prime NUMBERS using sympy methods?

  • @yogoai136
    @yogoai136 5 років тому

    Krish if [0:2,:] means it needs to retrieve all three rows right? But in this tutorial we are getting only first two rows as output . how? shall you kindly explain?

    • @saurabhyadav-nu3mj
      @saurabhyadav-nu3mj 5 років тому

      it means start from the 0th row until 2nd row i.e do not include 2nd row

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

    arr = [1, 2, 3, 4, 5, 6, 7, 8, 9]
    arr1 = arr.copy()
    arr1[3:] = 67
    print(arr1) for this code i'm getting errory , i replaced it with [67] the out put is only [1,2,3,67] how can i get all the remaining values as 67

  • @lokeshvenkatesan2693
    @lokeshvenkatesan2693 3 роки тому

    I have one doubt np.arrange output not showing as 2 Dimensional brackets. Anyone?

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

    done!

  • @ramakant1963
    @ramakant1963 3 роки тому

    solution for the excercise - arr[1:,2:4]

  • @109abdulakram3
    @109abdulakram3 3 місяці тому

    Done

  • @fouzanghiyas5643
    @fouzanghiyas5643 3 роки тому

    reshape after randint not working-after tab its not even popping in the list. can anyone help

  • @ArunKumar-sg6jf
    @ArunKumar-sg6jf 5 років тому

    Which type of mathematics is needed for ml