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

pandas is not quite optional as to_pandas() has DataFrame as a type hint #39

Closed
LTLA opened this issue Sep 22, 2023 · 1 comment · Fixed by #40
Closed

pandas is not quite optional as to_pandas() has DataFrame as a type hint #39

LTLA opened this issue Sep 22, 2023 · 1 comment · Fixed by #40

Comments

@LTLA
Copy link
Member

LTLA commented Sep 22, 2023

def to_pandas(self) -> DataFrame:

This blows up CI that doesn't also install pandas, e.g., https://github.com/ArtifactDB/dolomite-base/actions/runs/6270387862/job/17028263635.

Probably just kill the type hint... what else could a user expect from a to_pandas() method, anyway?

@jkanche
Copy link
Member

jkanche commented Sep 22, 2023

guess that was stupid, but it was suggested by someone, let me fix that

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 a pull request may close this issue.

2 participants