Skip to content

Instantly share code, notes, and snippets.

View rpgd60's full-sized avatar

Rafael Portillo rpgd60

View GitHub Profile
@rpgd60
rpgd60 / 1. Numpy_Introduction.py
Created September 8, 2019 13:29 — forked from shivashriti/1. Numpy_Introduction.py
Python for Data Science
import numpy as np
positions = ['GK', 'M', 'A', 'D']
heights = [191, 184, 185, 180]
# Convert positions and heights to numpy arrays: np_positions, np_heights
np_heights = np.array(heights)
np_positions = np.array(positions)
# Heights of the goalkeepers: gk_heights