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?

【備忘録】numpy.r_とnumpy.c_

Last updated at Posted at 2025-03-02

numpy.r_とnumpy.c_

  • r_は配列をAxis=0(行、縦)方向に結合
  • c_は配列をAxis=1(列、横)方向に結合。ってか拡張?少しくせがある。

numpy.c_の基本的な使い方

  • 2つの1D配列を列方向に結合する。
    入力:
  • {AB87FBFB-59CD-46D6-9C26-6B521F9F1323}.png
    出力:
    {7A0E2195-9E54-43FE-9A1D-766333AD186A}.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?