Skip to content

Instantly share code, notes, and snippets.

@athergeek
athergeek / PY0101EN-2-4-Sets.ipynb
Created March 6, 2020 06:05
Created on Cognitive Class Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@athergeek
athergeek / PY0101EN-2-4-Sets.ipynb
Created March 6, 2020 06:05
Created on Cognitive Class Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@athergeek
athergeek / PY0101EN-2-4-Sets.ipynb
Created March 6, 2020 06:03
Created on Cognitive Class Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@athergeek
athergeek / PY0101EN-2-4-Sets.ipynb
Created March 6, 2020 06:03
Created on Cognitive Class Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@athergeek
athergeek / PY0101EN-2-4-Sets.ipynb
Created March 6, 2020 06:03
Created on Cognitive Class Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@athergeek
athergeek / PY0101EN-2-4-Sets.ipynb
Created March 6, 2020 06:03
Created on Cognitive Class Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@athergeek
athergeek / PY0101EN-2-4-Sets.ipynb
Created March 6, 2020 06:00
Created on Cognitive Class Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@athergeek
athergeek / PY0101EN-2-4-Sets.ipynb
Created March 6, 2020 06:00
Created on Cognitive Class Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import numpy as np
import pandas as pd
import random as rand
world_df = pd.read_csv('world01.csv',
names=[1, 2, 3, 4, 5, 6, 7, 8, 9, 10])
# Change world as multi dimensional array
world = world_df.values
print(world)