dtype int translates to c datatype long, which is a 32-bit Integer on Windows. So, for very large channels, the total number of views exceeds the supported value range (try searching for channels with videos about "Cute cat", which will return channels with > 5bn views), leading to an OverflowError ("Python int too large to convert to C long"). Using dtype 'int64' explicitly uses a 64-bit Integer also on Windows machines and solves the issue.
dtype int translates to c datatype long, which is a 32-bit Integer on Windows. So, for very large channels, the total number of views exceeds the supported value range (try searching for channels with videos about "Cute cat", which will return channels with > 5bn views), leading to an OverflowError ("Python int too large to convert to C long"). Using dtype 'int64' explicitly uses a 64-bit Integer also on Windows machines and solves the issue.