Python - valores de contagem que contêm caracteres especiais

special = '[(_:/,#%\=@)]'                    # Define special characters
df['count'] = df['myvar'].str.count(special) # Count them
Andrea Perlato