Ciência_Iscte
Publications
Publication Detailed Description
Querying and Filtering Data in pandas: A Practical Guide for Researchers in Economics and Management
Journal/Book/Other Title
Organizational Administration and Economics Journal
Year (definitive publication)
2025
Language
English
Country
--
More Information
--
Web of Science®
This publication is not indexed in Web of Science®
Scopus
This publication is not indexed in Scopus
Google Scholar
This publication is not indexed in Google Scholar
This publication is not indexed in Overton
Abstract
The Python library pandas has become a basis of data analysis in economics, business, and the social sciences. Effective data filtering and querying are important steps in transforming raw data into actionable insights. This article offers a comprehensive overview of the primary techniques for querying and filtering data in Pandas, presenting both conceptual explanations and practical examples. It begins with basic Boolean indexing and progresses toward more advanced methods, including .query(), .isin(), .between(), .mask(), and .where(). Each method is illustrated with realistic data examples and discussed in terms of syntax, interpretation, and best use cases. A comparative analysis summarizes the advantages and limitations of each technique, providing researchers with guidance on selecting the most suitable approach for their analytical needs.
Acknowledgements
--
Keywords
pandas,data analysis,Python,filtering,query,business analytics,research methods
Português