Skip to content
This repository has been archived by the owner on Jan 28, 2023. It is now read-only.

Added addRow function to DataFrame(Returns a DataFrame with old rows … #92

Merged
merged 2 commits into from
Oct 6, 2020
Merged

Conversation

LeandroC89
Copy link
Contributor

Added function to add row (non-destructive).
I based the logic on the example provided here https://www.gitmemory.com/issue/holgerbrandl/krangl/76/525598794 with added logic.

It is useful for data transformation & validation, and it is what I'm using on my excel sheet reading function too.

PS: This library is awesome, nice work.

@holgerbrandl
Copy link
Owner

Nice addition. Could you add a short unit-test to cover this feature?

@LeandroC89
Copy link
Contributor Author

Thank you, I'll do so.

@LeandroC89
Copy link
Contributor Author

Added RowTests file with the unit-test for this feature.
(Didn't think it'd fit any of the existing test files but will gladly move it to another file if needed)

Thank you

@holgerbrandl
Copy link
Owner

Thank you so much.

@holgerbrandl holgerbrandl merged commit 1d393f0 into holgerbrandl:master Oct 6, 2020
@LeandroC89 LeandroC89 deleted the RowOperation branch October 8, 2020 16:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants