Skip to content

perf: use fastpath in DataFrame.to_numpy for pandas, improve performance for DataFrame.schema for pandas, use fewer values to sniff dtype for pandas objects#1929

Merged
MarcoGorelli merged 21 commits intonarwhals-dev:mainfrom
MarcoGorelli:object-as-string
Feb 5, 2025

Conversation

@MarcoGorelli
Copy link
Copy Markdown
Member

I think this should help with unit8co/darts#2661

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

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

Related issues

  • Related issue #<issue number>
  • Closes #<issue number>

Checklist

  • Code follows style guide (ruff)
  • Tests added
  • Documented the changes

If you have comments or can explain your changes, please do so below

@MarcoGorelli MarcoGorelli changed the title perf: use fewer values to sniff dtype for pandas objects perf: use fastpath in DataFrame.to_numpy for pandas, improve performance for DataFrame.schema for pandas, use fewer values to sniff dtype for pandas objects Feb 4, 2025
@MarcoGorelli MarcoGorelli marked this pull request as ready for review February 4, 2025 13:57
@MarcoGorelli

This comment was marked as outdated.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants