Data Science & Machine Learning
Join this channel to learn data science, artificial intelligence and machine learning with funny quizzes, interesting projects and amazing resources for free For collaborations: @love_data
إظهار المزيد📈 نظرة تحليلية على قناة تيليجرام Data Science & Machine Learning
تُعد قناة Data Science & Machine Learning (@datasciencefun) في القطاع اللغوي الإنكليزية لاعباً نشطاً. يضم المجتمع حالياً 75 645 مشتركاً، محتلاً المرتبة 2 114 في فئة التعليم والمرتبة 4 359 في منطقة الهند.
📊 مؤشرات الجمهور والحراك
منذ تأسيسه في невідомо، حقق المشروع نمواً سريعاً وجمع 75 645 مشتركاً.
بحسب آخر البيانات بتاريخ 11 يونيو, 2026، تحافظ القناة على نشاط مستقر. خلال آخر 30 يوماً تغيّر عدد الأعضاء بمقدار 911، وفي آخر 24 ساعة بمقدار 29، مع بقاء الوصول العام مرتفعاً.
- حالة التحقق: غير موثّقة
- معدل التفاعل (ER): يبلغ متوسط تفاعل الجمهور 3.63%. وخلال أول 24 ساعة من النشر يحصد المحتوى عادةً 1.36% من ردود الفعل نسبةً إلى إجمالي المشتركين.
- وصول المنشورات: يحصل كل منشور على متوسط 2 747 مشاهدة. وخلال اليوم الأول يجمع عادةً 1 032 مشاهدة.
- التفاعلات والاستجابة: يتفاعل الجمهور بانتظام؛ متوسط التفاعلات لكل منشور يبلغ 5.
- الاهتمامات الموضوعية: يركز المحتوى على مواضيع رئيسية مثل learning, accuracy, distribution, panda, dataset.
📝 الوصف وسياسة المحتوى
يصف المؤلف القناة بأنها مساحة للتعبير عن الآراء الذاتية:
“Join this channel to learn data science, artificial intelligence and machine learning with funny quizzes, interesting projects and amazing resources for free
For collaborations: @love_data”
بفضل وتيرة التحديث المرتفعة (أحدث البيانات بتاريخ 12 يونيو, 2026) تحافظ القناة على حداثتها ومستوى وصول مرتفع. وتُظهر التحليلات تفاعلاً نشطاً من الجمهور، ما يجعلها نقطة تأثير مهمة ضمن فئة التعليم.
import numpy as np
🔹 2. Creating a NumPy Array
From a List
import numpy as np
arr = np.array([1, 2, 3, 4])
print(arr)
Output:
[1 2 3 4]🔹 3. Check Array Type
print(type(arr))
Output:
<class 'numpy.ndarray'>
🔹 4. NumPy Array Operations
Addition:
import numpy as np
arr = np.array([1, 2, 3])
print(arr + 2)
Output:
[3 4 5]Multiplication:
print(arr * 2)
Output:
[2 4 6]🔹 5. NumPy Built-in Functions
arr = np.array([10, 20, 30, 40])
print(arr.sum())
print(arr.mean())
print(arr.max())
print(arr.min())
Output:
100 25.0 40 10🔹 6. NumPy Array Shape
arr = np.array([[1, 2, 3], [4, 5, 6]])
print(arr.shape)
Output:
(2, 3)Meaning: 2 rows and 3 columns. 🔹 7. Why NumPy is Important? NumPy is the foundation of data science libraries: ✔ Pandas ✔ Scikit-Learn ✔ TensorFlow ✔ PyTorch All these libraries use NumPy internally. 🎯 Today's Goal ✔ Install NumPy ✔ Create arrays ✔ Perform math operations ✔ Understand array shape Double Tap ♥️ For More
print(10 / 0)
Output: ZeroDivisionError
This will crash the program.
🔹 2. Using try–except
We use try–except to handle errors.
Syntax:
try:
# code that may cause error
except:
# code to handle error
Example:
try:
x = 10 / 0
except:
print("Error occurred")
Output: Error occurred
🔹 3. Handling Specific Exceptions
try:
num = int("abc")
except ValueError:
print("Invalid number")
✔ Handles only ValueError.
🔹 4. Using else
else runs if no error occurs.
try:
x = 10 / 2
except:
print("Error")
else:
print("No error")
Output: No error
🔹 5. Using finally
finally always executes.
try:
file = open("data.txt")
except:
print("File not found")
finally:
print("Execution completed")
🔹 6. Common Python Exceptions
• ZeroDivisionError: Division by zero
• ValueError: Invalid value
• TypeError: Wrong data type
• FileNotFoundError: File does not exist
🎯 Today's Goal
✔ Understand exceptions
✔ Use try–except
✔ Handle specific errors
✔ Use else and finally
👉 Exception handling is widely used in data pipelines and production code.
Double Tap ♥️ For Moreopen("filename", "mode")
Example: file = open("data.txt", "r")
👉 "r" → Read mode
🔹 2. File Modes
- "r" → Read file
- "w" → Write file (overwrites existing content)
- "a" → Append file (adds to existing content)
- "r+" → Read and write
🔹 3. Reading a File
- Read Entire File: file.read()
- Read One Line: file.readline()
- Read All Lines: file.readlines()
🔹 4. Writing to a File
file = open("data.txt", "w")
file.write("Hello Data Science")
file.close()
⚠ "w" will overwrite existing content.
🔹 5. Append to File
file = open("data.txt", "a")
file.write("\nNew line added")
file.close()
✔ Adds content without deleting old data.
🔹 6. Best Practice (Very Important ⭐)
Use with statement.
with open("data.txt", "r") as file:
content = file.read()
print(content)
✔ Automatically closes the file.
🔹 7. Why File Handling is Important?
Used for:
✔ Reading datasets
✔ Saving results
✔ Logging machine learning models
✔ Data preprocessing
🎯 Today’s Goal
✔ Understand file modes
✔ Read files
✔ Write files
✔ Use with open()
👉 File handling is used heavily when working with CSV datasets in data science.
Double Tap ♥️ For More
متاح الآن! بحث تيليغرام 2025 — أهم رؤى العام 
