Skip to content

Commit 0fb667f

Browse files
authored
markdown typos (#3142)
1 parent 1f96f79 commit 0fb667f

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ It is recommended to add the header `# Examples` above the doctests.
144144
commit that might confuse GitHub when displaying the diff of your PR, which makes your changes more
145145
difficult to review. Alternatively use conflict resolution tool available at GitHub;
146146
* Please try to use descriptive commit messages to simplify the review process;
147-
* Using `git add -p` or `git add -i` can be useful to avoid accidently committing unrelated changes;
147+
* Using `git add -p` or `git add -i` can be useful to avoid accidentally committing unrelated changes;
148148
* Maintainers get notified of all changes made on GitHub. However, what is useful is writing a short
149149
message after a sequence of changes is made summarizing what has changed and that the PR is ready
150150
for a review;

NEWS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@
494494
old `name => function` order is now deprecated
495495
([#2401](https://github.com/JuliaData/DataFrames.jl/pull/2401))
496496
* in joins passing `NaN` or real or imaginary `-0.0` in `on` column now throws an
497-
error; passing `missing` thows an error unless `matchmissing=:equal` keyword argument
497+
error; passing `missing` throws an error unless `matchmissing=:equal` keyword argument
498498
is passed ([#2504](https://github.com/JuliaData/DataFrames.jl/pull/2504))
499499
* `unstack` now produces row and column keys in the order of their first appearance
500500
and has two new keyword arguments `allowmissing` and `allowduplicates`
@@ -533,7 +533,7 @@
533533
as a suffix in automatically generated column names
534534
([#2397](https://github.com/JuliaData/DataFrames.jl/pull/2397))
535535
* `filter`, `sort`, `dropmissing`, and `unique` now support a `view` keyword argument
536-
which if set to `true` makes them retun a `SubDataFrame` view into the passed
536+
which if set to `true` makes them return a `SubDataFrame` view into the passed
537537
data frame.
538538
* add `only` method for `AbstractDataFrame` ([#2449](https://github.com/JuliaData/DataFrames.jl/pull/2449))
539539
* passing empty sets of columns in `filter`/`filter!` and in `select`/`transform`/`combine`

docs/src/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ integrated they are with DataFrames.jl.
6767
- [GLM.jl](https://juliastats.org/GLM.jl/stable/manual/): Tools for estimating
6868
linear and generalized linear models. Tightly integrated with DataFrames.jl.
6969
- [StatsModels.jl](https://juliastats.org/StatsModels.jl/stable/):
70-
For converting heterogeneous `DataFrame` into homogenous matrices for use
70+
For converting heterogeneous `DataFrame` into homogeneous matrices for use
7171
with linear algebra libraries or machine learning applications that don't
7272
directly support `DataFrame`s. Will do things like convert categorical
7373
variables into indicators/one-hot-encodings, create interaction terms, etc.
@@ -138,7 +138,7 @@ integrated they are with DataFrames.jl.
138138
While not all of these libraries are tightly integrated with DataFrames.jl,
139139
because `DataFrame`s are essentially collections of aligned Julia vectors, so it
140140
is easy to (a) pull out a vector for use with a non-DataFrames-integrated
141-
library, or (b) convert your table into a homogenously-typed matrix using the
141+
library, or (b) convert your table into a homogeneously-typed matrix using the
142142
`Matrix` constructor or StatsModels.jl.
143143

144144
### Other Julia Tabular Libraries

docs/src/man/basics.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ german_ref = CSV.read(joinpath(dirname(pathof(DataFrames)),
279279
- first we split the directory part from it using `dirname`;
280280
- then from this directory we need to move to the directory where the `german.csv` file is stored; we use
281281
`joinpath` as this is a recommended way to compose paths to resources stored on disk in an operating
282-
system independent way (remember that Widnows and Unix differ as they use either `/` or `\` as path
282+
system independent way (remember that Windows and Unix differ as they use either `/` or `\` as path
283283
separator; the `joinpath` function ensures we are not running into issues with this);
284284
- then we read the CSV file; the second argument to `CSV.read` is `DataFrame` to indicate that we want to
285285
read in the file into a `DataFrame` (as `CSV.read` allows for many different target formats of data it
@@ -556,7 +556,7 @@ julia> describe(german)
556556
1 column omitted
557557
```
558558

559-
To limit the columns processed by `desribe` use `cols` keyword argument, e.g.:
559+
To limit the columns processed by `describe` use `cols` keyword argument, e.g.:
560560

561561
```jldoctest dataframe
562562
julia> describe(german, cols=1:3)
@@ -824,7 +824,7 @@ julia> german[!, :Sex]
824824
"male"
825825
```
826826

827-
As it was explained earler in this tutorial the difference between using `!` and `:`
827+
As it was explained earlier in this tutorial the difference between using `!` and `:`
828828
when passing a row index is that `!` does not perform a copy of columns, while `:` does.
829829
Therefore `german[!, [:Sex]]` data frame stores the same vector as the source `german` data frame,
830830
while `german[:, [:Sex]]` stores its copy.

docs/src/man/reshaping_and_pivoting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ julia> permutedims(df1, 1)
393393
Note that the column indexed by `src_colnames` in the original `df`
394394
becomes the column names in the permuted result,
395395
and the column names of the original become a new column.
396-
Typically, this would be used on columns with homogenous element types,
396+
Typically, this would be used on columns with homogeneous element types,
397397
since the element types of the other columns
398398
are the result of `promote_type` on _all_ the permuted columns.
399399
Note also that, by default, the new column created from the column names

0 commit comments

Comments
 (0)