import pandas as pd
# Creating a small real-world style dataset
data = {
'OrderID': [101, 102, 103, 104, 105],
'Product': ['Laptop', 'Mouse', 'Monitor', None, 'Keyboard'], # Note the None (Missing value)
'Price': [1200.50, 25.00, 300.00, 150.00, 75.00],
'Quantity': [1, 2, 1, 3, 2],
'In_Stock': [True, True, False, True, True]
}
df = pd.DataFrame(data)
# --- THE .info() CALL ---
print("--- DATASET INFO ---")
df.info()
# --- THE .describe() CALL ---
print("\n--- DATASET STATISTICS ---")
# By default, it only summarizes numerical columns
print(df.describe())