
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 10401 Articles for Python

356 Views
Introduction Missing data is a common issue in data analysis and can occur due to various reasons. In Python, missing values are often represented as NaN (Not a Number) or None. Missing data can cause inaccurate analysis results and lead to biased conclusions if not handled properly. Therefore, handling missing data is an essential part of any successful data analysis project. Causes of Missing Data in Python Missing data is a common challenge that data analysts and scientists often encounter in their work. In Python, there are various reasons why data may be missing. Understanding these causes can help analysts ... Read More

2K+ Views
Introduction Pygame is the module used for game development in Python; it is considered to be one of the most effective modules for this purpose. The development of video games can not only be profitable in today's market but also serve as a medium for educational and promotional purposes. Creating games requires knowledge of mathematics, logic, physics, artificial intelligence, and a lot of other subjects, yet it can be really enjoyable. We will discuss in detail what is Pygame, how to implement a normal PyGame window and how to allow users to resize the window with a working example. ... Read More

214 Views
Introduction A heat map, is a graphical representation of data in which each value in a matrix is assigned a unique colour. The primary purpose of heat maps is to increase the accuracy of the visualization of the total number of places and events included within a dataset, as well as the accuracy with which they direct viewers' attention to the most important aspects of data visualizations. Heat maps, which rely on colour to communicate values, are most commonly used to offer a more holistic picture of numerical values. This is due to the fact that heat maps rely on ... Read More

1K+ Views
Introduction Animated pictures are a sequence of static images that are automatically played to display relevant material in a continuous and dynamic manner, and they have the benefit of being smaller than videos. Additionally, many online and mobile applications enable animated images in the same manner that they support static photos, although they do not always permit the upload of movies. In this situation, animated pictures can be really helpful. Clearly, there are several other reasons why animated graphics are preferable. Sometimes, combining similar or unrelated photos is simply for fun. In this article, we would learn the steps to ... Read More

540 Views
Introduction Machine learning's influence in IT and other industries is expanding rapidly. Despite still being in its early stages, Machine Learning has gained a lot of attention across industries. It's the study of how to program computers to learn and improve on their own. Therefore, Machine Learning is concerned with improving computer programs by utilizing data gathered from a wide range of observations. In this article, titled "Aspects of Machine Learning process, " we will explore some of the foundational ideas behind Machine Learning, including its definition, the technologies and algorithms it employs, its potential applications and examples, and more. ... Read More

957 Views
Introduction The ratio of accurate predictions to inaccurate predictions is plotted in a matrix known as a confusion matrix. This would refer to the ratio of true negatives and true positives (right predictions) to false negatives and false positives for a binary classifier (incorrect predictions). After data cleaning, preprocessing, and parsing, the first thing we do is feed the data to an efficient model, which naturally produces results in probabilities. Hold on though! But how do we assess the performance of our model? Higher performance, better effectiveness—exactly that's what we want. And here’s when the Confusion matrix comes into ... Read More

2K+ Views
The datetime.date class in Python provides a convenient way to represent and manipulate dates. The fromisoformat() method lets in you to create a date object from a string in the ISO layout. The fromisoformat() feature will parse a string in ISO 8601 format and create a date object that represents that date. this could be beneficial in numerous scenarios, consisting of whilst you want to parse dates from log files or whilst working with APIs that offer dates in ISO 8601 format. Syntax datetime.date.fromisoformat(date_string) The parameter, date_string is a string that represents a date in the ISO format ... Read More

302 Views
Numpy is an open-source library in Python used for numerical computing, scientific computing, data analysis, and machine learning applications. This library has powerful array methods and tools to perform vector and matrix operations. You must install the NumPy module manually since it is not a component of the default Python library. The Python package manager pip can be used to accomplish this by executing the following command − pip install numpy We will use NumPy’s busday_count() function to calculate the required count of weekdays. This will calculate the number of business days (Monday to Friday) between 2 specific dates. ... Read More

686 Views
Numpy is often used along with packages such as SciPy and matplotlib in python. Additionally, arrays in Numpy are faster compared to lists in Python due to which this module is extensively used for complex mathematical algorithms and problems. It has various functions, and methods, to make our task easy and simple for matrix operations. In Numpy arrays there are two types of array − Single Dimensional Array Multi-Dimensional Array Single Dimensional Array (1D array) The datatypes of the elements stored in the array are - strings, integers, boolean or floating points. These arrays are called single or ... Read More

3K+ Views
Python users frequently work with files, particularly when altering, reading, or writing data to files. However, identifying a file's path is necessary before performing any operation on it. Simply said, a file's path refers to the system location or directory where it is kept. There are four major types of methods to use to find the path to the given file in Python − Pathlib Module OS Module os.path.join() method os.getcwd() method Approach 1: Using the Pathlib Module The pathlib module in Python makes everything very feasible and efficient to make file paths. absolute() − An absolute path ... Read More