PyData Careers – Telegram
PyData Careers
21.4K subscribers
236 photos
10 videos
26 files
392 links
Python Data Science jobs, interview tips, and career insights for aspiring professionals.

Admin: @HusseinSheikho || @Hussein_Sheikho
Download Telegram
Interview question

What are the main principles of writing unit tests?

Answer: A unit test checks one small unit of behavior and isolates it from external dependencies. The test should have a clear structure: data preparation, action execution, result verification. The test must be deterministic, that is, it should give the same result on repeated runs, without depending on time, randomness, and the environment.

A good unit test reads like a specification: a clear name, minimal unnecessary preparation, a clear reason for failure. It should be fast and not access the network, database, or file system. If a dependency is unavoidable, it is replaced with a stub or mocks, checking either the result or the interaction contract, but not both at once unnecessarily.


tags: #interview

@DATASCIENCQ
Please open Telegram to view this post
VIEW IN TELEGRAM
3
Question from the interview

Why shouldn't the is operator be used to compare strings and numbers?

Answer: The is operator checks whether two objects refer to the same memory area, not whether their values are equal. For strings and numbers, this may accidentally work for small values due to internment, but it's not guaranteed.

For comparing content, you need to use ==, otherwise the result may be unpredictable and depend on the interpreter's implementation.


tags: #interview

@DataScienceQ
Please open Telegram to view this post
VIEW IN TELEGRAM
4
Forwarded from Learn Python Hub
This channels is for Programmers, Coders, Software Engineers.

0️⃣ Python
1️⃣ Data Science
2️⃣ Machine Learning
3️⃣ Data Visualization
4️⃣ Artificial Intelligence
5️⃣ Data Analysis
6️⃣ Statistics
7️⃣ Deep Learning
8️⃣ programming Languages

https://news.1rj.ru/str/addlist/8_rRW2scgfRhOTc0

https://news.1rj.ru/str/Codeprogrammer
Please open Telegram to view this post
VIEW IN TELEGRAM
⚡️ Want to build your own personal JARVIS, but Clawdbot seems too complicated to deploy and understand? 

Try - nanobot: an ultra-lightweight version of Clawdbot (99% simpler), which sets up a personal AI assistant in less than a minute.

⚡️ The basic functionality is just ~4,000 lines of Python - compared to over 400k lines in Clawdbot.

Key features of nanobot:

🪶 Ultra-lightweight - ~4,000 lines of code, just the core without overload. 
🔬 Convenient for research - clean, understandable code, easy to modify and expand. 
⚡️ Fast - minimal size = quick start, fewer resources, rapid iterations. 
💎 Simple to use - one launch, and the assistant is already working.

What nanobot can do:

📈 24/7 real-time market analysis - monitoring and insights. 
🚀 Full-stack software engineer - assistance in development from idea to production. 
📅 Smart routine manager - helps organize the day and tasks. 
📚 Personal knowledge assistant - storage, search, and work with information.

If you want your own AI agent without a monstrous infrastructure - this is exactly the start you need.

🔗 Open Source: https://github.com/HKUDS/nanobot
🔗Video: https://www.youtube.com/shorts/Wx2RBCnl5nU

#Clawdbot #AIAssistant #Agents
4
Forwarded from Machine Learning
🚀 Machine Learning Workflow: Step-by-Step Breakdown
Understanding the ML pipeline is essential to build scalable, production-grade models.

👉 Initial Dataset
Start with raw data. Apply cleaning, curation, and drop irrelevant or redundant features.
Example: Drop constant features or remove columns with 90% missing values.

👉 Exploratory Data Analysis (EDA)
Use mean, median, standard deviation, correlation, and missing value checks.
Techniques like PCA and LDA help with dimensionality reduction.
Example: Use PCA to reduce 50 features down to 10 while retaining 95% variance.

👉 Input Variables
Structured table with features like ID, Age, Income, Loan Status, etc.
Ensure numeric encoding and feature engineering are complete before training.

👉 Processed Dataset
Split the data into training (70%) and testing (30%) sets.
Example: Stratified sampling ensures target distribution consistency.

👉 Learning Algorithms
Apply algorithms like SVM, Logistic Regression, KNN, Decision Trees, or Ensemble models like Random Forest and Gradient Boosting.
Example: Use Random Forest to capture non-linear interactions in tabular data.

👉 Hyperparameter Optimization
Tune parameters using Grid Search or Random Search for better performance.
Example: Optimize max_depth and n_estimators in Gradient Boosting.

👉 Feature Selection
Use model-based importance ranking (e.g., from Random Forest) to remove noisy or irrelevant features.
Example: Drop features with zero importance to reduce overfitting.

