Data Analytics
Dive into the world of Data Analytics – uncover insights, explore trends, and master data-driven decision making. Admin: @HusseinSheikho || @Hussein_Sheikho
نمایش بیشتر📈 تحلیل کانال تلگرام Data Analytics
کانال Data Analytics (@dataanalyticsx) در بخش زبانی انگلیسی بازیگری فعال است. در حال حاضر جامعه شامل 28 942 مشترک است و جایگاه 4 736 را در دسته فناوری و برنامهها و رتبه 22 805 را در منطقه روسيا دارد.
📊 شاخصهای مخاطب و پویایی
از زمان ایجاد در невідомо، پروژه رشد سریعی داشته و 28 942 مشترک جذب کرده است.
بر اساس آخرین دادهها در تاریخ 11 ژوئن, 2026، کانال فعالیت پایداری دارد. در ۳۰ روز گذشته تغییر اعضا برابر 493 و در ۲۴ ساعت گذشته برابر 20 بوده و همچنان دسترسی گستردهای حفظ شده است.
- وضعیت تأیید: تأیید نشده
- نرخ تعامل (ER): میانگین تعامل مخاطب 3.86% است و در ۲۴ ساعت نخست پس از انتشار، محتوا معمولاً 0.99% واکنش نسبت به کل مشترکان کسب میکند.
- دسترسی پستها: هر پست به طور میانگین 1 118 بازدید دریافت میکند. در اولین روز معمولاً 287 بازدید جمعآوری میشود.
- واکنشها و تعامل: مخاطبان بهطور فعال حمایت میکنند؛ میانگین واکنش به هر پست 2 است.
- علایق موضوعی: محتوا بر موضوعات کلیدی مانند sellerflash, buybox, buyer, chaos, effortless تمرکز دارد.
📝 توضیح و سیاست محتوایی
نویسنده این فضا را محل بیان دیدگاههای شخصی توصیف میکند:
“Dive into the world of Data Analytics – uncover insights, explore trends, and master data-driven decision making.
Admin: @HusseinSheikho || @Hussein_Sheikho”
به لطف بهروزرسانیهای پرتکرار (آخرین داده در تاریخ 12 ژوئن, 2026)، کانال همواره بهروز و دارای دسترسی بالاست. تحلیلها نشان میدهد مخاطبان بهطور فعال با محتوا تعامل دارند و آن را به نقطه اثرگذاری مهم در دسته فناوری و برنامهها تبدیل کردهاند.
import pandas as pd
s = pd.Series([10, 20, 30], index=[1, 2, 3])
print(s[1])
A. 10
B. 20
C. 30
D. KeyError
Correct answer: A.
2. What will this code output?
import pandas as pd
s = pd.Series([10, 20, 30])
print(s.iloc[1])
A. 10
B. 20
C. 30
D. IndexError
Correct answer: B.
3. What does this print?
import pandas as pd
df = pd.DataFrame({"a": [1, 2], "b": [3, 4]})
print(df.shape)
A. (4,)
B. (2, 2)
C. (1, 4)
D. (2,)
Correct answer: B.
4. What is returned by this expression?
df["a"]
A. DataFrame
B. Series
C. list
D. ndarray
Correct answer: B.
5. What does this code output?
import pandas as pd
df = pd.DataFrame({"a": [1, 2], "b": [3, 4]})
print(df[["a"]].shape)
A. (2,)
B. (1, 2)
C. (2, 1)
D. (4, 1)
Correct answer: C.
6. What is the result?
import pandas as pd
s = pd.Series([1, 2, 3])
print(s > 1)
A. [False, True, True]
B. Series of booleans
C. ndarray of booleans
D. True
Correct answer: B.
7. What does this code produce?
import pandas as pd
s = pd.Series([1, 2, 3])
print(s[s > 1])
A. Series [2, 3]
B. Series [False, True, True]
C. [2, 3]
D. IndexError
Correct answer: A.
8. What is the output?
import pandas as pd
df = pd.DataFrame({"a": [1, 2], "b": [3, 4]})
print(df.iloc[0, 1])
A. 1
B. 2
C. 3
D. 4
Correct answer: C.
9. What does this select?
df.loc[:, "a"]
A. First row
B. First column as Series
C. First column as DataFrame
D. Entire DataFrame
Correct answer: B.
10. What will this code output?
import pandas as pd
df = pd.DataFrame({"a": [1, 2, 3]})
print(len(df))
A. 1
B. 2
C. 3
D. Error
Correct answer: C.
11. What is returned?
df.values
A. Series
B. DataFrame
C. NumPy ndarray
D. list
Correct answer: C.
12. What does this code output?
import pandas as pd
df = pd.DataFrame({"a": [1, 2, 3]})
print(df.index)
A. [0, 1, 2]
B. list
C. RangeIndex
D. ndarray
Correct answer: C.
13. What is the result?
df.columns
A. list
B. Series
C. Index
D. dict
Correct answer: C.
14. What does this return?
df.dtypes
A. dict
B. Series
C. DataFrame
D. ndarray
Correct answer: B.
15. What is printed?
import pandas as pd
s = pd.Series([1, None, 3])
print(s.isna().sum())
A. 0
B. 1
C. 2
D. 3
Correct answer: B.
16. What does this code output?
import pandas as pd
s = pd.Series([1, None, 3])
print(s.dropna().values)
A. [1, None, 3]
B. [None]
C. [1, 3]
D. Error
Correct answer: C.
17. What does this expression return?
df.head(1)
A. First column
B. First row as Series
C. First row as DataFrame
D. Entire DataFrame
Correct answer: C.
18. What is the output?
import pandas as pd
df = pd.DataFrame({"a": [1, 2, 3]})
print(df.tail(1)["a"].iloc[0])
A. 1
B. 2
C. 3
D. Error
Correct answer: C.
19. What happens here?
df["c"] = df["a"] * 2
A. Raises KeyError
B. Modifies column a
C. Adds new column c
D. No effect
Correct answer: C.
20. What does this code output?
import pandas as pd
df = pd.DataFrame({"a": [1, 2, 3]})
print(df.sum().iloc[0])
A. 1
B. 3
C. 6
D. Error
Correct answer: C.
21. What does df.mean() return?
A. scalar
B. Series
C. DataFrame
D. ndarray
Correct answer: B.
22. What is the result?
df["a"].dtype
A. int
B. numpy.int64
C. object
D. float
Correct answer: B.
23. What does this code do?
df = df.rename(columns={"a": "x"})
A. Renames index
B. Renames column a to x
C. Deletes column a
D. Copies DataFrame only
Correct answer: B.
24. What does this expression return?
df.loc[df["a"] > 1, :]
A. Boolean Series
B. Filtered DataFrame
C. Filtered Series
D. Error
Correct answer: B.
25. What is printed?
import pandas as pd
df = pd.DataFrame({"a": [1, 2, 3]})
print(df.empty)
A. True
B. False
C. None
D. Error
Correct answer: B.
https://t.me/DataAnalyticsX 😱# Select products in 'Electronics' or 'Audio' categories
print("Products in Electronics or Audio:")
print(df_pl.filter(pl.col('category').is_in(['Electronics', 'Audio'])))
# Select products with price between 50 and 200 (inclusive)
print("\nProducts with price between 50 and 200:")
print(df_pl.filter(pl.col('price').is_between(50, 200)))
#### SQL
-- Select products in 'Electronics' or 'Audio' categories
SELECT *
FROM products
WHERE category IN ('Electronics', 'Audio');
-- Select products with price between 50 and 200 (inclusive)
SELECT *
FROM products
WHERE price BETWEEN 50 AND 200;# Create 'price_level' based on price and 'stock_status'
def get_price_level(price):
if price > 200:
return 'High'
elif price > 50:
return 'Medium'
else:
return 'Low'
def get_stock_status(stock):
if stock == 0:
return 'Out of Stock'
elif stock < 50:
return 'Low Stock'
else:
return 'In Stock'
result_pd = df_pd.assign(
price_level=df_pd['price'].apply(get_price_level),
stock_status=df_pd['stock_quantity'].apply(get_stock_status)
)[['product_name', 'price', 'price_level', 'stock_quantity', 'stock_status']]
print(result_pd)
#### polars
# Create 'price_level' based on price and 'stock_status'
result_pl = df_pl.select(
'product_name',
'price',
pl.when(pl.col('price') > 200).then(pl.lit('High'))
.when(pl.col('price') > 50).then(pl.lit('Medium'))
.otherwise(pl.lit('Low'))
.alias('price_level'),
'stock_quantity',
pl.when(pl.col('stock_quantity') == 0).then(pl.lit('Out of Stock'))
.when(pl.col('stock_quantity') < 50).then(pl.lit('Low Stock'))
.otherwise(pl.lit('In Stock'))
.alias('stock_status')
)
print(result_pl)
#### SQL
-- Create price_level and stock_status based on conditions
SELECT
product_name,
price,
CASE
WHEN price > 200 THEN 'High'
WHEN price > 50 THEN 'Medium'
ELSE 'Low'
END AS price_level,
stock_quantity,
CASE
WHEN stock_quantity = 0 THEN 'Out of Stock'
WHEN stock_quantity < 50 THEN 'Low Stock'
ELSE 'In Stock'
END AS stock_status
FROM products;
---
String Transformations in Select
#### pandas
# Select product_name in uppercase and first 3 characters of category
result_pd = df_pd.assign(
product_name_upper=df_pd['product_name'].str.upper(),
category_prefix=df_pd['category'].str.slice(0, 3)
)[['product_name', 'product_name_upper', 'category', 'category_prefix']]
print(result_pd)
#### polars
# Select product_name in uppercase and first 3 characters of category
result_pl = df_pl.select(
'product_name',
pl.col('product_name').str.to_uppercase().alias('product_name_upper'),
'category',
pl.col('category').str.slice(0, 3).alias('category_prefix')
)
print(result_pl)
#### SQL
-- Select product_name in uppercase and first 3 characters of category
SELECT
product_name,
UPPER(product_name) AS product_name_upper,
category,
SUBSTRING(category, 1, 3) AS category_prefix -- Or LEFT(category, 3) in some SQL dialects
FROM products;
---
Selecting with Advanced Filtering (IN, BETWEEN equivalents)
#### pandas
# Select products in 'Electronics' or 'Audio' categories
print("Products in Electronics or Audio:")
print(df_pd[df_pd['category'].isin(['Electronics', 'Audio'])])
# Select products with price between 50 and 200 (inclusive)
print("\nProducts with price between 50 and 200:")
print(df_pd[df_pd['price'].between(50, 200)])
#### polarsimport pandas as pd
data = {
'product_id': [101, 102, 103, 104, 105, 106, 107, 108],
'product_name': ['Laptop', 'Mouse', 'Keyboard', 'Monitor', 'Webcam', 'Microphone', 'Speakers', 'Charger'],
'category': ['Electronics', 'Electronics', 'Electronics', 'Electronics', 'Peripherals', 'Peripherals', 'Audio', 'Accessories'],
'price': [1200.00, 25.00, 75.00, 300.00, 50.00, 80.00, 150.00, 15.00],
'stock_quantity': [50, 200, 150, 70, 100, 60, 40, 0]
}
df_pd = pd.DataFrame(data)
#### polars
import polars as pl
data = {
'product_id': [101, 102, 103, 104, 105, 106, 107, 108],
'product_name': ['Laptop', 'Mouse', 'Keyboard', 'Monitor', 'Webcam', 'Microphone', 'Speakers', 'Charger'],
'category': ['Electronics', 'Electronics', 'Electronics', 'Electronics', 'Peripherals', 'Peripherals', 'Audio', 'Accessories'],
'price': [1200.00, 25.00, 75.00, 300.00, 50.00, 80.00, 150.00, 15.00],
'stock_quantity': [50, 200, 150, 70, 100, 60, 40, 0]
}
df_pl = pl.DataFrame(data)
#### SQL (Conceptual Table Structure and Data)
-- CREATE TABLE products (
-- product_id INT PRIMARY KEY,
-- product_name VARCHAR(255),
-- category VARCHAR(255),
-- price DECIMAL(10, 2),
-- stock_quantity INT
-- );
-- INSERT INTO products VALUES
-- (101, 'Laptop', 'Electronics', 1200.00, 50),
-- (102, 'Mouse', 'Electronics', 25.00, 200),
-- (103, 'Keyboard', 'Electronics', 75.00, 150),
-- (104, 'Monitor', 'Electronics', 300.00, 70),
-- (105, 'Webcam', 'Peripherals', 50.00, 100),
-- (106, 'Microphone', 'Peripherals', 80.00, 60),
-- (107, 'Speakers', 'Audio', 150.00, 40),
-- (108, 'Charger', 'Accessories', 15.00, 0);
---
Creating New Columns with Expressions (SELECT col1, col2 + col3 AS new_col)
#### pandas
# Select 'product_name', 'price', and calculate 'total_inventory_value'
result_pd = df_pd.assign(
total_inventory_value=df_pd['price'] * df_pd['stock_quantity'],
discounted_price=df_pd['price'] * 0.9
)[['product_name', 'price', 'total_inventory_value', 'discounted_price']]
print(result_pd)
#### polars
# Select 'product_name', 'price', and calculate 'total_inventory_value'
result_pl = df_pl.select(
'product_name',
'price',
(pl.col('price') * pl.col('stock_quantity')).alias('total_inventory_value'),
(pl.col('price') * 0.9).alias('discounted_price')
)
print(result_pl)
#### SQL
-- Select product_name, price, and calculate total_inventory_value and discounted_price
SELECT
product_name,
price,
price * stock_quantity AS total_inventory_value,
price * 0.9 AS discounted_price
FROM products;
---
Conditional Column Creation (CASE WHEN equivalent)
#### pandas
اکنون در دسترس! پژوهش تلگرام ۲۰۲۵ — مهمترین بینشهای سال 
