TypeError: cannot convert the series to <class 'int'> - Page view time series project

Thing is at that point df should have one column. One of the function modifies the df, instead using the copy of it.

1 Like