1. Home
  2. Docs
  3. Python-DataScience
  4. Data Manipulate with Pandas
  5. Singular Data Inspection

Singular Data Inspection

查找特异数据(例如最大值,突变点等

Finding index of maximal value

# return the index of the maximal value in this series, where idx is abbr. of index
Series.idxmax() 

# getting all data in this row
df.iloc[Series.idmax(), :] 
Was this article helpful to you? Yes No

How can we help?