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.
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โ] ]