Modify postprocessing/comstock.py and cbecs.py to use polars instead of pandas except for plotting

Open
#85 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
pandas, python

Research direction

Start by reading postprocessing/comstock.py and postprocessing/cbecs.py and locating each Pandas and Polars operation. Update the processing paths to use Polars, retaining conversion to Pandas only immediately before Seaborn plotting. Done means both modules follow this policy consistently without changing plotting behavior.

Written by the indexing model from the issue text.

Description

postprocessing

Currently, we use a mix of Pandas and Polars in comstock-postprocessing. Change this all over to Polars. It performs better, and having one library to manage changes in would be nice. The exception to this is converting to Pandas right before plotting, because Seaborn works natively with Pandas.

Dominant language
Ruby
Stars
54
Forks
28
Avg merge
3d 23h
Merged PRs (30d)
5

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

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.

More from NatLabRockies/ComStock

All issues in NatLabRockies/ComStock

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.