Closed info-rchitect closed 6 years ago
Thanks for the reporting! Fixed in https://github.com/SciRuby/daru/pull/418. Until it is merged and released, you can just use (with the same effect, yet working):
dset.row[*new_row_index] = new_row_data
thanks @zverok !
Hi,
I am trying to add a row of data to a DF with a multi-index and cannot figure out why this doesn't work. Any help is greatly appreciated.
thx
EDIT
I tried using the same multi-index to edit an existing row and it worked just fine but the add-row method doesn't seem to like a similar index passed as an Array.
Does anyone have an example of adding a row using a multi-index?
thx