0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Databricksのチュートリアルをやってみた(Day1.データをクエリして可視化)

Last updated at Posted at 2025-05-02

前提

・利用環境:Databricks

参考ドキュメント

操作手順(動画)

手順

1.新しいノートブックを作成する

①「新規」→「ノートブック」をクリック
image.png

2.テーブルのクエリを実行する

①次のコードをコピーして、新しい空のノートブックセルに貼り付ける
SELECT * FROM samples.nyctaxi.trips
②Shift+Enterを押してセルを実行もしくは、実行ボタンをクリック
image.png

3.データを表示する

①テーブル タブの横にある「+」をクリックし、「可視化」をクリック
image.png
②以下を参考に設定し、保存
Visualization type:Bar
X column:fare_amount
Y columns:trip_distance
集計タイプ:Average
Group by:pickup_zip
image.png
以上

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?