import pandas as pd test1=pd.read_csv('Nowcoder.csv',encoding='utf-8') a=len(test1) b=len(test1.columns) print((a,b))