for dataset in condition: x=dataset.getx() y=dataset.gety()