from FileLoader import FileLoader from MyPlotLib import MyPlotLib from Komparator import Komparator fl = FileLoader() df = fl.load("../resources/athlete_events.csv") mpl = MyPlotLib()
from FileLoader import FileLoader from MyPlotLib import MyPlotLib loader = FileLoader() data = loader.load('../resources/athlete_events.csv') mpt = MyPlotLib() features = ['Weight', 'Height'] mpt.histogram(data, ['Weight', 'Height']) #mpt.density(data, features)
from FileLoader import FileLoader from MyPlotLib import MyPlotLib as mpl loader = FileLoader() data = loader.load("./athlete_events.csv") x = ["Height", "Weight"] y = ["Weight", "Height"] mpl.histogram(data, x) mpl.density(data, y) mpl.pair_plot(data, y) mpl.box_plot(data, y)
#!/usr/bin/env python3 from FileLoader import FileLoader from MyPlotLib import MyPlotLib loader = FileLoader() data = loader.load('../resources/athlete_events.csv') mpl = MyPlotLib() mpl.histogram(data, ('Age', ))
from MyPlotLib import MyPlotLib as plt import pandas as pd df = pd.read_csv('../data/athlete_events.csv') plt.histogram(df, ['Height', 'Weight']) plt.density(df, ['Height', 'Weight']) plt.pair_plot(df, ['Height', 'Weight']) plt.box_plot(df, ['Height', 'Weight'])
from MyPlotLib import MyPlotLib from FileLoader import FileLoader import matplotlib.pyplot as plt import numpy as np loader = FileLoader() data = loader.load('../ex00/athlete_events.csv') plting = MyPlotLib() MyPlotLib.histogram(plting, data, ["City", "Weight", "Height"])
from FileLoader import FileLoader from MyPlotLib import MyPlotLib fl = FileLoader() df = fl.load("../resources/athlete_events.csv") mpl = MyPlotLib() mpl.histogram(df, ["Height", "Weight"]) mpl.density(df, ["Height", "Weight"]) mpl.pair_plot(df, ["Height", "Weight"]) mpl.box_plot(df, ["Height", "Weight"])
from FileLoader import FileLoader from MyPlotLib import MyPlotLib fl = FileLoader() df = fl.load("../resources/athlete_events.csv") mpl = MyPlotLib() mpl.histogram(df, 'Year', 'Height')
from FileLoader import FileLoader from MyPlotLib import MyPlotLib fl = FileLoader() data = fl.load("../athlete_events.csv") pl = MyPlotLib() pl.histogram(data, ["Height", "Weight"]) pl.density(data, ["Weight", "Height"]) pl.pair_plot(data, ["Weight", "Height"]) pl.box_plot(data, ["Weight", "Height"])