Commit f69589b8 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

add fill() method

parent 900722fe
Pipeline #21115 passed with stage
in 4 minutes and 11 seconds
...@@ -49,6 +49,9 @@ class data_object(object): ...@@ -49,6 +49,9 @@ class data_object(object):
else: else:
return data_object(data) return data_object(data)
def fill(self, fill_value):
self._data.fill(fill_value)
def sum(self, axis=None): def sum(self, axis=None):
return self._contraction_helper("sum", axis) return self._contraction_helper("sum", axis)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment