feat: make a function that gives dataframes from csv,

make_df
This commit is contained in:
Skudalen 2021-06-22 20:31:16 +02:00
parent ee9d5b3c0a
commit e2fc16f145
3 changed files with 22 additions and 2 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

View File

@ -1,4 +1,21 @@
import pandas as pd import pandas as pd
from pathlib import Path
class CSV_handler:
self.working_dir
def __init__():
self.working_dir = str(Path.cwd())
def make_df(self, filename)
filepath = self.working_dir + str(filename)
df = pd.read_csv(filepath)
return df
def get_time_emg_table(filepaths, subject_nr):
return None
def get_time_emg_table(filepath, )

View File

@ -1,2 +1,5 @@
import numpy import numpy as np