The dataset viewer is not available for this dataset.
Error code: ConfigNamesError
Exception: ValueError
Message: Some splits are duplicated in data_files: ['train', 'train', 'train', 'train', 'train', 'train', 'train', 'train', 'train']
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/dataset/config_names.py", line 67, in compute_config_names_response
config_names = get_dataset_config_names(
path=dataset,
token=hf_token,
)
File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 161, in get_dataset_config_names
dataset_module = dataset_module_factory(
path,
...<4 lines>...
**download_kwargs,
)
File "/usr/local/lib/python3.14/site-packages/datasets/load.py", line 1215, in dataset_module_factory
raise e1 from None
File "/usr/local/lib/python3.14/site-packages/datasets/load.py", line 1190, in dataset_module_factory
).get_module()
~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/load.py", line 646, in get_module
patterns = sanitize_patterns(next(iter(metadata_configs.values()))["data_files"])
File "/usr/local/lib/python3.14/site-packages/datasets/data_files.py", line 151, in sanitize_patterns
raise ValueError(f"Some splits are duplicated in data_files: {splits}")
ValueError: Some splits are duplicated in data_files: ['train', 'train', 'train', 'train', 'train', 'train', 'train', 'train', 'train']Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
include six common Time-series-forcasting dataset
- ETTsmall
- ETTh1
- ETTh2
- ETTm1
- ETTm2
- traffic
- eletricity
- illness
- exchange_rate
TsFile Conversion
Original dataset:
ym0v0my/Time_series_datasetModalities: Time-series
Converted data files are listed in the YAML metadata above.
Source README text and dataset-specific metadata are retained; the source Usage section is replaced with the executable TsFile Python SDK example below.
The source archive's wide CSV tables are each retained as one TsFile table.
datebecomes millisecondTime; numeric series columns are preserved as FIELD measurements.electricity.csvfields map to{"0": "c_0", "1": "c_1", "2": "c_2", "3": "c_3", "4": "c_4", "5": "c_5", "6": "c_6", "7": "c_7", "8": "c_8", "9": "c_9", "10": "c_10", "11": "c_11", "12": "c_12", "13": "c_13", "14": "c_14", "15": "c_15", "16": "c_16", "17": "c_17", "18": "c_18", "19": "c_19", "20": "c_20", "21": "c_21", "22": "c_22", "23": "c_23", "24": "c_24", "25": "c_25", "26": "c_26", "27": "c_27", "28": "c_28", "29": "c_29", "30": "c_30", "31": "c_31", "32": "c_32", "33": "c_33", "34": "c_34", "35": "c_35", "36": "c_36", "37": "c_37", "38": "c_38", "39": "c_39", "40": "c_40", "41": "c_41", "42": "c_42", "43": "c_43", "44": "c_44", "45": "c_45", "46": "c_46", "47": "c_47", "48": "c_48", "49": "c_49", "50": "c_50", "51": "c_51", "52": "c_52", "53": "c_53", "54": "c_54", "55": "c_55", "56": "c_56", "57": "c_57", "58": "c_58", "59": "c_59", "60": "c_60", "61": "c_61", "62": "c_62", "63": "c_63", "64": "c_64", "65": "c_65", "66": "c_66", "67": "c_67", "68": "c_68", "69": "c_69", "70": "c_70", "71": "c_71", "72": "c_72", "73": "c_73", "74": "c_74", "75": "c_75", "76": "c_76", "77": "c_77", "78": "c_78", "79": "c_79", "80": "c_80", "81": "c_81", "82": "c_82", "83": "c_83", "84": "c_84", "85": "c_85", "86": "c_86", "87": "c_87", "88": "c_88", "89": "c_89", "90": "c_90", "91": "c_91", "92": "c_92", "93": "c_93", "94": "c_94", "95": "c_95", "96": "c_96", "97": "c_97", "98": "c_98", "99": "c_99", "100": "c_100", "101": "c_101", "102": "c_102", "103": "c_103", "104": "c_104", "105": "c_105", "106": "c_106", "107": "c_107", "108": "c_108", "109": "c_109", "110": "c_110", "111": "c_111", "112": "c_112", "113": "c_113", "114": "c_114", "115": "c_115", "116": "c_116", "117": "c_117", "118": "c_118", "119": "c_119", "120": "c_120", "121": "c_121", "122": "c_122", "123": "c_123", "124": "c_124", "125": "c_125", "126": "c_126", "127": "c_127", "128": "c_128", "129": "c_129", "130": "c_130", "131": "c_131", "132": "c_132", "133": "c_133", "134": "c_134", "135": "c_135", "136": "c_136", "137": "c_137", "138": "c_138", "139": "c_139", "140": "c_140", "141": "c_141", "142": "c_142", "143": "c_143", "144": "c_144", "145": "c_145", "146": "c_146", "147": "c_147", "148": "c_148", "149": "c_149", "150": "c_150", "151": "c_151", "152": "c_152", "153": "c_153", "154": "c_154", "155": "c_155", "156": "c_156", "157": "c_157", "158": "c_158", "159": "c_159", "160": "c_160", "161": "c_161", "162": "c_162", "163": "c_163", "164": "c_164", "165": "c_165", "166": "c_166", "167": "c_167", "168": "c_168", "169": "c_169", "170": "c_170", "171": "c_171", "172": "c_172", "173": "c_173", "174": "c_174", "175": "c_175", "176": "c_176", "177": "c_177", "178": "c_178", "179": "c_179", "180": "c_180", "181": "c_181", "182": "c_182", "183": "c_183", "184": "c_184", "185": "c_185", "186": "c_186", "187": "c_187", "188": "c_188", "189": "c_189", "190": "c_190", "191": "c_191", "192": "c_192", "193": "c_193", "194": "c_194", "195": "c_195", "196": "c_196", "197": "c_197", "198": "c_198", "199": "c_199", "200": "c_200", "201": "c_201", "202": "c_202", "203": "c_203", "204": "c_204", "205": "c_205", "206": "c_206", "207": "c_207", "208": "c_208", "209": "c_209", "210": "c_210", "211": "c_211", "212": "c_212", "213": "c_213", "214": "c_214", "215": "c_215", "216": "c_216", "217": "c_217", "218": "c_218", "219": "c_219", "220": "c_220", "221": "c_221", "222": "c_222", "223": "c_223", "224": "c_224", "225": "c_225", "226": "c_226", "227": "c_227", "228": "c_228", "229": "c_229", "230": "c_230", "231": "c_231", "232": "c_232", "233": "c_233", "234": "c_234", "235": "c_235", "236": "c_236", "237": "c_237", "238": "c_238", "239": "c_239", "240": "c_240", "241": "c_241", "242": "c_242", "243": "c_243", "244": "c_244", "245": "c_245", "246": "c_246", "247": "c_247", "248": "c_248", "249": "c_249", "250": "c_250", "251": "c_251", "252": "c_252", "253": "c_253", "254": "c_254", "255": "c_255", "256": "c_256", "257": "c_257", "258": "c_258", "259": "c_259", "260": "c_260", "261": "c_261", "262": "c_262", "263": "c_263", "264": "c_264", "265": "c_265", "266": "c_266", "267": "c_267", "268": "c_268", "269": "c_269", "270": "c_270", "271": "c_271", "272": "c_272", "273": "c_273", "274": "c_274", "275": "c_275", "276": "c_276", "277": "c_277", "278": "c_278", "279": "c_279", "280": "c_280", "281": "c_281", "282": "c_282", "283": "c_283", "284": "c_284", "285": "c_285", "286": "c_286", "287": "c_287", "288": "c_288", "289": "c_289", "290": "c_290", "291": "c_291", "292": "c_292", "293": "c_293", "294": "c_294", "295": "c_295", "296": "c_296", "297": "c_297", "298": "c_298", "299": "c_299", "300": "c_300", "301": "c_301", "302": "c_302", "303": "c_303", "304": "c_304", "305": "c_305", "306": "c_306", "307": "c_307", "308": "c_308", "309": "c_309", "310": "c_310", "311": "c_311", "312": "c_312", "313": "c_313", "314": "c_314", "315": "c_315", "316": "c_316", "317": "c_317", "318": "c_318", "319": "c_319", "OT": "OT"}and are stably sorted byTime; repeated timestamps receive deterministic millisecond offsets.ETTh1.csvfields map to{"HUFL": "HUFL", "HULL": "HULL", "MUFL": "MUFL", "MULL": "MULL", "LUFL": "LUFL", "LULL": "LULL", "OT": "OT"}and are stably sorted byTime; repeated timestamps receive deterministic millisecond offsets.ETTh2.csvfields map to{"HUFL": "HUFL", "HULL": "HULL", "MUFL": "MUFL", "MULL": "MULL", "LUFL": "LUFL", "LULL": "LULL", "OT": "OT"}and are stably sorted byTime; repeated timestamps receive deterministic millisecond offsets.ETTm1.csvfields map to{"HUFL": "HUFL", "HULL": "HULL", "MUFL": "MUFL", "MULL": "MULL", "LUFL": "LUFL", "LULL": "LULL", "OT": "OT"}and are stably sorted byTime; repeated timestamps receive deterministic millisecond offsets.ETTm2.csvfields map to{"HUFL": "HUFL", "HULL": "HULL", "MUFL": "MUFL", "MULL": "MULL", "LUFL": "LUFL", "LULL": "LULL", "OT": "OT"}and are stably sorted byTime; repeated timestamps receive deterministic millisecond offsets.exchange_rate.csvfields map to{"0": "c_0", "1": "c_1", "2": "c_2", "3": "c_3", "4": "c_4", "5": "c_5", "6": "c_6", "OT": "OT"}and are stably sorted byTime; repeated timestamps receive deterministic millisecond offsets.national_illness.csvfields map to{"% WEIGHTED ILI": "WEIGHTED_ILI", "%UNWEIGHTED ILI": "UNWEIGHTED_ILI", "AGE 0-4": "AGE_0_4", "AGE 5-24": "AGE_5_24", "ILITOTAL": "ILITOTAL", "NUM. OF PROVIDERS": "NUM_OF_PROVIDERS", "OT": "OT"}and are stably sorted byTime; repeated timestamps receive deterministic millisecond offsets.traffic.csvfields map to{"0": "c_0", "1": "c_1", "2": "c_2", "3": "c_3", "4": "c_4", "5": "c_5", "6": "c_6", "7": "c_7", "8": "c_8", "9": "c_9", "10": "c_10", "11": "c_11", "12": "c_12", "13": "c_13", "14": "c_14", "15": "c_15", "16": "c_16", "17": "c_17", "18": "c_18", "19": "c_19", "20": "c_20", "21": "c_21", "22": "c_22", "23": "c_23", "24": "c_24", "25": "c_25", "26": "c_26", "27": "c_27", "28": "c_28", "29": "c_29", "30": "c_30", "31": "c_31", "32": "c_32", "33": "c_33", "34": "c_34", "35": "c_35", "36": "c_36", "37": "c_37", "38": "c_38", "39": "c_39", "40": "c_40", "41": "c_41", "42": "c_42", "43": "c_43", "44": "c_44", "45": "c_45", "46": "c_46", "47": "c_47", "48": "c_48", "49": "c_49", "50": "c_50", "51": "c_51", "52": "c_52", "53": "c_53", "54": "c_54", "55": "c_55", "56": "c_56", "57": "c_57", "58": "c_58", "59": "c_59", "60": "c_60", "61": "c_61", "62": "c_62", "63": "c_63", "64": "c_64", "65": "c_65", "66": "c_66", "67": "c_67", "68": "c_68", "69": "c_69", "70": "c_70", "71": "c_71", "72": "c_72", "73": "c_73", "74": "c_74", "75": "c_75", "76": "c_76", "77": "c_77", "78": "c_78", "79": "c_79", "80": "c_80", "81": "c_81", "82": "c_82", "83": "c_83", "84": "c_84", "85": "c_85", "86": "c_86", "87": "c_87", "88": "c_88", "89": "c_89", "90": "c_90", "91": "c_91", "92": "c_92", "93": "c_93", "94": "c_94", "95": "c_95", "96": "c_96", "97": "c_97", "98": "c_98", "99": "c_99", "100": "c_100", "101": "c_101", "102": "c_102", "103": "c_103", "104": "c_104", "105": "c_105", "106": "c_106", "107": "c_107", "108": "c_108", "109": "c_109", "110": "c_110", "111": "c_111", "112": "c_112", "113": "c_113", "114": "c_114", "115": "c_115", "116": "c_116", "117": "c_117", "118": "c_118", "119": "c_119", "120": "c_120", "121": "c_121", "122": "c_122", "123": "c_123", "124": "c_124", "125": "c_125", "126": "c_126", "127": "c_127", "128": "c_128", "129": "c_129", "130": "c_130", "131": "c_131", "132": "c_132", "133": "c_133", "134": "c_134", "135": "c_135", "136": "c_136", "137": "c_137", "138": "c_138", "139": "c_139", "140": "c_140", "141": "c_141", "142": "c_142", "143": "c_143", "144": "c_144", "145": "c_145", "146": "c_146", "147": "c_147", "148": "c_148", "149": "c_149", "150": "c_150", "151": "c_151", "152": "c_152", "153": "c_153", "154": "c_154", "155": "c_155", "156": "c_156", "157": "c_157", "158": "c_158", "159": "c_159", "160": "c_160", "161": "c_161", "162": "c_162", "163": "c_163", "164": "c_164", "165": "c_165", "166": "c_166", "167": "c_167", "168": "c_168", "169": "c_169", "170": "c_170", "171": "c_171", "172": "c_172", "173": "c_173", "174": "c_174", "175": "c_175", "176": "c_176", "177": "c_177", "178": "c_178", "179": "c_179", "180": "c_180", "181": "c_181", "182": "c_182", "183": "c_183", "184": "c_184", "185": "c_185", "186": "c_186", "187": "c_187", "188": "c_188", "189": "c_189", "190": "c_190", "191": "c_191", "192": "c_192", "193": "c_193", "194": "c_194", "195": "c_195", "196": "c_196", "197": "c_197", "198": "c_198", "199": "c_199", "200": "c_200", "201": "c_201", "202": "c_202", "203": "c_203", "204": "c_204", "205": "c_205", "206": "c_206", "207": "c_207", "208": "c_208", "209": "c_209", "210": "c_210", "211": "c_211", "212": "c_212", "213": "c_213", "214": "c_214", "215": "c_215", "216": "c_216", "217": "c_217", "218": "c_218", "219": "c_219", "220": "c_220", "221": "c_221", "222": "c_222", "223": "c_223", "224": "c_224", "225": "c_225", "226": "c_226", "227": "c_227", "228": "c_228", "229": "c_229", "230": "c_230", "231": "c_231", "232": "c_232", "233": "c_233", "234": "c_234", "235": "c_235", "236": "c_236", "237": "c_237", "238": "c_238", "239": "c_239", "240": "c_240", "241": "c_241", "242": "c_242", "243": "c_243", "244": "c_244", "245": "c_245", "246": "c_246", "247": "c_247", "248": "c_248", "249": "c_249", "250": "c_250", "251": "c_251", "252": "c_252", "253": "c_253", "254": "c_254", "255": "c_255", "256": "c_256", "257": "c_257", "258": "c_258", "259": "c_259", "260": "c_260", "261": "c_261", "262": "c_262", "263": "c_263", "264": "c_264", "265": "c_265", "266": "c_266", "267": "c_267", "268": "c_268", "269": "c_269", "270": "c_270", "271": "c_271", "272": "c_272", "273": "c_273", "274": "c_274", "275": "c_275", "276": "c_276", "277": "c_277", "278": "c_278", "279": "c_279", "280": "c_280", "281": "c_281", "282": "c_282", "283": "c_283", "284": "c_284", "285": "c_285", "286": "c_286", "287": "c_287", "288": "c_288", "289": "c_289", "290": "c_290", "291": "c_291", "292": "c_292", "293": "c_293", "294": "c_294", "295": "c_295", "296": "c_296", "297": "c_297", "298": "c_298", "299": "c_299", "300": "c_300", "301": "c_301", "302": "c_302", "303": "c_303", "304": "c_304", "305": "c_305", "306": "c_306", "307": "c_307", "308": "c_308", "309": "c_309", "310": "c_310", "311": "c_311", "312": "c_312", "313": "c_313", "314": "c_314", "315": "c_315", "316": "c_316", "317": "c_317", "318": "c_318", "319": "c_319", "320": "c_320", "321": "c_321", "322": "c_322", "323": "c_323", "324": "c_324", "325": "c_325", "326": "c_326", "327": "c_327", "328": "c_328", "329": "c_329", "330": "c_330", "331": "c_331", "332": "c_332", "333": "c_333", "334": "c_334", "335": "c_335", "336": "c_336", "337": "c_337", "338": "c_338", "339": "c_339", "340": "c_340", "341": "c_341", "342": "c_342", "343": "c_343", "344": "c_344", "345": "c_345", "346": "c_346", "347": "c_347", "348": "c_348", "349": "c_349", "350": "c_350", "351": "c_351", "352": "c_352", "353": "c_353", "354": "c_354", "355": "c_355", "356": "c_356", "357": "c_357", "358": "c_358", "359": "c_359", "360": "c_360", "361": "c_361", "362": "c_362", "363": "c_363", "364": "c_364", "365": "c_365", "366": "c_366", "367": "c_367", "368": "c_368", "369": "c_369", "370": "c_370", "371": "c_371", "372": "c_372", "373": "c_373", "374": "c_374", "375": "c_375", "376": "c_376", "377": "c_377", "378": "c_378", "379": "c_379", "380": "c_380", "381": "c_381", "382": "c_382", "383": "c_383", "384": "c_384", "385": "c_385", "386": "c_386", "387": "c_387", "388": "c_388", "389": "c_389", "390": "c_390", "391": "c_391", "392": "c_392", "393": "c_393", "394": "c_394", "395": "c_395", "396": "c_396", "397": "c_397", "398": "c_398", "399": "c_399", "400": "c_400", "401": "c_401", "402": "c_402", "403": "c_403", "404": "c_404", "405": "c_405", "406": "c_406", "407": "c_407", "408": "c_408", "409": "c_409", "410": "c_410", "411": "c_411", "412": "c_412", "413": "c_413", "414": "c_414", "415": "c_415", "416": "c_416", "417": "c_417", "418": "c_418", "419": "c_419", "420": "c_420", "421": "c_421", "422": "c_422", "423": "c_423", "424": "c_424", "425": "c_425", "426": "c_426", "427": "c_427", "428": "c_428", "429": "c_429", "430": "c_430", "431": "c_431", "432": "c_432", "433": "c_433", "434": "c_434", "435": "c_435", "436": "c_436", "437": "c_437", "438": "c_438", "439": "c_439", "440": "c_440", "441": "c_441", "442": "c_442", "443": "c_443", "444": "c_444", "445": "c_445", "446": "c_446", "447": "c_447", "448": "c_448", "449": "c_449", "450": "c_450", "451": "c_451", "452": "c_452", "453": "c_453", "454": "c_454", "455": "c_455", "456": "c_456", "457": "c_457", "458": "c_458", "459": "c_459", "460": "c_460", "461": "c_461", "462": "c_462", "463": "c_463", "464": "c_464", "465": "c_465", "466": "c_466", "467": "c_467", "468": "c_468", "469": "c_469", "470": "c_470", "471": "c_471", "472": "c_472", "473": "c_473", "474": "c_474", "475": "c_475", "476": "c_476", "477": "c_477", "478": "c_478", "479": "c_479", "480": "c_480", "481": "c_481", "482": "c_482", "483": "c_483", "484": "c_484", "485": "c_485", "486": "c_486", "487": "c_487", "488": "c_488", "489": "c_489", "490": "c_490", "491": "c_491", "492": "c_492", "493": "c_493", "494": "c_494", "495": "c_495", "496": "c_496", "497": "c_497", "498": "c_498", "499": "c_499", "500": "c_500", "501": "c_501", "502": "c_502", "503": "c_503", "504": "c_504", "505": "c_505", "506": "c_506", "507": "c_507", "508": "c_508", "509": "c_509", "510": "c_510", "511": "c_511", "512": "c_512", "513": "c_513", "514": "c_514", "515": "c_515", "516": "c_516", "517": "c_517", "518": "c_518", "519": "c_519", "520": "c_520", "521": "c_521", "522": "c_522", "523": "c_523", "524": "c_524", "525": "c_525", "526": "c_526", "527": "c_527", "528": "c_528", "529": "c_529", "530": "c_530", "531": "c_531", "532": "c_532", "533": "c_533", "534": "c_534", "535": "c_535", "536": "c_536", "537": "c_537", "538": "c_538", "539": "c_539", "540": "c_540", "541": "c_541", "542": "c_542", "543": "c_543", "544": "c_544", "545": "c_545", "546": "c_546", "547": "c_547", "548": "c_548", "549": "c_549", "550": "c_550", "551": "c_551", "552": "c_552", "553": "c_553", "554": "c_554", "555": "c_555", "556": "c_556", "557": "c_557", "558": "c_558", "559": "c_559", "560": "c_560", "561": "c_561", "562": "c_562", "563": "c_563", "564": "c_564", "565": "c_565", "566": "c_566", "567": "c_567", "568": "c_568", "569": "c_569", "570": "c_570", "571": "c_571", "572": "c_572", "573": "c_573", "574": "c_574", "575": "c_575", "576": "c_576", "577": "c_577", "578": "c_578", "579": "c_579", "580": "c_580", "581": "c_581", "582": "c_582", "583": "c_583", "584": "c_584", "585": "c_585", "586": "c_586", "587": "c_587", "588": "c_588", "589": "c_589", "590": "c_590", "591": "c_591", "592": "c_592", "593": "c_593", "594": "c_594", "595": "c_595", "596": "c_596", "597": "c_597", "598": "c_598", "599": "c_599", "600": "c_600", "601": "c_601", "602": "c_602", "603": "c_603", "604": "c_604", "605": "c_605", "606": "c_606", "607": "c_607", "608": "c_608", "609": "c_609", "610": "c_610", "611": "c_611", "612": "c_612", "613": "c_613", "614": "c_614", "615": "c_615", "616": "c_616", "617": "c_617", "618": "c_618", "619": "c_619", "620": "c_620", "621": "c_621", "622": "c_622", "623": "c_623", "624": "c_624", "625": "c_625", "626": "c_626", "627": "c_627", "628": "c_628", "629": "c_629", "630": "c_630", "631": "c_631", "632": "c_632", "633": "c_633", "634": "c_634", "635": "c_635", "636": "c_636", "637": "c_637", "638": "c_638", "639": "c_639", "640": "c_640", "641": "c_641", "642": "c_642", "643": "c_643", "644": "c_644", "645": "c_645", "646": "c_646", "647": "c_647", "648": "c_648", "649": "c_649", "650": "c_650", "651": "c_651", "652": "c_652", "653": "c_653", "654": "c_654", "655": "c_655", "656": "c_656", "657": "c_657", "658": "c_658", "659": "c_659", "660": "c_660", "661": "c_661", "662": "c_662", "663": "c_663", "664": "c_664", "665": "c_665", "666": "c_666", "667": "c_667", "668": "c_668", "669": "c_669", "670": "c_670", "671": "c_671", "672": "c_672", "673": "c_673", "674": "c_674", "675": "c_675", "676": "c_676", "677": "c_677", "678": "c_678", "679": "c_679", "680": "c_680", "681": "c_681", "682": "c_682", "683": "c_683", "684": "c_684", "685": "c_685", "686": "c_686", "687": "c_687", "688": "c_688", "689": "c_689", "690": "c_690", "691": "c_691", "692": "c_692", "693": "c_693", "694": "c_694", "695": "c_695", "696": "c_696", "697": "c_697", "698": "c_698", "699": "c_699", "700": "c_700", "701": "c_701", "702": "c_702", "703": "c_703", "704": "c_704", "705": "c_705", "706": "c_706", "707": "c_707", "708": "c_708", "709": "c_709", "710": "c_710", "711": "c_711", "712": "c_712", "713": "c_713", "714": "c_714", "715": "c_715", "716": "c_716", "717": "c_717", "718": "c_718", "719": "c_719", "720": "c_720", "721": "c_721", "722": "c_722", "723": "c_723", "724": "c_724", "725": "c_725", "726": "c_726", "727": "c_727", "728": "c_728", "729": "c_729", "730": "c_730", "731": "c_731", "732": "c_732", "733": "c_733", "734": "c_734", "735": "c_735", "736": "c_736", "737": "c_737", "738": "c_738", "739": "c_739", "740": "c_740", "741": "c_741", "742": "c_742", "743": "c_743", "744": "c_744", "745": "c_745", "746": "c_746", "747": "c_747", "748": "c_748", "749": "c_749", "750": "c_750", "751": "c_751", "752": "c_752", "753": "c_753", "754": "c_754", "755": "c_755", "756": "c_756", "757": "c_757", "758": "c_758", "759": "c_759", "760": "c_760", "761": "c_761", "762": "c_762", "763": "c_763", "764": "c_764", "765": "c_765", "766": "c_766", "767": "c_767", "768": "c_768", "769": "c_769", "770": "c_770", "771": "c_771", "772": "c_772", "773": "c_773", "774": "c_774", "775": "c_775", "776": "c_776", "777": "c_777", "778": "c_778", "779": "c_779", "780": "c_780", "781": "c_781", "782": "c_782", "783": "c_783", "784": "c_784", "785": "c_785", "786": "c_786", "787": "c_787", "788": "c_788", "789": "c_789", "790": "c_790", "791": "c_791", "792": "c_792", "793": "c_793", "794": "c_794", "795": "c_795", "796": "c_796", "797": "c_797", "798": "c_798", "799": "c_799", "800": "c_800", "801": "c_801", "802": "c_802", "803": "c_803", "804": "c_804", "805": "c_805", "806": "c_806", "807": "c_807", "808": "c_808", "809": "c_809", "810": "c_810", "811": "c_811", "812": "c_812", "813": "c_813", "814": "c_814", "815": "c_815", "816": "c_816", "817": "c_817", "818": "c_818", "819": "c_819", "820": "c_820", "821": "c_821", "822": "c_822", "823": "c_823", "824": "c_824", "825": "c_825", "826": "c_826", "827": "c_827", "828": "c_828", "829": "c_829", "830": "c_830", "831": "c_831", "832": "c_832", "833": "c_833", "834": "c_834", "835": "c_835", "836": "c_836", "837": "c_837", "838": "c_838", "839": "c_839", "840": "c_840", "841": "c_841", "842": "c_842", "843": "c_843", "844": "c_844", "845": "c_845", "846": "c_846", "847": "c_847", "848": "c_848", "849": "c_849", "850": "c_850", "851": "c_851", "852": "c_852", "853": "c_853", "854": "c_854", "855": "c_855", "856": "c_856", "857": "c_857", "858": "c_858", "859": "c_859", "860": "c_860", "OT": "OT"}and are stably sorted byTime; repeated timestamps receive deterministic millisecond offsets.weather.csvfields map to{"p (mbar)": "p_mbar", "T (degC)": "T_degC", "Tpot (K)": "Tpot_K", "Tdew (degC)": "Tdew_degC", "rh (%)": "rh", "VPmax (mbar)": "VPmax_mbar", "VPact (mbar)": "VPact_mbar", "VPdef (mbar)": "VPdef_mbar", "sh (g/kg)": "sh_g_kg", "H2OC (mmol/mol)": "H2OC_mmol_mol", "rho (g/m**3)": "rho_g_m_3", "wv (m/s)": "wv_m_s", "max. wv (m/s)": "max_wv_m_s", "wd (deg)": "wd_deg", "rain (mm)": "rain_mm", "raining (s)": "raining_s", "SWDR (W/m�)": "SWDR_W_m", "PAR (�mol/m�/s)": "PAR_mol_m_s", "max. PAR (�mol/m�/s)": "max_PAR_mol_m_s", "Tlog (degC)": "Tlog_degC", "OT": "OT"}and are stably sorted byTime; repeated timestamps receive deterministic millisecond offsets.
Usage
Install the Apache TsFile Python SDK (pip install tsfile) and read a converted file:
from pathlib import Path
from tsfile import TsFileReader
path = Path("electricity.tsfile")
with TsFileReader(str(path)) as reader:
schemas = reader.get_all_table_schemas()
print("tables:", list(schemas))
table_name = next(iter(schemas))
table = schemas[table_name]
columns = [column.get_column_name() for column in table.get_columns()]
print("columns:", columns)
field_names = [
column.get_column_name()
for column in table.get_columns()
if column.get_column_name() not in {"Time", "time"}
]
if field_names:
with reader.query_table(table_name, field_names[:3], batch_size=1024) as result:
batch = result.read_arrow_batch()
if batch is not None:
print(batch.to_pandas().head())
- Downloads last month
- -