Skip to content

Commit

Permalink
black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
eschombu committed Aug 9, 2024
1 parent ce6f373 commit 64ffdc0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pynapple/core/ts_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@ def __init__(

data = {keys[j]: data[k] for j, k in enumerate(data.keys())}
self.index = np.sort(keys)
data = {k: data[k] for k in self.index} # Make sure data dict and index are ordered the same
# Make sure data dict and index are ordered the same
data = {k: data[k] for k in self.index}

self._metadata = pd.DataFrame(index=self.index, columns=["rate"], dtype="float")

Expand Down

0 comments on commit 64ffdc0

Please sign in to comment.