Importing error of Panda_gbq in VM(Virtual Machine in Google cloud platform)

↘锁芯ラ 提交于 2020-01-25 09:37:08

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!