How to batch process data and execute the card?

I load a parquet file with tabular data. I wanted to process this data and upload it to Redis. My initial approach was to make SETs per line, but it is suboptimal because it supports MSET. I was trying to figure out how to batch df and be able to call a function on an entire batch rather than on a single line. Is it possible with Dask?