diff --git a/awkward/array/table.py b/awkward/array/table.py index 984da37e..4a20914e 100644 --- a/awkward/array/table.py +++ b/awkward/array/table.py @@ -61,11 +61,11 @@ def __getattr__(self, name): content = self._table._content.get(name, None) if content is not None: - return content + return content[self._index] content = self._table._content.get("_" + name, None) if content is not None: - return content + return content[self._index] raise AttributeError("neither {0} nor _{1} are columns in this {2}".format(name, name, self._table.rowname)) diff --git a/awkward/version.py b/awkward/version.py index 6979236b..77a577c9 100644 --- a/awkward/version.py +++ b/awkward/version.py @@ -30,7 +30,7 @@ import re -__version__ = "0.0.9" +__version__ = "0.0.10" version = __version__ version_info = tuple(re.split(r"[-\.]", __version__))