-
Notifications
You must be signed in to change notification settings - Fork 74k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug on create a Dataset from a DataFrame when index its not ordered #20347
Comments
Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks. |
I updated the missing information. |
Thanks for the report @marcelino-m - it surely shouldn't crash, so I'll look into that. In the mean time, a workaround would be to explicitly convert to tensors before creating the dataset, with something like this:
|
thanks for the tips. I did something like that. |
This code generate a segmentation fault
But this not, (only index it's changed) from [2, 1, 4] to [0, 1, 4]:
System information
The text was updated successfully, but these errors were encountered: