Free tutorials & notes in Hindi & English · Clean code examples 🧰 मुफ़्त PDF और फ़ोटो टूल्स →
📊 Unit 3 – Data Handling और NumPy  ·  Lesson 10

Data समझना: Collect, Store, Process

Data क्या है?

Data raw facts और figures का संग्रह है — numbers, शब्द, माप, observations, images या आवाज़ें। अकेले data का ज़्यादा मतलब नहीं होता। Organise और process करने पर यह information बनता है जो कुछ समझने या फ़ैसला लेने में मदद करती है।

Data41, 38, 44, 36, 45Processing40 °C से compareInformation3 heatwave दिनDecisionschool का समय बदलो
Data से फ़ैसले तक

Data क्यों ज़रूरी है

🏫
SchoolsAttendance और marks data से पता चलता है किन students को extra मदद चाहिए।
🏥
HospitalsPatient records से बीमारियाँ track और दवाइयों की planning।
🛒
ShopsSales data बताता है त्योहारों से पहले क्या stock करें।
🌦️
WeatherSatellite data से बारिश और cyclones का अनुमान।
🏛️
सरकारCensus data से सड़कें, schools और hospitals की planning।
Data सबको बेहतर फ़ैसले में मदद करता है

Data के प्रकार

Structured data

  • Rows और columns में organised
  • Search और analyse करना आसान
  • Examples: marks register, bank statement, railway timetable, spreadsheets

Unstructured data

  • कोई fixed format नहीं
  • Analyse करने के लिए ख़ास tools
  • Examples: photos, videos, voice notes, emails, social-media posts
Structured vs unstructured

Data qualitative (वर्णनात्मक: रंग, grade, शहर) या quantitative (संख्यात्मक: ऊँचाई, price, temperature) भी होता है। Quantitative data discrete (गिना हुआ: students की संख्या) या continuous (मापा हुआ: ऊँचाई 162.5 cm) होता है।

RollNameHouseHeight_cmSiblings
1IshaBlue158.51
2KunalRed1662
3MeherGreen152.30
Name और House qualitative; Height continuous; Siblings discrete

Data collection

Data collection यानी सही sources से facts इकट्ठा करना ताकि उनका analysis हो सके। पहले तय करें क्या data चाहिए और क्यों।

Primary data

  • आप ख़ुद सीधे इकट्ठा करते हैं
  • Surveys और questionnaires (Google Forms)
  • Interviews, observation, experiments
  • Sensors: weather station, fitness band
  • आपके उद्देश्य के लिए सटीक, पर समय लगता है

Secondary data

  • किसी और का पहले से इकट्ठा किया
  • सरकारी portals (data.gov.in), census
  • Reports, newspapers, research papers
  • Company records, websites
  • जल्दी और सस्ता, पर पूरी तरह fit न भी हो
Data के sources

Data storage

इकट्ठा data सुरक्षित store करना ज़रूरी है ताकि बाद में use हो सके। छोटा data files (text, CSV, spreadsheet) में; बड़ा या shared data databases (MySQL, जो Unit 4 में पढ़ेंगे) में रखा जाता है। Storage local devices (HDD, SSD, pen drive) या cloud (Google Drive, OneDrive, company servers) पर हो सकता है।

📁 survey_project/
├── raw_responses.csv     # जैसा इकट्ठा हुआ वैसा data
├── clean_data.csv        # errors हटाने के बाद
├── analysis.py           # processing का Python program
└── report.pdf            # charts के साथ final information
छोटे data project को store करने का साफ़ तरीका
💡 अच्छी आदत

Backup copy रखें, raw data कभी overwrite न करें, files के नाम dates के साथ साफ़ रखें, और personal data को passwords से बचाएँ।

Data processing

Data processing वे operations हैं जो raw data को useful information में बदलते हैं।

Collectइकट्ठाCleanerrors हटाओOrganisesort, group, storeAnalysecalculate, comparePresenttables, chartsनए प्रश्न → नया data
Data processing cycle
OperationExample
Validation / cleaningख़ाली या असंभव value हटाना (age = 250)
SortingStudents को marks से क्रम में रखना
ClassificationHouse या grade से group करना
CalculationTotal, average, percentage
SummarisationClass result: pass %, topper
ReportingPrincipal के लिए charts और tables

Python में data साफ़ और process करना

असली survey data गड़बड़ होता है: extra spaces, numbers की जगह words, ख़ाली और असंभव values। Python इसे साफ़ कर सकता है:

Python
# Raw survey data: hours of screen time per day
responses = ['3', '5', ' 2', 'four', '6', '', '3', '25']
clean = []
for r in responses:
    r = r.strip()
    if r.isdigit() and 0 <= int(r) <= 24:     # keep only valid hours
        clean.append(int(r))
print('Raw responses :', len(responses))
print('Valid values  :', clean)
print('Average hours :', round(sum(clean) / len(clean), 2))
Raw responses : 8 Valid values : [3, 5, 2, 6, 3] Average hours : 3.8

Data को information में बदलना:

Python
# Data -> information: classify readings
readings = {'Mon': 41, 'Tue': 38, 'Wed': 44, 'Thu': 36, 'Fri': 45}
for day, temp in readings.items():
    label = 'Heatwave' if temp >= 40 else 'Normal'
    print(day, temp, label)
hot = [d for d, t in readings.items() if t >= 40]
print('Heatwave days:', len(hot), hot)
Mon 41 Heatwave Tue 38 Normal Wed 44 Heatwave Thu 36 Normal Fri 45 Heatwave Heatwave days: 3 ['Mon', 'Wed', 'Fri']

सारांश और practice

  • Data = raw facts; information = processed, अर्थपूर्ण data।
  • Structured vs unstructured; qualitative vs quantitative (discrete/continuous)।
  • Primary data आप इकट्ठा करते हैं; secondary पहले से मौजूद होता है।
  • Processing: collect → clean → organise → analyse → present।
✅ Practice

हर एक को primary/secondary और structured/unstructured में बाँटें: (a) Classmates के लिए आपका बनाया Google Form (b) Census of India की tables (c) Science fair की photos (d) आपके school की attendance spreadsheet।

Answers: (a) primary, structured (b) secondary, structured (c) primary, unstructured (d) आपके लिए secondary (school ने इकट्ठा किया), structured।

अक्सर पूछे जाने वाले प्रश्न (FAQ)

Data और information में क्या फ़र्क है?
Data बिना संदर्भ के raw facts है, जैसे 41, 38, 44। Information process किया हुआ अर्थपूर्ण data है, जैसे "इस हफ़्ते तीन heatwave दिन थे"।
Primary data क्या है?
अपने उद्देश्य के लिए ख़ुद सीधे इकट्ठा किया गया data, जैसे survey, interview, experiment या observation से।
कुछ data storage devices बताइए।
Hard disk drives, solid state drives, pen drives, memory cards, optical discs और cloud storage। Organised data आमतौर पर files या databases में रखा जाता है।
← Class 11 Informatics Practices
🔗

Share this topic with a friend

यह topic किसी दोस्त को भेजें

Found it useful? Send it to a classmate learning the same thing.

अच्छा लगा? जो दोस्त यही सीख रहा है, उसे भेज दीजिए।

अगला topicStatistics: Mean, Median, Mode, SD आपकी प्रगति: 10 / 20 (50%) · Lesson 11 / 20 आगे बढ़ें →

यह lesson कैसा लगा?

आपकी राय से हम content और बेहतर बनाते हैं।

अपना review और सुझाव लिखें (वैकल्पिक)

Review approve होने के बाद आपका नाम और शहर इसके साथ public दिख सकते हैं। Email या phone न लिखें।

▶ CodingEasily on YouTube

Video से सीखें – आसान Hindi में

चुनी हुई video: RDBMS भाग 3 – Class XI Commerce IT

▶ Channel subscribe करें