write the output of the following :import pandas as pd S=pd.series("He",index=range(1,3))
print (S[1])
Answers
Answered by
0
AttributeError: module 'pandas' has no attribute 'series'
Explanation:
- Firstly, Pandas is a library that used for data analysis.
- It can be used as a quantitative analysis tool.
- The pandas has grown into one of the most popular libraries.
- series is a attribute of the pandas library.
- Pandas Series can be created from the lists, dictionary, and from a scalar value etc.
- Creating a series from array: In order to create a series from array, we have to import a numpy module and have to use array() function in it.
- Hence, to use it we have to import the module series.
Answered by
0
Answer:
AttributeError: module 'pandas' has no attribute 'series'
Explanation:
hope it helps
Similar questions
Computer Science,
7 hours ago
Math,
7 hours ago
English,
7 hours ago
Math,
13 hours ago
Environmental Sciences,
8 months ago
Hindi,
8 months ago