EuroPython 2016

Data Formats for Data Science

Speaker(s) Valerio Maggio

The plain text is one of the simplest yet most intuitive format in which data could be stored. It is easy to create, human and machine readable, storage-friendly (i.e. highly compressible), and quite fast to process. Textual data can also be easily structured; in fact to date the CSV (Comma Separated Values) is the most common data format among data scientists.

However, this format is not properly suited in case data require any sort of internal hierarchical structure, or if data are too big to fit in a single disk.

In these cases other formats must be considered, according to the shape of data, and the specific constraints imposed by the context. These formats may leverage general purpose solutions, e.g. [No]SQL databases, HDFS (Hadoop File System); or may be specifically designed for scientific data, e.g. hdf5, ROOT, NetCDF.

In this talk, the strength and flaws of each solution will be discussed, focusing on their usage for scientific computations. The goal is to provide some practical guidelines for data scientists, derived from the the comparison of the different Pythonic solutions presented for the case study analysed. These will include xarray, pyROOT vs rootpy, h5py vs PyTables, bcolz, and blaze. Finally, few notes about the new trends for columnar databases (e.g. MonetDB) will be also presented, for very fast in-memory analytics.

in on Thursday 21 July at 10:30 See schedule


  1. Gravatar
    I'm really interested in attending this talk. I have already bought a EuroPython ticket. I'm planning the trip and hotel reservation, so I would like to know the talk date and time (if possible).
    Thank you. Marco.
    — Marco Basilico,

New comment