Inverting floats in a list of lists [duplicate] Inverting floats in a list of lists [duplicate] numpy numpy