Dec-30-2023, 09:38 AM
(Dec-29-2023, 10:39 PM)cspower Wrote: This code show it is an intTry
1 pprint(type(ix_mg[0][1]))
pprint(type(ix_mg[0][0]))
. Details matter.
« We can solve any problem by introducing an extra level of indirection »
[pandas] TypeError: list indices must be integers or slices, not str but type is int.
|
|
Messages In This Thread |
[pandas] TypeError: list indices must be integers or slices, not str but type is int. - by cspower - Dec-29-2023, 09:31 PM
RE: .loc() error saying index msut be int when type is int. - by Gribouillis - Dec-29-2023, 10:11 PM
RE: [pandas] TypeError: list indices must be integers or slices, not str but type is int. - by Yoriz - Dec-29-2023, 10:19 PM
RE: [pandas] TypeError: list indices must be integers or slices, not str but type is int. - by cspower - Dec-29-2023, 10:39 PM
RE: [pandas] TypeError: list indices must be integers or slices, not str but type is int. - by Gribouillis - Dec-30-2023, 09:38 AM
|