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
110
分析環境紹介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
220
データ解釈学入門 第一部 / Data hermeneutics Part 1
masso
8
2.1k
時系列分析と状態空間モデリングの基礎 / Foundations of Time Series Analysis and State Space Models 0
masso
0
550
わかりやすいパターン認識2章 / Pattern Recognition Manual Easy to understand SS 02
masso
0
870
わかりやすいパターン認識1章 / Pattern Recognition Manual Easy to understand SS 01
masso
0
150
データ解析のための統計モデリング入門6章 / Handbook-of-statistical-modeling-for-data-analysis-section6
masso
0
510
DLGが目指すコミュニティの形 / DLG Community Objective
masso
0
2.5k
PowerAutomateによる社員健康状態集計システム / Employee health status tabulation system with Power Automate
masso
0
1.4k
Other Decks in Technology
See All in Technology
Reading Code Is Harder Than Writing It
trishagee
2
120
白金鉱業Meetup Vol.17_あるデータサイエンティストのデータマネジメントとの向き合い方
brainpadpr
7
970
エンジニアが加速させるプロダクトディスカバリー 〜最速で価値ある機能を見つける方法〜 / product discovery accelerated by engineers
rince
4
510
デスクトップだけじゃないUbuntu
mtyshibata
0
600
「正しく」失敗できる チームの作り方 〜リアルな事例から紐解く失敗を恐れない組織とは〜 / A team that can fail correctly
i35_267
2
680
次世代KYC活動報告 / 20250219-BizDay17-KYC-nextgen
oidfj
0
460
速くて安いWebサイトを作る
nishiharatsubasa
15
15k
LINEギフトにおけるバックエンド開発
lycorptech_jp
PRO
0
170
利用終了したドメイン名の最強終活〜観測環境を育てて、分析・供養している件〜 / The Ultimate End-of-Life Preparation for Discontinued Domain Names
nttcom
2
360
IAMポリシーのAllow/Denyについて、改めて理解する
smt7174
2
180
脳波を用いた嗜好マッチングシステム
hokkey621
0
260
一度 Expo の採用を断念したけど、 再度 Expo の導入を検討している話
ichiki1023
1
250
Featured
See All Featured
Fontdeck: Realign not Redesign
paulrobertlloyd
83
5.4k
The Cost Of JavaScript in 2023
addyosmani
47
7.3k
It's Worth the Effort
3n
184
28k
The Power of CSS Pseudo Elements
geoffreycrofte
75
5.5k
Speed Design
sergeychernyshev
27
800
Designing Experiences People Love
moore
140
23k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
VelocityConf: Rendering Performance Case Studies
addyosmani
328
24k
Product Roadmaps are Hard
iamctodd
PRO
50
11k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.4k
Done Done
chrislema
182
16k
Visualization
eitanlees
146
15k
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内で教えていただいた こんな感じの環境を作りたい
おわり