Thanks so much!
I wonder which approach would be best to use so I can then
1. use a shuffle method to shuffle all the indexes,
2. then divide the array into only a few indexes and
3. then get a new dataframe based on only the few indexes from the divided array.
For ex. say the indexes of my current dataframe are [3, 6, 7, 9, 10, 11] I then shuffle that and get [7, 3, 9, 11, 10, 6] and then divide it to only get the first 3, so I'm left with [7, 3, 9] and I then get a new dataframe using the 3 remaining indexes which correspond to the indexes in the original dataframe.
Piet Souris wrote:2) add an IntegerColumn to the dataframe, containing the values 0, 1, ..., dataframe.size() - 1. In the selection you will see these numbers.
Perhaps this approach would be best suited for the needs mentioned above.
Additionally I do have unique
string values in one of the columns, so I could do something like what is quoted below to get an array of numbers?
Piet Souris wrote: