Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2023 06:17 AM
pandas_udf are optimized and faster for grouped operations, like applying a pandas_udf after a groupBy. The grouping allows pandas to perform vectorized operations and will be faster than normal udf. for normal case like a*b, a normal spark udf will suffice and be faster.