Computer Science, asked by nisha930630, 8 months ago

to get the number of dimensions of a series object, attribute is displayed
1.index
2.size
3.item size
4.Ndim​

Answers

Answered by pateldev128
1

Answer:

2 may it be

Explanation:

s

s

s

ss

s

ss

s

ss

ss

s

DDD

DDD

DDD

d

d

Answered by seelamahit912
0

To get the number of dimensions of a series object, the attribute is displayed is 4.Ndim​.

4.Ndim​:

In Pandas Series the ndim attribute returns the number of dimensions of the underlying data; for series objects, this is always one.

Explanation for incorrect answer:

1. index:

A method of sorting data that involves the creation of keywords or a listing of the data is called an index.

2.size:

To determine the storage size of a specific object that occupies some memory space. So this is the wrong answer.

3. item size:

Use the Python len () function to find out how long an item is. The elements of the list variable are items enclosed in single or double-quotes. So this is the wrong answer.

As a result, Ndim is displayed as the attribute to get the number of dimensions of a series object.

#SPJ2

Similar questions