EuroPython 2017

How to use pandas the wrong way

Speaker(s) Pietro Battiston
Sub Community: PyData

UPDATE: slides and materials can be found at

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

in on Wednesday 12 July at 11:20 See schedule

Do you have some questions on this talk?

New comment