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

fmt_percent doesn't work with polars-u64-idx #387

Closed
2 tasks done
lostmygithubaccount opened this issue Jun 29, 2024 · 0 comments · Fixed by #388
Closed
2 tasks done

fmt_percent doesn't work with polars-u64-idx #387

lostmygithubaccount opened this issue Jun 29, 2024 · 0 comments · Fixed by #388

Comments

@lostmygithubaccount
Copy link
Contributor

lostmygithubaccount commented Jun 29, 2024

Prework

Description

I need to use polars-u64-idx to avoid errors. it doesn't seem like I can use this with great_tables currently if using fmt_percent

Reproducible example

pip install polars-u64-idx great-tables
import polars as pl
from great_tables import GT

df = pl.DataFrame({"a": [1, 2]})

GT(df).fmt_percent("a", decimals=2)

error:

PackageNotFoundError: No package metadata was found for polars

Expected result

the above works -- it does with regular polars

Development environment

  • Operating System: macOS
  • great_tables Version: 0.9.0
  • polars-u64-idx 0.20.31

Additional context

Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant