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
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