Mathew K Analytics

📊 Dataset · CSV

stocks.csv dataset

Download stocks.csv free (2,306 rows × 6 columns, 148.1 KB). Preview the rows and columns, load it in pandas in one line and practise with 6 Python lessons.

Preview (first rows)

MSFTIBMSBUXAAPLGSPCDate
23.95070580.51796216.14966611.0866121416.5999762007-01-03
23.91059981.37885116.16799211.3326871418.3399662007-01-04
23.77424280.64212916.09926911.2519841409.7099612007-01-05
24.00685281.86724416.0397111.307551412.8399662007-01-08
24.03091482.83574215.97098912.246871412.1099852007-01-09
23.79028481.85896415.92059212.8329511414.8499762007-01-10
24.62446981.66029916.40622812.6741941423.8199462007-01-11
25.03353882.23146216.44746212.5180821430.729982007-01-12

Columns

ColumnTypeMissingExample
MSFTdecimal023.950705
IBMdecimal080.517962
SBUXdecimal016.149666
AAPLdecimal011.086612
GSPCdecimal01416.599976
Datetext02007-01-03

Load it in Python

import pandas as pd
df = pd.read_csv("stocks.csv")
df.head()