db-dtypes

Pandas Data Types for SQL systems (BigQuery, Spanner)

28 个版本 Python >=3.10
The db-dtypes Authors <googleapis-packages@google.com>
安装
pip install db-dtypes
poetry add db-dtypes
pipenv install db-dtypes
conda install db-dtypes
描述

Pandas Data Types for SQL systems (BigQuery, Spanner)

|ga| |pypi| |versions|

Pandas extension data types_ for data from SQL systems such as BigQuery_.

  • Library Documentation_

.. |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.10

Unsupported Python Versions ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Python <= 3.9

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