Replying to
@bmispelon @mathsppblog The problem is that str.split splits on any whitespace-like character, so it will also turn newline characters and nonbreaking spaces into regular spaces, even some control characters like \t. str.split(" ") will also not work since it will give you a list with empty strings...