def ass(inarray, dimension=None, keepdims=0):
    if dimension == None:
        inarray = N.ravel(inarray)
        dimension = 0
    return asum(inarray*inarray,dimension,keepdims)
Creates a transaction of type Sale. Amount is required. Also, a credit card,
dataset/ETHPy150Open radlab/sparrow/src/main/python/third_party/stats.py/ass--crossover with--dataset/ETHPy150Open braintree/braintree_python/braintree/transaction.py/Transaction.sale