🔵 Data Science · Lesson 33
Data Science का परिचय
Data Science का परिचय क्या है?
Data Science का परिचय ka matlab hai: Data Science uses programming, statistics and domain knowledge to extract useful insights from data. Simple words me, ye topic practical Python programs likhne me direct use hota hai.
Is topic ko sirf definition ke liye nahi, balki understanding data science jaise real examples ke liye practice karein.
यह क्यों सीखना जरूरी है?
- Ye understanding data science me kaam aata hai.
- Ye connecting Python and statistics se bhi connected hai.
- Isse aap code ka output aur errors better samajh paate hain.
Important Terms
| Term | Meaning |
|---|---|
| data | data is an important term in this topic. |
| insight | Useful conclusion discovered from data. |
| statistics | statistics is an important term in this topic. |
| visualization | Presenting data through charts or graphs. |
| prediction | Estimated output produced by a model. |
Syntax / Basic Pattern
Basic idea: pehle data तैयार करें, phir Python logic apply करें, aur finally result display करें.
Basic Pattern
import pandas as pd
df = pd.DataFrame({"Product": ["A", "B", "C"], "Sales": [120, 90, 150]})
best_product = df.loc[df["Sales"].idxmax()]
print("Best product:", best_product["Product"])Complete Example Program
Python – data-science-introduction.py
import pandas as pd
df = pd.DataFrame({"Product": ["A", "B", "C"], "Sales": [120, 90, 150]})
best_product = df.loc[df["Sales"].idxmax()]
print("Best product:", best_product["Product"])Expected Output
Best product: C
Program Explanation
import pandas as pdimports ready-made features from a module/library.df = pd.DataFrame({"Product": ["A", "B", "C"], "Sales": [120, 90, 150]})stores a value in df.best_product = df.loc[df["Sales"].idxmax()]stores a value in best_product.print("Best product:", best_product["Product"])displays information or calculated result on the screen.
Practical Uses
- Understanding data science.
- Connecting python and statistics.
- Planning data projects.
Common Mistakes
- Analysing data before checking missing values, duplicates and data types.
- Changing original data without keeping a clean copy.
- Creating charts without title, labels or explanation.
Practice Tasks
- Program ko
data-science-introduction.pyfile me type karke run karein. - Values change karke output compare karein.
- understanding data science par ek छोटा example banayen.
- Logic ko apne words me 5 lines me likhein.
सारांश
Introduction to Data Science ko tab complete maanenge jab aap iska meaning, example, output aur practical use clearly explain kar saken.
💻 लाइव कोड एडिटर
इस पेज के प्रोग्राम यहीं तैयार हैं — चलाएँ, बदलें और सीखें। कुछ भी इंस्टॉल किए बिना।
OneCompiler द्वारा संचालित। कोड एडिटर में अपने आप आ जाता है — Run दबाकर आउटपुट देखें। अगर एडिटर न खुले तो नए टैब में खोलें.