Pandas中head( )函數

在用Pandas讀取數據以後,咱們每每想要觀察一下數據讀取是否準確,這就要用到Pandas裏面的head( )函數,可是一直有疑問,爲何用head( )函數只能讀取前五行數據。接下來給你們分析一下head( )函數原型: 一、應用實例 二、具體原函數原型及講解 DataFrame.head(n=5) Return the first n rows. Parameters: n :
相關文章
相關標籤/搜索