问题
I am trying to save BigQuery results as a dataframe. I tried to use to_dataframe() - Uses BigQuery tabledata.list API
but its very slow.
So, I am trying to use pandas_gbq
but when I try to import in Jupyterlab in virtual machine then I get this error.
I installed even using pip but getting same error. Any help?
回答1:
It looks like this package is not installed on your instance of Jupyerlab. You should install it (you only need to do this once) and run your code again.
Since you are in Jupyterlab, you can import from inside your notebook my prefixing your shell command with !
.
For example:
!pip install pandas
来源:https://stackoverflow.com/questions/59766605/importing-error-of-panda-gbq-in-vmvirtual-machine-in-google-cloud-platform