has2k1 / has2k1/plotnine

Polars support

Open
#602 10 comments 16 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement Feature
Dominant language
Python
Stars
4.8k
Forks
254
Avg merge
10h 35m
Merged PRs (30d)
9

Description

Polars https://www.pola.rs/ is a nice data frame library for python.

It would be great if plotnine would also support polars instead of pandas data frames.

My current workaround is:

plotnine.ggplot(polars_df.to_pandas(), plotnine.aes('...'))

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by tracing how plotnine currently accepts and processes pandas data frames, then determine the scope needed for Polars support and how compatibility would be verified; done means Polars data frames work without requiring to_pandas().

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.