Programming language created in 1989 by Guido van Rossum and developed under a open source license.
def hello(name):
print("Hello ", name)
friends = ["Lou", "David", "Iggy"]
for friend in friends:
hello(friend)
Scientific distribution including Python and many (1500+) specialized packages.
Cloud environment for executing Jupyter notebooks through CPU, GPU or TPU.
import numpy as np
x = np.array([1, 4, 2, 5, 3])
print(x[:2]) # [1 4]
print(x[2:]) # [2 5 3]
print(np.sort(x)) # [1, 2, 3, 4, 5]
In the context of Data Science, a tensor is a set of values stored in a multidimensional array.
Python library for data analysis which gracefully handles heterogeneous data
import pandas as pd
pop = pd.Series({'CAL':38332521, 'TEX':26448193, 'NY':19651127})
area = pd.Series({'CAL':423967, 'TEX':695662, 'NY':141297})
states = pd.DataFrame({'population':pop, 'area':area})
Python library for 2D plotting
import numpy as np
import matplotlib.pyplot as plt
x = np.linspace(0, 10, 100)
plt.plot(x, np.cos(x))
import seaborn as sns
sns.set()