@property
    def amount(self):
        amount = [t.amount for t in self]
        try:
            # try to return a numpy array if possible
            import numpy as np
            return np.round(np.array(amount, dtype=np.float64), self._ynab.precision)
        except __HOLE__:
            # return a simple list otherwise
            return amount
dataset/ETHPy150Open aldanor/pynab/ynab/models.py/Transactions.amount