How to get rid of 0s showing up in st.experimental_data_editor

Summary

In my dataframe, there appear 0s in front of each value in my second row. I can’t seem to understand where these "0"s are coming from. Is there a command that can get rid of them. Attached is what my dataframe currently resembles.

You probably want to cast it as int, it is most likely as string.

Given that approach, how would I restructure this line of code that represents that row…
df2.loc[len(df1.index)] = [‘Name 2’, df1[“92”], df1[“62”], df1[“39”],df1[“28”],df1[“71”],df1[“6”] ]

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.