Skip to content
Advertisement

Tag: google-cloud-bigtable

How to write BigTable table data into a pandas dataframe?

I am trying to read a GCP BigTable – table to a pandas dataframe, and currently, the function I am using to fetch rows from BigTable is read_rows(), which returns PartialRowData. Code: Output: <class ‘google.cloud.bigtable.row_data.PartialRowData’> Query: How do we read the values from PartialRowData obj? Answer There’s an example on how to call read_rows in this documentation: https://googleapis.dev/python/bigtable/latest/table.html#google.cloud.bigtable.table.Table.read_rows

Advertisement