This is a regular “data quiz”. Follow it on LinkedIn. Test your knowledge or learn something new.

Today Question:

In Python, the pandas library is used for:

A) Web scraping 

B) DataFrames 

C) Machine learning 

D) API calls


Correct Answer: B

Explanation

Pandas is a Python library for data manipulation and analysis using DataFrames. It provides tools for reading and writing data from CSV, Excel, SQL databases, filtering, aggregation, transformation, and time-series operations. Pandas is a core component of Python data science and is often paired with NumPy, Matplotlib, or scikit-learn for advanced analyses and visualizations. It enables efficient work with large datasets and prepares data for modeling or reporting.