Quiz: The Python Standard REPL: Try Out Code and Ideas Quickly

Interactive Quiz ⋅ 11 QuestionsBy Leodanis Pozo Ramos Share In this quiz, you’ll test your understanding of The Python Standard REPL: Try Out Code and Ideas Quickly. The Python REPL allows you to run Python code interactively, which is useful for testing new ideas, exploring libraries, refactoring and debugging code, and trying out examples. The quiz contains 11 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll […]

Read more

Quiz: How to Reset a pandas DataFrame Index

Interactive Quiz ⋅ 10 QuestionsBy Ian Eyre Share In this quiz, you’ll test your understanding of how to reset a pandas DataFrame index. By working through the questions, you’ll review your knowledge of indexing and also expand on what you learned in the tutorial. You’ll need to do some research outside of the tutorial to answer all the questions. Embrace this challenge and let it take you on a learning journey. The quiz contains 10 questions and there is no […]

Read more

Quiz: Python Class Constructors: Control Your Object Instantiation

Interactive Quiz ⋅ 9 QuestionsBy Martin Breuss Share In this quiz, you’ll test your understanding of Python Class Constructors. By working through this quiz, you’ll revisit the internal instantiation process, object initialization using .__init__(), and fine-tuning object creation by overriding .__new__(). The quiz contains 9 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll receive a total score. The maximum score is 100%. Good luck! Related Resources

Read more

Quiz: Defining Your Own Python Function

Interactive Quiz ⋅ 18 QuestionsBy Martin Breuss Share In this quiz, you’ll test your understanding of how to define your own Python function. You’ll revisit theoretical knowledge about passing values to functions, when to divide your program into separate user-defined functions, and all the tools you’ll need to define complex and powerful functions in Python. The quiz contains 18 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, […]

Read more

Intern Insights: Vaishnavi Ranganathan with Angela Busheska

ANGELA BUSHESKA: Yeah, absolutely. Thank you so much for having me. Super excited to be here and super excited to have spent three months—time flies!— as a researcher along with the project. So my name is Angela. I am originally from North Macedonia, a very small country next to Greece in the Balkans. And I spent my first, like, 16 years thinking that I would become a mathematician, really focused on math Olympiads. And then I moved to the capital […]

Read more

5 Free Books on Computer Vision

Image by Author | Ideogram5 Free Books on Computer Vision Computer vision is a branch of Artificial Intelligence (AI) that studies how machines can interpret and understand visual information, such as images and videos. Most computer vision models today are based on deep learning architectures like Convolutional Neural Networks (CNNs), which excel at tasks such as image classification, object detection, and segmentation. However, the necessary fundamentals to deeply understand the field date back to earlier times. To help you master […]

Read more

Understanding RAG III: Fusion Retrieval and Reranking

Understanding RAG III: Fusion Retrieval and RerankingImage by Editor | Midjourney & Canva Check out the previous articles in this series: Having previously introduced what is RAG, why it matters in the context of Large Language Models (LLMs), and what does a classic retriever-generator system for RAG look like, the third post in the “Understanding RAG” series examines an upgraded approach to building RAG systems: fusion retrieval. Before deep diving, it is worth briefly revisiting the basic RAG scheme we […]

Read more

Python Thread Safety: Using a Lock and Other Techniques

Python threading allows you to run parts of your code concurrently, making the code more efficient. However, when you introduce threading to your code without knowing about thread safety, you may run into issues such as race conditions. You solve these with tools like locks, semaphores, events, conditions, and barriers. By the end of this tutorial, you’ll be able to identify safety issues and prevent them by using the synchronization primitives in Python’s threading module to make your code thread-safe. […]

Read more

Quiz: Pydantic: Simplifying Data Validation in Python

Interactive Quiz ⋅ 9 QuestionsBy Martin Breuss Share In this quiz, you’ll test your understanding of Pydantic. Pydantic is a powerful data validation library for Python. You can also use a related library, pydantic-settings, for settings management. By working through this quiz, you’ll revisit how to work with data schemas with Pydantic’s BaseModel, write custom validators for complex use cases, validate function arguments with Pydantic’s @validate_call, and manage settings and configure applications with pydantic-settings. The quiz contains 9 questions and […]

Read more

Understanding Python’s Global Interpreter Lock (GIL)

The Python Global Interpreter Lock or GIL, in simple words, is a mutex (or a lock) that allows only one thread to hold the control of the Python interpreter. This means that only one thread can be in a state of execution at any point in time. The impact of the GIL isn’t visible to developers who execute single-threaded programs, but it can be a performance bottleneck in CPU-bound and multi-threaded code. Since the GIL allows only one thread to […]

Read more
1 4 5 6 7 8 907