# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3
#     language: python
#     name: python3
# ---

import numpy as np

ND = np.array([1,2,3,4,5])
ND

PL = [1,2,3,4,5]
PL

ND = np.array([[1,2,3,4,5], [1,2,3,4,5]])
ND

ND.shape

ND.ndim

ND.dtype

type(ND)

ND.size

ND3 = np.array([[[1,2,3,4,5], [1,2,3,4,5]], [[1,2,3,4,5], [1,2,3,4,5]]])
ND3

ND3.ndim

ND3.size

ND3.shape

ND0 = np.array(4)
ND0

type(ND0)

ND0.ndim

NDX = np.array([4])
NDX

NDX.ndim



StarcoderdataJupyterScriptsDedupFiltered