-
>>> print(np.zeros((2,2))) [[0. 0.] [0. 0.]] >>> print(np.zeros((5,5))) [[0. 0. 0. 0. 0.] [0. 0. 0. 0. 0.] [0. 0. 0. 0. 0.] [0. 0. 0. 0. 0.] [0. 0. 0. 0. 0.]] >>>
'Python' 카테고리의 다른 글
Python Pandas DataFrame 자료형 (0) 2022.12.13 Python Pandas DataFrame 기본 예제 (0) 2022.12.13 Python Pandas (0) 2022.12.13 Python Pandas Series 자료형 (0) 2022.12.13 Numpy sqrt, log, max (0) 2022.12.13 Numpy random (0) 2022.12.13 Python Numpy (0) 2022.12.13 Python Re - group (0) 2022.12.13