Skip to content

pandas requires google-cloud-python for Google BigQuery support: #203

@netskink

Description

@netskink

I used to do this in a datalab notebook

df = gbq.read_gbq('SELECT * FROM gsd_sample.blackman75', PROJECT)

Now, it says
ImportError: pandas requires google-cloud-python for Google BigQuery support: cannot import name make_exception

In the python notebook, I am doing:

import math
import shutil
import numpy as np
import pandas as pd
import tensorflow as tf
import re
import matplotlib.pyplot as plt
import IPython.display as ipd
import os
import io
import sys
import base64
import hashlib
from sklearn import preprocessing
import datetime
from pandas.io import gbq


import apache_beam as beam
print tf.__version__

And prior to that, I do this in the datalab notebook

!pip install librosa soundfile google-cloud-storage pandas-gbq google-cloud-bigquery pandas-gbq google-cloud -U

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions