Skip to content

Extension dtypes for pandas corresponding to GoogleSQL data types such as DATE, TIME, and JSON.

License

Notifications You must be signed in to change notification settings

googleapis/python-db-dtypes-pandas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a7a939f Β· Sep 29, 2021

History

10 Commits
Sep 23, 2021
Sep 23, 2021
Sep 29, 2021
Sep 23, 2021
Sep 21, 2021
Sep 23, 2021
Sep 28, 2021
Sep 29, 2021
Sep 20, 2021
Sep 20, 2021
Sep 20, 2021
Sep 20, 2021
Sep 20, 2021
Sep 20, 2021
Sep 20, 2021
Sep 29, 2021
Sep 23, 2021
Sep 23, 2021
Sep 20, 2021
Sep 20, 2021
Sep 20, 2021
Sep 20, 2021
Sep 20, 2021
Sep 27, 2021
Sep 27, 2021
Sep 20, 2021
Sep 20, 2021
Sep 23, 2021
Sep 23, 2021

Repository files navigation

Pandas Data Types for SQL systems (BigQuery, Spanner)

beta pypi versions

Pandas extension data types for data from SQL systems such as BigQuery.

Quick Start

In order to use this library, you first need to go through the following steps:

  1. Select or create a Cloud Platform project.
  2. [Optional] Enable billing for your project.
  3. Enable the BigQuery Storage API.
  4. Setup Authentication.

Installation

Install this library in a virtualenv using pip. virtualenv is a tool to create isolated Python environments. The basic problem it addresses is one of dependencies and versions, and indirectly permissions.

With virtualenv, it's possible to install this library without needing system install permissions, and without clashing with the installed system dependencies.

Supported Python Versions

Python >= 3.6

Unsupported Python Versions

Python <= 3.5.

Mac/Linux

pip install virtualenv
virtualenv <your-env>
source <your-env>/bin/activate
<your-env>/bin/pip install db-dtypes

Windows

pip install virtualenv
virtualenv <your-env>
<your-env>\Scripts\activate
<your-env>\Scripts\pip.exe install db-dtypes