Tapas Kumar Ghosh has Published 226 Articles

How to sort a Numpy Array?

Tapas Kumar Ghosh

Tapas Kumar Ghosh

Updated on 18-Feb-2025 18:08:22

567 Views

In Python, "array" is typically called a list. The Numpy is a multi-dimensional homogeneous array of fixed-size items. Due to some similarities between NumPy arrays and Python lists it defines significant variations in data formats such as memory utilization, performance, and functionality. Using array() and sort() method The NumPy array ... Read More

Different Types of Database Users

Tapas Kumar Ghosh

Tapas Kumar Ghosh

Updated on 14-Feb-2025 18:30:11

37K+ Views

Database users interact with data to update, read, and modify the given information daily. There are various types of database users and we will learn in detail about them. Database users can be divided into the following types − Naive users / Parametric users Sophisticated users End Users Application ... Read More

Java program to check whether the number is divisible by 5

Tapas Kumar Ghosh

Tapas Kumar Ghosh

Updated on 14-Feb-2025 18:29:41

4K+ Views

In mathematics, the divisibility rule of 5 states that if the number ends with 0 or 5 then it will divisible by 5. There is another way to identify the divisibility rule of 5, if the remainder comes to 0 it returns the number is divisible by 5. The mod(%) ... Read More

How to disable text selection highlighting using CSS?

Tapas Kumar Ghosh

Tapas Kumar Ghosh

Updated on 19-Aug-2024 16:19:59

9K+ Views

To disable text selection highlighting using CSS, it can help in preventing the content copying. We can use CSS user-select property to disable the text selection highlighting. In this article, we will be understanding how we can use CSS user-select property to disable text selection highlighting. we are having a ... Read More

How to display HTML tags as plain text in HTML?

Tapas Kumar Ghosh

Tapas Kumar Ghosh

Updated on 12-Nov-2023 11:49:29

3K+ Views

HTML tags are used for defining the structure of the webpage. Various types of tags can use used for dealing with text in HTML. In this article, we will use the plaintext tag to display the HTML tag in the output. The examples used in this article will help you ... Read More

Python - K difference index Pairing in List

Tapas Kumar Ghosh

Tapas Kumar Ghosh

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

186 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

Tapas Kumar Ghosh

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

299 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

Tapas Kumar Ghosh

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

3K+ 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

Tapas Kumar Ghosh

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

294 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

Check if a Word is Present in a Sentence

Tapas Kumar Ghosh

Tapas Kumar Ghosh

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

1K+ 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

Previous 1 ... 7 8 9 10 11 ... 23 Next
Advertisements