79501072

Date: 2025-03-11 14:25:14
Score: 1.5
Natty:
Report link

I just created a wrapper on top of pandas for this purpose, if it helps anyone :)
You can achieve it this way:

pip install pandoras

import pandoras as pd
df = pd.DataFrame({"A": [1, 2, 3], "B": [4, None, 6]})
df.drop(columns=["B"], inplace=True). # or edit,apply,...
df.undo()
df.redo()

This is the repo for anyone interested in contributing:
https://github.com/al2m4n/pandoras

Reasons:
  • Contains signature (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: al2m4n