-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Being able to remove erroneous or otherwise undesired entries is part of our core functionality package. In it's first iteration, we will accept an argument ID of a row to delete. Future options include specifying a range of IDs, dropping rows based on filters (amount, name, datetime) or dropping all rows. Simple delete by row ID is all that is needed for this first iteration. Should be fairly simple.
Potential snags to look out for: How does Pandas handle the index when a row is dropped and the data shifted? Will the ID for remaining rows stay the same? That would leave a gap in our ID numbers. How does Pandas handle that gap?
Also, how does Pandas handle deleting a range of IDs? We may need to pay close attention to deletion by range. There is a Pandas function to rebuild the index, may want to look into that to handle some of these gotchas.
Progress:
- Delete by ID (PR Delete mode basic implementation #27)
- Delete by range
- Most recent XX
- ID..ID
- Delete by filter
- Amount
- Name
- Datetime