Spot on!! Thank you very much, am back on track with your aid On Sat, Nov 28, 2020 at 9:23 PM MRAB <pyt...@mrabarnett.plus.com> wrote:
> On 2020-11-28 15:59, A. M. Thomas [PETech MIET MBA] wrote: > > Kindly guide on how to solve this problem from Python3.9 with pycharm. > See > > the below > > > > > > import numpy as np > > import pandas as pd > > from pandas import series > > object = series([5,10,15,20]) > > print (object) > > > > > > C:\Users\THOMAS\AppData\Local\Programs\Python\Python39\python.exe > > C:/Users/THOMAS/PycharmProjects/Example2/series.py > > Traceback (most recent call last): > > File "C:\Users\THOMAS\PycharmProjects\Example2\series.py", line 3, in > > <module> > > from pandas import series > > ImportError: cannot import name 'series' from 'pandas' > > > (C:\Users\THOMAS\AppData\Roaming\Python\Python39\site-packages\pandas\__init__.py) > > > > Process finished with exit code 1 > > > A brief look at the documentation suggests that it should be "Series", > not "series". > -- > https://mail.python.org/mailman/listinfo/python-list > -- Best Regards, *A. M. Thomas* Electrical & Solar Systems Expert *THE GUY BEHIND THE SCENE* Cell: +254 723 309 157 / +254 731 406 125 Email: thomaso...@gmail.com / thomaso.engin...@gmail.com "Alternative energy for real and sustainable development that we need" -- https://mail.python.org/mailman/listinfo/python-list