Let's say i have a list like this one:
b = np.array(['a','b','c','a','b','c','a','b','c','a','b','c'])
and i wanted to insert this character at every 17th position '\n':
np.insert(b,b[::16],'\n')
why do i get this error message and how would be a corect way to do this?
ValueError: invalid literal for int() with base 10: 'a'
Thank you very much