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
The example raises a ValueError, whereas using to_numpy instead of to_list successfully produces the correct output. This is due to the use of maybe_make_list treating lists/tuples differently than other list-likes, and is related to #44056.
Expected Behavior
col_0 3 4 5
row_0
1 1 1 0
2 0 0 1
Installed Versions
Replace this line with the output of pd.show_versions()
The text was updated successfully, but these errors were encountered:
rhshadrach
added
Bug
Needs Triage
Issue that has not been reviewed by a pandas team member
Algos
Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff
and removed
Needs Triage
Issue that has not been reviewed by a pandas team member
labels
Oct 18, 2021
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
I have confirmed this bug exists on the master branch of pandas.
Reproducible Example
Issue Description
The example raises a ValueError, whereas using
to_numpy
instead ofto_list
successfully produces the correct output. This is due to the use ofmaybe_make_list
treating lists/tuples differently than other list-likes, and is related to #44056.Expected Behavior
Installed Versions
Replace this line with the output of pd.show_versions()
The text was updated successfully, but these errors were encountered: