I am making an error while reading a pen object in R that has been removed from a python session.
In python:
In [248]: import pandas as pd
In [249]: pd.DataFrame({'col': ['a','b','c']}).to_feather('strings_df.feather')
In R:
> library(feather)
> df = read_feather('strings_df.feather')
Error in coldataFeather(x, i) :
RAW() can only be applied to a 'raw', not a 'list'
Is this because strings are stored as objects in pandas.Series? Any thoughts on what's going on here?
Session Information:
R
R version 3.3.1 (2016-06-21) Platform: x86_64-apple-darwin13.4.0 (64-bit) Works under: OS X 10.10.5 (Yosemite)
locale: [1] en_US.UTF-8 / en_US.UTF-8 / en_US.UTF-8 / C / en_US.UTF-8 / en_US.UTF-8
the included base packages: [1] graphics statistics grDevices utils
database methods database
other attached packages: [1] feather_0.3.0
loaded through the namespace (and not attached): [1] assertthat_0.1 hms_0.2 tools_3.3.1 tibble_1.2 Rcpp_0.12.5
Python
'2.7.10 ( , 3 2015 ., 12:05:53)\n [GCC 4.2.1 Apple LLVM 6.1.0 (clang-602.0.53)] '
Pandas : '0.20.3'
: '1.13.1'