Revize 2d129043
Přidáno uživatelem Petr Hlaváč před asi 4 roky(ů)
modules/crawler/DatasetProcessing/WIFIProcessor.py | ||
---|---|---|
17 | 17 |
False if not implemented |
18 | 18 |
True when implemented |
19 | 19 |
""" |
20 |
date_dict = dict() |
|
21 |
|
|
20 | 22 |
with open(filename, "r", encoding="utf-8") as file: |
21 | 23 |
|
22 |
date_dict = dict() |
|
23 |
|
|
24 | 24 |
for line in file: |
25 | 25 |
|
26 | 26 |
array = line.split(";") |
... | ... | |
37 | 37 |
else: |
38 | 38 |
date_dict[date][name] = CSVDataLine.CSVDataLine(name, date, int(occurrence)) |
39 | 39 |
|
40 |
CSVutils.export_data_to_csv(filename, date_dict) |
|
41 |
return True |
|
40 |
return date_dict |
|
42 | 41 |
|
Také k dispozici: Unified diff
Re #7939
- upravena struktura processorů v pipeline
- pridani kontroly validity dat