1

I'm trying to join 2 dataframes, essentially trying to replicate a vlookup in python. The command I'm running is

df_Eligible_w_Hier = df_Eligible.join(df_ProdHier, on='Sku', how='left',lsuffix='_ProdHier')

df_Eligible has 13949037 rows and df_ProdHier has 31897.

I'm using a Win7 core i5 with 4Gb of memory.

I keep getting a MemoryError, is that normal. Those df don't seem that big to me. How can I solve or work around this?

Thanks

EdChum
  • 376,765
  • 198
  • 813
  • 562
Alex Kinman
  • 2,437
  • 8
  • 32
  • 51

0 Answers0