Created data simulation handlers structure

This commit is contained in:
Alberto 2022-09-29 19:16:13 +02:00
parent 003621af6b
commit 7b662c8d67
5 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,16 @@
import abc
from abc import ABC
class BaseDataSimulationHandler(ABC):
def __init__(self):
self._data = None
@abc.abstractmethod
def load_data(self, path):
pass
@abc.abstractmethod
def convert_into_dataframe(self):
pass

View File

@ -0,0 +1,10 @@
from Utilities.Files.SimulationDataTypes.BaseDataSimulationHandler import BaseDataSimulationHandler
class CsvDataSimulationHandler(BaseDataSimulationHandler):
def load_data(self, path):
pass
def convert_into_dataframe(self):
pass

View File

@ -0,0 +1,10 @@
from Utilities.Files.SimulationDataTypes.BaseDataSimulationHandler import BaseDataSimulationHandler
class JsonDataSimulationHandler(BaseDataSimulationHandler):
def load_data(self, path):
pass
def convert_into_dataframe(self):
pass

View File

@ -0,0 +1,10 @@
from Utilities.Files.SimulationDataTypes.BaseDataSimulationHandler import BaseDataSimulationHandler
class ParquetDataSimulationHandler(BaseDataSimulationHandler):
def load_data(self, path):
pass
def convert_into_dataframe(self):
pass