Pandas Cookbook
Theodore Petrou
Packt Publishing
Key Features<ul><li>Use the power of pandas to solve most complex scientific computing problems with ease</li><li>Leverage fast, robust data structures in pandas to gain useful insights from your data</li><li>Practical, easy to implement recipes for quick solutions to common problems in data using pandas</li></ul>Book Description<p>Pandas is one of the most powerful, flexible, and efficient scientific computing packages in Python. With this book, you will explore data in pandas through dozens of practice problems with detailed solutions in iPython notebooks.</p><p>This book will provide you with clean, clear recipes, and solutions that explain how to handle common data manipulation and scientific computing tasks with pandas. You will work with different types of datasets, and perform data manipulation and data wrangling effectively. You will explore the power of pandas DataFrames and find out about boolean and multi-indexing. Tasks related to statistical and time series computations, and how to implement them in financial and scientific applications are also covered in this book.</p><p>By the end of this book, you will have all the knowledge you need to master pandas, and perform fast and accurate scientific computing.</p>What you will learn<ul><li>Master the fundamentals of pandas to quickly begin exploring any dataset</li><li>Isolate any subset of data by properly selecting and querying the data</li><li>Split data into independent groups before applying aggregations and transformations to each group</li><li>Restructure data into a tidy form to make data analysis and visualization easier</li><li>Prepare messy real-world datasets for machine learning</li><li>Combine and merge data from different sources through pandas SQL-like operations</li><li>Utilize pandas unparalleled time series functionality</li><li>Create beautiful and insightful visualizations through pandas direct hooks to matplotlib and seaborn</li></ul>About the Author<p><b>Theodore Petrou</b> is a data scientist and the founder of Dunder Data, a professional educational company focusing on exploratory data analysis. He is also the head of Houston Data Science, a meetup group with more than 2,000 members that has the primary goal of getting local data enthusiasts together in the same room to practice data science. Before founding Dunder Data, Ted was a data scientist at Schlumberger, a large oil services company, where he spent the vast majority of his time exploring data.</p><p>Some of his projects included using targeted sentiment analysis to discover the root cause of part failure from engineer text, developing customized client/server dashboarding applications, and real-time web services to avoid the mispricing of sales items. Ted received his masters degree in statistics from Rice University, and used his analytical skills to play poker professionally and teach math before becoming a data scientist. Ted is a strong supporter of learning through practice and can often be found answering questions about pandas on Stack Overflow.</p>Table of Contents<ol><li>Pandas Foundations</li><li>Essential DataFrame Operations</li><li>Beginning Data Analysis</li><li>Selecting Subsets of Data</li><li>Boolean Indexing</li><li>Index Alignment</li><li>Grouping for Aggregation, Filtration and Transformation</li><li>Restructuring Data into Tidy Form</li><li>Joining multiple pandas objects</li><li>Time Series</li><li>Visualization</li></ol>