#Python, pandas #For row count/index len(df.index) df.shape[0] #For columns count/columns len(df.columns) df.shape[1]