I am trying to write rows with python in one google sheet. I found function .insert_row() with that new rows are written in the top of my google sheet. How can I write it in the bottom? Any ideas?
That is how I am trying it now:
sheet.insert_rows(df_test.values.tolist())
I believe your goal is as follows.
sheet.insert_rows(df_test.values.tolist())
, you want to achieve this using gspread for python.In this case, how about the following modification? In this modification, append_rows
method is used instead of insert_rows
.
sheet.insert_rows(df_test.values.tolist())
sheet.append_rows(df_test.values.tolist(), value_input_option="USER_ENTERED")