Closed gaow closed 8 years ago
This seems really useful and I really like the idea. However, I am reluctant to merge this just yet for two reasons:
mode='a'
, as opposed to something like append=True
. Mode to me is something you specify when you open a file handler, but calling dd.io.save
doesn't "open" a file handler, since save
opens and closes it (which is essentially an implementation detail that the user of save
should not even be exposed to). It also exposes too much of the internals - let's say save
gets another backend one day, in which mode
is not used. Then we would have to start parsing the mode
and replicate the semantics. Which leads me to...I will close this for now, but it's definitely a very useful feature that I would like to see in deepdish some day.
This patch addresses to issue https://github.com/uchicago-cs/deepdish/issues/14.