Postgresql String Remove Function In Python