
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 10476 Articles for Python

435 Views
It is frequently helpful to find and extract patterns or segments of interest while working with strings. Finding the longest string of uppercase letters in each string is a typical problem. Numerous situations, including text processing, data analysis, and even text validation, present this issue. We will investigate two methods—the iterative method and the regular expression method—to solve this issue. These methods offer various methods for locating and extracting the longest uninterrupted sequence of capital letters from a string. We may effectively complete this assignment and learn how to handle related pattern extraction issues in Python by comprehending and putting ... Read More

569 Views
Python has become the language of choice for data scientists and analysts, offering a comprehensive range of libraries and tools for data analysis. Particularly, Python stands out in time series analysis, excelling in forecasting and anomaly detection. With its simplicity, versatility, and strong support for statistical and machine learning techniques, Python provides an ideal platform for extracting valuable insights from time-dependent data. This article explores Python's remarkable capabilities in time series analysis, focusing on forecasting and anomaly detection. By delving into the practical aspects of these tasks, we highlight how Python's libraries and tools enable precise predictions and the identification ... Read More

2K+ Views
The world of robotics is undergoing rapid advancements, revolutionizing industries such as manufacturing, healthcare, and logistics. As the demand for intelligent and autonomous robots continues to grow, there is an increasing need for programming languages that can effectively handle the complex challenges of robot control and interaction. Python, renowned for its versatility and widespread adoption, has emerged as a favored choice for robotics development. When combined with the powerful Robot Operating System (ROS), Python provides a robust and flexible platform for building and managing robots. This article aims to explore the extensive capabilities of Python for robotics, exploring how it ... Read More

2K+ Views
Being passionate enthusiasts of Internet of Things (IoT) technologies, we find ourselves constantly astounded by the immense possibilities this field presents. IoT has revolutionized our interaction with the world by providing the ability to connect and control devices remotely. In this regard, Python has emerged as a pivotal language that facilitates these functionalities. In this article, we will explore Python for IoT applications, with a specific focus on its capacity to control and monitor devices. Come along as we uncover the immense power of Python in the realm of IoT. Python has earned its reputation as the preferred language ... Read More

5K+ Views
PIL (Python Imaging Library) is a widely used Python library that enables developers to work with image files. It offers a broad range of functionalities for manipulating and handling image files, such as opening and resizing them, converting between different formats, and more. One frequently encountered task when working with images involves opening an image file from a URL. This is especially useful when working with images that are stored on a remote server, such as those obtained from an online database or a website. In this article, we will learn how to open an image from the URL in ... Read More

304 Views
Market research, price monitoring, and content aggregation are just a few examples of the myriad of purposes for which web scraping is utilized and has gained widespread popularity. Although web scraping entails extracting data from websites, there are quite a few legal and ethical concerns surrounding this controversial practice, particularly when it is conducted without the consent of the website's owner. A number of website owners implement anti-scraping measures to thwart potential scrapers, while others even take legal action. In this article, we will learn how not to get caught while web scraping. Why Web Scraping can be Complicated? Web ... Read More

4K+ Views
NumPy is a powerful library in Python for numerical computing that provides an array object for the efficient handling of large datasets. Often, it is necessary to normalize the values of a NumPy array to ensure they fall within a specific range. One common normalization technique is to scale the values between 0 and 1. In this article, we will learn how to normalize a NumPy array so the values range exactly between 0 and 1. We will see the different approaches that can be used to achieve this using NumPy, along with syntax and complete examples. Approaches There are ... Read More

859 Views
In this article, we will learn how to modify an existing figure instance in Matplotlib. We will see the complete step-wise process to modify the existing figure in matplotlib along with their complete examples in Python. Matplotlib is a popular Python library used for creating various types of plots and visualizations. It provides a high-level interface to generate charts and graphs, as well as fine-grained control over every aspect of the figure. In Matplotlib, a figure instance represents the entire visualization, including one or more subplots, axes, titles, labels, and legends. To work with a figure instance, we need to ... Read More

3K+ Views
Merging two Pandas DataFrames on index can be useful in many data analysis scenarios. For instance, you might have two datasets with different features or data points, but both share a common index. In this case, merging the two DataFrames can help you combine the data in a meaningful way. In this article, we will learn how to merge two Pandas DataFrames based on an index in Python. We will go through the complete steps involved in the merging process and illustrate each step with code examples. What is DataFrames in Pandas? One of Pandas library's most crucial data structures ... Read More

2K+ Views
HTML (Hypertext Markup Language) is the foundation of the internet. Websites use HTML to create and display content in a structured manner. In many cases, it's necessary to modify HTML code to add new elements, remove unwanted elements, or make other changes. This is where BeautifulSoup comes in. BeautifulSoup is a Python library that allows you to parse HTML and XML documents. It provides a simple interface for navigating and searching the document tree, as well as for modifying the HTML code. In this article, we'll learn to modify HTML using BeautifulSoup. We will learn the steps of modifying HTML ... Read More