I am trying to free up the disc space in my device as I have to do data-intensive processing in jupyter notebook. First of all, I have noticed that the kernel stops due (I guess) to high disc space (Macinosh HD) usage whenever I do something like df.head() in jupyter. The first question is yet, why it is so? Is jupyter consuming disc space when performing a .head() on a dataframe?;
The second and more important question pertains to the storage of data in Dropbox. I thought that once I put the huge files in online-only mode the files would not have occupied any storage disc space on my local hard drive but apparently, it is not like this. Specifically, the dropbox team suggests the smart sync option instead. However, even when I de-select the huge data frames from dropbox using smart sync, the space occupied in memory is a lot:
As you can see I have only 51GB available and I know that Dropbox alone occupies 320 GB of my total 500 GB.
Yet, it appears in "Other" when I go to the details:

Why is it so? How can I free up the disc space in dropbox?
P.s. I have discovered that most part of the space is occupied by txt files that are on the /private/var folder which seem to be updated to the days when I used jupyter and began to manage the big data (though they are stored in dropbox). Still, it's a mystery to me the reason why this is happening.
