Skip to content

Commit

Permalink
maybe this needs to be a class after all
Browse files Browse the repository at this point in the history
  • Loading branch information
relleums committed Jun 26, 2024
1 parent 76301cd commit 63a88fd
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions sparse_numeric_table/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,15 @@
from dynamicsizerecarray import DynamicSizeRecarray


class SparseNumericTable:
def __init__(self, dtypes):
testing.assert_dtypes_keys_are_valid(dtypes=dtypes)
self.table = init(dtypes=dtypes)

def dtypes(self):
pass


def init(dtypes):
testing.assert_dtypes_keys_are_valid(dtypes=dtypes)
table = {}
Expand Down

0 comments on commit 63a88fd

Please sign in to comment.