たった数行のPythonコードで打者大谷翔平がどれだけ凄いのかを見てみる...

Click here to load reader

  • date post

    15-Apr-2017
  • Category

    Sports

  • view

    184
  • download

    0

Embed Size (px)

Transcript of たった数行のPythonコードで打者大谷翔平がどれだけ凄いのかを見てみる...

  • Python PyData(Jupyter, pandas)

    ABPro 2016 2016/9/24 Shinichi Nakagawa

  • Starting Member

    Who am I?( )

    2016 ( )

  • Who am I?

    Shinichi Nakagawa(@shinyorke)

    .

    Python PyCon JP 2016 .

    Python .

  • Python & Google News

    http://shinyorke.hatenablog.com/entry/2016/07/03/184739

    http://shinyorke.hatenablog.com/entry/2016/07/03/184739

  • .319/.590/.416 ( / / )

    99/22/65( / / )

  • ( )

    pyenv virtualenv Python 3.3

    Mac

    http://qiita.com/maosanhioro/items/47a52f96fefba7126f9b

    Windows/Linux pyenv virtualenv

    pyvenv

    http://qiita.com/maosanhioro/items/47a52f96fefba7126f9b

  • $ mkdir -p ~/hoge/fuga # $ pyenv virtualenv 3.5.2 py3.5.2_abpro_ohtani$ cd ~/hoge/fuga$ pyenv local py3.5.2_abpro_ohtani$ pip install --upgrade pip$ pip install jupyter jupyterlab pandas lxml html5lib BeautifulSoup4 matplotlib seaborn$ jupyter serverextension enable --py jupyterlab$ jupyter lab

  • https://github.com/Shinichi-Nakagawa/shohei_otani_py

    https://github.com/Shinichi-Nakagawa/shohei_otani_py/blob/master/shohei_otani_stats.ipynb

    https://github.com/Shinichi-Nakagawa/shohei_otani_pyhttps://github.com/Shinichi-Nakagawa/shohei_otani_py/blob/master/shohei_otani_stats.ipynb

  • DH ?

    PyData

    > pandas.read_html(URL) # Table

  • !

    Shinichi Nakagawa(Twitter/Facebook/visasQ:@shinyorke)