aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sec_certs/serialization/pandas.py
blob: dc0aae18a0f4b074419a5bd367804243f4957991 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from abc import ABC, abstractmethod


class PandasSerializableType(ABC):
    def __init__(self, *args, **kwargs):
        pass

    @property
    @abstractmethod
    def pandas_tuple(self):
        raise NotImplementedError("Not meant to be implemented")

    @property
    @abstractmethod
    def pandas_columns(self):
        raise NotImplementedError("Not meant to be implemented")