I am struggling for a while with a very weird situation that makes me feel confused. So I cannot remove those few rows from my dataframe and I don't know what is the problem with that.
Asked
Active
Viewed 19 times
0
-
please include an MRE: https://stackoverflow.com/help/minimal-reproducible-example – willwrighteng Sep 13 '21 at 22:50
-
1Should be `test2 = test2.drop([455, 756, 790, 1444])` I believe. You're only removing the Values from that _column_ but not from the DataFrame. – Henry Ecker Sep 13 '21 at 22:51