You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Weird behaviour when performing sorted: on a DataFrame #127
There seems to be a problem in DataFrame with using sorted: on it. I have read from a file using a Dataframe readFromCsv: method, where the file has two columns: key and value. At that point everything seems ok, and in Pharo I get a DataFrame with two columns. However, after performing value-based sorting like this:
data sorted: [ :a:b | (a at:'value') > (b at:'value') ]
as a result I get an Array, each element of which is a DataSeries mapping of (key->some_keyvalue->some_value) which seems really weird and is undesirable.
I'm attaching a screenshot to better show the problem:
Even if this is not a bug, this still seems like an overly complicated representation of the data.
changed the title [-]Weird behaviour when performing sorted: on a DataFrame[/-][+]Implement a Spec UI that would display DataFrame as a table[/+]on Jul 26, 2021
changed the title [-]Implement a Spec UI that would display DataFrame as a table[/-][+]Weird behaviour when performing sorted: on a DataFrame[/+]on Jul 26, 2021
Activity
[-]Weird behaviour when performing sorted: on a DataFrame[/-][+]Implement a Spec UI that would display DataFrame as a table[/+][-]Implement a Spec UI that would display DataFrame as a table[/-][+]Weird behaviour when performing sorted: on a DataFrame[/+]