Plotting stock price data in Python

"""Plot High prices for ITC"""

import pandas as pd
import matplotlib.pyplot as plt

def test_run():
    df = pd.read_csv("data/ITC.csv")
    df['High'].plot()
    plt.show()  # must be called to show plots


if __name__ == "__main__":
    test_run()
(Visited 35 times, 1 visits today)

Leave a Reply

Your email address will not be published. Required fields are marked *

Solve : *
17 − 16 =