반응형
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
- Python
- Redshift
- hive
- c#
- Apache
- numpy
- gas
- Kotlin
- matplotlib
- PANDAS
- Java
- Mac
- django
- 파이썬
- PostgreSQL
- google apps script
- array
- GIT
- string
- Github
- Google Spreadsheet
- list
- Google Excel
- math
- Excel
- SQL
- Tkinter
- dataframe
- PySpark
Archives
- Today
- Total
목록numpy (37)
달나라 노트
Python numpy : linspace (일정 간격으로 나눠진 array 생성하기, 구간 나누기)
linspace(start, stop, num, endpoint=True/False) numpy의 linspase는 start부터 stop까지 num에 표시된 개수의 숫자만큼 동일한 간격을 가질 수 있도록 나눕니다. 무슨 소린지 말로 설명하면 어려우니 실제 예시를 봅시다. import numpy as np np_linspace_test = np.linspace(start=0, stop=10, num=5) print(type(np_linspace_test)) print(np_linspace_test) list_linspace_test = list(np_linspace_test) print(list_linspace_test) -- Result [ 0. 2.5 5. 7.5 10. ] [0.0, 2.5, 5.0..
Python/Python numpy
2021. 3. 29. 22:02