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

Python practice articles

1,137 articles · page 39 of 95 · Clear filters
Python practice

Keep only words

Write a pandas program to remove the numbers from an address column and keep the words. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Extract hashtags

Write a pandas program to extract hashtag words from tweets. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Extract emails

Write a pandas program to extract email addresses from a column. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Number of digits

Write a pandas program to count the digits of each integer in a column. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Alphabetic-only check

Write a pandas program to check which values contain only letters. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Numeric-only check

Write a pandas program to check which values contain only digits. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Lowercase-only check

Write a pandas program to check which values are fully lowercase. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Uppercase-only check

Write a pandas program to check which values are fully uppercase. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Capitalise text values

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

1 min readRead →
Python practice

Select text columns

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

1 min readRead →
Python practice

Reverse column order

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

1 min readRead →
Python practice

Reverse row order

Write a pandas program to reverse the order of rows. 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.