Undo/Redo functionality for Pandas DataFrames using Apache Arrow
Project description
Pandoras 🐼🎭
Undo/Redo functionality for Pandas DataFrames using Apache Arrow.
Pandoras extends pandas.DataFrame to add undo/redo capabilities, allowing you to revert accidental modifications easily.
🚀 Installation
You can install pandoras via pip:
pip install pandoras
📌 Features
✔ Undo and redo modifications (drop, rename, replace, etc.)
✔ Leverages Apache Arrow for efficient state storage
✔ Supports Pandas' native operations
💡 Example Usage
import pandoras as pd # Now PandorasDataFrame replaces pd.DataFrame
# Create a DataFrame
df = pd.DataFrame({"A": [1, 2, 3], "B": [4, None, 6]})
# Drop a column
df.drop(columns=["B"], inplace=True)
print("After drop:\n", df)
# Undo the drop
df.undo()
print("After undo:\n", df)
# Redo the drop
df.redo()
print("After redo:\n", df)
🔮 Future Improvements
🚀 Diff-based state tracking instead of storing full DataFrame copies
🚀 Optimize memory usage using compression
🌜 License
Pandoras is open-source and licensed under the MIT License. Contributions are welcome!
🤝 Contributing
- Fork the repo on GitHub
- Clone it locally
- Create a new feature branch
- Submit a pull request
🌍 Connect
📌 GitHub Repo: [GitHub Link Here]
📌 PyPI Package: (Coming Soon)
📌 Author: [Your Name]
🐼 Pandoras – Making Pandas Undoable! 🎭
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pandoras-0.1.0.tar.gz.
File metadata
- Download URL: pandoras-0.1.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.13.2 Darwin/23.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
50ba141c8d71a132b33da760e1f1ca66ce3acb044caf82b81d9a614ce4f7f3bf
|
|
| MD5 |
e1b2eabe67d96d98547c5c9f1a8cfb4f
|
|
| BLAKE2b-256 |
727e28e16578f3f87df3c20ef5964edeae16e55da72d8054fa8cdf5f58f7f02f
|
File details
Details for the file pandoras-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pandoras-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.13.2 Darwin/23.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c73283852b17d6de4681e0256118251cce947c9ac37170fafea4170c5a859ff7
|
|
| MD5 |
b37250b5a7c982f1d972a2c2d5655537
|
|
| BLAKE2b-256 |
1b32e63bc544eb510082dcde81c52fb612c64de62c711a4e84162a4a923ed37d
|