Quick request - could you hook into save.image in R and give the ability to save the entire workspace in R? That would be awesome. Incidentally I had filed a bug request for a functionality to save the entire workspace in Pandas...but was rejected as being unpythonic. Oh and the devs claimed Apache Arrow was vaporware ! https://github.com/pydata/pandas/issues/12381
Feather: A Fast On-Disk Format for Data Frames for R and Python
41–50 of 78 posts
Re: Feather: A Fast On-Disk Format for Data Frames for R and Python
#42Any luck in getting it to work with sas... Maybe in a 10.12 future release? My daily grind is SAS to csv to R, because not everyone else has seen the light.
Re: Feather: A Fast On-Disk Format for Data Frames for R and Python
#43Quick request - could you hook into save.image in R and give the ability to save the entire workspace in R? That would be awesome. Incidentally I had filed a bug request for a functionality to save the entire workspace in Pandas...but was rejected as being unpythonic. Oh and the devs claimed Apache Arrow was vaporware ! https://github.com/pydata/pandas/issues/12381
I think saving your entire workspace is a bad idea too, sorry!
Is it stemming from a fundamental aspect of the data format - for example can you save two data frames to the same file?
Because if you can save two - why not save two hundred.
Re: Feather: A Fast On-Disk Format for Data Frames for R and Python
#44Ignorant question: What does this solve that a csv doesn't? Type information?
Re: Feather: A Fast On-Disk Format for Data Frames for R and Python
#45Re: Feather: A Fast On-Disk Format for Data Frames for R and Python
#46Earlier quoted context omitted.
I found it quite frustrating to use HDF5. It does not handle variable-length strings well (very common). In Pandas, categoricals and MultiIndex are not supported. I found that settling for CSV and pickle is more reliable & robust. Also, HDF5 basically implements a hierarchical file system, which is overengineering IMO.
Are you talking about a different type of MultiIndex? http://pandas.pydata.org/pandas-docs/stable/advanced.html
Re: Feather: A Fast On-Disk Format for Data Frames for R and Python
#47My heart is palpitating. I love where this is going. Jake Vanderplas talked about the desire for a common data frame lib to unite the warring tribes in his PyCon keynote a year or so ago, and I couldn't have agreed more. This appears to be "only" a serialization format ("oh, my unicorn only lays golden eggs"). I really hope this is the start of some common library infrastructure that can be used for all aspects of in…
This is precisely the goal of the Apache Arrow project http://arrow.apache.org/ -- and I've been working very hard to bring together diverse groups of data system developers to work on this problem together. Exciting road ahead!
Re: Feather: A Fast On-Disk Format for Data Frames for R and Python
#48Earlier quoted context omitted.
I think saving your entire workspace is a bad idea too, sorry!
Could you talk about why? Other than convenience factor (and R already does it), could you talk about why. Is it stemming from a fundamental aspect of the data format - for example can you save two data frames to the same file? Because if you can save two - why not save two hundred.
Re: Feather: A Fast On-Disk Format for Data Frames for R and Python
#49Ignorant question: What does this solve that a csv doesn't? Type information?
CSV parsing is relatively slow.
Having said that I'm pretty excited about feather and where development will lead. I use RDS files quite heavily, mostly because of the compression which allows much smaller file sizes for distribution.[2] However, there's a trade off with parsing spread and also interoperability between languages. Looks like feather already has the interoperability part sorted, just waiting for compression now. Reading slices direct from disk is pretty exciting too.
[1] http://www.starkingdom.co.uk/faster-csv-import-with-r/
[2] http://www.starkingdom.co.uk/faster-import-with-r-redux/
Re: Feather: A Fast On-Disk Format for Data Frames for R and Python
#50Any plans to support a pipe-aware POSIX command, or get this into PostgreSQL?