1st Edition
An Introduction to R and Python for Data Analysis A Side-By-Side Approach
1. Introduction 2. Basic Types 3. R vectors versus Numpy arrays and Pandas’ Series 4. Numpy ndarrays Versus R’s matrix and array Types 5. R’s lists Versus Python’s lists and dicts 6. Functions 7. Categorical Data 8. Data Frames Part 1. Introducing the Basics 10. Using Third-Party Code 11. Control Flow 12. Reshaping and Combining Data Sets 13. Visualization Part 2. Common Tasks and Patterns 14. An Introduction to Object-Oriented Programming 15. An Introduction to Functional Programming
Biography
Taylor R. Brown is an assistant professor of statistics at the University of Virginia. His research interests include state space models, particle filtering, and Markov chain Monte Carlo algorithms. He obtained his Ph.D. in statistics from the University of Virginia.
“The book is written in an engaging, collaborative style that makes it enjoyable to read. It maintains its formality without creating a barrier between the reader and the content. The inclusion of numerous practical exercises allows readers to deepen their understanding, adhering to the principle that hands-on experience and experimentation are key to mastering a language.[…]
This book is an excellent resource for individuals who wish to learn both languages concurrently or for those who are familiar with one language and wish to refresh their knowledge while learning another.”
- Daniel Fischer in International Statistical Review, February 2024"[This book] is a welcome new educational resource, designed for graduate students, newcomers to programming, and those in the field of data science and statistics. Its dual-language approach, offering side-by-side instruction in both R and Python, sets it apart in the literature. [...] This book is ideally suited as a course text at either the undergraduate or the graduate level and is a nice choice for instructors. It can be used for self-study or as a comprehensive guide for a full course. Its integration with a GitHub repository further enhances its practicality. In conclusion, this book stands out for its innovative duallanguage instruction, practical approach, and accessibility to beginners."
- Gabriel Wallin in The American Statistician, April 2024






