Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- plot
- bins
- boxplot
- 한빛미디어
- stripplot
- 혼공단
- histplot
- 참조자
- lmplot
- 열혈c++
- const
- class
- df.t
- LOC
- 구조체
- matplotlib
- STR
- c++
- 포인터
- 혼공파
- 혼공학습단
- seaborn
- violinplot
- Axis
- 동적할당
- swarmplot
- expand=true
- catplot
- value_counts
- 클래스
Archives
- Today
- Total
목록shape (1)
yEverything
Numpy
import numpy array1 = numpy.array([2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31]) array1 numpy를 사용하기 위해 import한다. array1에 numpy를 사용해 array를 저장한다. array1을 출력한다. type(array1) array1의 타입을 알아본다. numpy.ndarray라고 나온다. numpy의 ndarray, n차원 배열이다. array1.shape array1의 shape을 출력한다. 11개가 들어있으므로 위와 같이 출력된다. array2 = numpy.array([[1, 2, 3, 4], [5, 6, 7, 8], [9, 10, 11, 12]]) array2 array2에 다른 numpy array를 저장하고 출력한..
Data_analysis/Jupyter_notebook
2024. 4. 21. 21:54