Optimize Your Pandas Code
Matt discusses the importance of avoiding the use of "apply" for numeric operations in pandas, as it can significantly slow down performance. He emphasizes the need to ensure correct data types when loading CSV files, highlighting common pitfalls such as unexpected string values. Additionally, he touches on the handling of categorical data and the inefficiencies of pandas' string representation.In this clip
From this podcast

Super Data Science: ML & AI Podcast with Jon Krohn
SDS 557: Effective Pandas — with Matt Harrison
Related Questions