Skip to content
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

feat: fallback to string if dtype cannot be infered #307

Merged
merged 4 commits into from
Oct 21, 2024
Merged

Conversation

PrettyWood
Copy link
Member

closes #277

Comment on lines 287 to 289
} else {
Ok(DType::String)
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Logic LGTM, but I'd like to have a log message in that case, to avoid bug reports regarding this behaviour. Seems like a good opportunity to introduce https://pyo3.rs/v0.22.3/ecosystem/logging WDYT ?

@PrettyWood
Copy link
Member Author

Screenshot 2024-10-21 at 10 53 54

Copy link
Collaborator

@lukapeschke lukapeschke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌

@PrettyWood PrettyWood self-assigned this Oct 21, 2024
@PrettyWood PrettyWood added enhancement New feature or request 🦀 rust 🦀 Pull requests that edit Rust code labels Oct 21, 2024
@PrettyWood PrettyWood merged commit fb3d540 into main Oct 21, 2024
23 checks passed
@PrettyWood PrettyWood deleted the fallback-string branch October 21, 2024 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🦀 rust 🦀 Pull requests that edit Rust code enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Silent deletion of data should be construed as a bug, not the default behavior
2 participants