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