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
I'm using Table.pivot_wider to unstack rows into columns. pivot_wider has an argument names_sort, which is False by default. However, setting it True doesn't seem to have any effect.
Here's an example to reproduce and the outputs. I expected the following sorting order after setting names_sort=True:
col1_T1, col1_T2, col2_T1, col2_T2.
contang0
changed the title
bug: table.pivot_wider argument names_sort has no effect
bug: names_sort argument in table.pivot_wider has no effect
May 16, 2024
Hey @contang0 -- it has an effect, but the names column you've given it is already sorted (taking into account that we only need a set of column names.
What happened?
I'm using Table.pivot_wider to unstack rows into columns. pivot_wider has an argument names_sort, which is False by default. However, setting it True doesn't seem to have any effect.
Here's an example to reproduce and the outputs. I expected the following sorting order after setting names_sort=True:
col1_T1, col1_T2, col2_T1, col2_T2.
`
What version of ibis are you using?
9.0
What backend(s) are you using, if any?
duckdb
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: