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

Change one value

Write a pandas program to change John's age to 24. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Ages between 25 and 30

Write a pandas program to print rows where age is between 25 and 30. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python

Rows with missing age

Write a pandas program to select rows where age is missing. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Count rows and columns

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

1 min readRead →
Python practice

Rows where age > 29

Write a pandas program to select the rows where age is greater than 29. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Select a row

Write a pandas program to print a selected row. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Select columns

Write a pandas program to print selected columns. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Last n rows

Write a pandas program to print the last n rows. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

First n rows

Write a pandas program to print the first n rows. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Dictionary to DataFrame

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

1 min readRead →
Python practice

Index of smallest and largest

Write a pandas program to find the index of the smallest and largest values. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Date strings to datetimes

Write a pandas program to convert date strings in different formats into datetimes. 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.