Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Milan Bouchet-Valat <[email protected]>
  • Loading branch information
bkamins and nalimilan authored Nov 12, 2023
1 parent 4138732 commit 88fc054
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/abstractdataframe/abstractdataframe.jl
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ Base.first(df::AbstractDataFrame) = df[1, :]
first(df::AbstractDataFrame, n::Integer; view::Bool=false)
Get a data frame with the `n` first rows of `df`.
If `n` is greater than number of rows of `df` get all rows.
Get all rows if `n` is greater than the number of rows in `df`.
Error if `n` is negative.
If `view=false` a freshly allocated `DataFrame` is returned.
Expand All @@ -585,7 +585,7 @@ Base.last(df::AbstractDataFrame) = df[nrow(df), :]
last(df::AbstractDataFrame, n::Integer; view::Bool=false)
Get a data frame with the `n` last rows of `df`.
If `n` is greater than number of rows of `df` get all rows.
Get all rows if `n` is greater than the number of rows in `df`.
Error if `n` is negative.
If `view=false` a freshly allocated `DataFrame` is returned.
Expand Down

0 comments on commit 88fc054

Please sign in to comment.