Python Forum
Key length (2) exceeds index depth (1)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Key length (2) exceeds index depth (1)
#5
It is better to use .iloc, .loc, .ix Pandas indexiers, e.g.
df.loc[3, 'No2']
or
df.loc[:,'No2'].ix[3]
Reply


Messages In This Thread
RE: Key length (2) exceeds index depth (1) - by scidam - Mar-14-2019, 12:31 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [split] Getting Index Error - list index out of range krishna 2 2,622 Jan-09-2021, 08:29 AM
Last Post: buran
  Getting Index Error - list index out of range RahulSingh 2 6,168 Feb-03-2020, 07:17 AM
Last Post: RahulSingh

Forum Jump:

User Panel Messages

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