Open sprmnt21 opened 2 years ago
It is DatasetColumn
, a customised structure which wrap a column of a data set. It is there because we want to track any changes to a data set column. Any change of a value of a column can change the following attributes of a data set:
Thus, an abstract vector cannot be used for this purpose, and a customised type is used instead. Generally, we recommend ds[:, :A]
for extracting columns and/or provided APIs to manipulate columns.
However, if you think a method must be defined for DatasetColumn
, you are welcome to open a PR for it. The right location to add such methods is src/abstractdataset/dscol.jl
.
Just a side note: for repeating rows you can use repeat!
or repeat
, and use append!
to append data sets.
I had tried to make the concatenation between what I thought were two vectors
[ds.A; ds.A]