0
import pandas as pd 
s2=pd.Series([1,2,34,5])  
s3=pd.Series(range(4))
s4=pd.Series([7,5,6,2.7,3,6,5,8,9])            
s5=pd.Series([1,2,3,4,5,6],index=['a','$','@','4',"**",'^^'])             
s7=pd.Series(77,index=[1,2,3])                 
s8=pd.Series(1,index=range(5))              
s9=pd.Series('bello!',index=['a','d'])

Now I want to print all these at once using a loop or any other code. But when I tried doing it I was not able to put 's' and number together.

for i in range(2,10):
    print('s'+str(i))

This would print just 's1...' not the Series I want.

Any answer would be helpful..

Universe A7
  • 126
  • 7

0 Answers0