mirror of
https://github.com/wassname/seq2seq-time.git
synced 2026-06-27 19:00:55 +08:00
readme
This commit is contained in:
@@ -87,7 +87,7 @@ class GasSensor(RegressionForecastData):
|
||||
dfs=[]
|
||||
for f in zf.namelist():
|
||||
if f.endswith('.csv'):
|
||||
now = pd.to_datetime(Pdset_to_ncath(f).stem, format='%Y%m%d_%H%M%S')
|
||||
now = pd.to_datetime(Path(f).stem, format='%Y%m%d_%H%M%S')
|
||||
df = pd.read_csv(zf.open(f))
|
||||
df.index = pd.to_timedelta(df['Time (s)'], unit='s') + now
|
||||
dfs.append(df)
|
||||
|
||||
Reference in New Issue
Block a user