LoginSignup
1
0

More than 5 years have passed since last update.

pandas基本コマンドまとめ

Last updated at Posted at 2018-11-08

よく使うコマンドをまとめておきます(随時更新)

読み込み

基本のパッケージ読み込み

import pandas as pd

importする際パッケージ全体ではなく、パッケージの階層構造中に存在する一部のモジュールだけを呼び出したいときは以下のように書く

from パッケージ名 import モジュール名

#例
from collections import Counter

csvファイルの読み込み

pd.read_csv("xxx.csv")

※事前にpandasをimportする必要あり

1
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
1
0