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 e...
Search
masso
December 06, 2020
Technology
0
120
分析環境紹介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
Stacktrace for rs/zerolog users
masso
0
300
データ解釈学入門 第一部 / Data hermeneutics Part 1
masso
8
2.2k
時系列分析と状態空間モデリングの基礎 / Foundations of Time Series Analysis and State Space Models 0
masso
1
610
わかりやすいパターン認識2章 / Pattern Recognition Manual Easy to understand SS 02
masso
0
980
わかりやすいパターン認識1章 / Pattern Recognition Manual Easy to understand SS 01
masso
0
180
データ解析のための統計モデリング入門6章 / Handbook-of-statistical-modeling-for-data-analysis-section6
masso
0
540
DLGが目指すコミュニティの形 / DLG Community Objective
masso
0
2.6k
PowerAutomateによる社員健康状態集計システム / Employee health status tabulation system with Power Automate
masso
0
1.5k
Other Decks in Technology
See All in Technology
OpenTelemetryセマンティック規約の恩恵とMackerel APMにおける活用例 / SRE NEXT 2025
mackerelio
2
900
マネジメントって難しい、けどおもしろい / Management is tough, but fun! #em_findy
ar_tama
7
1.2k
Lufthansa ®️ USA Contact Numbers: Complete 2025 Support Guide
lufthanahelpsupport
0
220
How to Quickly Call American Airlines®️ U.S. Customer Care : Full Guide
flyaahelpguide
0
160
Lakebaseを使ったAIエージェントを実装してみる
kameitomohiro
0
160
事例で学ぶ!B2B SaaSにおけるSREの実践例/SRE for B2B SaaS: A Real-World Case Study
bitkey
1
170
United airlines®️ USA Contact Numbers: Complete 2025 Support Guide
unitedflyhelp
0
330
cdk initで生成されるあのファイル達は何なのか/cdk-init-generated-files
tomoki10
0
230
Glacierだからってコストあきらめてない? / JAWS Meet Glacier Cost
taishin
1
180
さくらのIaaS基盤のモニタリングとOpenTelemetry/OSC Hokkaido 2025
fujiwara3
3
460
改めてAWS WAFを振り返る~業務で使うためのポイント~
masakiokuda
2
310
How Do I Contact HP Printer Support? [Full 2025 Guide for U.S. Businesses]
harrry1211
0
130
Featured
See All Featured
Large-scale JavaScript Application Architecture
addyosmani
512
110k
Embracing the Ebb and Flow
colly
86
4.7k
Producing Creativity
orderedlist
PRO
346
40k
Typedesign – Prime Four
hannesfritz
42
2.7k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Practical Orchestrator
shlominoach
189
11k
GraphQLの誤解/rethinking-graphql
sonatard
71
11k
The Cost Of JavaScript in 2023
addyosmani
51
8.5k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
Building an army of robots
kneath
306
45k
Visualization
eitanlees
146
16k
Intergalactic Javascript Robots from Outer Space
tanoku
271
27k
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内で教えていただいた こんな感じの環境を作りたい
おわり