Python Forum
Simple Series Keyword Error
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Simple Series Keyword Error
#2
When you import a module in Python, you have to either from module import thing or after import module refer to thing as module.thing. There's nowhere in your code that you're saying where Series, index, or Dataframe come from.

If you change your first import to
from pandas import Series
you'll get past your first problem.
Reply


Messages In This Thread
Simple Series Keyword Error - by Kris - Jan-22-2017, 06:46 PM
RE: Simple Series Keyword Error - by micseydel - Jan-22-2017, 07:00 PM
RE: Simple Series Keyword Error - by Kris - Jan-22-2017, 07:19 PM
RE: Simple Series Keyword Error - by ichabod801 - Jan-22-2017, 08:14 PM
RE: Simple Series Keyword Error - by micseydel - Jan-22-2017, 08:16 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Simple numpy reshape error wih contour3D AdeIsHere 0 2,224 Sep-17-2019, 12:01 PM
Last Post: AdeIsHere
  Series object error message abhaydd 1 4,928 Aug-11-2019, 01:29 AM
Last Post: boring_accountant
  Newbie at using python and tensorflow getting error when running simple code FeatherineAu 0 4,014 Sep-28-2018, 02:09 PM
Last Post: FeatherineAu

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020