Closed arhum602 closed 4 years ago
Updated @sakshamv30
That is wrong way to find the datatype. It gives the following error: TypeError: data type not understood
First you need to convert that list into a numpy array and then find its datatype. Also there is a difference between dimension and shape, np.shape(numbers_) returns the no. of rows x no. of columns, in case of 2d-list which is not same as dimension.
Write the code snippet instead of writing the answer in comments for finding the datatype of the array @arhum602