Home > other >  Meet IndexError: Boolean index from the wrong length
Meet IndexError: Boolean index from the wrong length

Time:10-29

Great god to you for help, I recently bought a Pandas for Everyone in Chinese are learning, learning to DataFrame this section has a write:



The results on the computer I contact, verbatim in after, but an error:



Print (scientists. Loc [[True, True, False, True]])

IndexError: Boolean index from the wrong length: 4 home 8

And the book has discrepancy, don't know why,

O great god answers,

CodePudding user response:

In front of the scheme () output is normal?


All the operation output information cut a figure,
  • Related