Python: how to pass a index range as parameter -


i know possible, there other way pass 0:100 ?

a=range(1000)  ohlc.c.ix[a] 

thank you!

pass slice object.

a = slice(0, 100) 

Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -