Re: cache datframe

2016-06-16 Thread Jacek Laskowski
Yes. Yes. What's the use case? Jacek On 16 Jun 2016 2:17 p.m., "pseudo oduesp" wrote: > hi, > if i cache same data frame and transforme and add collumns i should cache > second times > > df.cache() > > transforamtion > add new columns > > df.cache() > ? > >

Re: cache datframe

2016-06-16 Thread Alexey Pechorin
What's the reason for your first cache call? It looks like you've used the data only once to transform it without reusing the data, so there's no reason for the first cache call, and you need only the second call (and that also depends on the rest of your code). On Thu, Jun 16, 2016 at 3:17 PM,

cache datframe

2016-06-16 Thread pseudo oduesp
hi, if i cache same data frame and transforme and add collumns i should cache second times df.cache() transforamtion add new columns df.cache() ?