question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

swifter apply on groupby objects

See original GitHub issue

It would be nice to be able to apply on groupby objects currently error is raised

Cannot access attribute 'swifter' of 'DataFrameGroupBy'

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:29
  • Comments:30 (10 by maintainers)

github_iconTop GitHub Comments

15reactions
quancorecommented, Jun 24, 2021

Any progress?

14reactions
jmcarpenter2commented, Apr 11, 2019

Hi @Vozf,

Thanks for raising this feature request.

As mentioned in my other response, I’ll be spending some time this Saturday working on swifter.

I previously had implemented a groupby apply functionality, but unfortunately it was slower than pandas. Another user, @guyskk, suggested a different approach for increasing speed of groupby in #26. I will see if implementing that approach works as effectively as I hope it will.

Thanks, Jason

Read more comments on GitHub >

github_iconTop Results From Across the Web

Swifter — automatically efficient pandas apply operations
An introduction to swiftapply, a generalized method for easily and efficiently applying any function to a pandas dataframe or series.
Read more >
Speed up your Pandas Processing with Swifter
Swifter is a package that tries to efficiently apply any function to a Pandas Data Frame or Series object in the quickest available...
Read more >
Parallelize apply after pandas groupby - Stack Overflow
swifter is a python package that I created over 4 years ago as a package which efficiently applies any function to a pandas...
Read more >
DataFrames: Groupby — Dask Examples documentation
This notebook uses the Pandas groupby-aggregate and groupby-apply on scalable Dask ... Connection method: Cluster object, Cluster type: distributed.
Read more >
Speed up your Pandas Processing with Swifter - Morioh
Swifter is a package that tries to efficiently apply any function to a Pandas Data Frame or Series object in the quickest available...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found