English, asked by ritunayak, 3 months ago

to get the no.of dimensions of a series object ,which attribute is used​

Answers

Answered by ujjwal99355
0

Answer:

.shape attribute of series is used to get the dimention of series object

'''6. Write a program to demonstrate the use of common series attributes.

Generate any series of your choice.'''

import pandas as pd

s=pd.Series(range(21,100,6))  

print(s.shape)

Explanation:

Attachments:
Similar questions