Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(bigquery): expose date_as_object parameter to users #150

Merged
merged 6 commits into from Jun 29, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions google/cloud/bigquery/job.py
Expand Up @@ -3351,7 +3351,7 @@ def to_dataframe(
for details.

..versionadded:: 1.11.0
create_bqstorage_client Optional[bool]:
create_bqstorage_client (Optional[bool]):
If ``True`` (default), create a BigQuery Storage APIclient
plamut marked this conversation as resolved.
Show resolved Hide resolved
using the default API settings. The BigQuery Storage API
is a faster way to fetch rows from BigQuery. See the
Expand All @@ -3361,7 +3361,7 @@ def to_dataframe(

..versionadded:: 1.24.0

date_as_object Optional[bool]:
date_as_object (Optional[bool]):
If ``True`` (default), cast dates to objects. If ``False``, convert
to datetime64[ns] dtype.

Expand Down Expand Up @@ -3437,7 +3437,7 @@ def from_api_repr(cls, resource):
resource(Dict[str: object]):
ExplainQueryStage representation returned from API.

Returns:
Returns:bigquery_issue_11
plamut marked this conversation as resolved.
Show resolved Hide resolved
google.cloud.bigquery.QueryPlanEntry:
Query plan entry parsed from ``resource``.
"""
Expand Down
4 changes: 2 additions & 2 deletions google/cloud/bigquery/table.py
Expand Up @@ -1674,7 +1674,7 @@ def to_dataframe(
progress bar as a graphical dialog box.

..versionadded:: 1.11.0
create_bqstorage_client Optional[bool]:
create_bqstorage_client (Optional[bool]):
If ``True`` (default), create a BigQuery Storage API client
using the default API settings. The BigQuery Storage API
is a faster way to fetch rows from BigQuery. See the
Expand All @@ -1684,7 +1684,7 @@ def to_dataframe(

..versionadded:: 1.24.0

date_as_object Optional[bool]:
date_as_object (Optional[bool]):
If ``True`` (default), cast dates to objects. If ``False``, convert
to datetime64[ns] dtype.

Expand Down