Table Replace Value In Python