-
Notifications
You must be signed in to change notification settings - Fork 165
Closed
Description
The python code used was from pandas's doc:
import pandas as pd
import numpy as np
df = pd.DataFrame({'a' : list('abc'),
'b' : list(range(1, 4)),
'c' : np.arange(3, 6).astype('u1'),
'd' : np.arange(4.0, 7.0, dtype='float64'),
'e' : [True, False, True],
'f' : pd.Categorical(list('abc')),
'g' : pd.date_range('20130101', periods=3),
'h' : pd.date_range('20130101', periods=3, tz='US/Eastern'),
'i' : pd.date_range('20130101', periods=3, freq='ns')})
print(df)
df.to_feather('example.feather')
But I cannot read it in R:
$ R -q -f read.R
>
> library(feather)
>
> df <- read_feather('example.feather')
Error in coldataFeather(x, i) : Not an INT64
Calls: read_feather ... as_data_frame.feather -> [ -> [.feather -> coldataFeather -> .Call
In addition: Warning message:
Coercing int64 to double
Execution halted
Python environment: 3.6, feather 0.4.0
R environment: R 3.3.1, feather 0.3.1, Rcpp 0.12.11
Metadata
Metadata
Assignees
Labels
No labels