Commit
•
cbc3958
1
Parent(s):
8019721
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import pandas as pd
|
2 |
+
import matplotlib.pyplot as plt
|
3 |
+
|
4 |
+
|
5 |
+
import plotly.graph_objects as go
|
6 |
+
|
7 |
+
import pandas as pd
|
8 |
+
from datetime import datetime
|
9 |
+
|
10 |
+
df = pd.read_csv('/kaggle/input/nasdaq-daily-stock-prices/AAPL.csv')
|
11 |
+
|
12 |
+
|
13 |
+
print("Min date of dataset: ", df.date.min())
|
14 |
+
print("Max date of dataset: ", df.date.max())
|
15 |
+
|
16 |
+
|
17 |
+
df = df.tail(300)
|