SaiKrishna Tavva has Published 107 Articles

Python Pandas - Get unique values from a column

SaiKrishna Tavva

SaiKrishna Tavva

Updated on 23-Sep-2024 14:00:32

14K+ Views

There are several ways to extract unique values from a column in a data frame using Python Pandas, including unique() and nunique(). The panda's library in Python is mostly used for data analysis and manipulation to locate unique values in a data frame column. Some common methods to get unique values ... Read More

Extract hyperlinks from PDF in Python

SaiKrishna Tavva

SaiKrishna Tavva

Updated on 17-Sep-2024 10:42:53

4K+ Views

To extract hyperlinks from PDF in python can be done by using several libraries like PyPDF2, PDFminer and pdfx etc. PyPDF2 : A python bulit-in library acts as PDF toolkit, allows us to read and manipulate ... Read More

Plotting grids across the subplots in Python Matplotlib

SaiKrishna Tavva

SaiKrishna Tavva

Updated on 10-Sep-2024 16:39:45

8K+ Views

We can create a grid of subplots by using plt.subplot() or plt.subplots() methods in python Matplotlib . 'subplots' refers collection of multiple plots within a single figure, where each subplot is an axis object. We can create multiple subplots by seting the spine visibility false out of multiple axes. Plotting ... Read More

Run a Python program from PHP

SaiKrishna Tavva

SaiKrishna Tavva

Updated on 10-Sep-2024 16:38:20

7K+ Views

In PHP, the 'exec()' or 'shell_exec’ function can be used. It can be executed via the shell and the result can be returned as a string. It returns an error if NULL is passed from the command line or returns no output at all. 'exec()' Function The exec function ... Read More

How to click on a link in Selenium with python?

SaiKrishna Tavva

SaiKrishna Tavva

Updated on 10-Sep-2024 16:35:35

8K+ Views

We can click on a link on page with the help of locators available in Selenium. Link text and partial link text are the locators generally used for clicking links. Both these locators work with the text available inside the anchor tags. ... Read More

How to click button Selenium Python?

SaiKrishna Tavva

SaiKrishna Tavva

Updated on 10-Sep-2024 16:31:04

54K+ Views

We can click a button with Selenium Webdriver in Python using the click() method. First, we have to identify the button to be clicked with the help of any locators like id, name, class, XPath, tagname, or CSS selector. Then we have to apply the click() method on it. Common ... Read More

Rotate Matrix in Python

SaiKrishna Tavva

SaiKrishna Tavva

Updated on 06-Sep-2024 15:35:35

6K+ Views

Rotating a matrix in python, can be done by utilizing various approaches like Transpose and Reverse method which is commonly used in rotating a matrix by converting the rows to columns and columns to rows. Common Approaches Some of the common methods, we can use to rotate a matrix by ... Read More

Advertisements