Python | filter(), map(), and reduce() Functions filter()  function accepts two arguments, a function and an iterable, where each element of the iterable is filtered through the function to test if the item is accepted or …

Last updated 3 years, 9 months ago | 1335 views

Tags:- Python

Once your BigQuery table is created, the next step is to insert data. Using Python and the BigQuery client library, you can insert rows programmatically—perfect for ETL pipelines, data automation, or ingestion workflows. In this …

Last updated 9 months, 3 weeks ago | 1278 views

Tags:- Python BigQuery

Django | NoSQL NoSQL basically stands for “not only SQL”. This is considered an alternative to the traditional RDBMS or relational Databases. Officially, Django does not support NoSQL databases. However, there are third-party projects, such as …

Last updated 3 years, 8 months ago | 1245 views

Tags:- Django

Python has a rich set of built-in exceptions designed to handle various types of runtime errors. These exceptions help you detect and respond to unexpected events during program execution. In this guide, you'll learn: What …

Last updated 9 months, 2 weeks ago | 1208 views

Tags:- Python

In Django, static files are the files that serve the purpose of additional purposes such as images, CSS, or JavaScript files. Static files managed by “django.contrib.staticfiles”. There are three main things to  set up static …

Last updated 3 years, 6 months ago | 1198 views

Tags:- Django

Once you've created a table in your Microsoft SQL Server (MSSQL) database, the next step is inserting data into it. Python, combined with the pyodbc library, offers a powerful and flexible way to insert data …

Last updated 9 months, 3 weeks ago | 1152 views

Tags:- Python MSSQL

Markers in Matplotlib are symbols used to highlight individual data points on plots. They are especially useful in line plots, scatter plots, and custom visualizations where you want to emphasize the individual points. This guide …

Last updated 9 months, 2 weeks ago | 1152 views

Tags:- Python Matplotlib

Introduction: Why Swagger API Docs Matter in Django Great code deserves great documentation—especially for APIs. When building REST APIs with Django REST Framework (DRF), clear and up-to-date documentation is critical for: Frontend developers and third-party …

Last updated 8 months, 3 weeks ago | 1127 views

Tags:- Python Django DRF

Creating tables in a Microsoft SQL Server (MSSQL) database using Python allows you to automate your database setup and seamlessly integrate backend data structures with your applications. This guide walks you through the process of …

Last updated 9 months, 3 weeks ago | 1081 views

Tags:- Python MSSQL

Introduction: Why Token Refreshing Matters JWT (JSON Web Tokens) are commonly used for securing APIs in modern Django applications, especially with frontend frameworks like React, Vue, or mobile apps. However, access tokens expire quickly (usually …

Last updated 8 months, 3 weeks ago | 1039 views

Tags:- Python Django DRF

Once you've created a PostgreSQL table using Python, the next step is to insert data into it. In this tutorial, you'll learn how to use Python and psycopg2 to insert single and multiple records into …

Last updated 9 months, 3 weeks ago | 1011 views

Tags:- Python PostgreSQL

Introduction: Why Use drf-spectacular for API Documentation? Good API documentation is not a luxury—it's a necessity. Whether you're developing APIs for internal tools or exposing them to third-party consumers, your documentation: Saves time debugging API …

Last updated 8 months, 3 weeks ago | 1001 views

Tags:- Python Django DRF

In data manipulation, machine learning, or statistics, it's often necessary to shuffle data—either for splitting datasets, randomizing the order of records, or avoiding bias. NumPy’s random.permutation() function is an essential tool for this. This article …

Last updated 9 months, 2 weeks ago | 986 views

Tags:- Python NumPy

Updating records in a database is a core operation in nearly every application. Whether you’re modifying a user’s profile, adjusting inventory, or fixing data errors, the SQL UPDATE statement helps you modify existing records. In …

Last updated 9 months, 3 weeks ago | 968 views

Tags:- Python MSSQL

Updating existing data in your SQLite database is a common and essential task when building applications. The SQL UPDATE statement allows you to modify existing records in a table. When combined with Python’s sqlite3 module, …

Last updated 9 months, 3 weeks ago | 960 views

Tags:- Python SQLite