Pandas head with offset

前端 未结 0 1914
礼貌的吻别
礼貌的吻别 2020-12-30 17:47

What is the suggested way to get, for example, the first X rows after an offset of Y? What I\'m currently doing is:

offset, limit = 2, 2
df=pd.DataFrame([{\'a         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题