Skip to content

Commit d0c67f3

Browse files
authored
Merge pull request eliasdabbas#346 from DanielP77/patch-2
Set Count column dtype to int64 in _yt_helpsers
2 parents 658f964 + 3f6a4b3 commit d0c67f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

advertools/_yt_helpers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def _json_to_df(json_resp, params):
3838
for col in df:
3939
if 'Count' in col:
4040
try:
41-
df[col] = df[col].astype(int)
41+
df[col] = df[col].astype('int64')
4242
except ValueError:
4343
continue
4444
if ('published' in col) or ('updated' in col):

0 commit comments

Comments
 (0)