mirror of
https://github.com/logos-co/SimulationsFramework.git
synced 2025-02-22 10:48:17 +00:00
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
|
0
Utilities/Files/SimulationDataTypes/__init__.py
Normal file
0
Utilities/Files/SimulationDataTypes/__init__.py
Normal file
Loading…
x
Reference in New Issue
Block a user