The map function creates an array of arrays and the split function defines the delimiter in the dataset. Refer to the below screenshot
Since the dataset was delimited by space, we wrote the split function as - split(" "). If our dataset was delimited by tab, then we would have to specify "\t" in the split function.