finding column numbers of dataset code example Example: number of column in dataset pandas len(df.columns)