go-gota / gota

Gota: DataFrames and data wrangling in Go (Golang)
Other
3.04k stars 281 forks source link

Allow the modification of DataFrames/Series values #10

Closed kniren closed 7 years ago

kniren commented 7 years ago

As it currently stands, when a Series is created, its elements should not be able to change for other than subsetting operations. However, we might want to modify elements of a Series once it has been initialised (Not necessarily by modifying the Series in situ but returning a new Series with the updated values).

An appropriate API should be designed for this purpose and then integrate Series modifications directly into DataFrame operations.

kniren commented 7 years ago

Modifying the elements of Series is available as of commit 027a64b489d0d2347aa624bd0ced0465da997fee. The implementation of a DataFrame.Set method is in the works.

kniren commented 7 years ago

DataFrame.Set method implemented as of 12c5acc