Julia appending data to dataframe gives dataframe not defined

There is a missing ( after write.

Hard to say without a MWE.