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
DataFrame OrderBy method should always place null values at the bottom of the list (after not nullable values) independently of sorting (ascending or descending). This is how Python does and how DataFrameColumn.Sort method works.
Index Country Capital
9 null null
7 null null
1 USA Washington
2 France Paris
6 India New Dehli
5 Russia Moscow
3 UK London
4 Brazil Brasilia
8 China Beijing
Expected behaiour:
Index Country Capital
1 USA Washington
2 France Paris
6 India New Dehli
5 Russia Moscow
3 UK London
4 Brazil Brasilia
8 China Beijing
9 null null
7 null null
Notes:
'Console.WriteLine(new DataFrame([col3.Sort(ascending: false)]));' works correctly
Capital
Washington
Paris
New Dehli
Moscow
London
Brasilia
Beijing
null
null
DataFrame OrderBy method should always place null values at the bottom of the list (after not nullable values) independently of sorting (ascending or descending). This is how Python does and how DataFrameColumn.Sort method works.
To Reproduce:
Actual behaiour:
Index Country Capital
9 null null
7 null null
1 USA Washington
2 France Paris
6 India New Dehli
5 Russia Moscow
3 UK London
4 Brazil Brasilia
8 China Beijing
Expected behaiour:
Index Country Capital
1 USA Washington
2 France Paris
6 India New Dehli
5 Russia Moscow
3 UK London
4 Brazil Brasilia
8 China Beijing
9 null null
7 null null
Notes:
'Console.WriteLine(new DataFrame([col3.Sort(ascending: false)]));' works correctly
Capital
Washington
Paris
New Dehli
Moscow
London
Brasilia
Beijing
null
null
Issue was already mention in https://github.com/dotnet/machinelearning/pull/5776/files#r624316355
The text was updated successfully, but these errors were encountered: