Lisp-Stat / data-frame

Data frames for Common Lisp
https://lisp-stat.github.io/data-frame
Microsoft Public License
28 stars 4 forks source link

Appending a row #29

Open nathanvy opened 3 months ago

nathanvy commented 3 months ago

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.

snunez1 commented 3 months ago

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.

nathanvy commented 2 months ago

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 commented 2 months ago

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