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?

More than 3 years have passed since last update.

僕のNumpy(Python)

Last updated at Posted at 2019-12-13

自分用のまとめ
随時更新
自分が使った、調べたコマンドを記載
自分がわかればいいからところどころ用語が間違ってるかも

!見方

#コマンド
    #引数のオプションの説明

###モジュール読み込み

import numpy as np

##頻出操作

#numpyの配列を作る。
array = np.array()

#配列を変形する
array.reshape([:])
    #引数の行と列のどちらかを-1にするともう一方の引数から自動計算してくれる

配列なんて「listでいいべ」と思うかもしれないが、numpy.array()の方が、いろいろな操作ができて、なおかつ、listよりもfor文を回す時に遥かに速いらしい。

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?