Abstract
You may have heard another pandas user mention using eval and query to speed up evaluation of expressions in pandas. While use of these functions can speed up evaluation of expressions, it cannot do it without the help of a very important library: NumExpr. Use of these functions without installing NumExpr can actually cause a performance hit. In order to understand how NumExpr is able to speed up calculations however, we need to take a deep dive into the architecture of a computer.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2020 Hannah Stepanek
About this chapter
Cite this chapter
Stepanek, H. (2020). Performance Improvements Beyond pandas. In: Thinking in Pandas. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-5839-2_8
Download citation
DOI: https://doi.org/10.1007/978-1-4842-5839-2_8
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-5838-5
Online ISBN: 978-1-4842-5839-2
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)