9cae593d2553cfb8ebb8b3b5d663b0cff0b23042
python/pandas/ValueError: cannot reindex from a duplicate axis.md
... | ... | @@ -0,0 +1,5 @@ |
1 | +[python - What does `ValueError: cannot reindex from a duplicate axis` mean? - Stack Overflow](https://stackoverflow.com/questions/27236275/what-does-valueerror-cannot-reindex-from-a-duplicate-axis-mean) |
|
2 | + |
|
3 | +``` |
|
4 | +df = df[~df.index.duplicated()] |
|
5 | +``` |
|
... | ... | \ No newline at end of file |