Pietro Battiston - How to use pandas the wrong way
Channel: EuroPython Conference
Date: 13/10/2017

"How to use pandas the wrong way
[EuroPython 2017 - Talk - 2017-07-12 - Anfiteatro 1]
[Rimini, Italy]

UPDATE: slides and materials can be found at http://pietrobattiston.it/python:pycon#europython_rimini_july_2017

The pandas library represents a very efficient and convenient tool for data manipulation, but sometimes hides unexpected pitfalls which can arise in various and sometimes unintelligible ways.

By briefly referring to some aspects of the implementation, I will review specific situations in which a change of approach can make code based on pandas more robust, or more performant.

Some examples:

inefficient indexing
multiple dtypes and efficiency
implicit type casting
HDF5 storage overhead
GroupBy.apply()... when you don't actually need it

License: This video is licensed under the CC BY-NC-SA 3.0 license: https://creativecommons.org/licenses/by-nc-sa/3.0/
Please see our speaker release agreement for details: https://ep2017.europython.eu/en/speaker-release-agreement/