Created data simulation handlers structure
This commit is contained in:
parent
003621af6b
commit
7b662c8d67
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue