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
Ko'proq ko'rsatish📈 Telegram kanali Data Science & Machine Learning analitikasi
Data Science & Machine Learning (@datasciencefun) Ingliz til segmentidagi kanali faol ishtirokchi. Hozirda hamjamiyat 77 359 obunachidan iborat bo'lib, Taʼlim toifasida 2 002-o'rinni va Hindiston mintaqasida 3 961-o'rinni egallagan.
📊 Auditoriya ko‘rsatkichlari va dinamika
невідомо sanasidan buyon loyiha tez o‘sib, 77 359 obunachiga ega bo‘ldi.
01 Sentabr, 2026 dagi oxirgi ma’lumotlarga ko‘ra kanal barqaror faollikka ega. Oxirgi 30 kunda obunachilar soni 356 ga, so‘nggi 24 soatda esa 9 ga o‘zgardi va umumiy qamrov yuqori darajada qolmoqda.
- Tasdiqlash holati: Tasdiqlanmagan
- Jalb etish (ER): Auditoriya o‘rtacha 2.70% darajada jalb etiladi. Nashrdan keyingi dastlabki 24 soatda kontent odatda umumiy obunachilar sonining 1.11% ini tashkil etuvchi reaksiyalarni to‘playdi.
- Post qamrovi: Har bir post o‘rtacha 2 086 marta ko‘riladi; birinchi sutkada odatda 856 ta ko‘rish yig‘iladi.
- Reaksiyalar va o‘zaro ta’sir: Auditoriya faol: har bir postga o‘rtacha 3 ta reaksiya keladi.
- Tematik yo‘nalishlar: Kontent learning, accuracy, distribution, panda, dataset kabi asosiy mavzularga jamlangan.
📝 Tavsif va kontent siyosati
Muallif resursni shaxsiy fikrni ifoda etish maydoni sifatida ta’riflaydi:
“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”
Yuqori yangilanish chastotasi (oxirgi ma’lumot 02 Sentabr, 2026 da olingan) sababli kanal doimo dolzarb va katta qamrovli bo‘lib qoladi. Analitika auditoriya kontent bilan faol hamkorlik qilishini, uni Taʼlim toifasidagi muhim ta’sir nuqtasiga aylantirishini ko‘rsatadi.
def factorial(n):
return 1 if n == 0 else n * factorial(n - 1)
2️⃣ Find second largest number:
nums = [10, 20, 30]
second = sorted(set(nums))[-2]
3️⃣ Remove punctuation from string:
import string
s = "Hello, world!"
s_clean = s.translate(str.maketrans('', '', string.punctuation))
4️⃣ Find common elements in two lists:
a = [1, 2, 3]
b = [2, 3, 4]
common = list(set(a) & set(b))
5️⃣ Convert list to string:
words = ['Python', 'is', 'fun']
sentence = ' '.join(words)
6️⃣ Reverse words in sentence:
s = "Hello World"
reversed_s = ' '.join(s.split()[::-1])
7️⃣ Check anagram:
def is_anagram(a, b):
return sorted(a) == sorted(b)
8️⃣ Get unique values from list of dicts:
data = [{'a':1}, {'a':2}, {'a':1}]
unique = set(d['a'] for d in data)
9️⃣ Create dict from range:
squares = {x: x*x for x in range(5)}
🔟 Sort list of tuples by second item:
pairs = [(1, 3), (2, 1)]
sorted_pairs = sorted(pairs, key=lambda x: x)
💬 Tap ❤️ for more Python tips & interview snippets!matplotlib.pyplot – Basic plots
⦁ seaborn – Cleaner, statistical plots
1️⃣ Line Chart – to show trends over time
import matplotlib.pyplot as plt
days = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri']
sales = [200, 450, 300, 500, 650]
plt.plot(days, sales, marker='o')
plt.title('Daily Sales')
plt.xlabel('Day')
plt.ylabel('Sales')
plt.grid(True)
plt.show()
2️⃣ Bar Chart – compare categories
products = ['A', 'B', 'C', 'D']
revenue = [1000, 1500, 700, 1200]
plt.bar(products, revenue, color='skyblue')
plt.title('Revenue by Product')
plt.xlabel('Product')
plt.ylabel('Revenue')
plt.show()
3️⃣ Pie Chart – show proportions
labels = ['iOS', 'Android', 'Others']
market_share = [40, 55, 5]
plt.pie(market_share, labels=labels, autopct='%1.1f%%', startangle=140)
plt.title('Mobile OS Market Share')
plt.axis('equal') # perfect circle
plt.show()
4️⃣ Histogram – frequency distribution
ages = [22, 25, 27, 30, 32, 35, 35, 40, 45, 50, 52, 60]
plt.hist(ages, bins=5, color='green', edgecolor='black')
plt.title('Age Distribution')
plt.xlabel('Age Groups')
plt.ylabel('Frequency')
plt.show()
5️⃣ Scatter Plot – relationship between variables
income = [30, 35, 40, 45, 50, 55, 60]
spending = [20, 25, 30, 32, 35, 40, 42]
plt.scatter(income, spending, color='red')
plt.title('Income vs Spending')
plt.xlabel('Income (k)')
plt.ylabel('Spending (k)')
plt.show()
6️⃣ Heatmap – correlation matrix (with Seaborn)
import seaborn as sns
import pandas as pd
data = {'Math': [90, 80, 85, 95],
'Science': [85, 89, 92, 88],
'English': [78, 75, 80, 85]}
df = pd.DataFrame(data)
corr = df.corr()
sns.heatmap(corr, annot=True, cmap='coolwarm')
plt.title('Subject Score Correlation')
plt.show()
————————
💡 Pro Tip: Customize titles, labels & colors for clarity and audience style!CALENDAR
- DATEDIFF
- TODAY, DAY, MONTH, QUARTER, YEAR
AGGREGATE FUNCTIONS:
- SUM, SUMX, PRODUCT
- AVERAGE
- MIN, MAX
- COUNT
- COUNTROWS
- COUNTBLANK
- DISTINCTCOUNT
FILTER FUNCTIONS:
- CALCULATE
- FILTER
- ALL, ALLEXCEPT, ALLSELECTED, REMOVEFILTERS
- SELECTEDVALUE
TIME INTELLIGENCE FUNCTIONS:
- DATESBETWEEN
- DATESMTD, DATESQTD, DATESYTD
- SAMEPERIODLASTYEAR
- PARALLELPERIOD
- TOTALMTD, TOTALQTD, TOTALYTD
TEXT FUNCTIONS:
- CONCATENATE
- FORMAT
- LEN, LEFT, RIGHT
INFORMATION FUNCTIONS:
- HASONEVALUE, HASONEFILTER
- ISBLANK, ISERROR, ISEMPTY
- CONTAINS
LOGICAL FUNCTIONS:
- AND, OR, IF, NOT
- TRUE, FALSE
- SWITCH
RELATIONSHIP FUNCTIONS:
- RELATED
- USERRELATIONSHIP
- RELATEDTABLE
Remember, DAX is more about logic than the formulas.[1, 2, 3, 4]
import numpy as np
a = np.array([1, 2, 3, 4])
➤ 2. Why NumPy over normal lists?
Faster for math operations:
a * 2 # array([2, 4, 6, 8])
➤ 3. Cool NumPy tricks:
a.mean() # average
np.max(a) # max number
np.min(a) # min number
a[0:2] # slicing → [1, 2]
Key Topics:
⦁ Arrays are like faster, memory-efficient lists
⦁ Element-wise operations: a + b, a * 2
⦁ Slicing and indexing: a[0:2], a[:,1]
⦁ Broadcasting: operations on arrays with different shapes
⦁ Useful functions: np.mean(), np.std(), np.linspace(), np.random.randn()
————————
📊 Step 2: Learn Pandas (for tables like Excel)
What is Pandas?
Python tool to read, clean & analyze data — like Excel but supercharged.
➤ 1. What’s a DataFrame?
Like an Excel sheet, rows & columns.
import pandas as pd
df = pd.read_csv("sales.csv")
df.head() # first 5 rows
➤ 2. Check data info:
df.info() # rows, columns, missing data
df.describe() # stats like mean, min, max
➤ 3. Get a column:
df['product']
➤ 4. Filter rows:
df[df['price'] > 100]
➤ 5. Group data:
Average price by category:
df.groupby('category')['price'].mean()
➤ 6. Merge datasets:
merged = pd.merge(df1, df2, on='customer_id')
➤ 7. Handle missing data:
df.isnull() # where missing
df.dropna() # drop missing rows
df.fillna(0) # fill missing with 0
————————
💡 Beginner Tips:
⦁ Use Google Colab (free, no setup)
⦁ Try small tasks like:
⦁ Show top products
⦁ Filter sales > $500
⦁ Find missing data
⦁ Practice daily, don’t just memorize
————————
🛠️ Mini Project: Analyze Sales Data
1. Load a CSV
2. Check number of rows
3. Find best-selling product
4. Calculate total revenue
5. Get average sales per region
Double Tap ♥️ For More