AttributeError: 'Series' object has no attribute 'itemsize' any idea? Please help... itemsize not working import pandas as pd import numpy as np d1=np.array([1,2,3,4,5]) s1=pd.Series(d1) print(s1.itemsize)
It is a 3d array. In the 3d array first dimension is, number 2d arrays. Here only one 2d array is present so first dimension is 1. [ [ [1,2], [3,4], [5,6], [7,8] ] ] :)
Estou fazendo um projeto usando python e seus vídeos são os melhores! Muito obrigado
Thank you 🙂🙏🇮🇳
Your voice is too cute.... 😊😊
Thank you so much 😀
Thank you 😊
AttributeError: 'Series' object has no attribute 'itemsize'
any idea? Please help... itemsize not working
import pandas as pd
import numpy as np
d1=np.array([1,2,3,4,5])
s1=pd.Series(d1)
print(s1.itemsize)
s1 is a pandas object and doesn't have the same attributes as a numpy array. A series object of pandas doesn't have an itemsize attribute.
Daphne Jyothi Thank you 🙂
tnk u mam
Welcome :)
Mam can you please make a video to install anaconda and open CV..
I will try :)
Plz explain flags in array with example
voice sweet as gulab jamun
Haha Thank you :)
Are you a teacher at school?
>>> f=np.array([[[1,2],[3,4],[5,6],[7,8]]])
>>> f
array([[[1, 2],
[3, 4],
[5, 6],
[7, 8]]])
>>> f.shape
(1, 4, 2)
Please tell me why 1 in the output(1,4,2)
It is a 3d array.
In the 3d array first dimension is, number 2d arrays. Here only one 2d array is present so first dimension is 1.
[ [ [1,2],
[3,4],
[5,6],
[7,8] ] ]
:)
@@AmulsAcademy Thank you. Thanks a lot for your quick response.
@@AmulsAcademy it's confusing mam.
how old are you?
melted with insects sounds