I have some data and I want to separate it based on values. For example when x and y are below 100 to keep these values in a separate dataframe when x is below 200 and y below 100 to keep these separate. Essentially I want to create 2 loops, one inside another, and assign a name something like df+i+j. However, I get an error when I try to do it. Here is the code I have developed but does not function. Thank you for your help in advance!
x1=100
y1=100
for i in range(9):
for j in range(9):
dframe+str(i)+str(j) = df[(df['x'] <= x1) & (df['y'] <= y1)]
y1 = y1+100
x1 = x1+100