PySDM_examples.Alpert_and_Knopf_2016.table

 1class Table:
 2    def __getitem__(self, item):
 3        return self._data[item]
 4
 5    def items(self):
 6        return self._data.items()
 7
 8    def __init__(self, volume, data):
 9        self._data = data
10        self.volume = volume
class Table:
 2class Table:
 3    def __getitem__(self, item):
 4        return self._data[item]
 5
 6    def items(self):
 7        return self._data.items()
 8
 9    def __init__(self, volume, data):
10        self._data = data
11        self.volume = volume
Table(volume, data)
 9    def __init__(self, volume, data):
10        self._data = data
11        self.volume = volume
def items(self):
6    def items(self):
7        return self._data.items()
volume