data-frame icon indicating copy to clipboard operation
data-frame copied to clipboard

Appending a row

Open nathanvy opened this issue 1 year ago • 3 comments

Hi again,

What would be the proper way to append row(s) to a dataframe? For example, in Python/Pandas there exists the append operation and in R we have similar

Is there an analogous feature in data-frame? I haven't been able to find it in the source.

nathanvy avatar Jul 08 '24 06:07 nathanvy

See stacking in the data-frame documentation.

stack is probably a bad name for this section of the docs. Let's leave this open so that I remember to update this section when I push the latest documentation.

If you wrap these with higher level functions, e.g. rbind or add-row, let me know and I'll add them to the data-frame system.

snunez1 avatar Jul 08 '24 07:07 snunez1

Thanks! I fully confess to skipping over that section because I didn't know what "stacking meant". I will play with it and if I end up writing a convenient wrapper I'll drop you a note or a PR.

nathanvy avatar Jul 09 '24 05:07 nathanvy

Oops, you said you wanted to keep this open. Reopening.

nathanvy avatar Jul 09 '24 05:07 nathanvy

Fixed in 2b168c6

snunez1 avatar Jan 24 '25 06:01 snunez1