I\'m working with the following df:
c.sort_values(\'2005\', ascending=False).head(3) GeoName ComponentName IndustryId IndustryClassification Descri
df[cols] = pd.to_numeric(df[cols].stack(), errors='coerce').unstack()