Flash cards
Review the key moves
What is the main idea behind Data Science Tutorial?
Lesson checks
Practice each idea before moving on
Short Mimo-style checks built from this lesson's code, terms, and sequence.
Which statement best captures the main point of this lesson?
Complete the missing token from the example code.
___ pandas as pdPut the learning moves in the order that makes the concept easiest to apply.
Before charting or modeling a dataset, which move should come first?
Learn Data Science
Today, Data rules the world. This has resulted in a huge demand for Data Scientists.
A Data Scientist helps companies with data-driven decisions, to make their business better.
Example
import pandas as pd
import matplotlib.pyplot as plt
from scipy
import stats
full_health_data = pd.read_csv("data.csv", header=0, sep=",")
x = full_health_data["Average_Pulse"]
y = full_health_data["Calorie_Burnage"]
slope, intercept, r, p, std_err = stats.linregress(x, y)
def myfunc(x):
return
slope * x + intercept
mymodel = list(map(myfunc, x))
plt.scatter(x, y)
plt.plot(x, mymodel)
plt.ylim(ymin=0, ymax=2000)
plt.xlim(xmin=0, xmax=200)
plt.xlabel("Average_Pulse")
plt.ylabel ("Calorie_Burnage")
plt.show()The Python Language
Python is a programming language widely used by Data Scientists.
Python has in-built mathematical libraries and functions, making it easier to calculate mathematical problems and to perform data analysis.
In this tutorial, we will use Python to provide practical examples.
To learn more about Python, please visit our Python Tutorial .