Esempio n. 1
0
from FileLoader import FileLoader
from SpatioTemporalData import SpatioTemporalData as STD

fl = FileLoader()
data = fl.load("../athlete_events.csv")
std = STD(data)
print(std.when('Paris'))
print(std.where(2016))
Esempio n. 2
0
from FileLoader import FileLoader
loader = FileLoader()

path2 = r"C:\Users\Gabriel\Desktop\Mes documents - Google Drive\DATA\19\day04\athlete_events.csv"
data = loader.load(path2)

from SpatioTemporalData import SpatioTemporalData
sp = SpatioTemporalData(data)
sp.where(1896)

sp.where(2016)

sp.when('Athina')

sp.when('Paris')
Esempio n. 3
0
from FileLoader import FileLoader
from SpatioTemporalData import SpatioTemporalData

fl = FileLoader()
df = fl.load("../resources/athlete_events.csv")
sp = SpatioTemporalData(df)
print(sp.where(1896))
print(sp.where(2016))
print(sp.when('Paris'))
print(sp.when('Athina'))
print(sp.when('London'))
Esempio n. 4
0
from SpatioTemporalData import SpatioTemporalData
from FileLoader import FileLoader

loader = FileLoader()
data = loader.load('../resources/athlete_events.csv')

std = SpatioTemporalData(data)
print(std.when('Paris'))
print(std.when('Athina'))

print(std.where(1900))
print(std.where(2016))
print(std.where(1896))