# 14.1 seaborn ची सुरुवात

Source: https://ravindrabagale.com/mr/datascience/ch14-visualization-with-seaborn/14-1-quick-start.html
Language: mr (Marathi with English technical terms)

Packages import करा, whitegrid theme ठेवा आणि पुढच्या charts साठी काल्पनिक DataFrame तयार करा:

import seaborn as sns
import matplotlib.pyplot as plt
import pandas as pd

sns.set_theme(style="whitegrid")

df = pd.DataFrame({
    "city": [
        "Pune", "Pune", "Nashik", "Nagpur", "Solapur", "Kolhapur",
        "Sambhaji Nagar", "Pune", "Nashik", "Pune", "Nagpur", "Pune",
    ],
    "amount": [64, 900, 450, 240, 1299, 58, 195, 320, 880, 110, 240, 75],
    "status": [
        "Delivered", "Delivered", "Delivered", "Delivered", "Delivered", "Cancelled",
        "Delivered", "Delivered", "Delivered", "Returned", "Delivered", "Delivered",
    ],
    "festival": [
        "None", "Diwali", "Diwali", "None", "None", "None",
        "Diwali", "Ganeshotsav", "Diwali", "None", "None", "None",
    ],
})

प्रत्येक row मधल्या city, amount, status आणि festival values chart functions ला column नावाने देता येतील.

रवींद्र बागले यांची tip

DataFrame आधी तयार करा. पुढचा chart एकटा run केल्यावर df defined नाही असा error आला तर मागची cell run करा.
