ich want to replace values that differ more than 50% from my mean value by the vell before. The ocurring error is: "The truth value of an array with more than one element is ambigous. Use a.any() or a.all()." Any ideas?
import csv import pandas as pd import numpy as np from scipy import * from numpy import * import matplotlib.pyplot as plt