Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Practical Data Analysis Using Jupyter Notebook

You're reading from   Practical Data Analysis Using Jupyter Notebook Learn how to speak the language of data by extracting useful and actionable insights using Python

Arrow left icon
Product type Paperback
Published in Jun 2020
Publisher Packt
ISBN-13 9781838826031
Length 322 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Marc Wintjen Marc Wintjen
Author Profile Icon Marc Wintjen
Marc Wintjen
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Section 1: Data Analysis Essentials
2. Fundamentals of Data Analysis FREE CHAPTER 3. Overview of Python and Installing Jupyter Notebook 4. Getting Started with NumPy 5. Creating Your First pandas DataFrame 6. Gathering and Loading Data in Python 7. Section 2: Solutions for Data Discovery
8. Visualizing and Working with Time Series Data 9. Exploring, Cleaning, Refining, and Blending Datasets 10. Understanding Joins, Relationships, and Aggregates 11. Plotting, Visualization, and Storytelling 12. Section 3: Working with Unstructured Big Data
13. Exploring Text Data and Unstructured Data 14. Practical Sentiment Analysis 15. Bringing It All Together 16. Works Cited
17. Other Books You May Enjoy

Practical use cases of NumPy and arrays

Let's walk through a practical use case for working with a one-dimensional array in data analysis.Here's the scenario—you are a data analyst who wants to know what is the highest daily closing price for a stock ticker for the current Year To Date (YTD). To do this, you can use an array to store each value as an element, sort the price element from high to low, and then print the first element, which would display the highest price as the output value.

Before loading the file into Jupyter, it is best to inspect the file contents, which supports our Know Your Data (KYD) concept discussed inChapter 1, Fundamentals of Data Analysis.The following screenshot is a comma-delimited, structured dataset with two columns. The file includes a header row with a Date field in the format of YYYY-MM-DD and a field labeled Close, which represents the closing price of the stock by the end of the trading day for this stock ticker.This...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime