Pandas remove square brackets from string. replace method along with a regular expression. join(['...