series.py, cannot import series from pandas
A. M. Thomas [PETech MIET MBA]
thomasomea at gmail.com
Sat Nov 28 10:59:58 EST 2020
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
--
Best Regards,
*A. M. Thomas*
Electrical & Solar Systems Expert
*THE GUY BEHIND THE SCENE*
Cell: +254 723 309 157 / +254 731 406 125
Email: thomasomea at gmail.com / thomaso.engineer at gmail.com
"Alternative energy for real and sustainable development that we need"
More information about the Python-list
mailing list