Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
| Download
Views: 647
Image: ubuntu2004
Kernel: Python 3 (system-wide)

Library Importing

import pandas as pd #imports the pandas library to assist with data access
import numpy as np #numpy is a library that import a data structure.
import matplotlib.pyplot as plt #matplot lib is a library that allows us to create visuals of our data and our machine learning model.
import seaborn as sns #another visualization tool

Data Accessing Tools

x = 20
print(x)
20
sat_data = pd.read_csv("2012_SAT_Results.csv")
sat_data.head() #.head
DBN SCHOOL NAME Num of SAT Test Takers SAT Critical Reading Avg. Score SAT Math Avg. Score SAT Writing Avg. Score
0 01M292 HENRY STREET SCHOOL FOR INTERNATIONAL STUDIES 29 355 404 363
1 01M448 UNIVERSITY NEIGHBORHOOD HIGH SCHOOL 91 383 423 366
2 01M450 EAST SIDE COMMUNITY SCHOOL 70 377 402 370
3 01M458 FORSYTH SATELLITE ACADEMY 7 414 401 359
4 01M509 MARTA VALLE HIGH SCHOOL 44 390 433 384