Skip to content

{.co} blog

  • Links
    • Bristol Data Portals and Technology Companies

Tag: hdf5

Using Python to dump hdf5 or h5 files to csv

6 June 2017June 6, 2017JonLeave a comment

Probably the simplest way to do this is to use Pandas:

import pandas as pd

with pd.HDFStore('myfile.h5', 'r') as d:
    df = d.get('TheData')
    df.to_csv('myfile.csv')

{.co} Newsletter

A monthly-ish round-up of things we're finding interesting in the code, data and business arena
* = required field

About CurlyBrackets.co

Experiments in software development with a side-interest in data, business theory, philosophy and the lovely city of Bristol.
Want to talk? Drop us a note:
Follow @curlybracketsco

Recent Posts

  • Mailgun Inline Images with Python
  • ECMWF Python urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
  • Using Python to dump hdf5 or h5 files to csv
  • Playing with CSS filters in real time
  • Wriggle Discounts Super-Lister!

Top Posts & Pages

  • JavaScript Date Format YYYY-MM-DD in local time or UTC time
  • Using Python to dump hdf5 or h5 files to csv
  • Bristol Tramways
  • Scraping the IKEA API in PHP
  • Custom tooltips in Angular-nvD3

Follow me on Twitter

My Tweets

Tags

angularfire angularjs apis apple BaaS bamboo bristol bristol api bristol tramways credit-crunch css data desk excel firebase full-stack js graphs guardian heatmap income insights JavaScript leadership leafletjs macro maps modern desk mvp needs newsletter nvd3 php prototyping psychology rhodia rotring sales scraping slice sql stamen state of the city strava ui wriggle
© 2021 {.co} blog