Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
分析環境紹介LT / the introduction of as my analysis env is
Search
masso
December 06, 2020
Technology
0
77
分析環境紹介LT / the introduction of as my analysis env is
(Pythonを中心とした)分析環境を紹介するLTのスライド
#データラーニングギルド
masso
December 06, 2020
Tweet
Share
More Decks by masso
See All by masso
データ解釈学入門 第一部 / Data hermeneutics Part 1
masso
8
2k
時系列分析と状態空間モデリングの基礎 / Foundations of Time Series Analysis and State Space Models 0
masso
0
440
わかりやすいパターン認識2章 / Pattern Recognition Manual Easy to understand SS 02
masso
0
620
わかりやすいパターン認識1章 / Pattern Recognition Manual Easy to understand SS 01
masso
0
130
データ解析のための統計モデリング入門6章 / Handbook-of-statistical-modeling-for-data-analysis-section6
masso
0
220
DLGが目指すコミュニティの形 / DLG Community Objective
masso
0
2.2k
PowerAutomateによる社員健康状態集計システム / Employee health status tabulation system with Power Automate
masso
0
1.3k
Other Decks in Technology
See All in Technology
アクセス制御にまつわる改善 / Improving access control
itkq
0
550
Cypress or Playwright?
rainerhahnekamp
0
110
AWSに詳しくない人でも始められるコスト最適化ガイド
yuhta28
1
250
今年のRubyKaigiはProfiler Year🤘
osyoyu
0
170
サーバー間 GraphQL と webmock-graphql の話 / server-to-server graphql and webmock-graphql
qsona
2
190
Além do else! Categorizando Pokemóns com Pattern Matching no JavaScript
wmsbill
0
640
障害対応をちょっとずつよくしていくための 演習の作りかた
heleeen
0
230
非同期推論システムによるコスト削減と信頼性向上
koki_nishihara
0
260
Building Dashboards as a Hobby
egmc
0
230
FrontDoorとWebAppsを組み合わせた際のリダイレクト処理の注意点
kenichirokimura
1
530
エンジニア候補者向け資料2024.04.24.pdf
macloud
0
3.3k
Cloud Native Java with Spring Boot (CNCF Aarhus, April 2024)
thomasvitale
1
180
Featured
See All Featured
Building an army of robots
kneath
300
41k
How STYLIGHT went responsive
nonsquared
92
4.8k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
17
1.4k
In The Pink: A Labor of Love
frogandcode
138
21k
Art, The Web, and Tiny UX
lynnandtonic
289
19k
Building Flexible Design Systems
yeseniaperezcruz
319
37k
From Idea to $5000 a Month in 5 Months
shpigford
377
45k
Building Your Own Lightsaber
phodgson
99
5.7k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
187
16k
Put a Button on it: Removing Barriers to Going Fast.
kastner
58
3.1k
Infographics Made Easy
chrislema
238
18k
Fantastic passwords and where to find them - at NoRuKo
philnash
37
2.5k
Transcript
何の⼯夫もされてない 分析環境をさらすので アドバイスください Python分析環境LT by masso
結論 • Python実⾏環境 / 仮想環境 – Pyenv+venv • Pythonパッケージ管理 –
pip+requirements.txt • JupyterNotebook / Lab – 普通にブラウザで実⾏ • SQL on BigQuery – 単体SQLはクエリエディタ、プログラムとセットの場合は Pythonクライアントを使って実⾏
Python実⾏環境 / 仮想環境 • PyenvでPythonランタイム管理 – $ pyenv install 3.7.7
– $ pyenv local 3.7.7 • venvで仮想環境作成 – $ python -m venv env – $ source env/bin/activate – $ deactivate
Pythonパッケージ管理 • xxx パッケージいるなー • pip install xxx • pip
freeze | grep xxx >> requirements.txt
JupyterNotebook / Lab $ jupyter notebook
SQL on BigQuery • 現状 – BigQueryのクエリエディタで編集 • 今後 –
Git + GitHub で管理したい(参考)
SQL on BigQuery ギルドSlack「雑談」チャンネルにて 以前、ギルドSlack内で教えていただいた こんな感じの環境を作りたい
おわり