# 5.4 Column ची Series आणि झटपट statistics

Source: https://ravindrabagale.com/mr/datascience/ch05-pandas-dataframes-and-series/5-4-columns-as-series-quick-stats.html
Language: mr (Marathi with English technical terms)

Total amount, प्रत्येक status ची संख्या आणि वेगवेगळ्या cities ची संख्या अशी तपासा:

print(df["amount"].sum())
print(df["status"].value_counts())
print(df["city"].nunique())

उदाहरण: काल्पनिक sample load करून Shraddha Bagale status वर value_counts() run करते. Chart बनवण्याआधीच Delivered 2 आणि Cancelled 1 असं दिसतं.

Recap

DataFrame म्हणजे table; Series म्हणजे एक column.

नवीन file वर आधी head, info आणि dtypes तपासा.

Lab मध्ये read_csv आणि to_csv वापरून read → काम → save हा क्रम ठेवा.

आता selecting, filtering आणि sorting शिकूया.

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

sum सर्व rows वर चालतो. Business question मध्ये फक्त Delivered amount हवी असेल तर आधी filter लागेल.
