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
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
55
22k
推し書籍📚 / Books and a QA Engineer
ak1210
0
120
データ基盤からデータベースまで?広がるユースケースのDatabricksについて教えるよ!
akuwano
3
160
United airlines®️ USA Contact Numbers: Complete 2025 Support Guide
unitedflyhelp
0
340
サイバーエージェントグループのSRE10年の歩みとAI時代の生存戦略
shotatsuge
4
830
「Chatwork」のEKS環境を支えるhelmfileを使用したマニフェスト管理術
hanayo04
1
240
QuickSight SPICE の効果的な運用戦略~S3 + Athena 構成での実践ノウハウ~/quicksight-spice-s3-athena-best-practices
emiki
0
260
SREの次のキャリアの道しるべ 〜SREがマネジメントレイヤーに挑戦して、 気づいたこととTips〜
coconala_engineer
1
1k
LLM時代の検索
shibuiwilliam
2
640
Delta airlines Customer®️ USA Contact Numbers: Complete 2025 Support Guide
deltahelp
0
1.1k
Operating Operator
shhnjk
1
650
Enhancing SaaS Product Reliability and Release Velocity through Optimized Testing Approach
ropqa
1
250
Featured
See All Featured
Optimizing for Happiness
mojombo
379
70k
Building Applications with DynamoDB
mza
95
6.5k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
47
9.6k
Done Done
chrislema
184
16k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
48
2.9k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
60k
Producing Creativity
orderedlist
PRO
346
40k
Scaling GitHub
holman
460
140k
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
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内で教えていただいた こんな感じの環境を作りたい
おわり