반응형
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
- string
- Excel
- Redshift
- django
- GIT
- Apache
- Google Spreadsheet
- Tkinter
- array
- 파이썬
- numpy
- Github
- Python
- dataframe
- hive
- Java
- math
- Mac
- matplotlib
- google apps script
- Kotlin
- PySpark
- gas
- PANDAS
- SQL
- PostgreSQL
- Google Excel
- list
- c#
Archives
- Today
- Total
목록arange (1)
달나라 노트
Python numpy : arange (특정 범위 내에서 1차원 array 생성하기)
Syntax numpy.arange(start_num, end_num, gap) arange method는 위처럼 사용할 수 있습니다. start_num부터 시작해서 (start_num도 포함) end_num을 넘지 않는 숫자까지 (end_num은 포함안함) gap에 명시된 간격이 되도록 array를 생성합니다. import numpy as np arr_test = np.arange(3, 10, 1) print(arr_test) -- Result [3 4 5 6 7 8 9] 3부터 시작하여 10보다 작은 숫자 구간 내에서 1의 간격으로 array를 생성합니다. import numpy as np arr_test = np.arange(2, 11, 2) print(arr_test) -- Result [ 2 4..
Python/Python numpy
2021. 8. 6. 02:04