Skip to content

Conversation

Tishj
Copy link
Collaborator

@Tishj Tishj commented Sep 15, 2025

This PR fixes #48

It just sniffs objects to determine if they adhere to a structured type, that doesn't necessarily need pandas
This is kind of untested because all our tests require pandas+numpy

But I went through the logic called by the pandas analyzer and it seems like pandas/numpy are loaded anyways when we first try to compare with a pandas/numpy class type (i.e there's no import_cache.pandas.NaT(false) in the path)

@paultiq
Copy link
Contributor

paultiq commented Sep 15, 2025

This can be tested with #50, which disables Pandas for 3.14 builds.

@evertlammerts evertlammerts added this pull request to the merge queue Sep 16, 2025
@evertlammerts
Copy link
Collaborator

Thanks!

Merged via the queue into duckdb:main with commit c42539c Sep 16, 2025
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Numpy returns strings if Pandas is not installed.

3 participants