Python Array Delete Row In R Dataframe To Matrix