Skip to content

Conversation

@jb8429
Copy link
Contributor

@jb8429 jb8429 commented Oct 8, 2019

Fixed all PR08 and PR09 issues in pandas.Series.

  • closes #28738
  • passes black pandas

* Series
* Series:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@datapythonista do we want the blank lines on 2280, 2283, 2285, ...?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if we have a convention for that, but I don't think so. I think it'll be more readable without them, and markdown requires them for some implementations, but I don't think rst does.

Copy link
Member

@datapythonista datapythonista left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job, added few comments.

Note that the first line of Returns is the type (they look like description, but they shouldn't be). So, no period at the end should be added. See: https://dev.pandas.io/docs/development/contributing_docstring.html#section-4-returns-or-yields

* Series
* Series:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if we have a convention for that, but I don't think so. I think it'll be more readable without them, and markdown requires them for some implementations, but I don't think rst does.

* 'backfill' / 'bfill': use NEXT valid observation to fill.
how : {'start', 'end'}, default end
For PeriodIndex only, see PeriodIndex.asfreq
For PeriodIndex only (see PeriodIndex.asfreq).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using next should make it a link I think:

:meth:`PeriodIndex.asfreq`

Copy link
Member

@datapythonista datapythonista left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm, thanks for all these fixes @jackbicknell14

@datapythonista datapythonista merged commit 18a9e4c into pandas-dev:master Oct 14, 2019
@datapythonista
Copy link
Member

Thanks a lot for the fixes @jackbicknell14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants