Commit 227ab6bb authored by Pierre Dittgen's avatar Pierre Dittgen

Fix time series dimensions descriptors

parent 2e6eea56
Pipeline #6606 passed with stage
in 14 seconds
......@@ -253,7 +253,8 @@ def generate_A_1_1_dataset(source_dir, target_dir, ds_name):
ts_code = 'A.1.1.{}'.format(i)
ts_info.append((ts_code, xl_info['name'], dict((xl_info['unit'], xl_info['freq']))))
ts_info.append((ts_code, xl_info['name'],
dict(unit=xl_info['unit'][0], frequency=xl_info['freq'][0])))
tsv_file_path = os.path.join(ds_dir, '{}.tsv'.format(ts_code))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment