XG

작성일자 : 2023-12-28 Ver 0.1.1 슈팅 데이터 불러오기¶ In [1]: import os import numpy as np import pandas as pd import plotly.graph_objects as go new_dir = '/Users/limjongjun/Desktop/JayJay/Growth/Python/soccer-analytics' os.chdir(new_dir) from src.plot_utils import get_pitch_layout In [2]: shots = pd.read_pickle('data/shots.pkl') shots Out[2]: competition_name match_id event_id period time team_id team_name ..
작성일자 : 2023-12-26 Ver 0.1.1 강의에서 소개된 파이썬 주요 기능¶ statsmodels.formula.api.glm: https://www.statsmodels.org/dev/generated/statsmodels.formula.api.glm.html statsmodels.genmod.generalized_linear_model.GLM: https://www.statsmodels.org/dev/generated/statsmodels.genmod.generalized_linear_model.GLM.html statsmodels.genmod.generalized_linear_model.GLM.fit: https://www.statsmodels.org/dev/generated/statsmo..
작성일자 : 2023-12-24 Ver 0.1.1 In [1]: # 필요 패키지 불러오기 import os import pandas as pd import numpy as np from tqdm import tqdm In [2]: # 현대 디렉토리 확인 current_dir = os.getcwd() current_dir Out[2]: '/Users/limjongjun/Desktop/JayJay/Growth/Python/soccer-analytics/Excercise' In [3]: # Data가 있는 디렉토리로 변경 new_dir = '/Users/limjongjun/Desktop/JayJay/Growth/Python/soccer-analytics' os.chdir(new_dir) prin..
Unlimited Jun
'XG' 태그의 글 목록