Hunter Chung
Hunter Chung

Reputation: 99

pandas to_hdf function get Illegal instruction

It seems an OS X 10.10 and docker specific error. When I try

import pandas as pd
df = pd.DataFrame([[1,2,3], [2,3,4]], columns=['a', 'b', 'c'])
df.to_hdf(
    'test.h5', 
    'sites', 
    data_columns=True,
    format='t',
    complevel=5,
    complib='blosc'
)

I got error/message Illegal instruction. However, I tried the same code in OS X directly and the same docker container in CoreOS. They all works. Can anyone help me with this?

Upvotes: 2

Views: 533

Answers (1)

Hunter Chung
Hunter Chung

Reputation: 99

Actually I found the error only happens in pytable version 3.2.0. I fallback to version 3.1.1 and

Upvotes: 1

Related Questions