SyntaxFix
Write A Post
Hire A Developer
Questions
df[cols] = pd.to_numeric(df[cols].stack(), errors='coerce').unstack()