Tell us what’s happening:
Describe your issue in detail here.
I am experiencing this error,any help
python main.py
…E/home/runner/boilerplate-page-view-time-series-visualizer/venv/lib/python3.8/site-packages/pandas/plotting/_matplotlib/converter.py:256: MatplotlibDeprecationWarning:
The epoch2num function was deprecated in Matplotlib 3.5 and will be removed two minor releases later. Use date2num(datetime.utcfromtimestamp(e))<.date2num>
instead.
base = dates.epoch2num(dt.asi8 / 1.0e9)
…
ERROR: test_data_cleaning (test_module.DataCleaningTestCase)
Traceback (most recent call last):
File “/home/runner/boilerplate-page-view-time-series-visualizer/test_module.py”, line 7, in test_data_cleaning
actual = int(time_series_visualizer.df.count(numeric_only=True))
File “/home/runner/boilerplate-page-view-time-series-visualizer/venv/lib/python3.8/site-packages/pandas/core/series.py”, line 112, in wrapper
raise TypeError(f"cannot convert the series to {converter}")
TypeError: cannot convert the series to <class ‘int’>
Ran 11 tests in 8.657s
FAILED (errors=1)
Your code so far
My Code
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.134 Safari/537.36
Challenge: Data Analysis with Python Projects - Page View Time Series Visualizer
Link to the challenge: