feat(data): add export_to_csv method for saving processed data into individuals sensor end and update test script
Closes #40
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
from convert import *
|
||||
from joblib import dump, load
|
||||
|
||||
# a = generate_damage_files_index(
|
||||
# num_damage=6, file_index_start=1, col=5, base_path="D:/thesis/data/dataset_A"
|
||||
# )
|
||||
# dump(DataProcessor(file_index=a), "D:/cache.joblib")
|
||||
a = load("D:/cache.joblib")
|
||||
a = generate_damage_files_index(
|
||||
num_damage=6, file_index_start=1, col=5, base_path="D:/thesis/data/dataset_A"
|
||||
)
|
||||
data = DataProcessor(file_index=a)
|
||||
# data.create_vector_column(overwrite=True)
|
||||
data.create_limited_sensor_vector_column(overwrite=True)
|
||||
data.export_to_csv("D:/thesis/data/")
|
||||
# a = load("D:/cache.joblib")
|
||||
breakpoint()
|
||||
|
||||
Reference in New Issue
Block a user