如何獲得 Pandas dataframe 對象的行數

You can use the .shape property or just len(DataFrame.index). However, there are notable performance differences ( len(DataFrame.index) is fastest): In [1]: import numpy as np In [2]: import pandas a
相關文章
相關標籤/搜索