Skip to content
Pandas Google BigQuery
Branch: master
Clone or download
bsolomon1124 and max-sixty BUG: Ensure table_schema arg not modified inplace (#278)
Fixes #277.

If any dictionary entry in the `table_schema` arg did
not contain a "mode" key, a mode="NULLABLE" kv pair
would be created; because `schema.update_schema()`
returns an object with references to its mutable input,
this allows the argument to ultimately be modified
by the function rather than the caller.

This pattern was used in both gbq.py and load.py,
so it was refactored into a helper function in
schema.py, which now returns a modified *copy*.
Deepcopy is used because the input is a list of
dictionaries, so a shallow copy would be insufficient.
Latest commit 9460ad6 May 29, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci TST: Update Conda CI build to use nightly pandas packages. (#254) May 10, 2019
benchmark CLN: Use `to_dataframe` to download query results. (#247) Feb 23, 2019
ci TST: Update Conda CI build to use nightly pandas packages. (#254) May 10, 2019
docs CLN: Drop support for Python 2. (#273) Apr 19, 2019
pandas_gbq BUG: Ensure table_schema arg not modified inplace (#278) May 29, 2019
tests BUG: Ensure table_schema arg not modified inplace (#278) May 29, 2019
.flake8 TST: Use nox docker image for PIP CircleCI tests (#251) Feb 15, 2019
.gitattributes update versioneer Feb 22, 2017
.gitignore TST: Use nox docker image for PIP CircleCI tests (#251) Feb 15, 2019
.readthedocs.yml DOC: Add readthedocs YAML May 25, 2018
.stickler.yml Formatting with black (#204) Aug 30, 2018
AUTHORS.md bump google auth version (#143) Apr 1, 2018
CONTRIBUTING.md DOC: Link to contributing guide (#28) Apr 20, 2017
LICENSE.txt CLN: make license file machine readable (#56) Jun 9, 2017
MANIFEST.in CLN: Drop support for Python 2. (#273) Apr 19, 2019
README.rst TST: remove references to Travis. Fix conda tests. (#234) Nov 9, 2018
codecov.yml disable codecov (#113) Jan 28, 2018
noxfile.py CLN: Drop support for Python 2. (#273) Apr 19, 2019
pyproject.toml Parse all date/time types (#224) Oct 10, 2018
release-procedure.md CLN: Drop support for Python 2. (#273) Apr 19, 2019
requirements-dev.txt TST: use nox for testing (#160) Apr 7, 2018
requirements.txt Add progress for to_gbq function (#166) Apr 27, 2018
setup.cfg Formatting with black (#204) Aug 30, 2018
setup.py CLN: Drop support for Python 2. (#273) Apr 19, 2019
versioneer.py Use latest version of Nox for tests. (#222) Sep 21, 2018

README.rst

pandas-gbq

Build Status Version Status Coverage Status Black Formatted

pandas-gbq is a package providing an interface to the Google BigQuery API from pandas

Installation

Install latest release version via conda

$ conda install pandas-gbq --channel conda-forge

Install latest release version via pip

$ pip install pandas-gbq

Install latest development version

$ pip install git+https://github.com/pydata/pandas-gbq.git

Usage

See the pandas-gbq documentation for more details.

You can’t perform that action at this time.