Skip to content

Commit

Permalink
chore: add DataIterator
Browse files Browse the repository at this point in the history
  • Loading branch information
jlsneto committed Feb 9, 2025
1 parent a442ba8 commit 37cfc07
Show file tree
Hide file tree
Showing 2 changed files with 296 additions and 61 deletions.
3 changes: 3 additions & 0 deletions cereja/mltools/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@ def max_freq(self):
def min_freq(self):
return self.sample(min(self.values()))

def to_dict(self):
return dict(self)


class ConnectValues(dict):
def __init__(self, name: str = None):
Expand Down
Loading

0 comments on commit 37cfc07

Please sign in to comment.