pandas中dataframe类型选取前几行

data1.head(10)
原文地址:https://www.cnblogs.com/interdrp/p/15729442.html