I am running big dataset for machine learning and my laptop memory is limited (8GB)
and Python is giving me this error
MemoryError: Unable to allocate 1.34 GiB for an array with shape (49998, 3607) and data type float64
when i run this line
df_features = df_features.pivot(index='RepID', columns='Code', values='Frequency')
How can I use USB stick as a RAM or how to use HDD as RAM with python?