import pandas as pdseries1=pd.Series([10,20,30],index=[5,2,1])print(series1)
Standard input is empty
5 10 2 20 1 30 dtype: int64
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!