Revize 3692d853
Přidáno uživatelem Petr Hlaváč před asi 4 roky(ů)
modules/crawler/DatasetProcessing/KOLOBEZKY_processor.py | ||
---|---|---|
5 | 5 |
def process_file(filename): |
6 | 6 |
""" |
7 | 7 |
Method that take path to crawled file and outputs date dictionary: |
8 |
Date dictionary is a dictionary where keys are dates in format ddmmYYYYhh (0804201815)
|
|
8 |
Date dictionary is a dictionary where keys are dates in format YYYY-mm-dd-hh (2018-04-08-15)
|
|
9 | 9 |
and value is dictionary where keys are devices (specified in configuration file) |
10 | 10 |
and value is CSVDataLine.csv_data_line with device,date and occurrence |
11 | 11 |
|
Také k dispozici: Unified diff
Úprava komentářů