I\'ve tried:
df[\'0\'] = df[\'0\'].apply(sarcasm)
and
df[\'Unnamed: 0\'] = df[\'Unnamed: 0\'].apply(sarcasm)