Computer Science, asked by amalaks0072003, 3 months ago

write a program to generate a series and print the top 3 elements and bottom 3 elements.​

Answers

Answered by singhrima571
3

Explanation:

hope it will help you please mark the answer brain list please

Attachments:
Answered by ujjwal99355
1

Answer:

import pandas as pd

obj= pd.Series(range(41,71,3))

print(obj)

print('head elements are:')

print(obj.head(3))

print('Tail elements are:')

print(obj.tail(3))

Explanation:

Attachments:
Similar questions