fix: поправил сохранение фильтрованного датафрейма в csv
This commit is contained in:
parent
ccc59dd4a2
commit
6a6c5c8f3a
@ -18,7 +18,7 @@ class Tuner(AbstractTuner):
|
|||||||
df = pd.read_csv(filepath)
|
df = pd.read_csv(filepath)
|
||||||
df_filtered = tools.filter_signal(df, sigma, "Electrode Force, N ME", "Electrode Force, N FE")
|
df_filtered = tools.filter_signal(df, sigma, "Electrode Force, N ME", "Electrode Force, N FE")
|
||||||
remove(filepath)
|
remove(filepath)
|
||||||
df_filtered.to_csv(filepath)
|
df_filtered.to_csv(filepath, index=False)
|
||||||
|
|
||||||
def notify(self, obj: SubscriptionObject, filename: str):
|
def notify(self, obj: SubscriptionObject, filename: str):
|
||||||
local_path = path.join(obj.buffer, filename)
|
local_path = path.join(obj.buffer, filename)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user