How to add a new row by clicking a button?

I want to add a new row in my df2 (dataframe) when i click the button ‘EJECUTAR’ (execute)

Hi @Isaac_Medina ,
If I understood you correctly , you plan to add an additional row, right ?
what about using Streamlit function itself - Mutate Data (Refer to the doc)


alternatively, you can also use pandas - concatante syntax to add another dataframe with default values.


1 Like