
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

144 Views
Python consists of numerous built-in functions that are designed to perform a wide range of operations including string manipulation, array analysis, algebraic reasoning etc. Strings in python is a data type in which characters are arranged in a sequence. These characters are indexed to acquire specific position in a sequence, we can initiate basic string operations with the help of these index values. This article will elaborate on a similar string-based operation where we will modify an input string to equalize the character frequency. Understanding the Problem Our task is to modify a string in a manner that each ... Read More

1K+ Views
Graphical representation of the data provides an enhanced understanding of the complex sub structures of the data and it helps us to easily interpret the hidden patterns and trends. Imagine how convenient it would be if we could just draw a similar relationship programmatically? Python offers a prolific module that is precisely designed to perform such operation and it is known as “turtle”. The “turtle” module is a built-in python library that allows us to draw graphics on a “turtle graphics screen”. In this article, we will create a bar chart using this turtle module. Understanding the Turtle ... Read More

456 Views
A dictionary is a unique form of array that is used to implement data structures in python. There are several characteristics associated with a dictionary that makes it a very powerful tool in Python. It stores data in the form of key-value pair where each key is a unique identifier and is used to access the corresponding value associated with it. We can perform several operations on this dictionary and manipulate the data stored in it. This article will explain one such operation where we will divide a dictionary and its key into K equal dictionaries. Understanding the ... Read More

1K+ Views
Seaborn, a popular data visualization library, offers a versatile tool called Factor Plot, now replaced by Catplot, that enables users to create a wide range of plots. This article serves as a comprehensive guide to help you leverage the power of Factor Plot in Seaborn. From loading datasets to preprocessing data, performing analysis, and visualizing results, we will explore step-by-step instructions and code examples to plot different types of plots, unlocking the potential of data visualization in our projects. What is a Factor Plot? Factor plot, now replaced by `catplot`, is a versatile plotting function in the seaborn library. ... Read More

1K+ Views
In data analysis and visualization, hierarchically-clustered heatmaps provide a powerful tool to reveal patterns and relationships within complex datasets. This article explores how to create a hierarchically-clustered heatmap using Seaborn Clustermap in Python. To assist you in comprehending the process, we will walk you through the procedure step-by-step utilizing code examples. We will instruct you on how to cluster and visualize the data, this will provide you with important information regarding the relationship between each variable. What is a Hierarchically-Clustered Heatmap in Python with Seaborn Clustermap? A hierarchically-clustered heatmap is a visualization technique used to display a matrix of ... Read More

804 Views
The Python AppJar module simplifies GUI development, which is necessary for designing user-friendly software interfaces. AppJar is one of many tools and frameworks available in Python for creating graphical user interfaces. It simplifies the process of developing GUI apps by providing a user-friendly interface. AppJar comes with a variety of pre-built widgets such as buttons, labels, text boxes, and dropdown menus. This article digs into AppJar's capabilities and features, providing examples and insights. What is an AppJar Module? The AppJar module is a refined and user-friendly toolkit that makes designing Graphical User Interfaces (GUIs) in Python easier. ... Read More

530 Views
Word embeddings play a crucial role in Natural Language Processing (NLP) by providing numerical representations of words that capture their semantic and syntactic properties. These distributed representations enable machines to process and understand human language more effectively. In this article, we will delve into the fundamentals, popular embedding models, practical aspects, evaluation techniques, and advanced topics related to word embeddings in NLP. Fundamentals of Word Embeddings Word embeddings are dense, low-dimensional vectors that represent words in a continuous vector space. They aim to capture the meaning and relationships between words based on their context in a given corpus. Instead ... Read More

2K+ Views
In the field of Natural Language Processing (NLP), it is important to understand how text analysis works in order to gain useful information, one important part of text analysis is stemming, which means reducing words to their basic form and the Snowball Stemmer is a popular algorithm used in NLP for this purpose. This article explores the Snowball Stemmer in detail, including its history, how it works, and how it can be used in Python programming. By learning about the Snowball Stemmer, we can see how it helps with finding information, simplifying language tasks, and assisting in different NLP ... Read More

528 Views
We are given a string that may represent a number and if it is a valid number then we have to convert it into an integer using the Python programming language. atoi() function is used in C programming language and used to convert the string which is passed as the parameter to it into an integer value if the string is a valid integer otherwise it shows the undefined behavior. Sample Examples Input 1 string S = "9834" Output 9834 Explanation We are given a string that represents a number so we have just got the same output. ... Read More

710 Views
Roman numerals are known as the characters used in an arrangement of number notation based on the pre-Roman Roman system. All major symbols are covered in the section below. In this problem, we are given a string of Roman numerals and our task is to convert Roman numerals to decimals in the range of 1 to 3999 Here are some examples and explanations to help you better understand the problem. Input str = “MXCIX” Output 1099 Explanation M is the Roman representation of 1000, XC is the Roman representation of 90, IX is the Roman representation of 9. Input str ... Read More