human
How to remove parentheses and all data within using Pandas/Python?
assistant
Here is some code to replace parentheses and all data within it with empty string '' in column 'name' of dataframe `df`

df['name'].str.replace('\\(.*\\)', '')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.