SQA Tools Blog

Learn testing and automation, one article at a time

Free tutorials, solved practice problems and interview prep for QA and automation engineers: Python, Playwright, Selenium, SQL, Git and more.

1,677Articles
1,141Solved Python problems
7Topics
100%Free

Latest articles

1,677 articles · page 85 of 140
Python practice

List of lists to DataFrame

Write a pandas program to convert a list of lists into a DataFrame. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Column data types

Write a pandas program to get the data type of each column. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Is a column present?

Write a pandas program to check whether a column exists. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Row with the minimum value

Write a pandas program to find the row where a column is smallest. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Row with the maximum value

Write a pandas program to find the row where a column is largest. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Column values as a list

Write a pandas program to get the values of a column as a list. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Rename one column

Write a pandas program to rename one column. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Shuffle rows

Write a pandas program to shuffle rows. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Count NaN values

Write a pandas program to count NaN values. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Replace NaN with a value

Write a pandas program to replace NaN in a column with a fixed value. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Population per country

Write a pandas program to total the population per country from a data set. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Write a tab-separated file

Write a pandas program to write a DataFrame to a CSV file with a tab separator. Step-by-step explanation, colour-coded code and real output.

1 min readRead →

Preparing for a QA interview?

Take free timed mock tests with answers and explanations.