© Hannah Stepanek 2020
H. StepanekThinking in Pandashttps://doi.org/10.1007/978-1-4842-5839-2_3

3. How pandas Works Under the Hood

Hannah Stepanek1 
(1)
Portland, OR, USA
 

As with any program language, it’s important to understand what is going on underneath because it helps you write more explicit, simpler, performant, and correct code. The building blocks of a language (its data structures and API) when used correctly can make an operation trivial and when used incorrectly can make an operation overly complex if not impossible. Python packages are no different.

A programming language is simply text that is easily readable and writable by humans that can be translated into CPU instructions that are understood by machines. As programming languages have ...

Get Thinking in Pandas: How to Use the Python Data Analysis Library the Right Way now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.