Find the error in following code fragment :
S2 = pd.Series([1, 2, 3, 4], index = range(4))
There is no error in the above code.