Computer Science, asked by bvnkevinij11b93, 13 hours ago

write the output of the following :import pandas as pd S=pd.series("He",index=range(1,3))
print (S[1])​

Answers

Answered by shilpa85475
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 gdgirl72
0

Answer:

AttributeError: module 'pandas' has no attribute 'series'

Explanation:

hope it helps

Similar questions