init research

This commit is contained in:
2026-02-08 11:20:43 -10:00
commit bdf064f54d
3041 changed files with 1592200 additions and 0 deletions
+44
View File
@@ -0,0 +1,44 @@
[//]: # (title: Select columns)
<!---IMPORT org.jetbrains.kotlinx.dataframe.samples.api.Access-->
Two ways to create [`DataFrame`](DataFrame.md) with a subset of columns:
**selecting:**
<!---FUN select-->
<tabs>
<tab title="Properties">
```kotlin
df.select { age and weight }
```
</tab>
<tab title="Strings">
```kotlin
df.select { "age" and "weight" }
df.select("age", "weight")
```
</tab></tabs>
<inline-frame src="resources/org.jetbrains.kotlinx.dataframe.samples.api.Access.select.html" width="100%"/>
<!---END-->
**Related operations**: [remove](remove.md)
See [column selectors](ColumnSelectors.md)
**indexing:**
<!---FUN getColumnsByName-->
```kotlin
df["age", "weight"]
```
<inline-frame src="resources/org.jetbrains.kotlinx.dataframe.samples.api.Access.getColumnsByName.html" width="100%"/>
<!---END-->
See [DataFrame indexing](indexing.md)