1

When running the code:

loan_data = pd.concat([loan_data, loan_data_dummies], axis = 1)

I am getting the following error message:

MemoryError: Unable to allocate 1.82 GiB for an array with shape (108, 2260668) and data type float64

I tried these steps :

    Windows 10

Press the Windows key
Type SystemPropertiesAdvanced
Click Run as administrator
Under Performance, click Settings
Select the Advanced tab
Select Change...
Uncheck Automatically managing paging file size for all drives
Then select Custom size and fill in the appropriate size
Press Set then press OK then exit from the Virtual Memory, Performance Options, and System Properties Dialog
Reboot your system

per the instructions here ; Unable to allocate array with shape and data type

I allocated 8000 MB to drive C and 2000 to drive D, not sure how to allocate my memory of 11000 MB to stop the error from happening?

martineau
  • 119,623
  • 25
  • 170
  • 301
Skittles
  • 121
  • 1
  • 11

0 Answers0