Hi, I learn split method online. When I try to run the line with ss1 beginning, I don't understand why its output of ss1 and ss2. I have check the help about split. It looks like that it is a numpy method. What is the split method parameter (within " ") for?
Thanks, ............... ss0="1, 2, 4, 8, 16".split(", ") ss0 Out[2]: ['1', '2', '4', '8', '16'] ss1="1, 2, 4, 8, 16".split(" , ") ss1 Out[4]: ['1, 2, 4, 8, 16'] ss2="1, 2, 4, 8, 16".split(", ") ss2 Out[9]: ['1, 2, 4, 8, 16'] help(split) Help on function split in module numpy.lib.shape_base: -- https://mail.python.org/mailman/listinfo/python-list