Basically trying to get an if else statement to work so that my data frame which is inside of a for loop gets updated (appended) with a new entry each time the for loop runs
psuedo code:
if df does not exist
df = some matrix
else
df1 = some new matrix
df1 = df1.append(df)
it just doesnt work; i think i have the wrong syntax