Skip to content

RFC, feat: Add (basic) support for pandas SparseDtype - #3739

Open
FBruzzesi wants to merge 3 commits into
mainfrom
feat/support-pd-sparse-input
Open

RFC, feat: Add (basic) support for pandas SparseDtype#3739
FBruzzesi wants to merge 3 commits into
mainfrom
feat/support-pd-sparse-input

Conversation

@FBruzzesi

@FBruzzesi FBruzzesi commented Jul 1, 2026

Copy link
Copy Markdown
Member

Description

Talk is cheap, show me the code

Here is the code!


Line changes breakdown:

  • 45% added tests
  • 20% new doc page on sparsity
  • 35% actual code

What type of PR is this? (check all applicable)

  • 💾 Refactor
  • ✨ Feature
  • 🐛 Bug Fix
  • 🔧 Optimization
  • 📝 Documentation
  • ✅ Test
  • 🐳 Other

Related issues

@FBruzzesi FBruzzesi added enhancement New feature or request needs discussion pandas-like Issue is related to pandas-like backends labels Jul 1, 2026
@FBruzzesi

Copy link
Copy Markdown
Member Author

@maxzw would love to get also your feedback on this :)

@maxzw

maxzw commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

@FBruzzesi Amazing 👏🏻 This would resolve #3722 (schema issue only) but also extend the support of pandas' SparseDtype in general (enhancement outside of my scope).

@maxzw

maxzw commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Any plans to support this in the future?

@FBruzzesi

Copy link
Copy Markdown
Member Author

Hey @maxzw - considering the extension of the code, I would be in favor including it. Yet we need to wait for other maintainers to weight in for the decision. It might take a bit longer to decide as it's vacation time for many (myself included 😅)

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

Labels

enhancement New feature or request needs discussion pandas-like Issue is related to pandas-like backends

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Avoid mapping pandas.SparseDtype to Unknown

2 participants