Skip to content

Commit

Permalink
Small docs fixes (#1077)
Browse files Browse the repository at this point in the history
I apparently missed these occurrences when removing these functions.
  • Loading branch information
nalimilan authored and quinnj committed Sep 2, 2017
1 parent faef41f commit 8a3a9b1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/src/man/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ To see more of the functionality for working with `DataFrame` objects, we need a
For example, we can access Fisher's iris data set using the following functions:

```julia
iris = DataFrames.loadiris()
iris = readtable(joinpath(Pkg.dir("DataFrames"), "test/data/iris.csv"))
head(iris)
```

Expand Down
4 changes: 2 additions & 2 deletions docs/src/man/pooling.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ By default, a `CategoricalArray` is able to represent 2<sup>32</sup>differents l
cv = compact(cv)
```

Often, you will have factors encoded inside a DataFrame with `Array` or `NullableArray` columns instead of `CategoricalArray` or `NullableCategoricalArray` columns. You can do conversion of a single column using the `categorize` function:
Often, you will have factors encoded inside a DataFrame with `Array` or `NullableArray` columns instead of `CategoricalArray` or `NullableCategoricalArray` columns. You can do conversion of a single column using the `categorical` function:

```julia
cv = categorize(v)
cv = categorical(v)
```

Or you can edit the columns of a `DataFrame` in-place using the `categorical!` function:
Expand Down
2 changes: 1 addition & 1 deletion docs/src/man/split_apply_combine.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ We show several examples of the `by` function applied to the `iris` dataset belo

```julia
using DataFrames
iris = DataFrames.loadiris()
iris = readtable(joinpath(Pkg.dir("DataFrames"), "test/data/iris.csv"))

by(iris, :Species, size)
by(iris, :Species, df -> mean(dropnull(df[:PetalLength])))
Expand Down

0 comments on commit 8a3a9b1

Please sign in to comment.