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 82 of 140
Python practice

Minimum value in a tuple

Write a Python program to find the minimum value in a tuple. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Maximum value in a tuple

Write a Python program to find the maximum value in a tuple. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Tuple of pairs from two lists

Write a Python program to create a tuple of pairs from two lists. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Import an Excel file

Write a pandas program to import an .xlsx file. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Import a CSV file

Write a pandas program to import a CSV file. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Fill with the median

Write a pandas program to replace NaN with the median. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Fill with the most frequent value

Write a pandas program to replace NaN with each column's most frequent value. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Fill with the mean

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

1 min readRead →
Python practice

Fill from the next row

Write a pandas program to replace NaN with the value from the next row. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Fill from the previous row

Write a pandas program to replace NaN with the value from the previous row. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Drop rows that are entirely missing

Write a pandas program to drop rows where all values are missing. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Drop columns with missing values

Write a pandas program to drop columns where at least one value is missing. 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.