Find Related products on Amazon

Shop on Amazon

Show HN: Aiopandas – Async .apply() and .map() for Pandas, Faster API/LLMs Calls

Published on: 2025-06-14 20:04:01

aiopandas 🚀 Async-Powered Pandas: Lightweight Pandas monkey-patch that adds async support to map , apply , applymap , aggregate , and transform , enabling seamless handling of async functions with controlled parallel execution ( max_parallel ). ✨ Features Drop-in replacement for Pandas functions, now supporting async functions . for Pandas functions, now supporting . Automatic async execution with controlled concurrency via max_parallel . with via . Supports tqdm for real-time progress tracking. 🚀 Quick Start import aiopandas as pd # Monkey-patches Pandas with async methods import asyncio # Create a sample DataFrame df = pd . DataFrame ({ 'x' : range ( 10 )}) # Define an async function (simulating API calls, I/O, etc.) async def f ( x ): await asyncio . sleep ( 0.1 * x ) # Simulate async processing return x * 2 # Example transformation # Apply the async function to the DataFrame column df [ 'y' ] = await df . x . amap ( f , max_parallel = 5 ) # Default max_parallel=16 print ( df ... Read full article.