Download the dataset TSLA.csv from the course website and import the data from that file into a
Fantastic news! We've Found the answer you've been seeking!
Question:
Download the dataset TSLA.csv from the course website and import the data from that file into a Python data frame using Pandas. The dataset contains daily opening, high, low, and closing prices for Tesla, Inc. stock for the past five years. Please print a notebook containing your code and output for this question, and attach it to your assignment.
(a) (5 points) Print the head and the tail of that data frame.
(b) (8 points) Plot the closing price of Tesla, Inc. stock over time.
(c) (7 points) Generate a histogram showing the frequency distribution of Tesla, Inc. closing prices in this sample.
Related Book For
Business Analytics Data Analysis And Decision Making
ISBN: 9780357109953
7th Edition
Authors: S. Christian Albright, Wayne L. Winston
Posted Date: