X = df.drop('price', axis=1) # get all but price column y = df['price'] X.head(3) Way to get series... prices = df.price print(prices.min(), prices.mean(), prices.max())