Vectorization Techniques for 1000x Python Speedups - No C or Spark Required
Offered By: EuroPython Conference via YouTube
Course Description
Overview
Discover how to achieve 1000x speedups in Python without resorting to C or Spark in this 41-minute conference talk from EuroPython 2024. Explore vectorization techniques for optimizing multivariate Python functions using matrices, library knowledge, and creative problem-solving. Learn three core tricks: converting conditional logic to set theory, stacking vectors into matrices, and shaping data to match library expectations. Examine real-world examples from Bloomberg's ESG Scores, including time-series computations and complex financial models with numerous if/else branches. Gain insights into rewriting pandas backfill operations and simplifying cases using De Morgan's laws and sparse matrix representations. Conclude with an overview of cutting-edge tools and acquire a concrete strategy for vectorizing financial models to dramatically improve performance.
Syllabus
How we used vectorization for 1000x Python speedups (no C or Spark needed!)
Taught by
EuroPython Conference
Related Courses
Computational Investing, Part IGeorgia Institute of Technology via Coursera Введение в машинное обучение
Higher School of Economics via Coursera Математика и Python для анализа данных
Moscow Institute of Physics and Technology via Coursera Introduction to Python for Data Science
Microsoft via edX Using Python for Research
Harvard University via edX