delete last symbol in array element python code example
Example 1: exclude last value of an array python
my_array=np.arange(10)
my_array[:-1]
Example 2: how to remove last character from a list in python
test = ["80010","80030","80050"]
newtest = [x[:-1] for x in test]