Skip to content

Added a link to the missed datset titanic.csv #389

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,310 changes: 1,310 additions & 0 deletions data/titanic.csv

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions docs/StardustDocs/topics/KPropertiesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,5 @@ val passengers = DataFrame.read("titanic.csv")
```

<!---END-->

The `titanic.csv` file could be found [here](https://github.com/Kotlin/dataframe/blob/master/data/titanic.csv).
2 changes: 2 additions & 0 deletions docs/StardustDocs/topics/apiLevels.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ df.add("lastName") { name.split(",").last() }

</tabs>

The `titanic.csv` file could be found [here](https://github.com/Kotlin/dataframe/blob/master/data/titanic.csv).

# Comparing the APIs

The [String API](stringApi.md) is the simplest and unsafest of them all. The main advantage of it is that it can be
Expand Down
2 changes: 2 additions & 0 deletions docs/StardustDocs/topics/columnAccessorsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ DataFrame.read("titanic.csv")

<!---END-->

The `titanic.csv` file could be found [here](https://github.com/Kotlin/dataframe/blob/master/data/titanic.csv).

<warning>
Note that it still doesn’t solve the problem of whether the column actually exists in a data frame, but reduces type casting.
</warning>
2 changes: 2 additions & 0 deletions docs/StardustDocs/topics/extensionPropertiesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ df.add("lastName") { name.split(",").last() }

<!---END-->

The `titanic.csv` file could be found [here](https://github.com/Kotlin/dataframe/blob/master/data/titanic.csv).

In notebooks, extension properties are generated for [`DataSchema`](schemas.md) that is extracted from [`DataFrame`](DataFrame.md)
instance after REPL line execution.
After that [`DataFrame`](DataFrame.md) variable is typed with its own [`DataSchema`](schemas.md), so only valid extension properties corresponding to actual columns in DataFrame will be allowed by the compiler and suggested by completion.
Expand Down
2 changes: 2 additions & 0 deletions docs/StardustDocs/topics/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ df.groupBy { pclass }.aggregate {
}
```

The `titanic.csv` file could be found [here](https://github.com/Kotlin/dataframe/blob/master/data/titanic.csv).

**Create:**
```kotlin
// create columns
Expand Down
2 changes: 2 additions & 0 deletions docs/StardustDocs/topics/stringApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ DataFrame.read("titanic.csv")

<!---END-->

The `titanic.csv` file could be found [here](https://github.com/Kotlin/dataframe/blob/master/data/titanic.csv).

<warning>
Note that if data frame doesn’t contain column with the string provided, or you try to cast to the wrong type it will lead to runtime exception.
</warning>