python file.write n'écrit pas entier

# When you see ellipses "..." at the end of an output 
# it is likely because the output is too long

# for example use
for i in range(len(df)):
  var = df.loc[i, "ex"]
# rather than
for row in df.iterrows():
  var = df.ex
George Costanza