Point72 / Point72/ccflow

Convert other schema types (polars, numpy, pandas, python) to narwhals type

Open
#78 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type: enhancement
Dominant language
Python
Stars
44
Forks
7
Avg merge
17h 16m
Merged PRs (30d)
13

Description

Is your feature request related to a problem? Please describe.
It would be convenient if dtypes could be more flexibly specified:
https://github.com/Point72/ccflow/blob/main/ccflow/exttypes/narwhals.py#L143

Describe the solution you'd like
Extend the validator to handle more types.

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

Read ccflow/exttypes/narwhals.py around line 143 to understand the existing dtype validator and its current accepted inputs. Check how validation is tested in the repository before extending it. Done means polars, numpy, pandas, and Python types can be specified and converted to narwhals types.

Written by the indexing model from the issue text.

Assessment

Tech stack
numpy, pandas, python
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.