Mukul Latiyan has Published 474 Articles

How to Clean String Data in a Given Pandas DataFrame?

Mukul Latiyan

Mukul Latiyan

Updated on 07-Aug-2023 15:14:40

779 Views

Pandas is a Python library that is used for data analysis and manipulation. It provides a number of functions for cleaning and formatting data. In this article, we will learn how to clean string data in a given Pandas DataFrame. We will cover the following topics: Removing leading and ... Read More

Clustering Performance Evaluation in Scikit Learn

Mukul Latiyan

Mukul Latiyan

Updated on 07-Aug-2023 15:12:39

191 Views

Clustering is a fundamental unsupervised learning technique that aims to discover patterns or groupings in unlabeled data. It plays a crucial role in various domains such as data mining, pattern recognition, and customer segmentation. However, once clustering algorithms are applied, it becomes essential to evaluate their performance and assess the ... Read More

Classifying Data using Support Vector Machines (SVMs) in Python

Mukul Latiyan

Mukul Latiyan

Updated on 07-Aug-2023 15:08:52

92 Views

Support Vector Machines (SVMs) are supervised learning algorithms that can be used for both classification and regression tasks. SVMs are powerful algorithms that can be used to solve a variety of problems. They are particularly well−suited for problems where the data is linearly separable. However, SVMs can also be used ... Read More

How to Create a Population Pyramid Using Plotly in Python?

Mukul Latiyan

Mukul Latiyan

Updated on 04-Aug-2023 17:04:11

437 Views

A population pyramid is a graphical representation of the age and gender distribution of a population. It consists of two back−to−back bar charts, one showing the distribution of males and the other showing the distribution of females across different age groups. The population pyramid is a powerful visualisation tool that ... Read More

How to Create a List of N-Lists in Python?

Mukul Latiyan

Mukul Latiyan

Updated on 04-Aug-2023 17:02:43

2K+ Views

When working with data in Python, there may be situations where you need to organise your data into a list of N−lists. This data structure, commonly known as a "list of lists, " allows you to store and access multiple sets of data in a structured and flexible manner. Each ... Read More

Classifying Clothing Images in Python

Mukul Latiyan

Mukul Latiyan

Updated on 04-Aug-2023 17:00:31

234 Views

Image classification is a type of machine learning task that involves identifying the objects or scenes in an image. It is a challenging task, but it has many applications in real−world problems such as facial recognition, object detection, and medical image analysis. In this article, we will discuss how to ... Read More

How to Convert a Python datetime.datetime to Excel Serial Date Number?

Mukul Latiyan

Mukul Latiyan

Updated on 04-Aug-2023 16:58:09

1K+ Views

Excel uses a special format to store dates and times, called serial date numbers. Serial date numbers are a count of days since January 1, 1899, which is the date that Excel considers to be the beginning of time. Python's datetime module provides powerful tools for working with dates and ... Read More

How to Convert 1-D Arrays as Columns into a 2-D Array in Python?

Mukul Latiyan

Mukul Latiyan

Updated on 04-Aug-2023 16:56:06

98 Views

Arrays are fundamental data structures in programming, enabling us to store and manipulate collections of values efficiently. Python, as a versatile programming language, provides numerous tools and libraries for working with arrays and matrices. In particular, the ability to convert 1−D arrays into 2−D arrays is an essential skill when ... Read More

How to Convert 1D Array of Tuples to 2D Numpy Array?

Mukul Latiyan

Mukul Latiyan

Updated on 04-Aug-2023 16:54:09

4K+ Views

When working with data in Python, it is often necessary to transform and manipulate arrays to facilitate analysis and computations. One common scenario is converting a 1D array of tuples into a 2D Numpy array. This conversion allows for easier indexing, slicing, and applying array operations. In this article, our ... Read More

How to Connect to SQLite Database that Resides in the Memory using Python?

Mukul Latiyan

Mukul Latiyan

Updated on 04-Aug-2023 16:52:03

1K+ Views

SQLite is a popular, lightweight, and self−contained database engine that is widely used in various applications. One of the unique features of SQLite is its ability to create databases in memory, which allows for faster data access and manipulation. In this article, we will explore how to connect to an ... Read More

Advertisements