Apr 23, 2023 | Matplotlib, Python
Download Data File: Download import numpy as np import pandas as pd import matplotlib.pyplot as plt import matplotlib.ticker as ticker def millions_and_thousands_formatter(x, pos): if x >= 1_000_000: return f'{x/1_000_000:.1f} MM’ elif x >= 1_000: return...
Apr 20, 2023 | Matplotlib, Python
data_file_download.py from datetime import datetime import time import pandas as pd tickers = [‘TSLA’, ‘AAPL’, ‘AMZN’, ‘UAL’] datasets = {} # year to day today_timestamp = int(datetime.now().timestamp()) for ticker in...
Mar 29, 2023 | OpenAI, Python
In this tutorial, we will learn how to use OpenAI ChatGPT (GPT4) API in Python. If you have never heard of OpenAI before, OpenAI is the company that developed ChatGPT, and OpenAI API is the service that allows developers to access the AI models that creates...