如果y1的 amount列是string格式的
y1 = pd.to_numeric(y1.amount, errors=’ignore’ )/10000
errors=’coerce’, 会返回nan,these errors will be ignoredand pandas will convert problematic elements to pd.NaT (
errors=’ignore’, 会忽略错误保持原样
如果y1的 amount列是string格式的
y1 = pd.to_numeric(y1.amount, errors=’ignore’ )/10000
errors=’coerce’, 会返回nan,these errors will be ignoredand pandas will convert problematic elements to pd.NaT (
errors=’ignore’, 会忽略错误保持原样