{"action":"created","issue":{"url":"https://api.github.com/repos/pandas-dev/pandas/issues/20264","repository_url":"https://api.github.com/repos/pandas-dev/pandas","labels_url":"https://api.github.com/repos/pandas-dev/pandas/issues/20264/labels{/name}","comments_url":"https://api.github.com/repos/pandas-dev/pandas/issues/20264/comments","events_url":"https://api.github.com/repos/pandas-dev/pandas/issues/20264/events","html_url":"https://github.com/pandas-dev/pandas/pull/20264","id":304117119,"number":20264,"title":"DOC\" update the Pandas core window rolling count docstring\"","user":{"login":"scriptomation","id":16555335,"avatar_url":"https://avatars0.githubusercontent.com/u/16555335?v=4","gravatar_id":"","url":"https://api.github.com/users/scriptomation","html_url":"https://github.com/scriptomation","followers_url":"https://api.github.com/users/scriptomation/followers","following_url":"https://api.github.com/users/scriptomation/following{/other_user}","gists_url":"https://api.github.com/users/scriptomation/gists{/gist_id}","starred_url":"https://api.github.com/users/scriptomation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scriptomation/subscriptions","organizations_url":"https://api.github.com/users/scriptomation/orgs","repos_url":"https://api.github.com/users/scriptomation/repos","events_url":"https://api.github.com/users/scriptomation/events{/privacy}","received_events_url":"https://api.github.com/users/scriptomation/received_events","type":"User","site_admin":false},"labels":[{"id":134699,"url":"https://api.github.com/repos/pandas-dev/pandas/labels/Docs","name":"Docs","color":"3465A4","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/pandas-dev/pandas/milestones/53","html_url":"https://github.com/pandas-dev/pandas/milestone/53","labels_url":"https://api.github.com/repos/pandas-dev/pandas/milestones/53/labels","id":2853937,"number":53,"title":"0.23.0","description":"after 0.22","creator":{"login":"jreback","id":953992,"avatar_url":"https://avatars2.githubusercontent.com/u/953992?v=4","gravatar_id":"","url":"https://api.github.com/users/jreback","html_url":"https://github.com/jreback","followers_url":"https://api.github.com/users/jreback/followers","following_url":"https://api.github.com/users/jreback/following{/other_user}","gists_url":"https://api.github.com/users/jreback/gists{/gist_id}","starred_url":"https://api.github.com/users/jreback/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jreback/subscriptions","organizations_url":"https://api.github.com/users/jreback/orgs","repos_url":"https://api.github.com/users/jreback/repos","events_url":"https://api.github.com/users/jreback/events{/privacy}","received_events_url":"https://api.github.com/users/jreback/received_events","type":"User","site_admin":false},"open_issues":148,"closed_issues":1298,"state":"open","created_at":"2017-10-20T10:17:09Z","updated_at":"2018-03-19T21:13:23Z","due_on":"2018-03-31T07:00:00Z","closed_at":null},"comments":3,"created_at":"2018-03-11T00:05:46Z","updated_at":"2018-03-19T21:13:32Z","closed_at":"2018-03-19T21:13:23Z","author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/pandas-dev/pandas/pulls/20264","html_url":"https://github.com/pandas-dev/pandas/pull/20264","diff_url":"https://github.com/pandas-dev/pandas/pull/20264.diff","patch_url":"https://github.com/pandas-dev/pandas/pull/20264.patch"},"body":"Checklist for the pandas documentation sprint (ignore this if you are doing\r\nan unrelated PR):\r\n\r\n- [ ] PR title is \"DOC: update the <your-function-or-method> docstring\"\r\n- [ ] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>`\r\n- [ ] The PEP8 style check passes: `git diff upstream/master -u -- \"*.py\" | flake8 --diff`\r\n- [ ] The html version looks good: `python doc/make.py --single <your-function-or-method>`\r\n- [ ] It has been proofread on language by another sprint participant\r\n\r\nPlease include the output of the validation script below between the \"```\" ticks:\r\n\r\n```\r\n################################################################################\r\n################# Docstring (pandas.core.window.Rolling.count) #################\r\n################################################################################\r\n\r\nThe rolling sum if it is a non-Nan value inside the window.\r\n\r\nReturns\r\n-------\r\nReturns the object type with the sum of the window values\r\nin the current row.\r\n\r\nSee Also\r\n--------\r\nSeries.rolling : Calling object with Series data\r\nDataFrame.rolling : Calling object with DataFrames\r\n\r\nExamples\r\n--------\r\n>>> s = pd.Series([2, 3, np.nan, 'values'])\r\n>>> s.rolling(2).count()\r\n0    1.0\r\n1    2.0\r\n2    1.0\r\n3    1.0\r\ndtype: float64\r\n>>> s.rolling(3).count()\r\n0    1.0\r\n1    2.0\r\n2    2.0\r\n3    2.0\r\ndtype: float64\r\n>>> s.rolling(4).count()\r\n0    1.0\r\n1    2.0\r\n2    2.0\r\n3    3.0\r\ndtype: float64\r\n\r\n################################################################################\r\n################################## Validation ##################################\r\n################################################################################\r\n\r\nErrors found:\r\n\tNo extended summary found\r\n\r\n```\r\n\r\nIf the validation script still gives errors, but you think there is a good reason\r\nto deviate in this case (and there are certainly such cases), please state this\r\nexplicitly.\r\n\r\n\r\nChecklist for other PRs (remove this part if you are doing a PR for the pandas documentation sprint):\r\n\r\n- [ ] closes #xxxx\r\n- [ ] tests added / passed\r\n- [ ] passes `git diff upstream/master -u -- \"*.py\" | flake8 --diff`\r\n- [ ] whatsnew entry\r\n"},"comment":{"url":"https://api.github.com/repos/pandas-dev/pandas/issues/comments/374379701","html_url":"https://github.com/pandas-dev/pandas/pull/20264#issuecomment-374379701","issue_url":"https://api.github.com/repos/pandas-dev/pandas/issues/20264","id":374379701,"user":{"login":"jorisvandenbossche","id":1020496,"avatar_url":"https://avatars2.githubusercontent.com/u/1020496?v=4","gravatar_id":"","url":"https://api.github.com/users/jorisvandenbossche","html_url":"https://github.com/jorisvandenbossche","followers_url":"https://api.github.com/users/jorisvandenbossche/followers","following_url":"https://api.github.com/users/jorisvandenbossche/following{/other_user}","gists_url":"https://api.github.com/users/jorisvandenbossche/gists{/gist_id}","starred_url":"https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorisvandenbossche/subscriptions","organizations_url":"https://api.github.com/users/jorisvandenbossche/orgs","repos_url":"https://api.github.com/users/jorisvandenbossche/repos","events_url":"https://api.github.com/users/jorisvandenbossche/events{/privacy}","received_events_url":"https://api.github.com/users/jorisvandenbossche/received_events","type":"User","site_admin":false},"created_at":"2018-03-19T21:13:32Z","updated_at":"2018-03-19T21:13:32Z","author_association":"OWNER","body":"Thanks for the PR!"}}
{"actor":{"display_login":"jorisvandenbossche"}}