0

I am downloading a dataset from Google BigQuery using pandas like so

df = pd.read_gbq(query, location="US"...)

and it tells me it is downloading. But where is the data saved? I need to know before calling in the heavy loads...

1 Answers1

0

Python has an object allocator that is responsible for allocating memory within the object memory area. It directly uses the memory of the machine where Jupyter is running to store the DataFrame you obtain from your pd.read_gbq call. Check CPython’s Memory Management for more more insights on this. Here you have different methods to estimate the size in memory that this DataFrame will need.

Javier Bóbeda
  • 468
  • 2
  • 10