I have a numpy.ndarray with Strings. I have created a character list, which I would like to use against the strings array, to remove all characters which appear in the character list. I want to put the symbol free strings in a new array. How can I do this?

Input:

```
symbols = string.printable[62:]
symbolsList = list(symbols)
symbolsList

```

Output:

```
['!',
 '"',
 '#',
 '$',
 '%',
 '&',
 "'",
 '(',
 ')',
 '*',
 '+',
 ',',
 '-',
 '.',
 '/',
 ':',
 ';',
 '<',
 '=',
 '>',
 '?',
 '@',
 '[',
 '\\',
 ']',
 '^',
 '_',
 '`',
 '{',
 '|',
 '}',
 '~',
 ' ',
 '\t',
 '\n',
 '\r',
 '\x0b',
 '\x0c']

```

A sample output of the `string_array`:

```
array(['[KFC] CHicken_Gravy_Coke_Biscuit This is my Order!!!<lf><lf>', dtype=object)

```

I want it to look like this:

```
  array(['KFC CHicken Gravy Coke Biscuit This is my Order  lf lf', dtype=object)

```

I tried:

```
cleanData = []
for i in string_array:
        cleanData.append(string_array[i].replace(symbolsList[i], " "))

```

and: 

```
cleanData = []
for i in summary_data:
    cleanData = summary_data[i].replace(symbolsList[i], " ")

```

Both give same Output:

```
IndexError: only integers, slices (`:`), ellipsis (`...`), numpy.newaxis (`None`) and integer or boolean arrays are valid indices

```

But does not work :( How to make this work? Or do what I want?