PyData Careers
20.8K subscribers
206 photos
4 videos
26 files
352 links
Python Data Science jobs, interview tips, and career insights for aspiring professionals.

Admin: @HusseinSheikho || @Hussein_Sheikho
Download Telegram
πŸͺ™ +30.560$ with 300$ in a month of trading! We can teach you how to earn! FREE!

It was a challenge - a marathon 300$ to 30.000$ on trading, together with Lisa!

What is the essence of earning?: "Analyze and open a deal on the exchange, knowing where the currency rate will go. Lisa trades every day and posts signals on her channel for free."

πŸ”ΉStart: $150
πŸ”Ή Goal: $20,000
πŸ”ΉPeriod: 1.5 months.

Join and get started, there will be no second chanceπŸ‘‡

https://t.iss.one/+L9_l-dxOJxI2ZGUy
https://t.iss.one/+L9_l-dxOJxI2ZGUy
https://t.iss.one/+L9_l-dxOJxI2ZGUy
❀4
Reply Correct Answer πŸ‘‡

https://t.iss.one/DataScienceQ
Please open Telegram to view this post
VIEW IN TELEGRAM
❀3πŸ‘2πŸ”₯1
❔ Interview Question

What are optimistic and pessimistic locking in the context of databases?

Answer: These are two approaches to managing concurrent data access.

Pessimistic locking assumes conflicts are likely. Therefore, data is locked immediately upon reading or writing and remains locked until the end of the transaction. This prevents concurrent modifications but reduces scalability and can lead to deadlocks.

Optimistic locking assumes conflicts are rare. Data is read without locking, and before committing changes, a version check is performed to see if someone else has modified the data. If so, the transaction is rolled back and retried. This approach offers better performance under low contention.


tags: #interview

➑ @DataScienceQ
Please open Telegram to view this post
VIEW IN TELEGRAM
❀3
❔ Interview question

What is ORM and what is SQLAlchemy used for?

Answer: ORM (Object-Relational Mapping) allows interacting with the database through Python classes and objects instead of writing SQL queries manually.

With SQLAlchemy, you can describe tables as classes, rows as objects, and perform SELECT, INSERT, UPDATE, DELETE operations through Python methods.

This simplifies working with databases, makes the code more readable, reduces the risk of SQL injections, and facilitates maintenance and migrations.


tags: #interview

➑ @DataScienceQ
Please open Telegram to view this post
VIEW IN TELEGRAM
❀5
❔ Interview Question

What is the difference between pass, continue, and break?

Answer:

▢️ pass β€” this is a no-op, which does nothing. It is used as a placeholder when syntax requires the presence of code (for example, inside a function, class, or condition), but the logic is not yet implemented

▢️ continue β€” terminates the current iteration of the loop and moves to the next, skipping the remaining code in the loop body

▢️ break β€” completely terminates the execution of the loop, exiting it prematurely, regardless of the condition

tags: #interview

➑ @DataScienceQ
Please open Telegram to view this post
VIEW IN TELEGRAM
❀7πŸ‘1
πŸš€ Master Data Science & Programming!

Unlock your potential with this curated list of Telegram channels. Whether you need books, datasets, interview prep, or project ideas, we have the perfect resource for you. Join the community today!


πŸ”° Machine Learning with Python
Learn Machine Learning with hands-on Python tutorials, real-world code examples, and clear explanations for researchers and developers.
https://t.iss.one/CodeProgrammer

πŸ”– Machine Learning
Machine learning insights, practical tutorials, and clear explanations for beginners and aspiring data scientists. Follow the channel for models, algorithms, coding guides, and real-world ML applications.
https://t.iss.one/DataScienceM

🧠 Code With Python
This channel delivers clear, practical content for developers, covering Python, Django, Data Structures, Algorithms, and DSA – perfect for learning, coding, and mastering key programming skills.
https://t.iss.one/DataScience4

🎯 PyData Careers | Quiz
Python Data Science jobs, interview tips, and career insights for aspiring professionals.
https://t.iss.one/DataScienceQ

πŸ’Ύ Kaggle Data Hub
Your go-to hub for Kaggle datasets – explore, analyze, and leverage data for Machine Learning and Data Science projects.
https://t.iss.one/datasets1

πŸ§‘β€πŸŽ“ Udemy Coupons | Courses
The first channel in Telegram that offers free Udemy coupons
https://t.iss.one/DataScienceC

