jupyter consumes 100 disk

Solutions on MaxInterview for jupyter consumes 100 disk by the best coders in the world

showing results for - "jupyter consumes 100 disk"
Emie
13 Jan 2019
1#delete the data
2a, b, c = pd.DataFrame(), pd.DataFrame(), pd.DataFrame()
3lst = [a, b, c]
4del a, b, c # dfs still in list
5del lst     # memory release now
6
7#Track CPU and RAM usage
8import psutil # gives a single float value
9psutil.cpu_percent() # gives an object with many fields
10psutil.virtual_memory()
11dict(psutil.virtual_memory()._asdict()) # you can convert that object to a dictionary