반응형
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 |
Tags
- list
- Java
- Redshift
- Github
- 파이썬
- Kotlin
- django
- PySpark
- Python
- Mac
- google apps script
- Tkinter
- Apache
- GIT
- c#
- math
- array
- Google Spreadsheet
- numpy
- SQL
- PANDAS
- dataframe
- hive
- string
- matplotlib
- Excel
- gas
- PostgreSQL
- Google Excel
Archives
- Today
- Total
목록first list (1)
달나라 노트
Kotlin - partition
Original source = play.kotlinlang.org/byExample/01_introduction/01_Hello%20world fun main() { var list_fruit = listOf("Apple", "PineApple", "Red_Strawberry", "Red_Apple", "Yellow_Banana", "Yellow_Yellowmelon") // 1 var var_part = list_fruit.partition() {x -> x.contains("Apple")} // 2 println(var_part) // 3 println(var_part.first) // 4 println(var_part.second) // 5 var (var_apple, var_not_apple) ..
Kotlin
2021. 3. 16. 00:34