@@ -51,25 +51,7 @@ def collect_downloads(
5151 LOGGER .info (f'Collecting new downloads for projects={ projects } ' )
5252
5353 csv_path = get_path (output_folder , 'pypi.csv' )
54- # read_csv_kwargs = {
55- # 'parse_dates': ['timestamp'],
56- # 'dtype': {
57- # 'country_code': pd.CategoricalDtype(),
58- # 'project': pd.CategoricalDtype(),
59- # 'version': pd.CategoricalDtype(),
60- # 'type': pd.CategoricalDtype(),
61- # 'installer_name': pd.CategoricalDtype(),
62- # 'implementation_name': pd.CategoricalDtype(),
63- # 'implementation_version': pd.CategoricalDtype(),
64- # 'distro_name': pd.CategoricalDtype(),
65- # 'distro_version': pd.CategoricalDtype(),
66- # 'system_name': pd.CategoricalDtype(),
67- # 'system_release': pd.CategoricalDtype(),
68- # 'cpu': pd.CategoricalDtype(),
69- # },
70- # }
7154 previous = get_previous_pypi_downloads (input_file = None , output_folder = output_folder )
72- # previous = load_csv(csv_path, read_csv_kwargs=read_csv_kwargs)
7355
7456 pypi_downloads = get_pypi_downloads (
7557 projects = projects ,
0 commit comments