I wanted to know conceptually why there is difference in output using str(Series).split() and Series.str.split(), when using it on the series object. I was looking to split the date based on the punctuation: the str(Series).split() didn't give me the desired output while the other method, using Series.str.split() but I heard that using the [dot] accessor is frowned upon. I've searched the net but I did not get any satisfactory answers. Can anyone help me out and shed some light? I was using the following series object.
df5 = pd.Series(["04/20/2009", "04/20/09", "4/20/09", "4/3/09", "Mar-20-2009", "Mar 20, 2009", "March 20, 2009", "Mar. 20, 2009", "Mar 20 2009", "20 Mar 2009","20 March 2009", "20 Mar. 2009", "20 March, 2009", "Mar 20th, 2009", "Mar 21st, 2009", "Mar 22nd, 2009", "Feb 2009", "Sep 2009", "Oct 2010", "6/2008","12/2009", "2009", "2010"])