A DataFrame, at a glance
Nulls, dtypes, and per-column stats—no .describe() ceremony.
df = pd.DataFrame({
"product": ["Widget", "Gadget", "Doohickey"],
"price": [19.99, 29.99, 39.99],
"quantity": [100, 50, 75],
})
pls.describe(df)
A pandas DataFrame with 3 rows and 3 columns. Nulls: 0. Memory: 225.0 B. Columns: product (str, cardinality: 3 categories including 'Widget', 'Gadget', 'Doohickey'), price (float64, stats: range 20 to 40, mean 30, std 10), quantity (int64, stats: range 50 to 1e+02, mean 75, std 25). Sample row: {'product': 'Widget', 'price': '19.99', 'quantity': '100'}.