How to create a series of numbers using Pandas in Python
try pd.Series([0 for i in range(20)]).
It will create a pd series with 20 rows
I am new to python and have recently learnt to create a series in python using Pandas. I can define a series eg:  x = pd.Series([1, 2, 3, 4, 5]) but how to define the series for a range, say 1 to 100 rather than typing all elements from 1 to 100?