df[:x] = Int8[df[:x]...] doesn't seem to work with NAs.
On Thursday, December 24, 2015 at 6:02:14 AM UTC-5, Min-Woong Sohn wrote: > > I want to reduce the amount of memory used by a dataframe that has lots of > binary variables. What is the best way to achieve this? For example, how > can I convert a variable from Int64 to Int8 in a dataframe. > > Thanks >