👉 Model Training and Validation
Use cross-validation to evaluate generalization. Train final model on full training set.
Example: 5-fold cross-validation for reliable performance metrics.

👉 Model Evaluation
Use task-specific metrics:
- Classification – MCC, Sensitivity, Specificity, Accuracy
- Regression – RMSE, R², MSE
Example: For imbalanced classes, prefer MCC over simple accuracy.

💡 This workflow ensures models are robust, interpretable, and ready for deployment in real-world applications.

https://news.1rj.ru/str/DataScienceM
3
Interview question

How do unit tests differ from integration tests?

Answer: Unit tests check a small isolated part of the code — a single function or method, without real dependencies like a database, network, or file system. All external dependencies are replaced with mocks or stubs, so such tests are fast and accurately pinpoint errors.

Integration tests check the joint operation of several system components. They run code with real or almost real dependencies and answer the question of whether the application parts interact correctly with each other. Such tests are slower, more difficult to set up, but they allow to identify problems at the boundaries between modules.


tags: #interview

https://news.1rj.ru/str/DataScienceQ
Please open Telegram to view this post
VIEW IN TELEGRAM
4
👍 A fresh deep learning course from MIT is now available publicly

A full-fledged educational course has been published on the university's website: 24 lectures, practical tasks, homework assignments, and a collection of materials for self-study.

The program includes modern neural network architectures, generative models, transformers, inference, and other key topics.

A great opportunity to study deep learning based on the structure of a top university, free of charge and without simplifications — let's learn here.
https://ocw.mit.edu/courses/6-7960-deep-learning-fall-2024/resources/lecture-videos/

tags: #python #deeplearning

@codeprogrammer
Please open Telegram to view this post
VIEW IN TELEGRAM
2
Question from the interview

What is Meta in Django and why is it needed?

Answer: Meta is a nested class used to set additional settings for a model or form. It doesn't directly describe the fields, but controls the object's behavior: table name (db_table), sorting (ordering), constraints (unique_together), human-readable names (verbose_name), and other parameters.

Django uses metaclasses to retrieve information from Meta when creating a model and configure its operation in the ORM and admin interface. There's no need to override the mechanism — it's enough to define the class Meta within the class.


tags: #interview

https://news.1rj.ru/str/DataScienceQ
Please open Telegram to view this post
VIEW IN TELEGRAM
1
This media is not supported in your browser
VIEW IN TELEGRAM
🔖 An excellent resource for learning about neural networks

We're sharing a cool resource for learning about neural networks, offering clear, step-by-step instruction with dynamic visualizations and easy-to-understand explanations.

In addition, you'll find many other useful materials on machine learning on the site.

Find and use it — https://mlu-explain.github.io/neural-networks/

tags: #AI #ML #PYTHON

@CODEPROGRAMMER
Please open Telegram to view this post
VIEW IN TELEGRAM
1
Forwarded from Code With Python
Media is too big
VIEW IN TELEGRAM
Build and Automate Django CRM

#Django #CRM #PYTHON
4
Forwarded from Udemy Coupons
101 Python Projects | The Complete Python Course for 2025

Master Python in 2025: Build 101 Projects, Learn Socket Programming , Automation, Data Analysis, OpenCV and OOP....

🏷 Category: development
🌍 Language: English (US)
👥 Students: 6,622 students
⭐️ Rating: 4.3/5.0 (143 reviews)
🏃‍♂️ Enrollments Left: 955
Expires In: 0D:4H:4M
💰 Price: $28.67 => FREE
🆔 Coupon: 3F0CCFA8597F6D23CD48

⚠️ Please note: A verification layer has been added to prevent bad actors and bots from claiming the courses, so it is important for genuine users to enroll manually to not lose this free opportunity.

💎 By: https://news.1rj.ru/str/DataScienceC
Forwarded from Udemy Coupons
Python Zero to Hero: Master Coding with Real Projects

Python for Beginners & Beyond: Learn to Code with Real-World Projects...

🏷 Category: it-and-software
🌍 Language: English (US)
👥 Students: 15,346 students
⭐️ Rating: 4.2/5.0 (138 reviews)
🏃‍♂️ Enrollments Left: 983
Expires In: 0D:4H:4M
💰 Price: $26.03 => FREE
🆔 Coupon: 42CE25692A9A939BF456

⚠️ Please note: A verification layer has been added to prevent bad actors and bots from claiming the courses, so it is important for genuine users to enroll manually to not lose this free opportunity.

💎 By: https://news.1rj.ru/str/DataScienceC
Please open Telegram to view this post
VIEW IN TELEGRAM