Python Forum
Problem implementing .iloc slicing in a custom function
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem implementing .iloc slicing in a custom function
#3
(Mar-03-2020, 01:11 PM)scidam Wrote: Passing 0:12 as an argument value to a function definitely isn't valid Python syntax. Try categoricalIndex=slice(0, 12) instead.

this works PERFECTLY!! thank you so much!
Reply


Messages In This Thread
RE: Problem implementing .iloc slicing in a custom function - by amjass12 - Mar-03-2020, 08:51 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Implementing a Lowpass Filter Madridista 5 2,285 Nov-08-2022, 06:41 PM
Last Post: Madridista
  I get "N/A" labels when implementing object detection hobbyist 0 1,013 Aug-17-2022, 12:35 PM
Last Post: hobbyist
  iloc d8a988 7 3,064 Apr-27-2020, 10:15 AM
Last Post: d8a988
  pandas dataframe iloc mystery edvvardbrian 2 2,208 Oct-29-2019, 02:55 PM
Last Post: jefsummers

Forum Jump:

User Panel Messages

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