Courses
Tutorials
Jobs
Practice
Contests
Data Structure
Java
Python
HTML
Interview Preparation
Trending Now
DSA
Web Tech
Foundational Courses
Data Science
Practice Problem
Python
Machine Learning
JavaScript
System Design
Django
DevOps Tutorial
Java
C
C++
ReactJS
NodeJS
CP Live
Aptitude
Puzzles
Projects
GBlog
Frontend Developer Roadmap 2024
Frontend development means to design the face of a website or application. It involves working on the appearance of the website. Building interactive buttons, using images...
Read More
Compute the sign and natural logarithm of the determinant of an array in Python
In this article, we will cover how to compute the sign and natural logarithm of the determinant of an array in Python using NumPy.numpy.linalg.slogdet() methodThe numpy.li...
Read More
Python
Python-numpy
Picked
Python numpy-Mathematical Function
Compute the square root of complex inputs with scimath in Python
In this article, we will cover how to compute the square root of complex inputs with scimath in Python using NumPy.ExampleInput: [-1 -2]Output: [0.+1.j 0.+1.41421356j]Exp...
Read More
Python
Python-numpy
Picked
Python numpy-Mathematical Function
Python Program to Remove Small Trailing Coefficients from Chebyshev Polynomial
Given a Chebyshev Polynomial, the task is to Remove Small Trailing Coefficients from Chebyshev Polynomial in Python and NumPy.ExampleInput: [-1, 0, 2, 0]Output: [-1. 0. 2....
Read More
Python
Python-numpy
Picked
Python numpy-polynomials
Return the maximum of an array along axis 0 or maximum ignoring any NaNs in Python
In this article, we will see how to return the maximum of an array along axis 0 or maximum ignoring any NaNs in Python.ExampleInput: [[ 1. 0. 3.] [10. nan 30.] ...
Read More
Python
Python-numpy
Picked
Differentiate a Hermite series in Python
In this article, we will be looking at the step-wise procedure to differentiate a Hermite series in Python.Differentiate a Hermite series in Python:Here, we need to call t...
Read More
Python
Python-numpy
Picked
Convert a Hermite series to a polynomial in Python
In this article, we will be looking at the step-wise procedure to convert a Hermite series to a polynomial in Python.NumPy.herm2poly methodTo convert a Hermite series to a...
Read More
Python
Python-numpy
Picked
Python numpy-polynomials
Python Pandas - Difference between INNER JOIN and LEFT SEMI JOIN
In this article, we see the difference between INNER JOIN and LEFT SEMI JOIN.Inner JoinAn inner join requires two data set columns to be the same to fetch the common row d...
Read More
Python
Picked
Python-pandas
Evaluate a 3-D Chebyshev series on the Cartesian product of x, y and z with 2d array of coefficient
In this article, we will discuss how to evaluate a 3-D Chebyshev series on the Cartesian product of x, y, and z with a 2d array of coefficients in Python and NumPy.Example...
Read More
Python
Python-numpy
Picked
Python numpy-polynomials
How to parse XML and count instances of a particular node attribute in Python?
In this article, we will see how to parse XML and count instances of a particular node attribute in Python.What is XML?Extensible Markup Language (XML) Extensible Markup L...
Read More
Python
Picked
Python-XML
How to convert an image to grayscale in PyTorch
In this article, we are going to see how to convert an image to grayscale in PyTorch.torchvision.transforms.grayscale methodGrayscaling is the process of converting an ima...
Read More
Python
Python-PyTorch
How to pad an image on all sides in PyTorch?
In this article, we will discuss how to pad an image on all sides in PyTorch.transforms.pad() methodPaddings are used to create some space around the image, inside any def...
Read More
Python
Python-PyTorch
Return the cumulative product of array elements over axis 0 treating NaNs as one in Python
In this article, we will discuss how to find the result of the power to which the negative input value is raised with Python and NumPy.ExampleInput: [[10. nan][nan 20.]]Ou...
Read More
Python
Python-numpy
Picked
Generate a Vandermonde matrix of the Chebyshev polynomial in Python
In this article, we will be looking at the approach using various functionalities of the Numpy packages to generate a Vandermonde matrix of the Chebyshev polynomial in Pyt...
Read More
Python
Python-numpy
Picked
Evaluate a Hermite series at points x with multidimensional coefficient array in Python
In this article, we will discuss how to Evaluate a Hermite series at points x with a multidimensional coefficient array in Python and NumPy.ExampleInput: [[11 12][13 14]]O...
Read More
Python
Python-numpy
Picked
Python numpy-polynomials
Return the result of the power to which the negative input value is raised with scimath in Python
In this article, we will discuss how to Return the result of the power to which the negative input value is raised with scimath in Python and NumPy.ExampleInput: [-1,-2,-3...
Read More
Python
Python-numpy
Picked
Python numpy-Mathematical Function
1
...
4401
4402
4403
...
11340