Python Forum
TypeError: 'Series' object cannot be interpreted as an integer
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TypeError: 'Series' object cannot be interpreted as an integer
#1
TypeError: 'Series' object cannot be interpreted as an integer

how do i solve this issue?
i am trying to apply my user defined function to a pandas dataframe. the 4 arguments in the function are the values from the 4 columns of my dataframe.

python highlight my 4 arguments as error

my panda data frame have 200 rows and 4 columns.
Reply


Messages In This Thread
TypeError: 'Series' object cannot be interpreted as an integer - by evelynow - Aug-20-2019, 08:38 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  TypeError: unhashable type: 'Series' bongielondympofu 2 457 Mar-14-2024, 06:12 PM
Last Post: deanhystad
  Series object error message abhaydd 1 4,883 Aug-11-2019, 01:29 AM
Last Post: boring_accountant
  TypeError: expected string or bytes-like object twinpiques 1 25,744 May-06-2019, 08:29 PM
Last Post: Yoriz
  TypeError: 'method' object is not subscriptable ayaz786amd 1 39,290 Nov-24-2018, 11:16 AM
Last Post: j.crater
  object cannot be interpreted as an integer How_2 1 22,757 Jul-05-2018, 10:45 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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