import pandas as pd
data = pd.read_csv('grid.csv')
df = pd.DataFrame(data, columns = ['x', 'y'])
equation_x = ((df.x)-2.5)**2
equation_y = ((df.y)-2.5)**2
eq = equation_x + equation_y
refined = df[df.eval(eq) <= 4]
refined.to_csv('gridoutput.csv')
没有错误,但是输出文件不包含任何数据,仅包含列的标题。我要去哪里错了?