## Python - K difference index Pairing in List

Tapas Kumar Ghosh

Updated on 17-Aug-2023 18:23:22

29 Views

The K is the special number that set the sum of the difference values starting with 0th index. For example, if k = 3 it means the 0th index added with K and finds the exact pairs. In Python, we have some built-in functions such as str(), len(), and append() ... Read More

## Check if the Sum of Digits of a Number N Divides It

Tapas Kumar Ghosh

Updated on 17-Aug-2023 18:19:17

21 Views

The N number is the special number of integer type that calculates the individual digit of sum. So, this sum will be divisible by its own number. Let’s take an example of this. The given integer number, N = 36 The sum of each digit, 3 + 6 = 9 ... Read More

## How to Sort a Pandas DataFrame by Date?

Tapas Kumar Ghosh

Updated on 17-Aug-2023 18:16:25

83 Views

Python’s Pandas DataFrame defines the two-dimensional structure that consists of rows and columns. The main feature of pandas is an easier way of handing the given data. In Python, we have some in-built functions such as to_datetime(), sorted(), lambda, and, sort_value() will be Sort a Pandas DataFrame by Date. Syntax ... Read More

## Python - Filter Tuples with All Even Elements

Tapas Kumar Ghosh

Updated on 17-Aug-2023 18:14:59

39 Views

The problem statement allows us to determine the position of the desired string in the list, which can be useful for various purposes, such as accessing or manipulating elements at that specific index. In Python, we have some built-in functions like reduce(), str(), filter(), lambda, and, all() that will be ... Read More

## Program to check if a String in Java contains only whitespaces

Tapas Kumar Ghosh

Updated on 17-Aug-2023 18:10:38

136 Views

The whitespaces of JAVA represent either an empty string or an escape sequence character. In Java, we have some built-in functions such as isEmpty(), lenThe whitespaces of JAVA represent either an empty string or an escape sequence character. In Java, we have some built-in functions such as isEmpty(), length(), isWhitespace(), ... Read More

## Check if a Word is Present in a Sentence

Tapas Kumar Ghosh

Updated on 17-Aug-2023 18:05:20

107 Views

A sentence is a group of words that are present in a string. In this problem statement, we need to set a specific word and check whether the word is present in a given string or not. In C++, we have some pre-defined functions such as find(), npos(), and istringstream() ... Read More

## Check if a number with even number of digits is palindrome or not

Tapas Kumar Ghosh

Updated on 17-Aug-2023 18:02:54

37 Views

The palindrome refers to same number when the digits are reversed. In this program, we need to set the condition and operation based on an even number of digits to identify whether the given input satisfied for palindrome or not. In C++, we have STL(Standard template library) functions such as ... Read More

## Python - K List Dictionary Mesh

Tapas Kumar Ghosh

Updated on 17-Aug-2023 17:58:41

19 Views

The term dictionary Mesh is defined by storing the value pair of every key set to dictionary. To include the K list in the dictionary means to insert the list as value pair. In Python, we have some built-in functions such as defaultdict() and lambda will be used to solve ... Read More

## Python - Filter unequal elements of two lists corresponding same index

Tapas Kumar Ghosh

Updated on 16-Aug-2023 16:20:05

45 Views

The indexing is the specific position of the element from the list. The unequal elements of two lists refer to those indexes whose elements are not matched from both lists. In Python, we have some built-in functions like enumerate(), zip(), filter(), etc. that can be used to filter unequal elements ... Read More

## How to iterate over Columns in Numpy

Tapas Kumar Ghosh

Updated on 16-Aug-2023 16:15:40

128 Views

The name Numpy stands for Numerical Python. It helps to solve the mathematical operation on an array. In Python, we have some built-in functions such as nditor(), T(), array(), shape[], and apply_along_axis() that will be used to iterate over columns in Numpy. Syntax The following syntax is used in ... Read More

1 2 3 4 5 ... 16 Next