πŸ˜€ ML Research Hub
Advancing research in Machine Learning – practical insights, tools, and techniques for researchers.
https://t.iss.one/DataScienceT

πŸ’¬ Data Science Chat
An active community group for discussing data challenges and networking with peers.
https://t.iss.one/DataScience9

🐍 Python Arab| Ψ¨Ψ§ΩŠΨ«ΩˆΩ† عربي
The largest Arabic-speaking group for Python developers to share knowledge and help.
https://t.iss.one/PythonArab

πŸ–Š Data Science Jupyter Notebooks
Explore the world of Data Science through Jupyter Notebooksβ€”insights, tutorials, and tools to boost your data journey. Code, analyze, and visualize smarter with every post.
https://t.iss.one/DataScienceN

πŸ“Ί Free Online Courses | Videos
Free online courses covering data science, machine learning, analytics, programming, and essential skills for learners.
https://t.iss.one/DataScienceV

πŸ“ˆ Data Analytics
Dive into the world of Data Analytics – uncover insights, explore trends, and master data-driven decision making.
https://t.iss.one/DataAnalyticsX

🎧 Learn Python Hub
Master Python with step-by-step courses – from basics to advanced projects and practical applications.
https://t.iss.one/Python53

⭐️ Research Papers
Professional Academic Writing & Simulation Services
https://t.iss.one/DataScienceY

━━━━━━━━━━━━━━━━━━
Admin: @HusseinSheikho
Please open Telegram to view this post
VIEW IN TELEGRAM
❀7
❔ Interview Question

How does the map() function work?

Answer:map() takes a function and an iterable object, and returns an iterator that sequentially yields the result of applying this function to each element. The map() itself does not create a list β€” it lazily forms values on demand. If a list is needed, the result can be wrapped in list().

tags:#interview

➑ @DataScienceQ
Please open Telegram to view this post
VIEW IN TELEGRAM
❀5
πŸš€ Pass Your IT Exam in 2025β€”β€”Free Practice Tests & Premium Materials

SPOTO offers free, instant access to high-quality, up-to-date resources that help you study smarter and pass faster
βœ”οΈ Python, CCNA, CCNP, AWS, PMP, CISSP, Azure, & more
βœ”οΈ 100% Free, no sign-up, Instantly downloadable

πŸ“₯Grab your free materials here:
Β·IT exams skill Test : https://bit.ly/443t4xB
Β·IT Certs E-book : https://bit.ly/4izDv1D
Β·Python, Excel, Cyber Security Courses : https://bit.ly/44LidZf

πŸ“± Join Our IT Study Group for insider tips & expert support:
https://chat.whatsapp.com/K3n7OYEXgT1CHGylN6fM5a
πŸ’¬ Need help ? Chat with an admin now:
wa.link/cbfsmf

⏳ Don’t Waitβ€”Boost Your Career Today!
❀2
βœ–οΈ DON'T CREATE NESTED LISTS WITH THE * OPERATOR.

Because of this, you create a list containing multiple references to the very same inner list.
It looks like you're making a grid, but modifying one row will surprisingly change all of them. This is because the outer list just holds copies of the reference, not copies of the list itself.
Correct β€” use a list comprehension to ensure each inner list is a new, independent object.

Subscribe for more Python secrets!

# hidden error β€” all inner lists are the same object
matrix = [[]] * 3 # seems to create a 3x0 matrix

# append to the first row
matrix[0].append(99)

# all rows were modified!
print(matrix) # [[99], [99], [99]]


# βœ… correct version β€” use a list comprehension
matrix_fixed = [[] for _ in range(3)]

# append to the first row
matrix_fixed[0].append(99)

# only the first row is modified, as expected
print(matrix_fixed) # [[99], [], []]


━━━━━━━━━━━━━━━
By: @DataScienceQ ✨
❀5
πŸŽβ—οΈTODAY FREEβ—οΈπŸŽ

Entry to our VIP channel is completely free today. Tomorrow it will cost $500! πŸ”₯

JOIN πŸ‘‡

https://t.iss.one/+MPpZ4FO2PHQ4OTZi
https://t.iss.one/+MPpZ4FO2PHQ4OTZi
https://t.iss.one/+MPpZ4FO2PHQ4OTZi
❀2
Checking Memory Usage in Python

