googleapis / python-db-dtypes-pandas

Extension dtypes for pandas corresponding to GoogleSQL data types such as DATE, TIME, and JSON.
https://googleapis.dev/python/db-dtypes/latest/
Apache License 2.0
26 stars 6 forks source link

Pandas Data Types for SQL systems (BigQuery, Spanner)

|ga| |pypi| |versions|

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

.. |ga| image:: https://img.shields.io/badge/support-GA-gold.svg :target: https://github.com/googleapis/google-cloud-python/blob/main/README.rst#general-availability .. |pypi| image:: https://img.shields.io/pypi/v/db-dtypes.svg :target: https://pypi.org/project/db-dtypes/ .. |versions| image:: https://img.shields.io/pypi/pyversions/db-dtypes.svg :target: https://pypi.org/project/db-dtypes/ .. _Pandas extension data types: https://pandas.pydata.org/docs/development/extending.html#extension-types .. _BigQuery: https://cloud.google.com/bigquery/docs/ .. _Library Documentation: https://googleapis.dev/python/db-dtypes/latest

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.

.. _virtualenv: https://virtualenv.pypa.io/en/latest/

Supported Python Versions ^^^^^^^^^^^^^^^^^^^^^^^^^ Python >= 3.7

Unsupported Python Versions ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Python <= 3.6.

Mac/Linux ^^^^^^^^^

.. code-block:: console

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

Windows ^^^^^^^

.. code-block:: console

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