I have a data-frame (df) that looks like:
3 IDENTIFIER DEPARTMENT
4 12233 MARKETING
5 15389 FINANCE
6 12237 MARKETING
7 10610 OPS
8 6493 OPS
Is there a way to remove the index from the header and re-index from 0 please?
So the resulting data-frame looks like:
IDENTIFIER DEPARTMENT
0 12233 MARKETING
1 15389 FINANCE
2 12237 MARKETING
3 10610 OPS
4 6493 OPS
I have tried using without success:
df.reset_index()