bugfix fielpath

master
François Boulogne 3 months ago
parent 0fb03bee21
commit 7599305995

@ -10,7 +10,7 @@ def load_data_RH_logger(filepath):
header = header.strip('# ').rstrip('\n').split('|')
header.append('X') # Empty col...
df = pd.read_csv('_data.dat', sep=' ', names=header, skiprows=1)
df = pd.read_csv(filepath, sep=' ', names=header, skiprows=1)
df = df.drop(columns='X')
df = df.drop(np.arange(1))
@ -23,4 +23,4 @@ def load_data_RH_logger(filepath):
del df['index']
#df.head()
#df = df[df['time'] > 301_000]
return df
return df

Loading…
Cancel
Save