psutil is imported, then through psutil.virtual_memory() memory data is obtained.

The function convert_bytes converts bytes to gigabytes.

Then the code calculates:

- total RAM
- available RAM
- used RAM
- percentage usage

And outputs this to the console.

import psutil

memory = psutil.virtual_memory()

def convert_bytes(size):
    # Convert bytes to GB
    gb = size / (1024 ** 3)
    return gb

total_gb = convert_bytes(memory.total)
available_gb = convert_bytes(memory.available)
used_gb = convert_bytes(memory.used)

print(f"Total RAM: {total_gb:.3f} GB")
print(f"Available RAM: {available_gb:.3f} GB")
print(f"Used RAM: {used_gb:.3f} GB")
print(f"RAM Usage: {memory.percent}%")


Or simply press CTRL + ALT + DELETE and open Task Manager. It has worked since the days of Windows 95.

The RAM usage percentage loses its meaning if you have Chrome open β€” it will consume everything on its own
πŸ˜„

πŸ‘‰  https://t.iss.one/DataScienceQ
Please open Telegram to view this post
VIEW IN TELEGRAM
❀2
❔ Interview Question

What can be a key in a dictionary?

Answer: Dictionaries in Python are hash tables. Instead of keys in the dictionary, hashes are used. Consequently, any hashable data type can be a key in the dictionary, which includes all immutable data types.

tags: #interview

➑ @DataScienceQ
Please open Telegram to view this post
VIEW IN TELEGRAM
❀4πŸ‘3
❔ Question from the interview

Why does isinstance(True, int) return True?

Answer: In Python, bool is a subclass of int. True and False are instances of int with values 1 and 0, respectively.

tags: #interview

➑️ @DataScienceQ
Please open Telegram to view this post
VIEW IN TELEGRAM
❀6πŸ‘1
❔ Python Quiz
Please open Telegram to view this post
VIEW IN TELEGRAM
❀7
❔ Question from the interview

What is Big O notation?

Answer: Big O notation is a way of describing how quickly the running time or memory consumption of an algorithm increases as the size of the input data increases. It shows the asymptotic complexity: the upper bound of the algorithm's behavior, without taking into account constants and minor details.

For example, O(n) grows linearly, O(nΒ²) - quadratically, O(1) - does not depend on the size of the input.

Big O does not give exact figures, but allows you to compare algorithms in terms of their scalability.


tags: #interview

➑ @DataScienceQ ⭐️
Please open Telegram to view this post
VIEW IN TELEGRAM
❀6
❔ Interview question

What is __slots__?

Answer: By default, class instances store their attributes in the internal dictiondictct__. This is flexible, but it requires more memory and makes access to fields a bit slower, because the search is done in the dictionarslotsts__ allows you to fix a set of allowed attributes and abandon the usedictct__. Instead of a dictionary, Python allocates compact slots β€” thereby reducing the memory consumption for each object and speeding up access to attributes. This is especially important when millions of class instances are created in a program or the performance of data access is critical.

There is one restriction: it is not possible to add an attribute that is notslotsts__. To retain the ability to dynamically create fields, you can dictct__ to the list of slots.

tags:
#interview

➑ @DataScienceQ
Please open Telegram to view this post
VIEW IN TELEGRAM
❀5πŸ‘Ž1
❗️LISA HELPS EVERYONE EARN MONEY!$29,000 HE'S GIVING AWAY TODAY!

Everyone can join his channel and make money! He gives away from $200 to $5.000 every day in his channel

https://t.iss.one/+YDWOxSLvMfQ2MGNi

⚑️FREE ONLY FOR THE FIRST 500 SUBSCRIBERS! FURTHER ENTRY IS PAID! πŸ‘†πŸ‘‡

https://t.iss.one/+YDWOxSLvMfQ2MGNi
❀1
πŸš€ Crypto Channel β„–1 πŸš€

The quiet thrill of watching your first crypto gain hit your walletβ€”the moment hope turns into real profit. Here, cutting-edge mining insights, daily market shifts, and proven profit models come together for those ready to move beyond β€œjust watching.” πŸŒ’

Discover clear signals, easy-to-follow tips, a mining checklist, and the power to start earning without complex trades. What if this time, you actually get ahead? πŸ’°

Take the first step now ➑️ Join Crypto Channel β„–1

#ad InsideAds