For each element in `self`, return a copy of the string where all characters occurring in the optional argument `deletechars` are removed, and the remaining characters have been mapped through the given translation table. See Also -------- ch
(self, table, deletechars=None)
| 1155 | return asarray(title(self)) |
| 1156 | |
| 1157 | def translate(self, table, deletechars=None): |
| 1158 | """ |
| 1159 | For each element in `self`, return a copy of the string where |
| 1160 | all characters occurring in the optional argument |
| 1161 | `deletechars` are removed, and the remaining characters have |
| 1162 | been mapped through the given translation table. |
| 1163 | |
| 1164 | See Also |
| 1165 | -------- |
| 1166 | char.translate |
| 1167 | |
| 1168 | """ |
| 1169 | return asarray(translate(self, table, deletechars)) |
| 1170 | |
| 1171 | def upper(self): |
| 1172 | """ |