Thursday, June 17, 2021

How to free RAM Memory

STEP1:
    i) sudo sync
  ii)sudo sysctl -w vm.drop_caches=3
  iii) sudo sync

STEP2:
  i) echo 1 > /proc/sys/vm/drop_caches
  ii) echo 2 > /proc/sys/vm/drop_caches
  iii) echo 3 > /proc/sys/vm/drop_caches

Wednesday, May 19, 2021

how to install pandas in python

We find difficulty in installation and pandas mainly when there are multiple versions of python installed on system to avoid confusion use below command:

python -m pip install pandas python -c 'import pandas'

You may replace word 'python' with exact version of python also, if required, eg:

  python3.8 -m pip install pandas 
  python3.8  -c 'import pandas'