The thing you have to remember about when using mapPartitions: first argument is *always* a generator. Make sure you don't exhaust it before actually using in your python code.

· · Web · 0 · 0 · 0
Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!