Skip to content
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.

Commit

Permalink
quickly put _broadcast back in because uproot._connect.to_pandas uses…
Browse files Browse the repository at this point in the history
… it (ack\!); fixes scikit-hep/uproot3#250
  • Loading branch information
jpivarski committed Mar 11, 2019
1 parent eb7ff85 commit ffbae7d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions awkward/array/jagged.py
Original file line number Diff line number Diff line change
Expand Up @@ -767,6 +767,9 @@ def __setitem__(self, where, what):
else:
raise TypeError("invalid index for assigning column to Table: {0}".format(where))

def _broadcast(self, data):
return self.tojagged(data)

def tojagged(self, data):
if isinstance(data, JaggedArray):
selfcounts = self.stops - self._starts
Expand Down
2 changes: 1 addition & 1 deletion awkward/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

import re

__version__ = "0.8.10"
__version__ = "0.8.11"
version = __version__
version_info = tuple(re.split(r"[-\.]", __version__))

Expand Down

0 comments on commit ffbae7d

Please sign in to comment.