Book description
Get to grips with pandas - a versatile and high-performance Python library for data manipulation, analysis, and discovery
In Detail
This learner's guide will help you understand how to use the features of pandas for interactive data manipulation and analysis.
This book is your ideal guide to learning about pandas, all the way from installing it to creating one- and two-dimensional indexed data structures, indexing and slicing-and-dicing that data to derive results, loading data from local and Internet-based resources, and finally creating effective visualizations to form quick insights. You start with an overview of pandas and NumPy and then dive into the details of pandas, covering pandas' Series and DataFrame objects, before ending with a quick review of using pandas for several problems in finance.
With the knowledge you gain from this book, you will be able to quickly begin your journey into the exciting world of data science and analysis.
What You Will Learn
- Install pandas on Windows, Mac, and Linux using the Anaconda Python distribution
- Learn how pandas builds on NumPy to implement flexible indexed data
- Adopt pandas' Series and DataFrame objects to represent one- and two-dimensional data constructs
- Index, slice, and transform data to derive meaning from information
- Load data from files, databases, and web services
- Manipulate dates, times, and time series data
- Group, aggregate, and summarize data
- Visualize techniques for pandas and statistical data
Publisher resources
Table of contents
-
Learning pandas
- Table of Contents
- Learning pandas
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Preface
- 1. A Tour of pandas
- 2. Installing pandas
-
3. NumPy for pandas
- Installing and importing NumPy
- Benefits and characteristics of NumPy arrays
- Creating NumPy arrays and performing basic array operations
- Selecting array elements
- Logical operations on arrays
- Slicing arrays
- Reshaping arrays
- Combining arrays
- Splitting arrays
- Useful numerical methods of NumPy arrays
- Summary
- 4. The pandas Series Object
-
5. The pandas DataFrame Object
- Creating DataFrame from scratch
- Example data
- Selecting columns of a DataFrame
- Selecting rows and values of a DataFrame using the index
- Selecting rows of a DataFrame by Boolean selection
- Modifying the structure and content of DataFrame
- Arithmetic on a DataFrame
- Resetting and reindexing
- Hierarchical indexing
- Summarized data and descriptive statistics
- Summary
- 6. Accessing Data
- 7. Tidying Up Your Data
- 8. Combining and Reshaping Data
- 9. Grouping and Aggregating Data
- 10. Time-series Data
- 11. Visualization
- 12. Applications to Finance
- Index
Product information
- Title: Learning pandas
- Author(s):
- Release date: April 2015
- Publisher(s): Packt Publishing
- ISBN: 9781783985128
You might also like
book
Beginning PyQt: A Hands-on Approach to GUI Programming with PyQt6
Learn GUI application development from the ground up by building simple projects that teach the fundamentals …
book
Practices of the Python Pro
Practices of the Python Pro teaches you to design and write professional-quality software that’s understandable, maintainable, …
video
Complete Git Guide: Understand and Master Git and GitHub
Complete with practical activities, this comprehensive Git and GitHub guide will help you understand how Git …
book
Creating a Data-Driven Organization
What do you need to become a data-driven organization? Far more than having big data or …