5. Write the output of the following:
import pandas as pd
series1 = pd.Series([40,50,60])
print(series1)
Answers
Answered by
0
Answer:
0 40
1 50
2 60
Explanation:
The index in by default 0, 1 , 2 you can change it if you write:
series1 = pd.Series([40,50,60], index=['a','b','c'])
Similar questions
Science,
3 days ago
Economy,
3 days ago
Science,
3 days ago
English,
6 days ago
Computer Science,
6 days ago
Science,
8 months ago
Social Sciences,
8 months ago