Examples
import numpy as np import pandas as pd
df = pd.DataFrame({'c1': [2, 3], 'c2': [4, 5]}) df.shape
(2, 2)
df = pd.DataFrame({'c1': [2, 3], 'c2': [4, 5], 'c3': [6, 7]}) df.shape
(2, 3)