Kalyan Mishra has Published 64 Articles

Python - Replace sublist with others in list

Kalyan Mishra

Kalyan Mishra

Updated on 03-Oct-2023 15:48:19

88 Views

In this article we will get to know how we can replace sublist value with new list. You may have faced this problem while working with manipulation of list. Here we will see various methods using which we can replace the sublist with other list. Let’s get to know this ... Read More

Python - Replace rear word in String

Kalyan Mishra

Kalyan Mishra

Updated on 03-Oct-2023 15:42:20

55 Views

In this article we will learn how we can replace rear (word at the end of the string) word with any other given word. You may have seen this problem while doing manipulation of string. Here we will see various methods for replacing the rear word in string with given ... Read More

Python - Replace punctuations with K

Kalyan Mishra

Kalyan Mishra

Updated on 03-Oct-2023 15:40:12

32 Views

In this article we will learn about replacement of punctuation with letter k in the string. You may have seen this problem while performing text processing or data cleaning task in the python where you need to replace punctuations with specific characters or any symbol. Here we will see various ... Read More

Python - Replace negative value with zero in numpy array

Kalyan Mishra

Kalyan Mishra

Updated on 03-Oct-2023 15:37:32

981 Views

In this article we will see method to replace negative values with zero. If we talk about data analysis then handling negative values is very crucial step to ensure meaningful calculation. So, here you will learn about various methods using which we can replace negative values with 0. Method 1. ... Read More

Python Replace NaN values with average of columns

Kalyan Mishra

Kalyan Mishra

Updated on 03-Oct-2023 15:35:51

165 Views

In this article we will see method to replace NaN (Not a Number) value with the average of columns. If we talk about data analysis then handling NaN value is very crucial step. So, here you will learn about various methods using which we can replace NaN (Not a Number) ... Read More

Python - Replace multiple characters at once

Kalyan Mishra

Kalyan Mishra

Updated on 03-Oct-2023 15:26:07

3K+ Views

In this article we will see method to replace the multiple characters at once in any string. While working with programs where we face such situation when we will have to replace any particular character simultaneously at all of its occurences. Suppose a situation in which you have an article ... Read More

Python - Replace list elements with its ordinal number.

Kalyan Mishra

Kalyan Mishra

Updated on 03-Oct-2023 15:15:47

73 Views

In this article we will learn how to replace any given list element with its ordinal number. We will see various methods to get this work done. Before that let’s know about ordinal numbers. Ordinal number − In mathematics we say ordinal number as number which represents the position or ... Read More

Jacobian matrix in PyTorch

Kalyan Mishra

Kalyan Mishra

Updated on 03-Oct-2023 15:13:34

93 Views

In this article we will learn about the Jacobian matrix and how to calculate this matrix using different methods in PyTorch. We use Jacobian matrix in various machine learning applications. Jacobian Matrix We use Jacobian matrix to calculate relation between the input and output variable. Jacobian matrix has all the ... Read More

Iterating over rows and columns in Pandas DataFrame.

Kalyan Mishra

Kalyan Mishra

Updated on 03-Oct-2023 15:08:48

64 Views

In this article we will learn about pandas, DataFrame and how we can iterate over rows and columns in the pandas DataFrame using various methods. Iteration is a basic operation we do when we have tabular data containing rows and columns. To install the pandas in the system execute the ... Read More

Finding the Summation of Random Numbers using Python

Kalyan Mishra

Kalyan Mishra

Updated on 03-Oct-2023 15:00:10

162 Views

In this article we will learn about different methods to find the Summation of Random Numbers using Python language. In some scenarios we need to generate some random number and find its summation so we will see basic to improved versions of functions using which we can get this task ... Read More

Advertisements