Skip to content

Commit

Permalink
fix str dtype
Browse files Browse the repository at this point in the history
  • Loading branch information
matteosdocsity committed Jul 2, 2020
1 parent 5448dd4 commit cea0e16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gcloud_connectors/bigquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def get_pandas_dtypes(self, dataset, table):
schema_dtypes = {}
for schema in table.schema:
if schema.field_type in ['STRING']:
type = 'string'
type = str
elif schema.field_type in ['DATE', 'TIMESTAMP']:
type = 'datetime64[ns]'
elif schema.field_type in ['FLOAT']:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def get_requirements(*requirements_file):
return dependencies

setup(name='gcloud-connectors',
version='0.1.21',
version='0.1.22',
url='https://github.com/pualien/py-gcloud-connector',
license='MIT',
author='Matteo Senardi',
Expand Down

0 comments on commit cea0e16

Please sign in to comment.