url
stringlengths
55
59
repository_url
stringclasses
1 value
labels_url
stringlengths
69
73
comments_url
stringlengths
64
68
events_url
stringlengths
62
66
html_url
stringlengths
44
49
id
int64
338k
1.06B
node_id
stringlengths
18
32
number
int64
1
44.6k
title
stringlengths
1
590
user
dict
labels
listlengths
0
9
state
stringclasses
2 values
locked
bool
2 classes
assignee
dict
assignees
listlengths
0
5
milestone
dict
comments
int64
0
477
created_at
timestamp[us, tz=UTC]
updated_at
timestamp[us, tz=UTC]
closed_at
timestamp[us, tz=UTC]
author_association
stringclasses
3 values
active_lock_reason
stringclasses
4 values
body
stringlengths
0
251k
reactions
dict
timeline_url
stringlengths
64
68
performed_via_github_app
float64
draft
float64
0
1
pull_request
dict
https://api.github.com/repos/pandas-dev/pandas/issues/13304
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13304/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13304/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13304/events
https://github.com/pandas-dev/pandas/issues/13304
157,207,649
MDU6SXNzdWUxNTcyMDc2NDk=
13,304
order not preserved when constructing DataFrame from a list of OrderedDicts
{ "avatar_url": "https://avatars.githubusercontent.com/u/1292507?v=4", "events_url": "https://api.github.com/users/ilrico/events{/privacy}", "followers_url": "https://api.github.com/users/ilrico/followers", "following_url": "https://api.github.com/users/ilrico/following{/other_user}", "gists_url": "https://api.github.com/users/ilrico/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ilrico", "id": 1292507, "login": "ilrico", "node_id": "MDQ6VXNlcjEyOTI1MDc=", "organizations_url": "https://api.github.com/users/ilrico/orgs", "received_events_url": "https://api.github.com/users/ilrico/received_events", "repos_url": "https://api.github.com/users/ilrico/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ilrico/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ilrico/subscriptions", "type": "User", "url": "https://api.github.com/users/ilrico" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
4
2016-05-27T13:32:58Z
2016-05-31T14:31:03Z
2016-05-31T14:31:03Z
NONE
null
issue is explained here: http://stackoverflow.com/questions/37484738/pandas-dataframe-construction-from-a-list-of-ordereddict-preserving-columns-ord?noredirect=1#comment62465925_37484738 workaround with constructor option "columns" works but not elegant.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13304/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13304/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13305
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13305/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13305/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13305/events
https://github.com/pandas-dev/pandas/issues/13305
157,265,935
MDU6SXNzdWUxNTcyNjU5MzU=
13,305
dataframe.columns.name attribute value is missing when dataframe.style is rendered
{ "avatar_url": "https://avatars.githubusercontent.com/u/1165563?v=4", "events_url": "https://api.github.com/users/nmontpetit/events{/privacy}", "followers_url": "https://api.github.com/users/nmontpetit/followers", "following_url": "https://api.github.com/users/nmontpetit/following{/other_user}", "gists_url": "https://api.github.com/users/nmontpetit/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nmontpetit", "id": 1165563, "login": "nmontpetit", "node_id": "MDQ6VXNlcjExNjU1NjM=", "organizations_url": "https://api.github.com/users/nmontpetit/orgs", "received_events_url": "https://api.github.com/users/nmontpetit/received_events", "repos_url": "https://api.github.com/users/nmontpetit/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nmontpetit/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nmontpetit/subscriptions", "type": "User", "url": "https://api.github.com/users/nmontpetit" }
[ { "color": "ededed", "default": false, "description": "__repr__ of pandas objects, to_string", "id": 13101118, "name": "Output-Formatting", "node_id": "MDU6TGFiZWwxMzEwMTExOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting" }, { "color": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
1
2016-05-27T18:32:42Z
2016-05-27T20:02:24Z
2016-05-27T20:02:12Z
NONE
null
The `name` attribute of `dataframe.columns` does not get populated when rendering the `dataframe.style` property of the dataframe. This behavior occurs regardless of whether I set `styler.columns.name` explicitly. #### Code Sample, a copy-pastable example if possible import pandas as pd test_df = pd.DataFrame({'A':range(4), 'B':range(4)}) test_df.columns.name = 'x_label' test_df.index.name = 'y_label' styler = test_df.style styler.columns.name = 'x_label' styler.render() HTML output: This is from `styler.render()`: ``` <tr> <th class="blank"> <th class="col_heading level0 col0">A <th class="col_heading level0 col1">B </tr> ``` #### Expected Output ``` <tr> <th class="blank">x_label <th class="col_heading level0 col0">A <th class="col_heading level0 col1">B </tr> ``` #### output of `pd.show_versions()` ## INSTALLED VERSIONS commit: None python: 2.7.11.final.0 python-bits: 64 OS: Windows OS-release: 7 machine: AMD64 processor: Intel64 Family 6 Model 61 Stepping 4, GenuineIntel byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.18.1 nose: 1.3.7 pip: 8.1.1 setuptools: 20.3 Cython: 0.23.4 numpy: 1.10.4 scipy: 0.17.0 statsmodels: 0.6.1 xarray: None IPython: 4.1.2 sphinx: 1.3.5 patsy: 0.4.0 dateutil: 2.5.1 pytz: 2016.2 blosc: None bottleneck: 1.0.0 tables: 3.2.2 numexpr: 2.5 matplotlib: 1.5.1 openpyxl: 2.3.2 xlrd: 0.9.4 xlwt: 1.0.0 xlsxwriter: 0.8.4 lxml: 3.6.0 bs4: 4.4.1 html5lib: None httplib2: None apiclient: None sqlalchemy: 1.0.12 pymysql: None psycopg2: None jinja2: 2.8 boto: 2.39.0
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13305/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13305/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13306
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13306/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13306/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13306/events
https://github.com/pandas-dev/pandas/issues/13306
157,302,384
MDU6SXNzdWUxNTczMDIzODQ=
13,306
Hour overflow in tz-aware datetime conversions
{ "avatar_url": "https://avatars.githubusercontent.com/u/19616257?v=4", "events_url": "https://api.github.com/users/dlpd/events{/privacy}", "followers_url": "https://api.github.com/users/dlpd/followers", "following_url": "https://api.github.com/users/dlpd/following{/other_user}", "gists_url": "https://api.github.com/users/dlpd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dlpd", "id": 19616257, "login": "dlpd", "node_id": "MDQ6VXNlcjE5NjE2MjU3", "organizations_url": "https://api.github.com/users/dlpd/orgs", "received_events_url": "https://api.github.com/users/dlpd/received_events", "repos_url": "https://api.github.com/users/dlpd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dlpd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dlpd/subscriptions", "type": "User", "url": "https://api.github.com/users/dlpd" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "5319e7", "default": false, "description": "Timezone data dtype", "id": 60458168, "name": "Timezones", "node_id": "MDU6TGFiZWw2MDQ1ODE2OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
10
2016-05-27T22:38:17Z
2016-06-02T18:00:21Z
2016-06-02T18:00:21Z
NONE
null
Comparison of tz-aware timestamps fails across DST boundaries. The comment in tslib.pyx:3845 ``` # TODO: this assumed sortedness :/ ``` perhaps implies this is a known problem that was never resolved, so apologies if a new issue is not appropriate. #### Self contained example ``` import pandas as pd import numpy as np # Manifesting issue: ts_listA = ['2008-05-12 09:50:00-04:00', '2008-05-12 09:50:18-04:00', '2008-05-12 09:50:33-04:00', '2008-05-12 09:50:33-04:00', '2008-12-12 09:50:35-05:00', '2008-05-12 09:50:32-04:00', '2008-05-12 09:49:15-04:00', '2008-05-12 09:50:49-04:00', '2008-05-12 09:50:54-04:00'] ts_listB = ['2008-05-12 09:50:34-04:00', '2008-05-12 09:50:35-04:00', '2008-05-12 09:50:36-04:00', '2008-05-12 09:50:40-04:00', '2008-05-12 09:50:42-04:00', '2008-05-12 09:50:43-04:00', '2008-05-12 09:50:55-04:00', '2008-05-12 09:50:55-04:00', '2008-05-12 09:50:57-04:00'] df = pd.DataFrame({'dtA' : pd.to_datetime(ts_listA).tz_localize('US/Eastern'), 'dtB' : pd.to_datetime(ts_listB).tz_localize('US/Eastern')}) print (df.dtA - df.dtB) / pd.Timedelta('1 minutes') # Underlying tslib.tz_convert call - similar problem asi8 = np.array([1210600200000000000, 1210600218000000000, 1210600233000000000, 1210600233000000000, 1229093435000000000, 1210600232000000000, 1210600155000000000, 1210600249000000000, 1210600254000000000]) tz = pd.Timestamp('2008-05-12 12:00:00').tz_localize('US/Eastern').tz result = pd.tslib.tz_convert(asi8, 'UTC', tz) print pd.to_datetime(asi8) print pd.to_datetime(result) ``` #### Output Expected output: ``` 0 -0.566667 1 -0.283333 2 -0.050000 3 -0.116667 4 308219.883333 5 -0.183333 6 -1.666667 7 -0.100000 8 -0.050000 Name: dtA, dtype: float64 ``` Actual output of timedelta computation: ``` 0 -0.566667 1 -0.283333 2 -0.050000 3 -0.116667 4 308219.883333 5 -60.183333 6 -61.666667 7 -60.100000 8 -60.050000 Name: dtA, dtype: float64 ``` Computed timedelta for rows after the 2008-12-12 date are off by an hour. Output of tz_convert: ``` DatetimeIndex(['2008-05-12 13:50:00', '2008-05-12 13:50:18', '2008-05-12 13:50:33', '2008-05-12 13:50:33', '2008-12-12 14:50:35', '2008-05-12 13:50:32', '2008-05-12 13:49:15', '2008-05-12 13:50:49', '2008-05-12 13:50:54'], dtype='datetime64[ns]', freq=None) DatetimeIndex(['2008-05-12 09:50:00', '2008-05-12 09:50:18', '2008-05-12 09:50:33', '2008-05-12 09:50:33', '2008-12-12 09:50:35', '2008-05-12 08:50:32', '2008-05-12 08:49:15', '2008-05-12 08:50:49', '2008-05-12 08:50:54'], dtype='datetime64[ns]', freq=None) ``` #### output of `pd.show_versions()` ``` INSTALLED VERSIONS ------------------ commit: None python: 2.7.9.final.0 python-bits: 64 OS: Linux OS-release: 2.6.32-504.1.3.el6.x86_64 machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.17.1 nose: None pip: 8.1.1 setuptools: 20.3 Cython: None numpy: 1.8.1 scipy: None statsmodels: None IPython: None sphinx: None patsy: None dateutil: 2.5.3 pytz: 2016.4 blosc: None bottleneck: None tables: None numexpr: None matplotlib: None openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml: None bs4: None html5lib: None httplib2: None apiclient: None sqlalchemy: 1.0.12 pymysql: None psycopg2: 2.6.1 (dt dec pq3 ext) Jinja2: None ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13306/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13306/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13307
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13307/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13307/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13307/events
https://github.com/pandas-dev/pandas/pull/13307
157,303,382
MDExOlB1bGxSZXF1ZXN0NzE3ODE3NzQ=
13,307
Fix series comparison operators when dealing with zero rank numpy arrays
{ "avatar_url": "https://avatars.githubusercontent.com/u/50109?v=4", "events_url": "https://api.github.com/users/gliptak/events{/privacy}", "followers_url": "https://api.github.com/users/gliptak/followers", "following_url": "https://api.github.com/users/gliptak/following{/other_user}", "gists_url": "https://api.github.com/users/gliptak/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gliptak", "id": 50109, "login": "gliptak", "node_id": "MDQ6VXNlcjUwMTA5", "organizations_url": "https://api.github.com/users/gliptak/orgs", "received_events_url": "https://api.github.com/users/gliptak/received_events", "repos_url": "https://api.github.com/users/gliptak/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gliptak/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gliptak/subscriptions", "type": "User", "url": "https://api.github.com/users/gliptak" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
5
2016-05-27T22:48:21Z
2016-06-03T15:04:28Z
2016-06-03T15:04:18Z
CONTRIBUTOR
null
- [x] closes #13006 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13307/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13307/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13307.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13307", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13307.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13307" }
https://api.github.com/repos/pandas-dev/pandas/issues/13308
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13308/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13308/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13308/events
https://github.com/pandas-dev/pandas/issues/13308
157,303,399
MDU6SXNzdWUxNTczMDMzOTk=
13,308
ImportError: cannot import name 'hashtable'
{ "avatar_url": "https://avatars.githubusercontent.com/u/361447?v=4", "events_url": "https://api.github.com/users/klonuo/events{/privacy}", "followers_url": "https://api.github.com/users/klonuo/followers", "following_url": "https://api.github.com/users/klonuo/following{/other_user}", "gists_url": "https://api.github.com/users/klonuo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/klonuo", "id": 361447, "login": "klonuo", "node_id": "MDQ6VXNlcjM2MTQ0Nw==", "organizations_url": "https://api.github.com/users/klonuo/orgs", "received_events_url": "https://api.github.com/users/klonuo/received_events", "repos_url": "https://api.github.com/users/klonuo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/klonuo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/klonuo/subscriptions", "type": "User", "url": "https://api.github.com/users/klonuo" }
[ { "color": "75507B", "default": false, "description": "Library building on various platforms", "id": 129350, "name": "Build", "node_id": "MDU6TGFiZWwxMjkzNTA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build" }, { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
null
4
2016-05-27T22:48:33Z
2016-05-27T22:55:53Z
2016-05-27T22:52:41Z
CONTRIBUTOR
null
I cloned this repo and tried to generate docs: ``` pytb D:\src\pandas\doc>python make.py html [NbConvertApp] Converting notebook source/html-styling.ipynb to html [NbConvertApp] Writing 620631 bytes to source\source/html-styling.html Traceback (most recent call last): File "c:\python35\lib\runpy.py", line 170, in _run_module_as_main "__main__", mod_spec) File "c:\python35\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Python35\Scripts\jupyter-nbconvert.exe\__main__.py", line 9, in <module> File "c:\python35\lib\site-packages\jupyter_core\application.py", line 267, in launch_instance return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs) File "c:\python35\lib\site-packages\traitlets\config\application.py", line 596, in launch_instance app.start() File "c:\python35\lib\site-packages\nbconvert\nbconvertapp.py", line 293, in start self.convert_notebooks() File "c:\python35\lib\site-packages\nbconvert\nbconvertapp.py", line 457, in convert_notebooks self.convert_single_notebook(notebook_filename) File "c:\python35\lib\site-packages\nbconvert\nbconvertapp.py", line 429, in convert_single_notebook write_results = self.write_single_notebook(output, resources) File "c:\python35\lib\site-packages\nbconvert\nbconvertapp.py", line 390, in write_single_notebook output, resources, notebook_name=notebook_name) File "c:\python35\lib\site-packages\nbconvert\writers\files.py", line 127, in write with io.open(dest, 'w', encoding='utf-8') as f: FileNotFoundError: [Errno 2] No such file or directory: 'source\\source/html-styling.html' Running Sphinx v1.4.1 Exception occurred while building, starting debugger: Traceback (most recent call last): File "D:\src\pandas\pandas\__init__.py", line 25, in <module> from pandas import hashtable, tslib, lib ImportError: cannot import name 'hashtable' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "c:\python35\lib\site-packages\sphinx\cmdline.py", line 243, in main opts.warningiserror, opts.tags, opts.verbosity, opts.jobs) File "c:\python35\lib\site-packages\sphinx\application.py", line 132, in __init__ confoverrides or {}, self.tags) File "c:\python35\lib\site-packages\sphinx\config.py", line 289, in __init__ execfile_(filename, config) File "c:\python35\lib\site-packages\sphinx\util\pycompat.py", line 130, in execfile_ exec_(code, _globals) File "conf.py", line 16, in <module> File "D:\src\pandas\pandas\__init__.py", line 31, in <module> "the C extensions first.".format(module)) ImportError: C extension: 'hashtable' not built. If you want to import pandas from the source directory, you may need to run 'python setup.py build_ext --inplace --force' to build the C extensions first. > d:\src\pandas\pandas\__init__.py(31)<module>() -> "the C extensions first.".format(module)) (Pdb) q 'rm' is not recognized as an internal or external command, operable program or batch file. The system cannot find the path specified. ``` I noticed this exception `ImportError: cannot import name 'hashtable'` maybe 2 years ago, and as it's still here I thought to report it. FYI, just in case, exception has nothing to do with nbconvert failure
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13308/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13308/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13309
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13309/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13309/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13309/events
https://github.com/pandas-dev/pandas/pull/13309
157,312,261
MDExOlB1bGxSZXF1ZXN0NzE3ODgwMDg=
13,309
ENH: Respect Key Ordering for OrderedDict List in DataFrame Init
{ "avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4", "events_url": "https://api.github.com/users/gfyoung/events{/privacy}", "followers_url": "https://api.github.com/users/gfyoung/followers", "following_url": "https://api.github.com/users/gfyoung/following{/other_user}", "gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gfyoung", "id": 9273653, "login": "gfyoung", "node_id": "MDQ6VXNlcjkyNzM2NTM=", "organizations_url": "https://api.github.com/users/gfyoung/orgs", "received_events_url": "https://api.github.com/users/gfyoung/received_events", "repos_url": "https://api.github.com/users/gfyoung/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions", "type": "User", "url": "https://api.github.com/users/gfyoung" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
3
2016-05-28T00:50:03Z
2016-05-31T14:31:05Z
2016-05-31T14:31:03Z
MEMBER
null
Title is self-explanatory. Closes #13304.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13309/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13309/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13309.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13309", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13309.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13309" }
https://api.github.com/repos/pandas-dev/pandas/issues/13310
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13310/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13310/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13310/events
https://github.com/pandas-dev/pandas/pull/13310
157,317,708
MDExOlB1bGxSZXF1ZXN0NzE3OTE0NTI=
13,310
DOC: remove references to deprecated numpy negation method
{ "avatar_url": "https://avatars.githubusercontent.com/u/1642081?v=4", "events_url": "https://api.github.com/users/mortada/events{/privacy}", "followers_url": "https://api.github.com/users/mortada/followers", "following_url": "https://api.github.com/users/mortada/following{/other_user}", "gists_url": "https://api.github.com/users/mortada/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mortada", "id": 1642081, "login": "mortada", "node_id": "MDQ6VXNlcjE2NDIwODE=", "organizations_url": "https://api.github.com/users/mortada/orgs", "received_events_url": "https://api.github.com/users/mortada/received_events", "repos_url": "https://api.github.com/users/mortada/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mortada/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mortada/subscriptions", "type": "User", "url": "https://api.github.com/users/mortada" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
2
2016-05-28T03:17:01Z
2016-05-28T17:30:48Z
2016-05-28T17:30:44Z
CONTRIBUTOR
null
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13310/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13310/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13310.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13310", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13310.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13310" }
https://api.github.com/repos/pandas-dev/pandas/issues/13311
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13311/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13311/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13311/events
https://github.com/pandas-dev/pandas/pull/13311
157,318,936
MDExOlB1bGxSZXF1ZXN0NzE3OTIxMjA=
13,311
TST: Make numpy_array test strict
{ "avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4", "events_url": "https://api.github.com/users/sinhrks/events{/privacy}", "followers_url": "https://api.github.com/users/sinhrks/followers", "following_url": "https://api.github.com/users/sinhrks/following{/other_user}", "gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sinhrks", "id": 1696302, "login": "sinhrks", "node_id": "MDQ6VXNlcjE2OTYzMDI=", "organizations_url": "https://api.github.com/users/sinhrks/orgs", "received_events_url": "https://api.github.com/users/sinhrks/received_events", "repos_url": "https://api.github.com/users/sinhrks/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions", "type": "User", "url": "https://api.github.com/users/sinhrks" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
2
2016-05-28T03:59:42Z
2016-05-28T17:26:33Z
2016-05-28T17:26:17Z
MEMBER
null
- [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` 2 changes to make tests more strict: - `assert_numpy_array_equal` now checks input is `np.ndarray` - `assert_almost_equal` now checks inputs are the same class.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13311/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13311/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13311.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13311", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13311.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13311" }
https://api.github.com/repos/pandas-dev/pandas/issues/13312
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13312/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13312/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13312/events
https://github.com/pandas-dev/pandas/pull/13312
157,320,553
MDExOlB1bGxSZXF1ZXN0NzE3OTI5OTU=
13,312
DOC: Fix read_stata docstring
{ "avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4", "events_url": "https://api.github.com/users/sinhrks/events{/privacy}", "followers_url": "https://api.github.com/users/sinhrks/followers", "following_url": "https://api.github.com/users/sinhrks/following{/other_user}", "gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sinhrks", "id": 1696302, "login": "sinhrks", "node_id": "MDQ6VXNlcjE2OTYzMDI=", "organizations_url": "https://api.github.com/users/sinhrks/orgs", "received_events_url": "https://api.github.com/users/sinhrks/received_events", "repos_url": "https://api.github.com/users/sinhrks/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions", "type": "User", "url": "https://api.github.com/users/sinhrks" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "5319e7", "default": false, "description": "read_stata, to_stata", "id": 104865385, "name": "IO Stata", "node_id": "MDU6TGFiZWwxMDQ4NjUzODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Stata" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
1
2016-05-28T04:51:59Z
2016-05-29T14:45:37Z
2016-05-29T14:45:37Z
MEMBER
null
- [x] passes `git diff upstream/master | flake8 --diff` Found docstring example is broken: - http://pandas.pydata.org/pandas-docs/stable/generated/pandas.read_stata.html
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13312/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13312/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13312.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13312", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13312.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13312" }
https://api.github.com/repos/pandas-dev/pandas/issues/13313
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13313/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13313/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13313/events
https://github.com/pandas-dev/pandas/pull/13313
157,325,137
MDExOlB1bGxSZXF1ZXN0NzE3OTUxNjY=
13,313
Fix #13306: Hour overflow in tz-aware datetime conversions.
{ "avatar_url": "https://avatars.githubusercontent.com/u/534011?v=4", "events_url": "https://api.github.com/users/uwedeportivo/events{/privacy}", "followers_url": "https://api.github.com/users/uwedeportivo/followers", "following_url": "https://api.github.com/users/uwedeportivo/following{/other_user}", "gists_url": "https://api.github.com/users/uwedeportivo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/uwedeportivo", "id": 534011, "login": "uwedeportivo", "node_id": "MDQ6VXNlcjUzNDAxMQ==", "organizations_url": "https://api.github.com/users/uwedeportivo/orgs", "received_events_url": "https://api.github.com/users/uwedeportivo/received_events", "repos_url": "https://api.github.com/users/uwedeportivo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/uwedeportivo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/uwedeportivo/subscriptions", "type": "User", "url": "https://api.github.com/users/uwedeportivo" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "Timezone data dtype", "id": 60458168, "name": "Timezones", "node_id": "MDU6TGFiZWw2MDQ1ODE2OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
12
2016-05-28T07:07:58Z
2016-06-02T18:01:05Z
2016-06-02T18:00:21Z
CONTRIBUTOR
null
- [x] closes #13306 - [x] tests passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry Bug: tz-converting tz-aware DateTimeIndex relied on index being sorted for correct results.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13313/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13313/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13313.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13313", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13313.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13313" }
https://api.github.com/repos/pandas-dev/pandas/issues/13314
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13314/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13314/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13314/events
https://github.com/pandas-dev/pandas/pull/13314
157,360,050
MDExOlB1bGxSZXF1ZXN0NzE4MTMzNzc=
13,314
BUG: Check for NaN after data conversion to numeric
{ "avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4", "events_url": "https://api.github.com/users/gfyoung/events{/privacy}", "followers_url": "https://api.github.com/users/gfyoung/followers", "following_url": "https://api.github.com/users/gfyoung/following{/other_user}", "gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gfyoung", "id": 9273653, "login": "gfyoung", "node_id": "MDQ6VXNlcjkyNzM2NTM=", "organizations_url": "https://api.github.com/users/gfyoung/orgs", "received_events_url": "https://api.github.com/users/gfyoung/received_events", "repos_url": "https://api.github.com/users/gfyoung/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions", "type": "User", "url": "https://api.github.com/users/gfyoung" }
[ { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
5
2016-05-28T22:45:50Z
2016-05-30T13:44:38Z
2016-05-30T13:44:38Z
MEMBER
null
In an attempt to squash a Python parser bug in which weirdly-formed floats weren't being checked for `nan`, the bug was traced back to a bug in the `maybe_convert_numeric` function of `pandas/src/inference.pyx`. Added tests for the bug in `test_lib.py` and adjusted the original `nan` tests in `na_values.py` to test all of the engines.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13314/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13314/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13314.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13314", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13314.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13314" }
https://api.github.com/repos/pandas-dev/pandas/issues/13315
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13315/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13315/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13315/events
https://github.com/pandas-dev/pandas/pull/13315
157,371,207
MDExOlB1bGxSZXF1ZXN0NzE4MTkxNjU=
13,315
ENH: Add SemiMonthEnd and SemiMonthBegin offsets #1543
{ "avatar_url": "https://avatars.githubusercontent.com/u/4293818?v=4", "events_url": "https://api.github.com/users/adrienemery/events{/privacy}", "followers_url": "https://api.github.com/users/adrienemery/followers", "following_url": "https://api.github.com/users/adrienemery/following{/other_user}", "gists_url": "https://api.github.com/users/adrienemery/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/adrienemery", "id": 4293818, "login": "adrienemery", "node_id": "MDQ6VXNlcjQyOTM4MTg=", "organizations_url": "https://api.github.com/users/adrienemery/orgs", "received_events_url": "https://api.github.com/users/adrienemery/received_events", "repos_url": "https://api.github.com/users/adrienemery/repos", "site_admin": false, "starred_url": "https://api.github.com/users/adrienemery/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/adrienemery/subscriptions", "type": "User", "url": "https://api.github.com/users/adrienemery" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
25
2016-05-29T06:00:25Z
2016-06-14T22:18:52Z
2016-06-14T21:22:16Z
CONTRIBUTOR
null
- [x] closes #1543 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13315/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13315/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13315.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13315", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13315.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13315" }
https://api.github.com/repos/pandas-dev/pandas/issues/13316
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13316/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13316/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13316/events
https://github.com/pandas-dev/pandas/pull/13316
157,380,290
MDExOlB1bGxSZXF1ZXN0NzE4MjQwMTU=
13,316
BUG: Groupby.nth includes group key inconsistently #12839
{ "avatar_url": "https://avatars.githubusercontent.com/u/16600886?v=4", "events_url": "https://api.github.com/users/adneu/events{/privacy}", "followers_url": "https://api.github.com/users/adneu/followers", "following_url": "https://api.github.com/users/adneu/following{/other_user}", "gists_url": "https://api.github.com/users/adneu/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/adneu", "id": 16600886, "login": "adneu", "node_id": "MDQ6VXNlcjE2NjAwODg2", "organizations_url": "https://api.github.com/users/adneu/orgs", "received_events_url": "https://api.github.com/users/adneu/received_events", "repos_url": "https://api.github.com/users/adneu/repos", "site_admin": false, "starred_url": "https://api.github.com/users/adneu/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/adneu/subscriptions", "type": "User", "url": "https://api.github.com/users/adneu" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
9
2016-05-29T10:46:11Z
2016-07-06T21:48:23Z
2016-07-06T21:47:54Z
CONTRIBUTOR
null
- [x] closes #12839 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry When the group selection changes, the cache for `_selected_obj` needs to be reset so that `nth`, `head`, and `tail` can return consistent results.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13316/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13316/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13316.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13316", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13316.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13316" }
https://api.github.com/repos/pandas-dev/pandas/issues/13317
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13317/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13317/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13317/events
https://github.com/pandas-dev/pandas/pull/13317
157,386,031
MDExOlB1bGxSZXF1ZXN0NzE4MjcwOTY=
13,317
add compression support for 'read_pickle' and 'to_pickle'
{ "avatar_url": "https://avatars.githubusercontent.com/u/9129006?v=4", "events_url": "https://api.github.com/users/goldenbull/events{/privacy}", "followers_url": "https://api.github.com/users/goldenbull/followers", "following_url": "https://api.github.com/users/goldenbull/following{/other_user}", "gists_url": "https://api.github.com/users/goldenbull/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/goldenbull", "id": 9129006, "login": "goldenbull", "node_id": "MDQ6VXNlcjkxMjkwMDY=", "organizations_url": "https://api.github.com/users/goldenbull/orgs", "received_events_url": "https://api.github.com/users/goldenbull/received_events", "repos_url": "https://api.github.com/users/goldenbull/repos", "site_admin": false, "starred_url": "https://api.github.com/users/goldenbull/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/goldenbull/subscriptions", "type": "User", "url": "https://api.github.com/users/goldenbull" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" }, { "color": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" } ]
closed
false
null
[]
{ "closed_at": "2017-05-06T10:20:19Z", "closed_issues": 987, "created_at": "2016-02-08T15:30:21Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.19.x series", "due_on": "2017-05-12T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/39", "id": 1570595, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels", "node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==", "number": 39, "open_issues": 0, "state": "closed", "title": "0.20.0", "updated_at": "2018-10-28T08:18:42Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39" }
31
2016-05-29T13:19:02Z
2017-03-09T16:24:19Z
2017-03-09T15:25:04Z
CONTRIBUTOR
null
closes #11666 My code is not pythonic enough, maybe need some refactor. Any comment is welcome.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13317/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13317/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13317.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13317", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13317.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13317" }
https://api.github.com/repos/pandas-dev/pandas/issues/13318
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13318/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13318/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13318/events
https://github.com/pandas-dev/pandas/issues/13318
157,402,882
MDU6SXNzdWUxNTc0MDI4ODI=
13,318
ERR: cut/qcut need better error message when passing invalid input
{ "avatar_url": "https://avatars.githubusercontent.com/u/1199593?v=4", "events_url": "https://api.github.com/users/simonm3/events{/privacy}", "followers_url": "https://api.github.com/users/simonm3/followers", "following_url": "https://api.github.com/users/simonm3/following{/other_user}", "gists_url": "https://api.github.com/users/simonm3/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonm3", "id": 1199593, "login": "simonm3", "node_id": "MDQ6VXNlcjExOTk1OTM=", "organizations_url": "https://api.github.com/users/simonm3/orgs", "received_events_url": "https://api.github.com/users/simonm3/received_events", "repos_url": "https://api.github.com/users/simonm3/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonm3/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonm3/subscriptions", "type": "User", "url": "https://api.github.com/users/simonm3" }
[ { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" }, { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" }, { "color": "006b75", "default": false, "description": "quantile method", "id": 1631984902, "name": "quantile", "node_id": "MDU6TGFiZWwxNjMxOTg0OTAy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/quantile" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/16509490?v=4", "events_url": "https://api.github.com/users/ryankarlos/events{/privacy}", "followers_url": "https://api.github.com/users/ryankarlos/followers", "following_url": "https://api.github.com/users/ryankarlos/following{/other_user}", "gists_url": "https://api.github.com/users/ryankarlos/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ryankarlos", "id": 16509490, "login": "ryankarlos", "node_id": "MDQ6VXNlcjE2NTA5NDkw", "organizations_url": "https://api.github.com/users/ryankarlos/orgs", "received_events_url": "https://api.github.com/users/ryankarlos/received_events", "repos_url": "https://api.github.com/users/ryankarlos/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ryankarlos/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ryankarlos/subscriptions", "type": "User", "url": "https://api.github.com/users/ryankarlos" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/16509490?v=4", "events_url": "https://api.github.com/users/ryankarlos/events{/privacy}", "followers_url": "https://api.github.com/users/ryankarlos/followers", "following_url": "https://api.github.com/users/ryankarlos/following{/other_user}", "gists_url": "https://api.github.com/users/ryankarlos/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ryankarlos", "id": 16509490, "login": "ryankarlos", "node_id": "MDQ6VXNlcjE2NTA5NDkw", "organizations_url": "https://api.github.com/users/ryankarlos/orgs", "received_events_url": "https://api.github.com/users/ryankarlos/received_events", "repos_url": "https://api.github.com/users/ryankarlos/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ryankarlos/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ryankarlos/subscriptions", "type": "User", "url": "https://api.github.com/users/ryankarlos" } ]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
11
2016-05-29T20:02:46Z
2020-01-07T21:18:35Z
2020-01-07T21:18:35Z
NONE
null
Labels=False means use integers as category names To use the category labels I would expect to say labels=True but instead you have to say labels=None. It seems illogical to say labels=None when you want labels.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13318/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13318/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13319
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13319/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13319/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13319/events
https://github.com/pandas-dev/pandas/pull/13319
157,409,766
MDExOlB1bGxSZXF1ZXN0NzE4Mzk5MjU=
13,319
TST: Parser tests refactoring
{ "avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4", "events_url": "https://api.github.com/users/gfyoung/events{/privacy}", "followers_url": "https://api.github.com/users/gfyoung/followers", "following_url": "https://api.github.com/users/gfyoung/following{/other_user}", "gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gfyoung", "id": 9273653, "login": "gfyoung", "node_id": "MDQ6VXNlcjkyNzM2NTM=", "organizations_url": "https://api.github.com/users/gfyoung/orgs", "received_events_url": "https://api.github.com/users/gfyoung/received_events", "repos_url": "https://api.github.com/users/gfyoung/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions", "type": "User", "url": "https://api.github.com/users/gfyoung" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
2
2016-05-29T22:33:11Z
2016-05-30T14:21:44Z
2016-05-30T14:21:42Z
MEMBER
null
1) Moved no columns test from CParser-only to `common.py` 2) Moved erroneous placed skiprows tests into their proper place
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13319/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13319/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13319.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13319", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13319.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13319" }
https://api.github.com/repos/pandas-dev/pandas/issues/13320
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13320/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13320/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13320/events
https://github.com/pandas-dev/pandas/pull/13320
157,409,838
MDExOlB1bGxSZXF1ZXN0NzE4Mzk5Njk=
13,320
BUG: Parse trailing NaN values for the Python parser
{ "avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4", "events_url": "https://api.github.com/users/gfyoung/events{/privacy}", "followers_url": "https://api.github.com/users/gfyoung/followers", "following_url": "https://api.github.com/users/gfyoung/following{/other_user}", "gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gfyoung", "id": 9273653, "login": "gfyoung", "node_id": "MDQ6VXNlcjkyNzM2NTM=", "organizations_url": "https://api.github.com/users/gfyoung/orgs", "received_events_url": "https://api.github.com/users/gfyoung/received_events", "repos_url": "https://api.github.com/users/gfyoung/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions", "type": "User", "url": "https://api.github.com/users/gfyoung" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
6
2016-05-29T22:35:20Z
2016-06-01T11:14:00Z
2016-06-01T11:10:08Z
MEMBER
null
Fixes bug in which the Python parser failed to detect trailing `NaN` values in rows
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13320/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13320/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13320.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13320", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13320.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13320" }
https://api.github.com/repos/pandas-dev/pandas/issues/13321
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13321/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13321/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13321/events
https://github.com/pandas-dev/pandas/pull/13321
157,412,114
MDExOlB1bGxSZXF1ZXN0NzE4NDEyNjI=
13,321
ENH: add support for na_filter in Python engine
{ "avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4", "events_url": "https://api.github.com/users/gfyoung/events{/privacy}", "followers_url": "https://api.github.com/users/gfyoung/followers", "following_url": "https://api.github.com/users/gfyoung/following{/other_user}", "gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gfyoung", "id": 9273653, "login": "gfyoung", "node_id": "MDQ6VXNlcjkyNzM2NTM=", "organizations_url": "https://api.github.com/users/gfyoung/orgs", "received_events_url": "https://api.github.com/users/gfyoung/received_events", "repos_url": "https://api.github.com/users/gfyoung/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions", "type": "User", "url": "https://api.github.com/users/gfyoung" }
[ { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" }, { "color": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
5
2016-05-29T23:36:32Z
2016-05-31T13:14:55Z
2016-05-31T13:14:26Z
MEMBER
null
Title is self-explanatory.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13321/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13321/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13321.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13321", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13321.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13321" }
https://api.github.com/repos/pandas-dev/pandas/issues/13322
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13322/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13322/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13322/events
https://github.com/pandas-dev/pandas/issues/13322
157,413,143
MDU6SXNzdWUxNTc0MTMxNDM=
13,322
categories in HDFStore don't filter correctly
{ "avatar_url": "https://avatars.githubusercontent.com/u/69774?v=4", "events_url": "https://api.github.com/users/michaelaye/events{/privacy}", "followers_url": "https://api.github.com/users/michaelaye/followers", "following_url": "https://api.github.com/users/michaelaye/following{/other_user}", "gists_url": "https://api.github.com/users/michaelaye/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/michaelaye", "id": 69774, "login": "michaelaye", "node_id": "MDQ6VXNlcjY5Nzc0", "organizations_url": "https://api.github.com/users/michaelaye/orgs", "received_events_url": "https://api.github.com/users/michaelaye/received_events", "repos_url": "https://api.github.com/users/michaelaye/repos", "site_admin": false, "starred_url": "https://api.github.com/users/michaelaye/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/michaelaye/subscriptions", "type": "User", "url": "https://api.github.com/users/michaelaye" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "read_hdf, HDFStore", "id": 47229190, "name": "IO HDF5", "node_id": "MDU6TGFiZWw0NzIyOTE5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5" }, { "color": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
5
2016-05-30T00:03:29Z
2016-08-09T10:05:24Z
2016-07-29T00:20:26Z
CONTRIBUTOR
null
#### Code Sample, a copy-pastable example if possible ``` python obsids = ['ESP_012345_6789', 'ESP_987654_3210'] imgids = ['APF00006np', 'APF0001imm'] data = [4.3, 9.8] df = pd.DataFrame(dict(obsids=obsids, imgids=imgids, data=data)) df.to_hdf('testdf_no_cats.hdf', 'df',format='t', data_columns=True) df.obsids = df.obsids.astype('category') df.imgids = df.imgids.astype('category') df.to_hdf('testdf_with_cats.hdf', 'df',format='t', data_columns=True) print("No categories:") print(pd.read_hdf('testdf_no_cats.hdf', 'df', where='obsids=B')) print("With categories:") print(pd.read_hdf('testdf_with_cats.hdf', 'df', where='obsids=B')) ``` ### Actual Output: ``` bash No categories: Empty DataFrame Columns: [data, imgids, obsids] Index: [] With categories: data imgids obsids 0 4.3 APF00006np ESP_012345_6789 ``` #### Expected Output Empty DataFrame for both cases. #### output of `pd.show_versions()` ## INSTALLED VERSIONS commit: None python: 3.5.1.final.0 python-bits: 64 OS: Darwin OS-release: 14.5.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.13.1+5155.g9baf452 nose: None pip: 8.1.1 setuptools: 21.2.1 Cython: 0.24 numpy: 1.11.0 scipy: 0.17.1 statsmodels: None xarray: 0.7.2 IPython: 4.2.0 sphinx: 1.4.1 patsy: None dateutil: 2.5.3 pytz: 2016.4 blosc: None bottleneck: None tables: 3.2.2 numexpr: 2.5.2 matplotlib: 1.5.1 openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml: None bs4: 4.4.1 html5lib: 0.9999999 httplib2: None apiclient: None sqlalchemy: None pymysql: None psycopg2: None jinja2: 2.8 boto: None pandas_datareader: None
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13322/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13322/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13323
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13323/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13323/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13323/events
https://github.com/pandas-dev/pandas/pull/13323
157,418,392
MDExOlB1bGxSZXF1ZXN0NzE4NDQ5MTY=
13,323
API: Deprecate compact_ints and use_unsigned in read_csv
{ "avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4", "events_url": "https://api.github.com/users/gfyoung/events{/privacy}", "followers_url": "https://api.github.com/users/gfyoung/followers", "following_url": "https://api.github.com/users/gfyoung/following{/other_user}", "gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gfyoung", "id": 9273653, "login": "gfyoung", "node_id": "MDQ6VXNlcjkyNzM2NTM=", "organizations_url": "https://api.github.com/users/gfyoung/orgs", "received_events_url": "https://api.github.com/users/gfyoung/received_events", "repos_url": "https://api.github.com/users/gfyoung/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions", "type": "User", "url": "https://api.github.com/users/gfyoung" }
[ { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
39
2016-05-30T01:53:56Z
2016-06-02T23:58:48Z
2016-06-02T23:16:42Z
MEMBER
null
Title is self-explanatory. xref #12686 - I don't quite understand why these are marked (if at all) as internal to the C engine only, as the benefits for having these options accepted for the Python engine is quite clear based on the documentation I added as well. Implementation simply just calls the already-written function in `pandas/parsers.pyx` - as it isn't specific to the `TextReader` class, crossing over to grab this function from Cython (instead of duplicating in pure Python) seems reasonable while maintaining that separation between the C and Python engines.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13323/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13323/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13323.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13323", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13323.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13323" }
https://api.github.com/repos/pandas-dev/pandas/issues/13324
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13324/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13324/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13324/events
https://github.com/pandas-dev/pandas/issues/13324
157,479,820
MDU6SXNzdWUxNTc0Nzk4MjA=
13,324
to_numeric(errors='coerce') broken when using unhashable objects
{ "avatar_url": "https://avatars.githubusercontent.com/u/3211163?v=4", "events_url": "https://api.github.com/users/RogerThomas/events{/privacy}", "followers_url": "https://api.github.com/users/RogerThomas/followers", "following_url": "https://api.github.com/users/RogerThomas/following{/other_user}", "gists_url": "https://api.github.com/users/RogerThomas/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/RogerThomas", "id": 3211163, "login": "RogerThomas", "node_id": "MDQ6VXNlcjMyMTExNjM=", "organizations_url": "https://api.github.com/users/RogerThomas/orgs", "received_events_url": "https://api.github.com/users/RogerThomas/received_events", "repos_url": "https://api.github.com/users/RogerThomas/repos", "site_admin": false, "starred_url": "https://api.github.com/users/RogerThomas/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/RogerThomas/subscriptions", "type": "User", "url": "https://api.github.com/users/RogerThomas" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
1
2016-05-30T10:54:53Z
2016-05-31T15:43:14Z
2016-05-31T15:43:14Z
NONE
null
When using pandas.to_numeric with errors='coerce' and non hashable objects in the series/dataframe pandas returns the same series/dataframe as passed in, instead of coercing the non-numeric objects to nans. ``` python python -c "import pandas as pd; s = pd.Series([[13], 1.0, 'apple']); print(pd.to_numeric(s, errors='coerce'))" ``` The error is due to this line https://github.com/pydata/pandas/blob/4de83d25d751d8ca102867b2d46a5547c01d7248/pandas/src/inference.pyx#L572 More generally this will affect any call to `maybe_convert_numeric` that has unhashable objects in the `values` param. Suggested fix might be to update this check with something like ``` python if val.__hash__ is not None and val in na_values: blah ``` As there should never be a case where you would expect an unhashable object to be in a set of na_values #### output of `pd.show_versions()` ## INSTALLED VERSIONS commit: None python: 2.7.11.final.0 python-bits: 64 OS: Linux OS-release: 4.4.0-22-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_IE.UTF-8 pandas: 0.18.1 nose: 1.3.7 pip: 8.1.2 setuptools: 19.0 Cython: None numpy: 1.11.0 scipy: None statsmodels: None xarray: None IPython: None sphinx: None patsy: None dateutil: 2.5.3 pytz: 2016.4 blosc: None bottleneck: None tables: None numexpr: None matplotlib: None openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml: None bs4: None html5lib: None httplib2: None apiclient: None sqlalchemy: None pymysql: None psycopg2: None jinja2: 2.8 boto: None pandas_datareader: None
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13324/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13324/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13325
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13325/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13325/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13325/events
https://github.com/pandas-dev/pandas/pull/13325
157,510,845
MDExOlB1bGxSZXF1ZXN0NzE5MDcwMTQ=
13,325
TST: remove tests_tseries.py and distribute to other tests files
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
0
2016-05-30T14:13:57Z
2016-05-30T14:41:44Z
2016-05-30T14:41:44Z
CONTRIBUTOR
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13325/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13325/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13325.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13325", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13325.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13325" }
https://api.github.com/repos/pandas-dev/pandas/issues/13326
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13326/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13326/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13326/events
https://github.com/pandas-dev/pandas/pull/13326
157,533,751
MDExOlB1bGxSZXF1ZXN0NzE5MjMwODM=
13,326
BUG: Fix maybe_convert_numeric for unhashable objects
{ "avatar_url": "https://avatars.githubusercontent.com/u/3211163?v=4", "events_url": "https://api.github.com/users/RogerThomas/events{/privacy}", "followers_url": "https://api.github.com/users/RogerThomas/followers", "following_url": "https://api.github.com/users/RogerThomas/following{/other_user}", "gists_url": "https://api.github.com/users/RogerThomas/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/RogerThomas", "id": 3211163, "login": "RogerThomas", "node_id": "MDQ6VXNlcjMyMTExNjM=", "organizations_url": "https://api.github.com/users/RogerThomas/orgs", "received_events_url": "https://api.github.com/users/RogerThomas/received_events", "repos_url": "https://api.github.com/users/RogerThomas/repos", "site_admin": false, "starred_url": "https://api.github.com/users/RogerThomas/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/RogerThomas/subscriptions", "type": "User", "url": "https://api.github.com/users/RogerThomas" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
7
2016-05-30T16:55:24Z
2016-05-31T16:23:44Z
2016-05-31T15:43:14Z
NONE
null
- [x] closes #13324 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13326/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13326/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13326.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13326", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13326.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13326" }
https://api.github.com/repos/pandas-dev/pandas/issues/13327
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13327/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13327/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13327/events
https://github.com/pandas-dev/pandas/issues/13327
157,537,294
MDU6SXNzdWUxNTc1MzcyOTQ=
13,327
feature request: rolling with datetime range
{ "avatar_url": "https://avatars.githubusercontent.com/u/8282510?v=4", "events_url": "https://api.github.com/users/randomgambit/events{/privacy}", "followers_url": "https://api.github.com/users/randomgambit/followers", "following_url": "https://api.github.com/users/randomgambit/following{/other_user}", "gists_url": "https://api.github.com/users/randomgambit/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/randomgambit", "id": 8282510, "login": "randomgambit", "node_id": "MDQ6VXNlcjgyODI1MTA=", "organizations_url": "https://api.github.com/users/randomgambit/orgs", "received_events_url": "https://api.github.com/users/randomgambit/received_events", "repos_url": "https://api.github.com/users/randomgambit/repos", "site_admin": false, "starred_url": "https://api.github.com/users/randomgambit/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/randomgambit/subscriptions", "type": "User", "url": "https://api.github.com/users/randomgambit" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" }, { "color": "207de5", "default": false, "description": "resample method", "id": 74975453, "name": "Resample", "node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
10
2016-05-30T17:33:14Z
2020-08-06T09:45:30Z
2016-05-30T20:50:20Z
NONE
null
Hello everyone, I would like to submit one very useful addition to rolling, namely the possibility to compute any statistics over a specific **time range.** Indeed, my understanding is that `rolling(windows=5).mean()` computes, say, the mean over the last five observations. Instead, it would be very useful to specify something like `rolling(windows=5,type_windows='time_range').mean() to get the rolling mean over the last 5 days. So if your data starts on January 1 and then the next data point is on Feb 2nd, then the rolling mean for the Feb 2nb point is NA because there was no data on Jan 29, 30, 31, Feb 1, Feb 2. I believe this would be very useful in settings where data represents trading data, so most of the time the data points are not equidistant in time. Still, you want to compute rolling metrics that are specified over the same delta. What do you think? Thanks!
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13327/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13327/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13328
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13328/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13328/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13328/events
https://github.com/pandas-dev/pandas/issues/13328
157,555,919
MDU6SXNzdWUxNTc1NTU5MTk=
13,328
Parsing dates using `read_csv` is slower than parsing them manually later.
{ "avatar_url": "https://avatars.githubusercontent.com/u/13205162?v=4", "events_url": "https://api.github.com/users/tomchor/events{/privacy}", "followers_url": "https://api.github.com/users/tomchor/followers", "following_url": "https://api.github.com/users/tomchor/following{/other_user}", "gists_url": "https://api.github.com/users/tomchor/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tomchor", "id": 13205162, "login": "tomchor", "node_id": "MDQ6VXNlcjEzMjA1MTYy", "organizations_url": "https://api.github.com/users/tomchor/orgs", "received_events_url": "https://api.github.com/users/tomchor/received_events", "repos_url": "https://api.github.com/users/tomchor/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tomchor/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tomchor/subscriptions", "type": "User", "url": "https://api.github.com/users/tomchor" }
[ { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
3
2016-05-30T20:59:31Z
2016-05-30T21:13:27Z
2016-05-30T21:07:34Z
NONE
null
I'm sorry if this is the expected behavior, but I think this is odd and may be an issue. Parsing the dates automatically using `read_csv` (with the keywords `parse_dates` and `date_parser`) is actually slower than reading the file without parsing any dates, manually putting the date columns together and then using `pandas.to_datetime` function on the newly created column to parse the dates. Basically (assuming you have date and hour in two different columns in the csv) doing this ``` python df = pd.read_csv("..\\file.csv", parse_dates = [['YYYYMMDD', 'HH']], index_col = 0, date_parser=parse) ``` is 3 to 5 times slower than this ``` python df = pd.read_csv("..\\file.csv") format = "%Y%m%d %H" times = pd.to_datetime(df.YYYYMMDD + ' ' + df.HH, format=format) df.set_index(times, inplace=True) df = df.drop(['YYYYMMDD','HH'], axis=1) ``` I first found this issue comparing the two answers of [this question](http://stackoverflow.com/questions/11615504/parse-dates-when-yyyymmdd-and-hh-are-in-separate-columns-using-pandas-in-python) and thought it was weird but OK, maybe it was due to some feature in his dataset. But while the person on the answer reported a 3 times time difference between both approaches, when I did the comparison I found that the difference is 5 times for me. This seems to me like an issue, since using the function's internal options should be faster, or at the least take the same time.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13328/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13328/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13329
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13329/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13329/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13329/events
https://github.com/pandas-dev/pandas/issues/13329
157,561,637
MDU6SXNzdWUxNTc1NjE2Mzc=
13,329
BUG: Segfault when dividing by numpy uint scalar
{ "avatar_url": "https://avatars.githubusercontent.com/u/2985325?v=4", "events_url": "https://api.github.com/users/nkeim/events{/privacy}", "followers_url": "https://api.github.com/users/nkeim/followers", "following_url": "https://api.github.com/users/nkeim/following{/other_user}", "gists_url": "https://api.github.com/users/nkeim/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nkeim", "id": 2985325, "login": "nkeim", "node_id": "MDQ6VXNlcjI5ODUzMjU=", "organizations_url": "https://api.github.com/users/nkeim/orgs", "received_events_url": "https://api.github.com/users/nkeim/received_events", "repos_url": "https://api.github.com/users/nkeim/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nkeim/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nkeim/subscriptions", "type": "User", "url": "https://api.github.com/users/nkeim" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
3
2016-05-30T22:11:37Z
2018-07-14T21:51:10Z
2018-07-14T20:18:54Z
NONE
null
Dividing a DataFrame by a `numpy.uint64` or `numpy.uint32` scalar causes python to segfault, on both 64-bit Linux and Mac OS X, and both Python 2.7.11 and 3.5.1. There appears to be a minimum DataFrame size to trigger this; the same operation with size 10, instead of 10^5, works fine. #### Code Sample ``` import numpy as np import pandas as pd df = pd.DataFrame({'a': np.ones(10**5, dtype='float64')}) df.values / np.uint64(1) # No problem df / np.uint64(1) # Segfault! ``` #### Expected Output The DataFrame divided by 1. The process would continue to run. #### output of `pd.show_versions()` (Linux Python 2) ``` INSTALLED VERSIONS ------------------ commit: None python: 2.7.11.final.0 python-bits: 64 OS: Linux OS-release: 4.4.0-22-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.18.1 nose: 1.3.7 pip: 8.1.1 setuptools: 20.3 Cython: 0.23.4 numpy: 1.10.4 scipy: 0.17.0 statsmodels: 0.6.1 xarray: None IPython: 4.1.2 sphinx: 1.3.5 patsy: 0.4.0 dateutil: 2.5.1 pytz: 2016.2 blosc: None bottleneck: 1.0.0 tables: 3.2.2 numexpr: 2.5 matplotlib: 1.5.1 openpyxl: 2.3.2 xlrd: 0.9.4 xlwt: 1.0.0 xlsxwriter: 0.8.4 lxml: 3.6.0 bs4: 4.4.1 html5lib: None httplib2: None apiclient: None sqlalchemy: 1.0.12 pymysql: None psycopg2: None jinja2: 2.8 boto: 2.39.0 pandas_datareader: None ``` #### output of `pd.show_versions()` (Mac Python 3) ``` INSTALLED VERSIONS ------------------ commit: None python: 3.5.1.final.0 python-bits: 64 OS: Darwin OS-release: 15.5.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.17.1 nose: 1.3.7 pip: 8.0.2 setuptools: 19.6.2 Cython: 0.23.4 numpy: 1.10.4 scipy: 0.17.0 statsmodels: 0.6.1 IPython: 4.0.3 sphinx: 1.3.5 patsy: 0.4.0 dateutil: 2.4.2 pytz: 2015.7 blosc: None bottleneck: 1.0.0 tables: 3.2.2 numexpr: 2.4.6 matplotlib: 1.5.1 openpyxl: 2.3.2 xlrd: 0.9.4 xlwt: 1.0.0 xlsxwriter: 0.8.4 lxml: 3.5.0 bs4: 4.4.1 html5lib: None httplib2: None apiclient: None sqlalchemy: 1.0.11 pymysql: None psycopg2: None Jinja2: 2.8 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13329/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13329/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13330
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13330/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13330/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13330/events
https://github.com/pandas-dev/pandas/issues/13330
157,617,611
MDU6SXNzdWUxNTc2MTc2MTE=
13,330
Transpose method not working with pandas dataframes
{ "avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4", "events_url": "https://api.github.com/users/ghost/events{/privacy}", "followers_url": "https://api.github.com/users/ghost/followers", "following_url": "https://api.github.com/users/ghost/following{/other_user}", "gists_url": "https://api.github.com/users/ghost/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ghost", "id": 10137, "login": "ghost", "node_id": "MDQ6VXNlcjEwMTM3", "organizations_url": "https://api.github.com/users/ghost/orgs", "received_events_url": "https://api.github.com/users/ghost/received_events", "repos_url": "https://api.github.com/users/ghost/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ghost/subscriptions", "type": "User", "url": "https://api.github.com/users/ghost" }
[ { "color": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" } ]
closed
false
null
[]
null
3
2016-05-31T08:34:49Z
2018-06-26T09:21:05Z
2016-05-31T11:44:01Z
NONE
null
Under Ubuntu 16, I am getting the following: ``` >>> import pandas as pd >>> import numpy as np >>> a = np.array([[1, 2], [3, 4]]) >>> a = pd.DataFrame(a) >>> a 0 1 0 1 2 1 3 4 >>> np.transpose(a) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "....../anaconda2/lib/python2.7/site-packages/numpy/core/fromnumeric.py", line 551, in transpose return transpose(axes) TypeError: transpose() takes exactly 1 argument (2 given) >>> a.T 0 1 0 1 3 1 2 4 >>> np.transpose(a.as_matrix()) array([[1, 3], [2, 4]]) ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13330/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13330/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13331
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13331/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13331/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13331/events
https://github.com/pandas-dev/pandas/issues/13331
157,621,946
MDU6SXNzdWUxNTc2MjE5NDY=
13,331
pd.DataFrame.describe Invalid value encountered in percentile
{ "avatar_url": "https://avatars.githubusercontent.com/u/5858759?v=4", "events_url": "https://api.github.com/users/chenyun90323/events{/privacy}", "followers_url": "https://api.github.com/users/chenyun90323/followers", "following_url": "https://api.github.com/users/chenyun90323/following{/other_user}", "gists_url": "https://api.github.com/users/chenyun90323/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/chenyun90323", "id": 5858759, "login": "chenyun90323", "node_id": "MDQ6VXNlcjU4NTg3NTk=", "organizations_url": "https://api.github.com/users/chenyun90323/orgs", "received_events_url": "https://api.github.com/users/chenyun90323/received_events", "repos_url": "https://api.github.com/users/chenyun90323/repos", "site_admin": false, "starred_url": "https://api.github.com/users/chenyun90323/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/chenyun90323/subscriptions", "type": "User", "url": "https://api.github.com/users/chenyun90323" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" }, { "color": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" } ]
closed
false
null
[]
null
1
2016-05-31T08:58:41Z
2016-05-31T11:52:00Z
2016-05-31T11:51:01Z
NONE
null
In RHEL 7.2, with python 2.7.5 ``` a = pd.np.random.randn(10, 2) a.itemset((3, 0), pd.np.NAN) df = pd.DataFrame(a) res = df.describe() ``` --- Output: ``` /.../function_base.py:3823: RuntimeWarning: Invalid value encountered in percentile RuntimeWarning) 0 1 count 8.000000 10.000000 mean -0.406550 -0.220345 std 1.517141 0.791003 min -1.942997 -1.607897 25% NaN -0.683385 50% NaN -0.281060 75% NaN 0.303566 max 2.275532 1.227234 ``` --- pd.show_versions: ``` INSTALLED VERSIONS ------------------ commit: None python: 2.7.5.final.0 python-bits: 64 OS: Linux OS-release: 3.10.0-327.18.2.el7.x86_64 machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.18.1 nose: None pip: 8.1.2 setuptools: 0.9.8 Cython: None numpy: 1.11.0 scipy: 0.17.1 statsmodels: None xarray: None IPython: None sphinx: None patsy: None dateutil: 1.5 pytz: 2012d blosc: None bottleneck: 1.0.0 tables: None numexpr: 2.5.2 matplotlib: None openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml: None bs4: None html5lib: None httplib2: None apiclient: None sqlalchemy: None pymysql: None psycopg2: None jinja2: None boto: None pandas_datareader: None ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13331/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13331/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13332
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13332/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13332/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13332/events
https://github.com/pandas-dev/pandas/issues/13332
157,666,021
MDU6SXNzdWUxNTc2NjYwMjE=
13,332
Series passed to function in DataFrame.apply on empty dataframe lack index
{ "avatar_url": "https://avatars.githubusercontent.com/u/152342?v=4", "events_url": "https://api.github.com/users/archevel/events{/privacy}", "followers_url": "https://api.github.com/users/archevel/followers", "following_url": "https://api.github.com/users/archevel/following{/other_user}", "gists_url": "https://api.github.com/users/archevel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/archevel", "id": 152342, "login": "archevel", "node_id": "MDQ6VXNlcjE1MjM0Mg==", "organizations_url": "https://api.github.com/users/archevel/orgs", "received_events_url": "https://api.github.com/users/archevel/received_events", "repos_url": "https://api.github.com/users/archevel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/archevel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/archevel/subscriptions", "type": "User", "url": "https://api.github.com/users/archevel" }
[ { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" }, { "color": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
2
2016-05-31T13:02:42Z
2016-05-31T13:05:58Z
2016-05-31T13:05:43Z
NONE
null
#### Code Sample, a copy-pastable example if possible ``` python from StringIO import StringIO import pandas as pd from random import random s = "a,b,c" df = pd.read_csv(StringIO(s)) f1 = lambda row: random() new_col1 = df.apply(f1, axis=1) df["d"] = new_col1 f2 = lambda row: 0 if row["a"] > 10 else 1 new_col2 = df.apply(f2, axis=1) df["e"] = new_col2 df ``` #### Expected Output ``` Empty DataFrame Columns: [a, b, c, d, e] Index: [] ``` The problem seems to be that a `Series` `row` is passed to the lambda and that 'a' can't be used to index into it. This is only breaks for an empty `DataFrame`. If it has values the output is as expected. According to the docs: > Objects passed to functions are Series objects having index either the DataFrame’s index (axis=0) or the columns (axis=1) #### output of `pd.show_versions()` ``` INSTALLED VERSIONS ------------------ commit: None python: 2.7.11.final.0 python-bits: 64 OS: Linux OS-release: 4.4.0-21-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.18.1 nose: None pip: 8.1.2 setuptools: 20.7.0 Cython: None numpy: 1.11.0 scipy: None statsmodels: None xarray: None IPython: None sphinx: None patsy: None dateutil: 2.5.3 pytz: 2016.4 blosc: None bottleneck: None tables: None numexpr: None matplotlib: None openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml: None bs4: None html5lib: None httplib2: None apiclient: None sqlalchemy: None pymysql: None psycopg2: None jinja2: None boto: None pandas_datareader: None ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13332/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13332/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13333
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13333/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13333/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13333/events
https://github.com/pandas-dev/pandas/issues/13333
157,666,144
MDU6SXNzdWUxNTc2NjYxNDQ=
13,333
COMPAT: mpl 2.0.0
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" }, { "color": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
17
2016-05-31T13:03:15Z
2016-08-22T20:35:12Z
2016-08-22T20:35:12Z
CONTRIBUTOR
null
seems @tacaswell / @mdboom have been busy https://github.com/matplotlib/matplotlib/releases/tag/v2.0.0b1 we should test with this. is this going up on a `conda-forge` dev channel? (is there such a thing)?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13333/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13333/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13334
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13334/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13334/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13334/events
https://github.com/pandas-dev/pandas/pull/13334
157,667,640
MDExOlB1bGxSZXF1ZXN0NzIwMTI1Mjk=
13,334
TST: more strict testing in lint.sh
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
0
2016-05-31T13:10:12Z
2016-05-31T13:53:44Z
2016-05-31T13:53:44Z
CONTRIBUTOR
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13334/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13334/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13334.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13334", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13334.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13334" }
https://api.github.com/repos/pandas-dev/pandas/issues/13335
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13335/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13335/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13335/events
https://github.com/pandas-dev/pandas/issues/13335
157,717,126
MDU6SXNzdWUxNTc3MTcxMjY=
13,335
Pandas groupby extremely slow in python3 for certain sets of single precision floating point data
{ "avatar_url": "https://avatars.githubusercontent.com/u/3211163?v=4", "events_url": "https://api.github.com/users/RogerThomas/events{/privacy}", "followers_url": "https://api.github.com/users/RogerThomas/followers", "following_url": "https://api.github.com/users/RogerThomas/following{/other_user}", "gists_url": "https://api.github.com/users/RogerThomas/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/RogerThomas", "id": 3211163, "login": "RogerThomas", "node_id": "MDQ6VXNlcjMyMTExNjM=", "organizations_url": "https://api.github.com/users/RogerThomas/orgs", "received_events_url": "https://api.github.com/users/RogerThomas/received_events", "repos_url": "https://api.github.com/users/RogerThomas/repos", "site_admin": false, "starred_url": "https://api.github.com/users/RogerThomas/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/RogerThomas/subscriptions", "type": "User", "url": "https://api.github.com/users/RogerThomas" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
4
2016-05-31T16:41:01Z
2016-06-15T01:48:21Z
2016-06-15T01:48:21Z
NONE
null
In python3 with certain sets of single precision floating point data pandas groupby is up to ~150 slower than the same data in python2 #### Code Sample, a copy-pastable example if possible ``` python import numpy as np import pandas as pd from numpy.random import random from time import time def do_groupby(df): df.groupby(['a'])['b'].sum() def main(): tmp1 = (random(10000) * 0.1).astype(np.float32) tmp2 = (random(10000) * 10.0).astype(np.float32) tmp = np.concatenate((tmp1, tmp2)) arr = np.repeat(tmp, 100) df = pd.DataFrame(dict(a=arr, b=arr)) t1 = time() do_groupby(df) print("Took: %s" % (time() - t1,)) main() ``` On my machine python2 this_file.py The groupby takes around 0.1s Where as python3 this_file.py The groupby takes around 11s With some investigation the discrepancy in run time between python versions varies hugely between the actual data but seems to have the biggest difference when half the data is roughly 100 times smaller than the other half. Having profiled this, it seems this function is taking almost all the 11s in the python3 version in this method https://github.com/pydata/pandas/blob/master/pandas/hashtable.pyx#L538 However I have no idea what is causing the run time discrepancy. #### output of `pd.show_versions()` ## INSTALLED VERSIONS commit: None python: 3.5.1.final.0 python-bits: 64 OS: Linux OS-release: 4.4.0-22-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_IE.UTF-8 pandas: 0.18.1 nose: 1.3.7 pip: 8.1.2 setuptools: 21.2.2 Cython: 0.23.4 numpy: 1.11.0 scipy: 0.16.1 statsmodels: 0.6.1 xarray: None IPython: 4.2.0 sphinx: 1.3.1 patsy: 0.4.1 dateutil: 2.5.3 pytz: 2016.4 blosc: None bottleneck: None tables: 3.2.0 numexpr: 2.5.2 matplotlib: 1.5.0 openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml: None bs4: None html5lib: None httplib2: 0.9.2 apiclient: None sqlalchemy: 1.0.9 pymysql: 0.7.4.None psycopg2: None jinja2: 2.8 boto: 2.38.0 pandas_datareader: None
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13335/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13335/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13336
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13336/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13336/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13336/events
https://github.com/pandas-dev/pandas/pull/13336
157,767,200
MDExOlB1bGxSZXF1ZXN0NzIwODMyNzg=
13,336
ENH: Series has gained the properties .is_monotonic*
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
1
2016-05-31T20:49:08Z
2016-05-31T21:49:29Z
2016-05-31T21:49:29Z
CONTRIBUTOR
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13336/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13336/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13336.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13336", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13336.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13336" }
https://api.github.com/repos/pandas-dev/pandas/issues/13337
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13337/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13337/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13337/events
https://github.com/pandas-dev/pandas/pull/13337
157,777,447
MDExOlB1bGxSZXF1ZXN0NzIwOTA3MjA=
13,337
BUG: upcasting on reshaping ops #13247
{ "avatar_url": "https://avatars.githubusercontent.com/u/10360673?v=4", "events_url": "https://api.github.com/users/jennolsen84/events{/privacy}", "followers_url": "https://api.github.com/users/jennolsen84/followers", "following_url": "https://api.github.com/users/jennolsen84/following{/other_user}", "gists_url": "https://api.github.com/users/jennolsen84/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jennolsen84", "id": 10360673, "login": "jennolsen84", "node_id": "MDQ6VXNlcjEwMzYwNjcz", "organizations_url": "https://api.github.com/users/jennolsen84/orgs", "received_events_url": "https://api.github.com/users/jennolsen84/received_events", "repos_url": "https://api.github.com/users/jennolsen84/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jennolsen84/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jennolsen84/subscriptions", "type": "User", "url": "https://api.github.com/users/jennolsen84" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" } ]
closed
false
null
[]
{ "closed_at": "2017-05-06T10:20:19Z", "closed_issues": 987, "created_at": "2016-02-08T15:30:21Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.19.x series", "due_on": "2017-05-12T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/39", "id": 1570595, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels", "node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==", "number": 39, "open_issues": 0, "state": "closed", "title": "0.20.0", "updated_at": "2018-10-28T08:18:42Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39" }
14
2016-05-31T21:42:16Z
2017-03-14T12:27:47Z
2017-03-07T21:13:35Z
CONTRIBUTOR
null
- [x] closes #13247 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13337/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13337/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13337.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13337", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13337.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13337" }
https://api.github.com/repos/pandas-dev/pandas/issues/13338
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13338/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13338/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13338/events
https://github.com/pandas-dev/pandas/issues/13338
157,778,115
MDU6SXNzdWUxNTc3NzgxMTU=
13,338
TST: slow computation/test_eval.py tests need adjustment
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
1
2016-05-31T21:46:16Z
2016-05-31T23:18:16Z
2016-05-31T23:18:16Z
CONTRIBUTOR
null
https://travis-ci.org/pydata/pandas/jobs/134204278 I think #13311 broke some of these here's some partial fixes ``` diff --git a/pandas/computation/tests/test_eval.py b/pandas/computation/tests/test_eval.py index 4dc1e24..69b8830 100644 --- a/pandas/computation/tests/test_eval.py +++ b/pandas/computation/tests/test_eval.py @@ -248,7 +248,7 @@ class TestEvalNumexprPandas(tm.TestCase): for ex in (ex1, ex2, ex3): result = pd.eval(ex, engine=self.engine, parser=self.parser) - tm.assert_numpy_array_equal(result, expected) + tm.assert_almost_equal(result, expected) def check_simple_cmp_op(self, lhs, cmp1, rhs): ex = 'lhs {0} rhs'.format(cmp1) @@ -265,7 +265,8 @@ class TestEvalNumexprPandas(tm.TestCase): ex = 'lhs {0} rhs'.format(arith1) result = pd.eval(ex, engine=self.engine, parser=self.parser) expected = _eval_single_bin(lhs, arith1, rhs, self.engine) - tm.assert_numpy_array_equal(result, expected) + + tm.assert_almost_equal(result, expected) ex = 'lhs {0} rhs {0} rhs'.format(arith1) result = pd.eval(ex, engine=self.engine, parser=self.parser) nlhs = _eval_single_bin(lhs, arith1, rhs, @@ -280,8 +281,10 @@ class TestEvalNumexprPandas(tm.TestCase): # TypeError, AttributeError: series or frame with scalar align pass else: + + # direct numpy comparison expected = self.ne.evaluate('nlhs {0} ghs'.format(op)) - tm.assert_numpy_array_equal(result, expected) + tm.assert_numpy_array_equal(result.values, expected) # modulus, pow, and floor division require special casing ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13338/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13338/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13339
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13339/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13339/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13339/events
https://github.com/pandas-dev/pandas/pull/13339
157,782,198
MDExOlB1bGxSZXF1ZXN0NzIwOTQxNTU=
13,339
TST: computation/test_eval.py tests (slow)
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
0
2016-05-31T22:10:29Z
2016-05-31T23:18:16Z
2016-05-31T23:18:16Z
CONTRIBUTOR
null
closes #13338
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13339/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13339/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13339.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13339", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13339.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13339" }
https://api.github.com/repos/pandas-dev/pandas/issues/13340
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13340/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13340/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13340/events
https://github.com/pandas-dev/pandas/pull/13340
157,818,834
MDExOlB1bGxSZXF1ZXN0NzIxMTk3ODE=
13,340
Cleanup compression
{ "avatar_url": "https://avatars.githubusercontent.com/u/495399?v=4", "events_url": "https://api.github.com/users/lababidi/events{/privacy}", "followers_url": "https://api.github.com/users/lababidi/followers", "following_url": "https://api.github.com/users/lababidi/following{/other_user}", "gists_url": "https://api.github.com/users/lababidi/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lababidi", "id": 495399, "login": "lababidi", "node_id": "MDQ6VXNlcjQ5NTM5OQ==", "organizations_url": "https://api.github.com/users/lababidi/orgs", "received_events_url": "https://api.github.com/users/lababidi/received_events", "repos_url": "https://api.github.com/users/lababidi/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lababidi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lababidi/subscriptions", "type": "User", "url": "https://api.github.com/users/lababidi" }
[ { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2017-05-06T10:20:19Z", "closed_issues": 987, "created_at": "2016-02-08T15:30:21Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.19.x series", "due_on": "2017-05-12T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/39", "id": 1570595, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels", "node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==", "number": 39, "open_issues": 0, "state": "closed", "title": "0.20.0", "updated_at": "2018-10-28T08:18:42Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39" }
22
2016-06-01T04:00:04Z
2016-12-13T23:12:40Z
2016-12-13T23:11:38Z
NONE
null
- [x] closes #12688 - [x] tests passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry - not needed
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13340/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13340/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13340.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13340", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13340.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13340" }
https://api.github.com/repos/pandas-dev/pandas/issues/13341
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13341/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13341/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13341/events
https://github.com/pandas-dev/pandas/issues/13341
157,903,103
MDU6SXNzdWUxNTc5MDMxMDM=
13,341
plotting mangled with DatetimeIndex to ax with sharex and dissimilar indices
{ "avatar_url": "https://avatars.githubusercontent.com/u/16540200?v=4", "events_url": "https://api.github.com/users/tsdlovell/events{/privacy}", "followers_url": "https://api.github.com/users/tsdlovell/followers", "following_url": "https://api.github.com/users/tsdlovell/following{/other_user}", "gists_url": "https://api.github.com/users/tsdlovell/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tsdlovell", "id": 16540200, "login": "tsdlovell", "node_id": "MDQ6VXNlcjE2NTQwMjAw", "organizations_url": "https://api.github.com/users/tsdlovell/orgs", "received_events_url": "https://api.github.com/users/tsdlovell/received_events", "repos_url": "https://api.github.com/users/tsdlovell/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tsdlovell/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tsdlovell/subscriptions", "type": "User", "url": "https://api.github.com/users/tsdlovell" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
closed
false
null
[]
{ "closed_at": "2016-12-24T22:50:46Z", "closed_issues": 107, "created_at": "2016-11-12T15:44:46Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.19.1", "due_on": "2016-12-24T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/45", "id": 2131068, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/45/labels", "node_id": "MDk6TWlsZXN0b25lMjEzMTA2OA==", "number": 45, "open_issues": 0, "state": "closed", "title": "0.19.2", "updated_at": "2017-01-29T09:53:52Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/45" }
3
2016-06-01T13:13:06Z
2016-11-26T09:13:24Z
2016-11-26T09:13:05Z
CONTRIBUTOR
null
You can't see anything in the ax1 plot. ``` import pylab import pandas as pd pylab.ion(); pylab.show() idx1 = pd.date_range('2015-01-01', periods=3, freq='1M') idx2 = idx1[:1] + idx1[2:] series1 = pd.Series(range(len(idx1)), idx1) series2 = pd.Series(range(len(idx2)), idx2) # this doesn't work pylab.figure() ax1 = pylab.subplot(211) series1.plot(ax=ax1) ax2 = pylab.subplot(212, sharex=ax1) series2.plot(ax=ax2) # this works pylab.figure() ax3 = pylab.subplot(211) pylab.plot(series1.index, series1.values) ax4 = pylab.subplot(212, sharex=ax3) pylab.plot(series2.index, series2.values) ``` Issue seems to be with how its converting xdata ``` for ax in (ax1, ax2, ax3, ax4): print(ax.get_lines()[0].get_xdata()) [Period('2015-01', 'M') Period('2015-02', 'M') Period('2015-03', 'M')] [datetime.datetime(2015, 1, 31, 0, 0) datetime.datetime(2015, 3, 31, 0, 0)] ['2015-01-31T00:00:00.000000000+0000' '2015-02-28T00:00:00.000000000+0000' '2015-03-31T00:00:00.000000000+0000'] ['2015-01-31T00:00:00.000000000+0000' '2015-03-31T00:00:00.000000000+0000'] str(ax2.get_xticklabels()[0]) "Text(735636,0,'63273')" str(ax4.get_xticklabels()[0]) "Text(735630,0,'Feb 01 2015')" ``` ``` INSTALLED VERSIONS ------------------ commit: None python: 3.4.4.final.0 python-bits: 64 OS: Linux OS-release: 3.14.32-pv-ts1 machine: x86_64 processor: byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.18.0 nose: None pip: 8.1.1 setuptools: 20.7.0 Cython: 0.24 numpy: 1.10.4 scipy: 0.17.0 statsmodels: 0.6.1 xarray: None IPython: 4.2.0 sphinx: 1.4.1 patsy: 0.4.1 dateutil: 2.5.2 pytz: 2016.3 blosc: None bottleneck: 1.0.0 tables: 3.2.2 numexpr: 2.5.2 matplotlib: 1.5.1 openpyxl: 2.3.2 xlrd: 0.9.4 xlwt: None xlsxwriter: 0.8.5 lxml: None bs4: 4.4.1 html5lib: None httplib2: None apiclient: None sqlalchemy: 1.0.12 pymysql: None psycopg2: None jinja2: 2.8 boto: None ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13341/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13341/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13342
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13342/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13342/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13342/events
https://github.com/pandas-dev/pandas/issues/13342
157,904,540
MDU6SXNzdWUxNTc5MDQ1NDA=
13,342
Datetime is failing silently for one date
{ "avatar_url": "https://avatars.githubusercontent.com/u/1428796?v=4", "events_url": "https://api.github.com/users/AnnamalaiNagappan/events{/privacy}", "followers_url": "https://api.github.com/users/AnnamalaiNagappan/followers", "following_url": "https://api.github.com/users/AnnamalaiNagappan/following{/other_user}", "gists_url": "https://api.github.com/users/AnnamalaiNagappan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/AnnamalaiNagappan", "id": 1428796, "login": "AnnamalaiNagappan", "node_id": "MDQ6VXNlcjE0Mjg3OTY=", "organizations_url": "https://api.github.com/users/AnnamalaiNagappan/orgs", "received_events_url": "https://api.github.com/users/AnnamalaiNagappan/received_events", "repos_url": "https://api.github.com/users/AnnamalaiNagappan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/AnnamalaiNagappan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/AnnamalaiNagappan/subscriptions", "type": "User", "url": "https://api.github.com/users/AnnamalaiNagappan" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
4
2016-06-01T13:19:33Z
2016-06-07T05:37:50Z
2016-06-01T13:33:04Z
NONE
null
#### Code Sample, a copy-pastable example if possible pd.to_datetime("06/2015") **# When my system date is 5/31/2016, it returns a string (06/2015)** #### Expected Output Timestamp('2015-06-01 00:00:00') #### output of `pd.show_versions()` '0.16.2'
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13342/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13342/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13343
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13343/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13343/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13343/events
https://github.com/pandas-dev/pandas/pull/13343
157,911,048
MDExOlB1bGxSZXF1ZXN0NzIxODM1MjY=
13,343
DOC: fix comment on previous versions cythonmagic
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
1
2016-06-01T13:47:59Z
2016-06-02T17:12:43Z
2016-06-02T17:12:43Z
MEMBER
null
Small thing I just noticed in the docs (the note on the other version was not updated when the example was changed from cythonmagic -> Cython)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13343/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13343/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13343.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13343", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13343.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13343" }
https://api.github.com/repos/pandas-dev/pandas/issues/13344
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13344/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13344/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13344/events
https://github.com/pandas-dev/pandas/issues/13344
157,945,233
MDU6SXNzdWUxNTc5NDUyMzM=
13,344
groupby.agg changes the default parameter of np.std
{ "avatar_url": "https://avatars.githubusercontent.com/u/6108349?v=4", "events_url": "https://api.github.com/users/ayhanfuat/events{/privacy}", "followers_url": "https://api.github.com/users/ayhanfuat/followers", "following_url": "https://api.github.com/users/ayhanfuat/following{/other_user}", "gists_url": "https://api.github.com/users/ayhanfuat/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ayhanfuat", "id": 6108349, "login": "ayhanfuat", "node_id": "MDQ6VXNlcjYxMDgzNDk=", "organizations_url": "https://api.github.com/users/ayhanfuat/orgs", "received_events_url": "https://api.github.com/users/ayhanfuat/received_events", "repos_url": "https://api.github.com/users/ayhanfuat/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ayhanfuat/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ayhanfuat/subscriptions", "type": "User", "url": "https://api.github.com/users/ayhanfuat" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" }, { "color": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
3
2016-06-01T16:02:23Z
2016-06-01T18:16:13Z
2016-06-01T17:31:56Z
NONE
null
#### Code Sample, a copy-pastable example if possible As opposed to pandas, the default value for `ddof` in standard deviation calculations is 0 in numpy. However, when I use `groupby.agg(np.std)` I get the result for `ddof=1`. ``` import numpy as np import pandas as pd prng = np.random.RandomState(0) df = pd.DataFrame({"A": prng.choice(list("abcdef"), 15), "B": prng.randint(0, 10, 15)}) df.groupby('A')['B'].agg(np.std) Out[54]: A a 3.511885 b NaN c 2.828427 d 3.593976 e 1.527525 f 1.414214 Name: B, dtype: float64 ``` #### Expected Output There is a [note ](http://pandas.pydata.org/pandas-docs/stable/generated/pandas.core.groupby.DataFrameGroupBy.agg.html) in the docs that states the default axis is changed but for me ddof change is quite unexpected. So my expected output is this: ``` df.groupby('A')['B'].apply(np.std) Out[61]: A a 2.867442 b 0.000000 c 2.000000 d 3.112475 e 1.247219 f 1.000000 Name: B, dtype: float64 ``` #### output of `pd.show_versions()` INSTALLED VERSIONS commit: None python: 3.5.1.final.0 python-bits: 64 OS: Windows OS-release: 10 machine: AMD64 processor: Intel64 Family 6 Model 60 Stepping 3, GenuineIntel byteorder: little LC_ALL: None LANG: en_GB pandas: 0.18.1 nose: 1.3.7 pip: 8.1.1 setuptools: 20.3 Cython: 0.23.4 numpy: 1.11.0 scipy: 0.17.0 statsmodels: None xarray: None IPython: 4.1.2 sphinx: 1.3.1 patsy: 0.4.0 dateutil: 2.5.3 pytz: 2016.4 blosc: None bottleneck: 1.0.0 tables: 3.2.2 numexpr: 2.5 matplotlib: 1.5.1 openpyxl: 2.3.2 xlrd: 0.9.4 xlwt: 1.0.0 xlsxwriter: 0.8.4 lxml: 3.6.0 bs4: 4.4.1 html5lib: None httplib2: None apiclient: None sqlalchemy: 1.0.12 pymysql: None psycopg2: None jinja2: 2.8 boto: 2.39.0 pandas_datareader: None
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13344/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13344/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13345
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13345/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13345/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13345/events
https://github.com/pandas-dev/pandas/issues/13345
157,968,074
MDU6SXNzdWUxNTc5NjgwNzQ=
13,345
Working with pd.Period is very slow
{ "avatar_url": "https://avatars.githubusercontent.com/u/8431062?v=4", "events_url": "https://api.github.com/users/benrifkind/events{/privacy}", "followers_url": "https://api.github.com/users/benrifkind/followers", "following_url": "https://api.github.com/users/benrifkind/following{/other_user}", "gists_url": "https://api.github.com/users/benrifkind/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/benrifkind", "id": 8431062, "login": "benrifkind", "node_id": "MDQ6VXNlcjg0MzEwNjI=", "organizations_url": "https://api.github.com/users/benrifkind/orgs", "received_events_url": "https://api.github.com/users/benrifkind/received_events", "repos_url": "https://api.github.com/users/benrifkind/repos", "site_admin": false, "starred_url": "https://api.github.com/users/benrifkind/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/benrifkind/subscriptions", "type": "User", "url": "https://api.github.com/users/benrifkind" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" }, { "color": "eb6420", "default": false, "description": "Period data type", "id": 60635328, "name": "Period", "node_id": "MDU6TGFiZWw2MDYzNTMyOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period" } ]
closed
false
null
[]
null
1
2016-06-01T17:52:27Z
2016-06-01T17:59:21Z
2016-06-01T17:58:24Z
NONE
null
I find working with `pd.Period` very slow. Much much slower than working with `pd.Timestamp` and I was wondering why that is. I have around 2 million records and I'm forced to work with full timestamps even though my data is really on the level of months. Here is an example that I think shows the discrepancy between working with these types. #### Code Sample, a copy-pastable example if possible ``` python import pandas as pd import numpy as np # create a data frame with 500K dates dates = pd.date_range('1/1/2011', periods=500000, freq='H') values = np.random.random(size=len(dates)) df = pd.DataFrame({"Date":dates, "Values":values}) ``` Creating the period index is fairly slow ``` python %%time df["Period"] = df.Date.dt.to_period(freq="1M") ``` ``` Wall time: 1.47 s ``` And using boolean indexing with periods is extremely slow ``` python %%time near_future = df[df.Period <= df.Period.iloc[0] + 3] ``` ``` Wall time: 7.36 s ``` Especially when compared with using timestamps! ``` python %%time near_future = df[df.Date <= df.Date.iloc[0] + pd.Timedelta("90d")] ``` ``` Wall time: 0 ns ``` Returning the values of the period is also very slow ``` python %%time periods = df.Period.unique() ``` ``` Wall time: 17.4 s ``` ``` python %%time times = df.Date.unique() ``` ``` Wall time: 69 ms ``` Unrelated but I also found that I can only do the period comparison on a series in one direction. This throws an error even though all I did was flip the terms in the inequality ``` python near_future = df[(df.Period.iloc[0] + 3 ) >= df.Period] ``` ``` --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-8-f626f4b8a04f> in <module>() ----> 1 near_future = df[(df.Period.iloc[0] + 3 ) >= df.Period] pandas\src\period.pyx in pandas._period.Period.__richcmp__ (pandas\src\period.c:12753)() TypeError: Cannot compare type 'Period' with type 'Series' ``` #### Output of `pd.show_versions()` ``` INSTALLED VERSIONS ------------------ commit: None python: 3.5.1.final.0 python-bits: 64 OS: Windows OS-release: 7 machine: AMD64 processor: Intel64 Family 6 Model 61 Stepping 4, GenuineIntel byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.18.1 nose: 1.3.7 pip: 8.1.2 setuptools: 21.2.2 Cython: 0.24 numpy: 1.11.0 scipy: 0.17.0 statsmodels: 0.6.1 xarray: None IPython: 4.1.2 sphinx: 1.3.1 patsy: 0.4.0 dateutil: 2.5.3 pytz: 2016.4 blosc: None bottleneck: None tables: 3.2.2 numexpr: 2.5.2 matplotlib: 1.5.1 openpyxl: 2.2.6 xlrd: 0.9.4 xlwt: 1.0.0 xlsxwriter: 0.7.7 lxml: 3.4.4 bs4: 4.4.1 html5lib: None httplib2: None apiclient: None sqlalchemy: 1.0.11 pymysql: None psycopg2: None jinja2: 2.8 boto: 2.38.0 pandas_datareader: None ``` ``` python ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13345/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13345/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13346
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13346/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13346/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13346/events
https://github.com/pandas-dev/pandas/issues/13346
157,986,198
MDU6SXNzdWUxNTc5ODYxOTg=
13,346
pd.Period off by hundred of years for dates past ~2263
{ "avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4", "events_url": "https://api.github.com/users/eyurtsev/events{/privacy}", "followers_url": "https://api.github.com/users/eyurtsev/followers", "following_url": "https://api.github.com/users/eyurtsev/following{/other_user}", "gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/eyurtsev", "id": 3205522, "login": "eyurtsev", "node_id": "MDQ6VXNlcjMyMDU1MjI=", "organizations_url": "https://api.github.com/users/eyurtsev/orgs", "received_events_url": "https://api.github.com/users/eyurtsev/received_events", "repos_url": "https://api.github.com/users/eyurtsev/repos", "site_admin": false, "starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions", "type": "User", "url": "https://api.github.com/users/eyurtsev" }
[ { "color": "eb6420", "default": false, "description": "Period data type", "id": 60635328, "name": "Period", "node_id": "MDU6TGFiZWw2MDYzNTMyOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period" }, { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" }, { "color": "cdea3c", "default": false, "description": "Unit test(s) needed to prevent regressions", "id": 986278782, "name": "Needs Tests", "node_id": "MDU6TGFiZWw5ODYyNzg3ODI=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
13
2016-06-01T19:21:03Z
2020-10-05T20:52:52Z
2020-10-05T20:52:52Z
NONE
null
``` In [1]: import pandas as pd In [2]: pd.Period(year=2300, month=1, day=1, freq='M').end_time Out[2]: Timestamp('1715-07-14 00:25:26.290448383') ``` Input year is '2300', output shows '1715' #### output of `pd.show_versions()` In [3]: pd.show_versions() ## INSTALLED VERSIONS commit: None python: 2.7.11.final.0 python-bits: 64 OS: Linux OS-release: 3.19.0-25-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.18.1 nose: None pip: 7.1.2 setuptools: 21.0.0 Cython: None numpy: 1.11.0 scipy: 0.17.0 statsmodels: 0.6.1 xarray: None IPython: 4.2.0 sphinx: None patsy: 0.4.1 dateutil: 2.5.3 pytz: 2016.4 blosc: None bottleneck: None tables: None numexpr: None matplotlib: 1.5.1 openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml: None bs4: 4.4.1 html5lib: 0.9999999 httplib2: None apiclient: None sqlalchemy: None pymysql: None psycopg2: None jinja2: 2.8 boto: 2.39.0 pandas_datareader: 0.2.1
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13346/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13346/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13347
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13347/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13347/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13347/events
https://github.com/pandas-dev/pandas/issues/13347
157,988,084
MDU6SXNzdWUxNTc5ODgwODQ=
13,347
Allow true_values and false_values options in read_excel
{ "avatar_url": "https://avatars.githubusercontent.com/u/10272606?v=4", "events_url": "https://api.github.com/users/adrivsh/events{/privacy}", "followers_url": "https://api.github.com/users/adrivsh/followers", "following_url": "https://api.github.com/users/adrivsh/following{/other_user}", "gists_url": "https://api.github.com/users/adrivsh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/adrivsh", "id": 10272606, "login": "adrivsh", "node_id": "MDQ6VXNlcjEwMjcyNjA2", "organizations_url": "https://api.github.com/users/adrivsh/orgs", "received_events_url": "https://api.github.com/users/adrivsh/received_events", "repos_url": "https://api.github.com/users/adrivsh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/adrivsh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/adrivsh/subscriptions", "type": "User", "url": "https://api.github.com/users/adrivsh" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "bfe5bf", "default": false, "description": "read_excel, to_excel", "id": 49254273, "name": "IO Excel", "node_id": "MDU6TGFiZWw0OTI1NDI3Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
1
2016-06-01T19:30:48Z
2016-09-13T23:07:43Z
2016-09-13T23:07:26Z
NONE
null
For consistency with read_csv, and because this would be handy anyway.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13347/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13347/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13348
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13348/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13348/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13348/events
https://github.com/pandas-dev/pandas/issues/13348
158,199,485
MDU6SXNzdWUxNTgxOTk0ODU=
13,348
Multiindex query
{ "avatar_url": "https://avatars.githubusercontent.com/u/379413?v=4", "events_url": "https://api.github.com/users/wcbeard/events{/privacy}", "followers_url": "https://api.github.com/users/wcbeard/followers", "following_url": "https://api.github.com/users/wcbeard/following{/other_user}", "gists_url": "https://api.github.com/users/wcbeard/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wcbeard", "id": 379413, "login": "wcbeard", "node_id": "MDQ6VXNlcjM3OTQxMw==", "organizations_url": "https://api.github.com/users/wcbeard/orgs", "received_events_url": "https://api.github.com/users/wcbeard/received_events", "repos_url": "https://api.github.com/users/wcbeard/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wcbeard/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wcbeard/subscriptions", "type": "User", "url": "https://api.github.com/users/wcbeard" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" }, { "color": "f3afff", "default": false, "description": "pd.eval, query", "id": 1631985267, "name": "expressions", "node_id": "MDU6TGFiZWwxNjMxOTg1MjY3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/expressions" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
6
2016-06-02T17:46:14Z
2021-05-01T21:45:52Z
null
CONTRIBUTOR
null
#### Code Sample, a copy-pastable example if possible If I have a Df with a MultiIndex: ``` import numpy.random as nr nr.seed(0) d = DataFrame(nr.randint(0, 5, (4, 2)), columns=pd.MultiIndex.from_product([['L1'], ['A', 'B']])) d ''' L1 A B 0 4 0 1 3 3 2 3 1 3 3 2''' ``` and want to use the `query` method to get the following subset: ``` d[d.L1.A == 3] ''' L1 A B 1 3 3 2 3 1 3 3 2''' ``` `query` doesn't seem to know about the column: ``` try: d.query('L1.A == 3') except Exception as e: print(e) # => name 'L1' is not defined ``` #### Expected Output ``` ''' L1 A B 1 3 3 2 3 1 3 3 2''' ``` Am I referencing the column incorrectly, or is this just not possible at the moment? #### output of `pd.show_versions()` ## INSTALLED VERSIONS commit: None python: 3.5.1.final.0 python-bits: 64 OS: Darwin OS-release: 15.3.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.18.1 nose: None pip: 8.1.2 setuptools: 21.2.1 Cython: 0.24 numpy: 1.11.0 scipy: 0.17.1 statsmodels: None xarray: None IPython: 3.2.3 sphinx: None patsy: 0.4.1 dateutil: 2.5.3 pytz: 2016.4 blosc: None bottleneck: None tables: None numexpr: 2.5.2 matplotlib: 1.5.1 openpyxl: None xlrd: 0.9.4 xlwt: None xlsxwriter: None lxml: None bs4: 4.4.1 html5lib: 0.999 httplib2: None apiclient: None sqlalchemy: None pymysql: None psycopg2: None jinja2: 2.8 boto: 2.40.0 pandas_datareader: None
{ "+1": 3, "-1": 0, "confused": 0, "eyes": 1, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 4, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13348/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13348/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13349
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13349/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13349/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13349/events
https://github.com/pandas-dev/pandas/issues/13349
158,248,076
MDU6SXNzdWUxNTgyNDgwNzY=
13,349
API: skipfooter or skip_footer? read_csv can't seem to decide
{ "avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4", "events_url": "https://api.github.com/users/gfyoung/events{/privacy}", "followers_url": "https://api.github.com/users/gfyoung/followers", "following_url": "https://api.github.com/users/gfyoung/following{/other_user}", "gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gfyoung", "id": 9273653, "login": "gfyoung", "node_id": "MDQ6VXNlcjkyNzM2NTM=", "organizations_url": "https://api.github.com/users/gfyoung/orgs", "received_events_url": "https://api.github.com/users/gfyoung/received_events", "repos_url": "https://api.github.com/users/gfyoung/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions", "type": "User", "url": "https://api.github.com/users/gfyoung" }
[ { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
3
2016-06-02T21:51:23Z
2017-03-23T20:21:12Z
2016-07-29T00:25:24Z
MEMBER
null
`skipfooter` : "This line <a href="https://github.com/pydata/pandas/blob/master/pandas/io/parsers.py#L729">here</a> says I am the right choice." `skip_footer` : "This line <a href="https://github.com/pydata/pandas/blob/master/pandas/io/parsers.py#L519">here</a> says I am the right choice." Whatever the case is, something should certainly be done to avoid having duplicate arguments for the same thing, as can be seen <a href="https://github.com/pydata/pandas/blob/master/pandas/io/parsers.py#L582">here</a>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13349/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13349/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13350
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13350/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13350/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13350/events
https://github.com/pandas-dev/pandas/pull/13350
158,260,509
MDExOlB1bGxSZXF1ZXN0NzI0MzI3NDY=
13,350
BUG: DataFrame.to_string with formatters, header and index False
{ "avatar_url": "https://avatars.githubusercontent.com/u/3086255?v=4", "events_url": "https://api.github.com/users/chiroptical/events{/privacy}", "followers_url": "https://api.github.com/users/chiroptical/followers", "following_url": "https://api.github.com/users/chiroptical/following{/other_user}", "gists_url": "https://api.github.com/users/chiroptical/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/chiroptical", "id": 3086255, "login": "chiroptical", "node_id": "MDQ6VXNlcjMwODYyNTU=", "organizations_url": "https://api.github.com/users/chiroptical/orgs", "received_events_url": "https://api.github.com/users/chiroptical/received_events", "repos_url": "https://api.github.com/users/chiroptical/repos", "site_admin": false, "starred_url": "https://api.github.com/users/chiroptical/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/chiroptical/subscriptions", "type": "User", "url": "https://api.github.com/users/chiroptical" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "ededed", "default": false, "description": "__repr__ of pandas objects, to_string", "id": 13101118, "name": "Output-Formatting", "node_id": "MDU6TGFiZWwxMzEwMTExOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
23
2016-06-02T23:15:57Z
2016-09-14T10:40:44Z
2016-09-10T02:25:40Z
NONE
null
closes #13032 - [x] tests added / passed - added test specific to format bug - [x] passes `pep8radius master --diff` - [x] whatsnew entry - not needed Found this bug experimenting with formatters. First pull request to pandas, but I believe guidelines are quite clear. I can explain what was happening in more detail if that is necessary.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13350/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13350/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13350.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13350", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13350.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13350" }
https://api.github.com/repos/pandas-dev/pandas/issues/13351
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13351/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13351/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13351/events
https://github.com/pandas-dev/pandas/pull/13351
158,265,190
MDExOlB1bGxSZXF1ZXN0NzI0MzYxODU=
13,351
ENH: Adding json line parsing to pd.read_json #9180
{ "avatar_url": "https://avatars.githubusercontent.com/u/30583?v=4", "events_url": "https://api.github.com/users/aterrel/events{/privacy}", "followers_url": "https://api.github.com/users/aterrel/followers", "following_url": "https://api.github.com/users/aterrel/following{/other_user}", "gists_url": "https://api.github.com/users/aterrel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/aterrel", "id": 30583, "login": "aterrel", "node_id": "MDQ6VXNlcjMwNTgz", "organizations_url": "https://api.github.com/users/aterrel/orgs", "received_events_url": "https://api.github.com/users/aterrel/received_events", "repos_url": "https://api.github.com/users/aterrel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/aterrel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/aterrel/subscriptions", "type": "User", "url": "https://api.github.com/users/aterrel" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "207de5", "default": false, "description": "read_json, to_json, json_normalize", "id": 49379259, "name": "IO JSON", "node_id": "MDU6TGFiZWw0OTM3OTI1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
30
2016-06-02T23:56:56Z
2016-07-24T15:37:50Z
2016-07-24T14:14:06Z
CONTRIBUTOR
null
- [x] closes #9180 - [x] closed #13356 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13351/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13351/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13351.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13351", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13351.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13351" }
https://api.github.com/repos/pandas-dev/pandas/issues/13352
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13352/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13352/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13352/events
https://github.com/pandas-dev/pandas/issues/13352
158,265,259
MDU6SXNzdWUxNTgyNjUyNTk=
13,352
Add compact_ints and use_unsigned to pd.to_numeric
{ "avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4", "events_url": "https://api.github.com/users/gfyoung/events{/privacy}", "followers_url": "https://api.github.com/users/gfyoung/followers", "following_url": "https://api.github.com/users/gfyoung/following{/other_user}", "gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gfyoung", "id": 9273653, "login": "gfyoung", "node_id": "MDQ6VXNlcjkyNzM2NTM=", "organizations_url": "https://api.github.com/users/gfyoung/orgs", "received_events_url": "https://api.github.com/users/gfyoung/received_events", "repos_url": "https://api.github.com/users/gfyoung/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions", "type": "User", "url": "https://api.github.com/users/gfyoung" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
0
2016-06-02T23:57:36Z
2016-07-10T21:12:56Z
2016-07-10T21:12:56Z
MEMBER
null
Follow-up from #13323. This functionality can be made applicable outside of the parser and therefore should not exist at the parser level.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13352/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13352/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13353
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13353/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13353/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13353/events
https://github.com/pandas-dev/pandas/issues/13353
158,270,008
MDU6SXNzdWUxNTgyNzAwMDg=
13,353
error merging dataframes with unicode and numpy.float64 column names
{ "avatar_url": "https://avatars.githubusercontent.com/u/16807224?v=4", "events_url": "https://api.github.com/users/ckingdon95/events{/privacy}", "followers_url": "https://api.github.com/users/ckingdon95/followers", "following_url": "https://api.github.com/users/ckingdon95/following{/other_user}", "gists_url": "https://api.github.com/users/ckingdon95/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ckingdon95", "id": 16807224, "login": "ckingdon95", "node_id": "MDQ6VXNlcjE2ODA3MjI0", "organizations_url": "https://api.github.com/users/ckingdon95/orgs", "received_events_url": "https://api.github.com/users/ckingdon95/received_events", "repos_url": "https://api.github.com/users/ckingdon95/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ckingdon95/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ckingdon95/subscriptions", "type": "User", "url": "https://api.github.com/users/ckingdon95" }
[ { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" }, { "color": "cdea3c", "default": false, "description": "Unit test(s) needed to prevent regressions", "id": 986278782, "name": "Needs Tests", "node_id": "MDU6TGFiZWw5ODYyNzg3ODI=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
2016-06-03T00:47:45Z
2021-05-12T13:27:56Z
2021-05-12T13:27:56Z
NONE
null
There is a strange error happening during pandas.merge when there is a unicode column name followed by a numpy.float64 column name. The error only happens for certain numpy.float64 values. The error is: "UnicodeDecodeError: 'utf8' codec can't decode byte 0x80 in position 5: invalid start byte" The following code reproduces the error: ``` import pandas as pd import numpy as np def my_test(X): t=pd.DataFrame([[1, 2], [3, 4]]) u=pd.DataFrame([[9, 10], [11, 12]]) t.rename(columns={0:unicode('a'),1:np.float64(X)}, inplace=True) u.rename(columns={0:unicode('x'),1:unicode('y')}, inplace=True) pd.merge(u, t, how="inner", left_index=True, right_index=True) #works fine for 113, but throws an error for 114 my_test(113) my_test(114) #print out the numbers up to 200 for which this error occurs: problem_numbers=[] for i in range(200): try: my_test(i) except UnicodeDecodeError: problem_numbers.append(i) print(problem_numbers) ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13353/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13353/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13354
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13354/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13354/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13354/events
https://github.com/pandas-dev/pandas/issues/13354
158,311,433
MDU6SXNzdWUxNTgzMTE0MzM=
13,354
BUG: df.pivot_table: margins_name is ignored when there aggfunc is list
{ "avatar_url": "https://avatars.githubusercontent.com/u/2138328?v=4", "events_url": "https://api.github.com/users/ekeydar/events{/privacy}", "followers_url": "https://api.github.com/users/ekeydar/followers", "following_url": "https://api.github.com/users/ekeydar/following{/other_user}", "gists_url": "https://api.github.com/users/ekeydar/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ekeydar", "id": 2138328, "login": "ekeydar", "node_id": "MDQ6VXNlcjIxMzgzMjg=", "organizations_url": "https://api.github.com/users/ekeydar/orgs", "received_events_url": "https://api.github.com/users/ekeydar/received_events", "repos_url": "https://api.github.com/users/ekeydar/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ekeydar/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ekeydar/subscriptions", "type": "User", "url": "https://api.github.com/users/ekeydar" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
1
2016-06-03T07:56:45Z
2016-06-18T15:25:15Z
2016-06-18T15:25:15Z
NONE
null
#### Code Sample, a copy-pastable example if possible ``` costs = pd.DataFrame({'item':['bacon','cheese','bacon','cheese'], 'cost':[2.5,4.5,3.2,3.3], 'store':['SuperS','DollarM','SuperS','DollarM'], 'day':['M','M','T','T']}) costs.pivot_table(index="item",columns="day",margins=True, margins_name="Weekly",aggfunc=[np.mean,max]) ``` Will ignore the margins_name #### Expected Output ``` mean max cost cost store M T Weekly M T Weekly M T Weekly item bacon 2.5 3.20 2.850 2.5 3.2 3.2 SuperS SuperS SuperS cheese 4.5 3.30 3.900 4.5 3.3 4.5 DollarM DollarM DollarM All 3.5 3.25 3.375 4.5 3.3 4.5 SuperS SuperS SuperS ``` #### output of `pd.show_versions()` ``` INSTALLED VERSIONS ------------------ commit: None python: 3.4.3.final.0 python-bits: 64 OS: Linux OS-release: 3.13.0-43-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.18.1 nose: None pip: 1.5.6 setuptools: 20.2.2 Cython: None numpy: 1.11.0 scipy: 0.17.1 statsmodels: None xarray: None IPython: 4.1.2 sphinx: None patsy: None dateutil: 2.5.3 pytz: 2016.3 blosc: None bottleneck: None tables: None numexpr: None matplotlib: 1.5.1 openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml: None bs4: None html5lib: 0.9999999 httplib2: 0.9.2 apiclient: 1.5.0 sqlalchemy: None pymysql: None psycopg2: None jinja2: 2.8 boto: None pandas_datareader: None ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13354/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13354/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13355
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13355/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13355/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13355/events
https://github.com/pandas-dev/pandas/pull/13355
158,339,357
MDExOlB1bGxSZXF1ZXN0NzI0ODcwOTU=
13,355
BUG: revert assert_numpy_array_equal to before c2ea8fb2 (accept non-ndarrays)
{ "avatar_url": "https://avatars.githubusercontent.com/u/1224492?v=4", "events_url": "https://api.github.com/users/toobaz/events{/privacy}", "followers_url": "https://api.github.com/users/toobaz/followers", "following_url": "https://api.github.com/users/toobaz/following{/other_user}", "gists_url": "https://api.github.com/users/toobaz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/toobaz", "id": 1224492, "login": "toobaz", "node_id": "MDQ6VXNlcjEyMjQ0OTI=", "organizations_url": "https://api.github.com/users/toobaz/orgs", "received_events_url": "https://api.github.com/users/toobaz/received_events", "repos_url": "https://api.github.com/users/toobaz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/toobaz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/toobaz/subscriptions", "type": "User", "url": "https://api.github.com/users/toobaz" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
null
10
2016-06-03T10:38:00Z
2016-06-14T14:39:18Z
2016-06-14T14:39:18Z
MEMBER
null
- [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` `assert_numpy_array_equal`'s docstring is at odds with (and the existence of the `obj` argument clashes with) the fact that it's now strict on its arguments being ndrarrays. There are [practical reasons](https://github.com/pydata/pandas/pull/13205#discussion_r65358471) to allow other kinds of arguments. On the other hand, I don't see any reason for being strict, but I assume @sinhrks 's [PR](https://github.com/pydata/pandas/pull/13311) had some rationale behind: so a possible solution is an argument `ensure_ndarray=True` which restores the previous behaviour when set to `False`.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13355/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13355/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13355.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13355", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13355.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13355" }
https://api.github.com/repos/pandas-dev/pandas/issues/13356
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13356/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13356/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13356/events
https://github.com/pandas-dev/pandas/issues/13356
158,407,185
MDU6SXNzdWUxNTg0MDcxODU=
13,356
ENH: support encoding in read_json
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "444444", "default": false, "description": "Unicode strings", "id": 36380025, "name": "Unicode", "node_id": "MDU6TGFiZWwzNjM4MDAyNQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Unicode" }, { "color": "207de5", "default": false, "description": "read_json, to_json, json_normalize", "id": 49379259, "name": "IO JSON", "node_id": "MDU6TGFiZWw0OTM3OTI1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/30583?v=4", "events_url": "https://api.github.com/users/aterrel/events{/privacy}", "followers_url": "https://api.github.com/users/aterrel/followers", "following_url": "https://api.github.com/users/aterrel/following{/other_user}", "gists_url": "https://api.github.com/users/aterrel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/aterrel", "id": 30583, "login": "aterrel", "node_id": "MDQ6VXNlcjMwNTgz", "organizations_url": "https://api.github.com/users/aterrel/orgs", "received_events_url": "https://api.github.com/users/aterrel/received_events", "repos_url": "https://api.github.com/users/aterrel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/aterrel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/aterrel/subscriptions", "type": "User", "url": "https://api.github.com/users/aterrel" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/30583?v=4", "events_url": "https://api.github.com/users/aterrel/events{/privacy}", "followers_url": "https://api.github.com/users/aterrel/followers", "following_url": "https://api.github.com/users/aterrel/following{/other_user}", "gists_url": "https://api.github.com/users/aterrel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/aterrel", "id": 30583, "login": "aterrel", "node_id": "MDQ6VXNlcjMwNTgz", "organizations_url": "https://api.github.com/users/aterrel/orgs", "received_events_url": "https://api.github.com/users/aterrel/received_events", "repos_url": "https://api.github.com/users/aterrel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/aterrel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/aterrel/subscriptions", "type": "User", "url": "https://api.github.com/users/aterrel" } ]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
1
2016-06-03T16:39:28Z
2016-07-24T14:14:06Z
2016-07-24T14:14:06Z
CONTRIBUTOR
null
the hooks already exist, just need to define the argument and pass thru to `_get_filepath_or_buffer`
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13356/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13356/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13357
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13357/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13357/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13357/events
https://github.com/pandas-dev/pandas/issues/13357
158,438,877
MDU6SXNzdWUxNTg0Mzg4Nzc=
13,357
assert_almost_equal
{ "avatar_url": "https://avatars.githubusercontent.com/u/941147?v=4", "events_url": "https://api.github.com/users/jaysw/events{/privacy}", "followers_url": "https://api.github.com/users/jaysw/followers", "following_url": "https://api.github.com/users/jaysw/following{/other_user}", "gists_url": "https://api.github.com/users/jaysw/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jaysw", "id": 941147, "login": "jaysw", "node_id": "MDQ6VXNlcjk0MTE0Nw==", "organizations_url": "https://api.github.com/users/jaysw/orgs", "received_events_url": "https://api.github.com/users/jaysw/received_events", "repos_url": "https://api.github.com/users/jaysw/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jaysw/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jaysw/subscriptions", "type": "User", "url": "https://api.github.com/users/jaysw" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/3449695?v=4", "events_url": "https://api.github.com/users/joaoleveiga/events{/privacy}", "followers_url": "https://api.github.com/users/joaoleveiga/followers", "following_url": "https://api.github.com/users/joaoleveiga/following{/other_user}", "gists_url": "https://api.github.com/users/joaoleveiga/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/joaoleveiga", "id": 3449695, "login": "joaoleveiga", "node_id": "MDQ6VXNlcjM0NDk2OTU=", "organizations_url": "https://api.github.com/users/joaoleveiga/orgs", "received_events_url": "https://api.github.com/users/joaoleveiga/received_events", "repos_url": "https://api.github.com/users/joaoleveiga/repos", "site_admin": false, "starred_url": "https://api.github.com/users/joaoleveiga/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/joaoleveiga/subscriptions", "type": "User", "url": "https://api.github.com/users/joaoleveiga" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/3449695?v=4", "events_url": "https://api.github.com/users/joaoleveiga/events{/privacy}", "followers_url": "https://api.github.com/users/joaoleveiga/followers", "following_url": "https://api.github.com/users/joaoleveiga/following{/other_user}", "gists_url": "https://api.github.com/users/joaoleveiga/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/joaoleveiga", "id": 3449695, "login": "joaoleveiga", "node_id": "MDQ6VXNlcjM0NDk2OTU=", "organizations_url": "https://api.github.com/users/joaoleveiga/orgs", "received_events_url": "https://api.github.com/users/joaoleveiga/received_events", "repos_url": "https://api.github.com/users/joaoleveiga/repos", "site_admin": false, "starred_url": "https://api.github.com/users/joaoleveiga/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/joaoleveiga/subscriptions", "type": "User", "url": "https://api.github.com/users/joaoleveiga" } ]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
9
2016-06-03T19:34:19Z
2020-06-24T22:25:21Z
2020-06-24T22:25:21Z
NONE
null
Hi, I'm wondering if the following behavior of pandas._testing.assert_almost_equal is expected: #### Code Sample, a copy-pastable example if possible ``` from pandas import _testing _testing.assert_almost_equal(0.000011, 0.000012, check_less_precise=True) ``` #### Expected Output Expect no output / no AssertionError #### Actual Output ``` AssertionError Traceback (most recent call last) <ipython-input-199-ace78e82c603> in <module>() 1 from pandas import _testing ----> 2 _testing.assert_almost_equal(0.000011, 0.000012, check_less_precise=True) pandas/src/testing.pyx in pandas._testing.assert_almost_equal (pandas/src/testing.c:3887)() pandas/src/testing.pyx in pandas._testing.assert_almost_equal (pandas/src/testing.c:3653)() AssertionError: expected 0.00001 but got 0.00001, with decimal 3 ``` Note that the numbers differ at decimal 6 and the output suggests they are different at position 3. #### output of `pd.show_versions()` ## INSTALLED VERSIONS commit: None python: 2.7.11.final.0 python-bits: 64 OS: Darwin OS-release: 15.5.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.18.1 nose: None pip: 8.0.2 setuptools: 21.2.1 Cython: None numpy: 1.11.0 scipy: 0.17.1 statsmodels: None xarray: None IPython: 4.2.0 sphinx: None patsy: None dateutil: 2.5.3 pytz: 2016.4 blosc: None bottleneck: None tables: None numexpr: None matplotlib: 1.5.1 openpyxl: 2.3.3 xlrd: 0.9.4 xlwt: 1.0.0 xlsxwriter: None lxml: None bs4: None html5lib: None httplib2: None apiclient: None sqlalchemy: 1.0.12 pymysql: None psycopg2: 2.6.1 (dt dec pq3 ext lo64) jinja2: 2.8 boto: 2.39.0 pandas_datareader: None
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13357/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13357/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13358
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13358/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13358/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13358/events
https://github.com/pandas-dev/pandas/pull/13358
158,438,971
MDExOlB1bGxSZXF1ZXN0NzI1NTg1NTE=
13,358
ENH: add pd.asof_merge
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
39
2016-06-03T19:34:49Z
2016-06-17T00:10:57Z
2016-06-17T00:09:32Z
CONTRIBUTOR
null
closes #1870 xref #2941 [Here](http://nbviewer.jupyter.org/gist/jreback/5f089d308750c89b2a7d7446b790c056) is a notebook of example usage and timings
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 1, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13358/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13358/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13358.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13358", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13358.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13358" }
https://api.github.com/repos/pandas-dev/pandas/issues/13359
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13359/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13359/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13359/events
https://github.com/pandas-dev/pandas/pull/13359
158,470,738
MDExOlB1bGxSZXF1ZXN0NzI1ODE4NDM=
13,359
Make pd.read_hdf('data.h5') work when pandas object stored contained categorical columns
{ "avatar_url": "https://avatars.githubusercontent.com/u/632858?v=4", "events_url": "https://api.github.com/users/chrish42/events{/privacy}", "followers_url": "https://api.github.com/users/chrish42/followers", "following_url": "https://api.github.com/users/chrish42/following{/other_user}", "gists_url": "https://api.github.com/users/chrish42/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/chrish42", "id": 632858, "login": "chrish42", "node_id": "MDQ6VXNlcjYzMjg1OA==", "organizations_url": "https://api.github.com/users/chrish42/orgs", "received_events_url": "https://api.github.com/users/chrish42/received_events", "repos_url": "https://api.github.com/users/chrish42/repos", "site_admin": false, "starred_url": "https://api.github.com/users/chrish42/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/chrish42/subscriptions", "type": "User", "url": "https://api.github.com/users/chrish42" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "read_hdf, HDFStore", "id": 47229190, "name": "IO HDF5", "node_id": "MDU6TGFiZWw0NzIyOTE5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
3
2016-06-03T23:07:02Z
2016-06-05T14:08:29Z
2016-06-05T14:08:12Z
CONTRIBUTOR
null
- [x] closes #13231 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13359/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13359/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13359.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13359", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13359.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13359" }
https://api.github.com/repos/pandas-dev/pandas/issues/13360
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13360/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13360/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13360/events
https://github.com/pandas-dev/pandas/pull/13360
158,483,052
MDExOlB1bGxSZXF1ZXN0NzI1OTAzOTE=
13,360
DEPR, DOC: Deprecate buffer_lines in read_csv
{ "avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4", "events_url": "https://api.github.com/users/gfyoung/events{/privacy}", "followers_url": "https://api.github.com/users/gfyoung/followers", "following_url": "https://api.github.com/users/gfyoung/following{/other_user}", "gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gfyoung", "id": 9273653, "login": "gfyoung", "node_id": "MDQ6VXNlcjkyNzM2NTM=", "organizations_url": "https://api.github.com/users/gfyoung/orgs", "received_events_url": "https://api.github.com/users/gfyoung/received_events", "repos_url": "https://api.github.com/users/gfyoung/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions", "type": "User", "url": "https://api.github.com/users/gfyoung" }
[ { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
3
2016-06-04T02:33:30Z
2016-06-05T13:57:54Z
2016-06-05T13:57:52Z
MEMBER
null
`buffer_lines` is not respected, as it is determined internally via a heuristic involving `table_width` (see <a href="https://github.com/pydata/pandas/blob/master/pandas/parser.pyx#L527">here</a> for how it is computed).
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13360/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13360/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13360.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13360", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13360.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13360" }
https://api.github.com/repos/pandas-dev/pandas/issues/13361
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13361/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13361/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13361/events
https://github.com/pandas-dev/pandas/pull/13361
158,501,831
MDExOlB1bGxSZXF1ZXN0NzI2MDA5NDM=
13,361
API/ENH: union Categorical
{ "avatar_url": "https://avatars.githubusercontent.com/u/1924092?v=4", "events_url": "https://api.github.com/users/chris-b1/events{/privacy}", "followers_url": "https://api.github.com/users/chris-b1/followers", "following_url": "https://api.github.com/users/chris-b1/following{/other_user}", "gists_url": "https://api.github.com/users/chris-b1/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/chris-b1", "id": 1924092, "login": "chris-b1", "node_id": "MDQ6VXNlcjE5MjQwOTI=", "organizations_url": "https://api.github.com/users/chris-b1/orgs", "received_events_url": "https://api.github.com/users/chris-b1/received_events", "repos_url": "https://api.github.com/users/chris-b1/repos", "site_admin": false, "starred_url": "https://api.github.com/users/chris-b1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/chris-b1/subscriptions", "type": "User", "url": "https://api.github.com/users/chris-b1" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
34
2016-06-04T12:03:11Z
2017-03-17T01:04:23Z
2016-06-08T11:32:41Z
CONTRIBUTOR
null
I was looking into #10153 (parsing Categoricals directly) and one thing that seems to be needed for that is a good way to combine Categoricals. That part alone is complicated enough so I decided to do a separate PR for it. This adds a `union_categoricals` function that takes a list of (identical dtyped, unordered) and combines them without doing a full factorization again, unioning the categories. This seems like it might be generically useful, does it belong the public api somewhere and/or as a method a `Categorical`? Maybe as on option on `concat`? Might also be useful for dask? e.g. https://github.com/dask/dask/issues/1040, cc @mrocklin An example timing below. Obviously depends on the density of the categories, but for relatively small numbers of categories, seems to generally be in 5-6x speed up range vs concatting everything and re-categorizing. ``` python from pandas.types.concat import union_categoricals group1 = ['aaaaa', 'bbbbb', 'cccccc', 'ddddddd', 'eeeeeeee'] group2 = group1[3:] + ['fffffff', 'gggggggg', 'ddddddddd'] a = np.random.choice(group1, 1000000).astype('object') b = np.random.choice(group2, 1000000).astype('object') a_cat, b_cat = pd.Categorical(a), pd.Categorical(b) In [10]: %timeit np.concatenate([a,b,a,b,a]) 10 loops, best of 3: 82.7 ms per loop In [12]: %timeit pd.Categorical(np.concatenate([a_cat.get_values(),b_cat.get_values(), a_cat.get_values(),b_cat.get_values(), a_cat.get_values()])) 1 loops, best of 3: 344 ms per loop In [14]: %timeit union_categoricals([a_cat,b_cat,a_cat,b_cat,a_cat]) 10 loops, best of 3: 40.9 ms per loop ```
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13361/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13361/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13361.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13361", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13361.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13361" }
https://api.github.com/repos/pandas-dev/pandas/issues/13362
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13362/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13362/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13362/events
https://github.com/pandas-dev/pandas/issues/13362
158,508,145
MDU6SXNzdWUxNTg1MDgxNDU=
13,362
read_msgpack returns a List of length Zero
{ "avatar_url": "https://avatars.githubusercontent.com/u/5426388?v=4", "events_url": "https://api.github.com/users/javierorozco/events{/privacy}", "followers_url": "https://api.github.com/users/javierorozco/followers", "following_url": "https://api.github.com/users/javierorozco/following{/other_user}", "gists_url": "https://api.github.com/users/javierorozco/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/javierorozco", "id": 5426388, "login": "javierorozco", "node_id": "MDQ6VXNlcjU0MjYzODg=", "organizations_url": "https://api.github.com/users/javierorozco/orgs", "received_events_url": "https://api.github.com/users/javierorozco/received_events", "repos_url": "https://api.github.com/users/javierorozco/repos", "site_admin": false, "starred_url": "https://api.github.com/users/javierorozco/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/javierorozco/subscriptions", "type": "User", "url": "https://api.github.com/users/javierorozco" }
[]
closed
false
null
[]
null
6
2016-06-04T14:55:11Z
2016-06-04T21:34:44Z
2016-06-04T21:34:44Z
NONE
null
I have a very large Data Frame that takes 10.7 GB when serialized with "to_csv", but it takes 6.7 GB when using "to_msgpack". When reading the serialized file with "read_msgpack", I get a type List of length Zero. The same IO process on 200 MB Data Frame works perfectly, i.e. a Data Frame is returned by the function "read_msgpack". #### Code Sample, a copy-pastable example if possible type(df) -> pd.DataFrame len(df) -> 39227674 df.to_msgpack('foo.msg') df2 = pd.read_msgpack('foo.msg') type(df2) -> List len(df2) -> 0 #### Expected Output type(df2) -> pd.DataFrame len(df2) -> 39227674 #### output of `pd.show_versions()` ## INSTALLED VERSIONS commit: None python: 2.7.3.final.0 python-bits: 64 OS: Linux OS-release: 3.2.0-49-virtual machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.18.1 nose: 1.1.2 pip: 8.1.2 setuptools: 1.4 Cython: 0.23.4 numpy: 1.11.0 scipy: 0.17.0 statsmodels: None xarray: None IPython: 4.0.0 sphinx: None patsy: None
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13362/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13362/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13363
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13363/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13363/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13363/events
https://github.com/pandas-dev/pandas/pull/13363
158,527,401
MDExOlB1bGxSZXF1ZXN0NzI2MTQ5NDE=
13,363
BUG: df.pivot_table: margins_name is ignored when there aggfunc is li…
{ "avatar_url": "https://avatars.githubusercontent.com/u/1481409?v=4", "events_url": "https://api.github.com/users/vhancu/events{/privacy}", "followers_url": "https://api.github.com/users/vhancu/followers", "following_url": "https://api.github.com/users/vhancu/following{/other_user}", "gists_url": "https://api.github.com/users/vhancu/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/vhancu", "id": 1481409, "login": "vhancu", "node_id": "MDQ6VXNlcjE0ODE0MDk=", "organizations_url": "https://api.github.com/users/vhancu/orgs", "received_events_url": "https://api.github.com/users/vhancu/received_events", "repos_url": "https://api.github.com/users/vhancu/repos", "site_admin": false, "starred_url": "https://api.github.com/users/vhancu/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/vhancu/subscriptions", "type": "User", "url": "https://api.github.com/users/vhancu" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" } ]
closed
false
null
[]
null
4
2016-06-04T22:34:36Z
2016-11-16T22:22:58Z
2016-11-16T22:22:58Z
NONE
null
- [x ] closes #13354 - [ ] tests added / passed - [ ] passes `git diff upstream/master | flake8 --diff` - [ ] whatsnew entry …st #13354
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13363/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13363/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13363.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13363", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13363.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13363" }
https://api.github.com/repos/pandas-dev/pandas/issues/13364
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13364/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13364/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13364/events
https://github.com/pandas-dev/pandas/pull/13364
158,527,889
MDExOlB1bGxSZXF1ZXN0NzI2MTUyMzU=
13,364
BUG: resample by BusinessHour raises ValueError
{ "avatar_url": "https://avatars.githubusercontent.com/u/964251?v=4", "events_url": "https://api.github.com/users/scari/events{/privacy}", "followers_url": "https://api.github.com/users/scari/followers", "following_url": "https://api.github.com/users/scari/following{/other_user}", "gists_url": "https://api.github.com/users/scari/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/scari", "id": 964251, "login": "scari", "node_id": "MDQ6VXNlcjk2NDI1MQ==", "organizations_url": "https://api.github.com/users/scari/orgs", "received_events_url": "https://api.github.com/users/scari/received_events", "repos_url": "https://api.github.com/users/scari/repos", "site_admin": false, "starred_url": "https://api.github.com/users/scari/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/scari/subscriptions", "type": "User", "url": "https://api.github.com/users/scari" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "207de5", "default": false, "description": "resample method", "id": 74975453, "name": "Resample", "node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample" } ]
closed
false
null
[]
null
7
2016-06-04T22:48:03Z
2017-02-01T20:53:15Z
2017-02-01T20:53:15Z
CONTRIBUTOR
null
- [x] closes #12351 - [x] tests added / passed (`TestPeriodIndex.test_resample_hourly_business_hourly`) - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry I did this during pandas sprint at PyCon 2016. Hope this close #12351 Resampling with BusinessHour took much more consideration I guess. Please review this. Any comments are welcome.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13364/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13364/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13364.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13364", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13364.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13364" }
https://api.github.com/repos/pandas-dev/pandas/issues/13365
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13365/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13365/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13365/events
https://github.com/pandas-dev/pandas/issues/13365
158,528,000
MDU6SXNzdWUxNTg1MjgwMDA=
13,365
Alignment of CategoricalIndex
{ "avatar_url": "https://avatars.githubusercontent.com/u/1224492?v=4", "events_url": "https://api.github.com/users/toobaz/events{/privacy}", "followers_url": "https://api.github.com/users/toobaz/followers", "following_url": "https://api.github.com/users/toobaz/following{/other_user}", "gists_url": "https://api.github.com/users/toobaz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/toobaz", "id": 1224492, "login": "toobaz", "node_id": "MDQ6VXNlcjEyMjQ0OTI=", "organizations_url": "https://api.github.com/users/toobaz/orgs", "received_events_url": "https://api.github.com/users/toobaz/received_events", "repos_url": "https://api.github.com/users/toobaz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/toobaz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/toobaz/subscriptions", "type": "User", "url": "https://api.github.com/users/toobaz" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" }, { "color": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
2
2016-06-04T22:51:02Z
2021-05-01T22:02:32Z
null
MEMBER
null
#### Code Sample, a copy-pastable example if possible ``` In [2]: c = pd.CategoricalIndex(['3z53', '3z53', 'LoJG', 'LoJG', 'LoJG', 'N503']) In [3]: s1 = pd.Series(2, index=c) In [4]: s2 = pd.Series(2, index=c[:-1]) In [5]: s1*s2 --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-5-7426096cfe41> in <module>() ----> 1 s1*s2 /home/pietro/nobackup/repo/pandas/pandas/core/ops.py in wrapper(left, right, name, na_op) 647 else: 648 index, lidx, ridx = left.index.join(rindex, how='outer', --> 649 return_indexers=True) 650 651 if lidx is not None: /home/pietro/nobackup/repo/pandas/pandas/indexes/base.py in join(self, other, how, level, return_indexers) 2524 if not self.is_unique and not other.is_unique: 2525 return self._join_non_unique(other, how=how, -> 2526 return_indexers=return_indexers) 2527 elif not self.is_unique or not other.is_unique: 2528 if self.is_monotonic and other.is_monotonic: /home/pietro/nobackup/repo/pandas/pandas/indexes/base.py in _join_non_unique(self, other, how, return_indexers) 2616 join_index = self.values.take(left_idx) 2617 mask = left_idx == -1 -> 2618 np.putmask(join_index, mask, other._values.take(right_idx)) 2619 2620 join_index = self._wrap_joined_index(join_index, other) TypeError: putmask() argument 1 must be numpy.ndarray, not Categorical ``` #### Expected Output No error #### output of `pd.show_versions()` ``` In [6]: pd.show_versions() INSTALLED VERSIONS ------------------ commit: None python: 3.5.1.final.0 python-bits: 64 OS: Linux OS-release: 4.5.0-2-amd64 machine: x86_64 processor: byteorder: little LC_ALL: None LANG: it_IT.utf8 pandas: 0.18.1+102.g0c6226c nose: 1.3.7 pip: 1.5.6 setuptools: 18.4 Cython: 0.23.4 numpy: 1.10.4 scipy: 0.16.0 statsmodels: 0.8.0.dev0+0fac349 xarray: None IPython: 5.0.0.dev sphinx: 1.3.1 patsy: 0.3.0-dev dateutil: 2.2 pytz: 2012c blosc: None bottleneck: 1.1.0dev tables: 3.2.2 numexpr: 2.5 matplotlib: 1.5.1 openpyxl: None xlrd: 0.9.4 xlwt: None xlsxwriter: 0.7.3 lxml: None bs4: 4.4.0 html5lib: 0.999 httplib2: 0.9.1 apiclient: 1.5.0 sqlalchemy: 1.0.11 pymysql: None psycopg2: None jinja2: 2.8 boto: 2.38.0 pandas_datareader: 0.2.1 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13365/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13365/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13366
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13366/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13366/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13366/events
https://github.com/pandas-dev/pandas/pull/13366
158,528,883
MDExOlB1bGxSZXF1ZXN0NzI2MTU3Njk=
13,366
DOC: Fixed a minor typo
{ "avatar_url": "https://avatars.githubusercontent.com/u/2753858?v=4", "events_url": "https://api.github.com/users/bkeyvani/events{/privacy}", "followers_url": "https://api.github.com/users/bkeyvani/followers", "following_url": "https://api.github.com/users/bkeyvani/following{/other_user}", "gists_url": "https://api.github.com/users/bkeyvani/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bkeyvani", "id": 2753858, "login": "bkeyvani", "node_id": "MDQ6VXNlcjI3NTM4NTg=", "organizations_url": "https://api.github.com/users/bkeyvani/orgs", "received_events_url": "https://api.github.com/users/bkeyvani/received_events", "repos_url": "https://api.github.com/users/bkeyvani/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bkeyvani/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bkeyvani/subscriptions", "type": "User", "url": "https://api.github.com/users/bkeyvani" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
3
2016-06-04T23:19:03Z
2016-06-07T02:02:56Z
2016-06-05T13:51:02Z
NONE
null
It also seems that the texts of the `doc/README.rst` and the `doc/source/contributing.rst` have lots of overlap and duplication. Not sure if there are any plans in consolidating these two files but I thought to mention that here 😄
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13366/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13366/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13366.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13366", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13366.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13366" }
https://api.github.com/repos/pandas-dev/pandas/issues/13367
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13367/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13367/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13367/events
https://github.com/pandas-dev/pandas/issues/13367
158,542,483
MDU6SXNzdWUxNTg1NDI0ODM=
13,367
Why 'axis=1' denote different axis in different cases?
{ "avatar_url": "https://avatars.githubusercontent.com/u/12858223?v=4", "events_url": "https://api.github.com/users/Rosin1/events{/privacy}", "followers_url": "https://api.github.com/users/Rosin1/followers", "following_url": "https://api.github.com/users/Rosin1/following{/other_user}", "gists_url": "https://api.github.com/users/Rosin1/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Rosin1", "id": 12858223, "login": "Rosin1", "node_id": "MDQ6VXNlcjEyODU4MjIz", "organizations_url": "https://api.github.com/users/Rosin1/orgs", "received_events_url": "https://api.github.com/users/Rosin1/received_events", "repos_url": "https://api.github.com/users/Rosin1/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Rosin1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Rosin1/subscriptions", "type": "User", "url": "https://api.github.com/users/Rosin1" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" }, { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" } ]
closed
false
null
[]
null
1
2016-06-05T07:41:07Z
2016-06-05T14:20:42Z
2016-06-05T14:20:32Z
NONE
null
In `df.apply(f, axis=1)` , it means applying `f` on rows. However, In `df.drop([column_name], axis=1)`, it means dropping columns. So, what is the trick to determine in which cases `axis=1` means functioning on rows while in other cases it means functioning on columns ?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13367/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13367/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13368
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13368/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13368/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13368/events
https://github.com/pandas-dev/pandas/pull/13368
158,542,721
MDExOlB1bGxSZXF1ZXN0NzI2MjMxODU=
13,368
DOC: document doublequote in read_csv
{ "avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4", "events_url": "https://api.github.com/users/gfyoung/events{/privacy}", "followers_url": "https://api.github.com/users/gfyoung/followers", "following_url": "https://api.github.com/users/gfyoung/following{/other_user}", "gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gfyoung", "id": 9273653, "login": "gfyoung", "node_id": "MDQ6VXNlcjkyNzM2NTM=", "organizations_url": "https://api.github.com/users/gfyoung/orgs", "received_events_url": "https://api.github.com/users/gfyoung/received_events", "repos_url": "https://api.github.com/users/gfyoung/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions", "type": "User", "url": "https://api.github.com/users/gfyoung" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
1
2016-06-05T07:48:22Z
2016-06-05T13:55:07Z
2016-06-05T13:55:07Z
MEMBER
null
Title is self-explanatory.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13368/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13368/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13368.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13368", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13368.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13368" }
https://api.github.com/repos/pandas-dev/pandas/issues/13369
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13369/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13369/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13369/events
https://github.com/pandas-dev/pandas/pull/13369
158,556,698
MDExOlB1bGxSZXF1ZXN0NzI2MzA2MTA=
13,369
Typo correction
{ "avatar_url": "https://avatars.githubusercontent.com/u/3189997?v=4", "events_url": "https://api.github.com/users/bowlofstew/events{/privacy}", "followers_url": "https://api.github.com/users/bowlofstew/followers", "following_url": "https://api.github.com/users/bowlofstew/following{/other_user}", "gists_url": "https://api.github.com/users/bowlofstew/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bowlofstew", "id": 3189997, "login": "bowlofstew", "node_id": "MDQ6VXNlcjMxODk5OTc=", "organizations_url": "https://api.github.com/users/bowlofstew/orgs", "received_events_url": "https://api.github.com/users/bowlofstew/received_events", "repos_url": "https://api.github.com/users/bowlofstew/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bowlofstew/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bowlofstew/subscriptions", "type": "User", "url": "https://api.github.com/users/bowlofstew" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
null
4
2016-06-05T14:23:02Z
2016-06-05T18:06:10Z
2016-06-05T18:06:10Z
CONTRIBUTOR
null
Corrected a small typo found when reviewing the script.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13369/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13369/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13369.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13369", "merged_at": "2016-06-05T18:06:10Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/13369.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13369" }
https://api.github.com/repos/pandas-dev/pandas/issues/13370
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13370/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13370/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13370/events
https://github.com/pandas-dev/pandas/issues/13370
158,571,966
MDU6SXNzdWUxNTg1NzE5NjY=
13,370
Dataframes ready to be imported?
{ "avatar_url": "https://avatars.githubusercontent.com/u/1993919?v=4", "events_url": "https://api.github.com/users/amelio-vazquez-reina/events{/privacy}", "followers_url": "https://api.github.com/users/amelio-vazquez-reina/followers", "following_url": "https://api.github.com/users/amelio-vazquez-reina/following{/other_user}", "gists_url": "https://api.github.com/users/amelio-vazquez-reina/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/amelio-vazquez-reina", "id": 1993919, "login": "amelio-vazquez-reina", "node_id": "MDQ6VXNlcjE5OTM5MTk=", "organizations_url": "https://api.github.com/users/amelio-vazquez-reina/orgs", "received_events_url": "https://api.github.com/users/amelio-vazquez-reina/received_events", "repos_url": "https://api.github.com/users/amelio-vazquez-reina/repos", "site_admin": false, "starred_url": "https://api.github.com/users/amelio-vazquez-reina/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/amelio-vazquez-reina/subscriptions", "type": "User", "url": "https://api.github.com/users/amelio-vazquez-reina" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" } ]
closed
false
null
[]
null
1
2016-06-05T20:11:55Z
2016-06-05T20:46:40Z
2016-06-05T20:46:32Z
CONTRIBUTOR
null
Does Pandas come with any "sample" dataframes ready to be imported? Otherwise, does the library provide any utilities to _quickly_ create them randomly? (aside from the usual np. random utils). I'm thinking of examples with timestamps, categorical and numerical data. Alternatively, are there any recommended packages that can help users load "sample" dataframes/series/panels?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13370/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13370/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13371
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13371/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13371/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13371/events
https://github.com/pandas-dev/pandas/issues/13371
158,574,264
MDU6SXNzdWUxNTg1NzQyNjQ=
13,371
merge on index vs merge on column - different NaN handling
{ "avatar_url": "https://avatars.githubusercontent.com/u/5802525?v=4", "events_url": "https://api.github.com/users/ialong/events{/privacy}", "followers_url": "https://api.github.com/users/ialong/followers", "following_url": "https://api.github.com/users/ialong/following{/other_user}", "gists_url": "https://api.github.com/users/ialong/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ialong", "id": 5802525, "login": "ialong", "node_id": "MDQ6VXNlcjU4MDI1MjU=", "organizations_url": "https://api.github.com/users/ialong/orgs", "received_events_url": "https://api.github.com/users/ialong/received_events", "repos_url": "https://api.github.com/users/ialong/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ialong/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ialong/subscriptions", "type": "User", "url": "https://api.github.com/users/ialong" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" } ]
open
false
null
[]
null
10
2016-06-05T20:55:14Z
2021-05-01T22:07:16Z
null
NONE
null
In the following examples there are three different merge behaviours when it comes to handling NaNs. They are all based on pd.merge(..., how="left", ...) The difference depends on: ##### 1) Whether we are merging using an index or a column. ##### 2) Whether the column keys we are merging on are the same value or not (i.e. if left_on = right_on). Arguably, if we specify "left" as the merging criterion, the desired behaviour is to have NaNs in the columns coming from the right dataframe where there is no match between the left and right dataframes' key columns (see first merge in example below, 'd' and 'e' columns). The problem is, if we are merging on left's index, the NaNs get filled with the index values from the left dataframe even if the names of the two columns don't match ('c' and 'd' in the example). We are thus led to believe there was a perfect match between the index of the left dataframe and the "key" column of the right dataframe ('d' here). #### Gotchas: ###### -There is something puzzling going on with the new indices of the resulting dataframe (when merging on index). ###### -Type casting occurs when merging on index, perhaps suggesting NaNs are explicitly filled in a second step. #### Proposed behaviour: Maybe it is simply a matter of removing this NaN filling step. ##### Better yet, the "key" column in the merged dataframe should perhaps bear the name of left's index not of the "right_on" key (provided we used left's index to merge). I.e. in the second merge of the example, the 'd' column should be called 'c'. This is really the source of the confusion when the two names are different. When they are the same the "no NaN" behaviour is arguably legitimate. Also it might be worthwhile to cast the final column back to the original dtype if there are no NaNs. Maybe this is not really an issue though, more something to be aware of. I would be interested in hearing any motivation behind this behaviour. ##### Looking forward to reading your thoughts! ### Code Sample: ``` df1 = pd.DataFrame(columns=['a','b','c'], data=[[1,2,3],[4,5,6],[7,8,9],[10,11,12]]) df1_c_index = df1.set_index('c') df2 = pd.DataFrame(columns=['d','e'], data=[[3,14],[6,15],[13,16]]) print 'df1', '\n', df1, '\n' print 'df1_c_index', '\n', df1_c_index, '\n' print 'df2', '\n', df2, '\n' print "pd.merge(df1, df2, how='left', left_on='c', right_on='d')", '\n' print pd.merge(df1, df2, how='left', left_on='c', right_on='d'), '\n' print "pd.merge(df1_c_index, df2, how='left', left_index=True, right_on='d')", '\n' print pd.merge(df1_c_index, df2, how='left', left_index=True, right_on='d'), '\n' df2.rename(columns={'d':'c'}, inplace=True) print 'df1', '\n', df1, '\n' print 'df1_c_index', '\n', df1_c_index, '\n' print 'df2', '\n', df2, '\n' print "pd.merge(df1, df2, how='left', left_on='c', right_on='c')", '\n' print pd.merge(df1, df2, how='left', left_on='c', right_on='c'), '\n' print "pd.merge(df1_c_index, df2, how='left', left_index=True, right_on='c')", '\n' print pd.merge(df1_c_index, df2, how='left', left_index=True, right_on='c'), '\n' ``` ### Output: ![screen shot 2016-06-05 at 21 06 48](https://cloud.githubusercontent.com/assets/5802525/15807927/8aef526e-2b61-11e6-856f-e74d2bffd970.png) ![screen shot 2016-06-05 at 21 07 05](https://cloud.githubusercontent.com/assets/5802525/15807930/98086efe-2b61-11e6-8de6-97332f436980.png) ### output of `pd.show_versions()`: #### INSTALLED VERSIONS --- commit: None python: 2.7.11.final.0 python-bits: 64 OS: Darwin OS-release: 15.5.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: None LANG: en_GB.UTF-8 pandas: 0.18.1 nose: None pip: 8.1.2 setuptools: 21.0.0 Cython: None numpy: 1.11.0 scipy: 0.17.1 statsmodels: None xarray: 0.7.2 IPython: 4.2.0 sphinx: None patsy: None dateutil: 2.5.3 pytz: 2016.4 blosc: None bottleneck: 1.0.0 tables: None numexpr: 2.6.0 matplotlib: 1.5.1 openpyxl: None xlrd: 0.9.4 xlwt: None xlsxwriter: None lxml: None bs4: None html5lib: None httplib2: None apiclient: None sqlalchemy: None pymysql: None psycopg2: None jinja2: 2.8 boto: 2.39.0 pandas_datareader: None
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13371/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13371/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13372
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13372/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13372/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13372/events
https://github.com/pandas-dev/pandas/pull/13372
158,577,068
MDExOlB1bGxSZXF1ZXN0NzI2NDE2MzY=
13,372
CLN: remove old skiplist code
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
0
2016-06-05T21:52:40Z
2016-06-05T21:56:53Z
2016-06-05T21:56:53Z
CONTRIBUTOR
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13372/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13372/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13372.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13372", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13372.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13372" }
https://api.github.com/repos/pandas-dev/pandas/issues/13373
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13373/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13373/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13373/events
https://github.com/pandas-dev/pandas/pull/13373
158,577,492
MDExOlB1bGxSZXF1ZXN0NzI2NDE4NzE=
13,373
DEPR: Deprecate as_recarray in read_csv
{ "avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4", "events_url": "https://api.github.com/users/gfyoung/events{/privacy}", "followers_url": "https://api.github.com/users/gfyoung/followers", "following_url": "https://api.github.com/users/gfyoung/following{/other_user}", "gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gfyoung", "id": 9273653, "login": "gfyoung", "node_id": "MDQ6VXNlcjkyNzM2NTM=", "organizations_url": "https://api.github.com/users/gfyoung/orgs", "received_events_url": "https://api.github.com/users/gfyoung/received_events", "repos_url": "https://api.github.com/users/gfyoung/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions", "type": "User", "url": "https://api.github.com/users/gfyoung" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
14
2016-06-05T22:02:12Z
2016-06-06T23:16:54Z
2016-06-06T23:14:50Z
MEMBER
null
1) Documented and deprecate `as_recarray` 2) Added `as_recarray` functionality to Python engine 3) Fixed bug in C engine in which `usecols` was not being respected in combination with `as_recarray`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13373/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13373/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13373.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13373", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13373.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13373" }
https://api.github.com/repos/pandas-dev/pandas/issues/13374
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13374/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13374/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13374/events
https://github.com/pandas-dev/pandas/issues/13374
158,580,515
MDU6SXNzdWUxNTg1ODA1MTU=
13,374
BUG: Python parser breaks with quotes and multi-char sep
{ "avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4", "events_url": "https://api.github.com/users/gfyoung/events{/privacy}", "followers_url": "https://api.github.com/users/gfyoung/followers", "following_url": "https://api.github.com/users/gfyoung/following{/other_user}", "gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gfyoung", "id": 9273653, "login": "gfyoung", "node_id": "MDQ6VXNlcjkyNzM2NTM=", "organizations_url": "https://api.github.com/users/gfyoung/orgs", "received_events_url": "https://api.github.com/users/gfyoung/received_events", "repos_url": "https://api.github.com/users/gfyoung/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions", "type": "User", "url": "https://api.github.com/users/gfyoung" }
[ { "color": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2017-05-06T10:20:19Z", "closed_issues": 987, "created_at": "2016-02-08T15:30:21Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.19.x series", "due_on": "2017-05-12T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/39", "id": 1570595, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels", "node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==", "number": 39, "open_issues": 0, "state": "closed", "title": "0.20.0", "updated_at": "2018-10-28T08:18:42Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39" }
10
2016-06-05T23:16:34Z
2017-09-08T13:04:30Z
2016-11-25T21:21:03Z
MEMBER
null
On `master` (<a href="https://github.com/pydata/pandas/commit/b722222f5ea760a3f3df4d063309949eb4956674">b722222</a>): ``` python >>> data = 'a,,b\n1,,a\n2,,"2,,b"' >>> read_csv(StringIO(data), sep=',,', engine='python') ... ValueError: Expected 2 fields in line 3, saw 3 ``` I expect this command to work, but because no parsing is done on quoted fields as can be seen <a href="https://github.com/pydata/pandas/blob/master/pandas/io/parsers.py#L1847">here</a>, an extra field is produced, breaking the parser. Note that this does not affect the C parser because multi-char delimiters are not supported. Similar to what we saw in #10911 and #12775, but unless we want to write the `tokenizer.c` code in Python, a similar fix does not seem trivial.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13374/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13374/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13375
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13375/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13375/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13375/events
https://github.com/pandas-dev/pandas/pull/13375
158,582,426
MDExOlB1bGxSZXF1ZXN0NzI2NDQ3MzA=
13,375
ENH: astype() can now take col label -> dtype mapping as arg; GH7271
{ "avatar_url": "https://avatars.githubusercontent.com/u/6488220?v=4", "events_url": "https://api.github.com/users/StephenKappel/events{/privacy}", "followers_url": "https://api.github.com/users/StephenKappel/followers", "following_url": "https://api.github.com/users/StephenKappel/following{/other_user}", "gists_url": "https://api.github.com/users/StephenKappel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/StephenKappel", "id": 6488220, "login": "StephenKappel", "node_id": "MDQ6VXNlcjY0ODgyMjA=", "organizations_url": "https://api.github.com/users/StephenKappel/orgs", "received_events_url": "https://api.github.com/users/StephenKappel/received_events", "repos_url": "https://api.github.com/users/StephenKappel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/StephenKappel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/StephenKappel/subscriptions", "type": "User", "url": "https://api.github.com/users/StephenKappel" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
6
2016-06-06T00:05:25Z
2016-07-20T22:04:54Z
2016-07-20T22:04:50Z
CONTRIBUTOR
null
New PR for what was started in #12086. closes #7271 By passing a dict of {column name/column index: dtype}, multiple columns can be cast to different data types in a single command. Now users can do: `df = df.astype({'my_bool', 'bool', 'my_int': 'int'})` or: `df = df.astype({0, 'bool', 1: 'int'})` instead of: ``` df['my_bool'] = df.my_bool.astype('bool') df['my_int'] = df.my_int.astype('int') ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13375/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13375/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13375.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13375", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13375.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13375" }
https://api.github.com/repos/pandas-dev/pandas/issues/13376
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13376/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13376/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13376/events
https://github.com/pandas-dev/pandas/pull/13376
158,590,809
MDExOlB1bGxSZXF1ZXN0NzI2NDk4ODM=
13,376
DOC: Fix wording/grammar for rolling's win_type argument.
{ "avatar_url": "https://avatars.githubusercontent.com/u/233655?v=4", "events_url": "https://api.github.com/users/mikegraham/events{/privacy}", "followers_url": "https://api.github.com/users/mikegraham/followers", "following_url": "https://api.github.com/users/mikegraham/following{/other_user}", "gists_url": "https://api.github.com/users/mikegraham/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mikegraham", "id": 233655, "login": "mikegraham", "node_id": "MDQ6VXNlcjIzMzY1NQ==", "organizations_url": "https://api.github.com/users/mikegraham/orgs", "received_events_url": "https://api.github.com/users/mikegraham/received_events", "repos_url": "https://api.github.com/users/mikegraham/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mikegraham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mikegraham/subscriptions", "type": "User", "url": "https://api.github.com/users/mikegraham" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
2
2016-06-06T02:35:12Z
2016-06-06T12:10:51Z
2016-06-06T12:10:41Z
CONTRIBUTOR
null
I don't know the exact intended phrasing here, but I think the writer might have meant "Provide"?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13376/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13376/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13376.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13376", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13376.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13376" }
https://api.github.com/repos/pandas-dev/pandas/issues/13377
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13377/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13377/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13377/events
https://github.com/pandas-dev/pandas/pull/13377
158,629,790
MDExOlB1bGxSZXF1ZXN0NzI2NzU2Nzk=
13,377
DOC: actually document float_precision in read_csv
{ "avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4", "events_url": "https://api.github.com/users/gfyoung/events{/privacy}", "followers_url": "https://api.github.com/users/gfyoung/followers", "following_url": "https://api.github.com/users/gfyoung/following{/other_user}", "gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gfyoung", "id": 9273653, "login": "gfyoung", "node_id": "MDQ6VXNlcjkyNzM2NTM=", "organizations_url": "https://api.github.com/users/gfyoung/orgs", "received_events_url": "https://api.github.com/users/gfyoung/received_events", "repos_url": "https://api.github.com/users/gfyoung/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions", "type": "User", "url": "https://api.github.com/users/gfyoung" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
2
2016-06-06T08:56:35Z
2016-06-06T12:09:45Z
2016-06-06T12:09:42Z
MEMBER
null
So I wasn't 100% correct when I said that `float_precision` was documented <a href="https://github.com/pydata/pandas/issues/12686#issuecomment-222684918">here<a/>. It was well documented internally for `TextParser` and in a section for `io.rst`, but it wasn't listed formally in the parameters for the `read_csv` documentation.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13377/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13377/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13377.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13377", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13377.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13377" }
https://api.github.com/repos/pandas-dev/pandas/issues/13378
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13378/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13378/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13378/events
https://github.com/pandas-dev/pandas/issues/13378
158,644,038
MDU6SXNzdWUxNTg2NDQwMzg=
13,378
BUG: in read_csv, keep_date_cols doesn't result in correct dtype
{ "avatar_url": "https://avatars.githubusercontent.com/u/18750612?v=4", "events_url": "https://api.github.com/users/Thomasillo/events{/privacy}", "followers_url": "https://api.github.com/users/Thomasillo/followers", "following_url": "https://api.github.com/users/Thomasillo/following{/other_user}", "gists_url": "https://api.github.com/users/Thomasillo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Thomasillo", "id": 18750612, "login": "Thomasillo", "node_id": "MDQ6VXNlcjE4NzUwNjEy", "organizations_url": "https://api.github.com/users/Thomasillo/orgs", "received_events_url": "https://api.github.com/users/Thomasillo/received_events", "repos_url": "https://api.github.com/users/Thomasillo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Thomasillo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Thomasillo/subscriptions", "type": "User", "url": "https://api.github.com/users/Thomasillo" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
9
2016-06-06T10:13:23Z
2019-10-21T19:52:16Z
null
NONE
null
`>>> import pandas` `>>> import io` `>>> data = """A` `20150908` `20150909` `"""` `>>> t=pandas.read_csv(io.StringIO(data))` `>>> t.dtypes` `A int64` `dtype: object` `>>> t=pandas.read_csv(io.StringIO(data),parse_dates={'date':['A']},keep_date_col=True)` `>>> t.dtypes` `date datetime64[ns]` `A object` `dtype: object` The second time, the datatype of the column 'A' should also be int64.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13378/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13378/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13379
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13379/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13379/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13379/events
https://github.com/pandas-dev/pandas/issues/13379
158,674,577
MDU6SXNzdWUxNTg2NzQ1Nzc=
13,379
ENH: write Styler rendered output to file
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "006b75", "default": false, "description": "read_html, to_html, Styler.apply, Styler.applymap", "id": 57395487, "name": "IO HTML", "node_id": "MDU6TGFiZWw1NzM5NTQ4Nw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HTML" }, { "color": "006b75", "default": false, "description": "conditional formatting using DataFrame.style", "id": 1728592794, "name": "Styler", "node_id": "MDU6TGFiZWwxNzI4NTkyNzk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
5
2016-06-06T13:14:08Z
2021-05-26T02:09:32Z
2021-05-26T02:09:32Z
MEMBER
null
I was answering a question on conditional formatting of html on [SO](http://stackoverflow.com/questions/37638402/pandas-html-output-conditional-formatting-highlight-cell-if-value-in-range/37647100?noredirect=1#comment62774932_37647100). So the OP was using `to_html` but wanted conditional formatting. Therefore, I pointed to `Styler` to do this more easily than using the `formatters` argument in `to_html`, but when you have a `Styler` object, there is no longer a `to_html` method to write the result to a html file. Of course you can write the result of `render` manually to a file, but would this ability be a desired enhancement? - Maybe we can add a `to_file` method to `Styler`? (`to_html` seems a bit specific, if we also want to use the Styler for other formats such as latex in the future) - Alternatively, we could add a `style` option in `to_html` where you can pass a Styler object? Related to #11610 @TomAugspurger
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13379/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13379/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13380
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13380/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13380/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13380/events
https://github.com/pandas-dev/pandas/pull/13380
158,674,881
MDExOlB1bGxSZXF1ZXN0NzI3MDcwOTk=
13,380
CLN: extract window functions from algox.pyx and create window.pyx
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "75507B", "default": false, "description": "Library building on various platforms", "id": 129350, "name": "Build", "node_id": "MDU6TGFiZWwxMjkzNTA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
0
2016-06-06T13:15:42Z
2016-06-06T14:33:23Z
2016-06-06T14:33:23Z
CONTRIBUTOR
null
makes it a little simpler to iterate on pieces of the cython code.
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13380/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13380/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13380.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13380", "merged_at": "2016-06-06T14:33:23Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/13380.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13380" }
https://api.github.com/repos/pandas-dev/pandas/issues/13381
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13381/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13381/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13381/events
https://github.com/pandas-dev/pandas/pull/13381
158,689,743
MDExOlB1bGxSZXF1ZXN0NzI3MTcyNjU=
13,381
DOC, ENH: Support memory_map for Python engine
{ "avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4", "events_url": "https://api.github.com/users/gfyoung/events{/privacy}", "followers_url": "https://api.github.com/users/gfyoung/followers", "following_url": "https://api.github.com/users/gfyoung/following{/other_user}", "gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gfyoung", "id": 9273653, "login": "gfyoung", "node_id": "MDQ6VXNlcjkyNzM2NTM=", "organizations_url": "https://api.github.com/users/gfyoung/orgs", "received_events_url": "https://api.github.com/users/gfyoung/received_events", "repos_url": "https://api.github.com/users/gfyoung/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions", "type": "User", "url": "https://api.github.com/users/gfyoung" }
[ { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
11
2016-06-06T14:21:05Z
2016-06-08T11:24:06Z
2016-06-08T11:24:04Z
MEMBER
null
Title is self-explanatory.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13381/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13381/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13381.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13381", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13381.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13381" }
https://api.github.com/repos/pandas-dev/pandas/issues/13382
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13382/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13382/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13382/events
https://github.com/pandas-dev/pandas/issues/13382
158,738,996
MDU6SXNzdWUxNTg3Mzg5OTY=
13,382
BUG: .extractall() throws AssertionError if capture group length > 1
{ "avatar_url": "https://avatars.githubusercontent.com/u/2274099?v=4", "events_url": "https://api.github.com/users/GeraintDuck/events{/privacy}", "followers_url": "https://api.github.com/users/GeraintDuck/followers", "following_url": "https://api.github.com/users/GeraintDuck/following{/other_user}", "gists_url": "https://api.github.com/users/GeraintDuck/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/GeraintDuck", "id": 2274099, "login": "GeraintDuck", "node_id": "MDQ6VXNlcjIyNzQwOTk=", "organizations_url": "https://api.github.com/users/GeraintDuck/orgs", "received_events_url": "https://api.github.com/users/GeraintDuck/received_events", "repos_url": "https://api.github.com/users/GeraintDuck/repos", "site_admin": false, "starred_url": "https://api.github.com/users/GeraintDuck/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/GeraintDuck/subscriptions", "type": "User", "url": "https://api.github.com/users/GeraintDuck" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "String extension data type and string data", "id": 57522093, "name": "Strings", "node_id": "MDU6TGFiZWw1NzUyMjA5Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
3
2016-06-06T18:08:11Z
2016-06-08T15:27:07Z
2016-06-08T15:27:07Z
CONTRIBUTOR
null
Code to replicate error: ``` import pandas as pd s = pd.Series(["a13a23", "b13", "c13"], index=["A", "B", "C"]) s.str.extractall("[ab](\d\d)") ``` Note that the regex `[ab](\d)` from the documentation page works, whereas `[ab](\d\d)` above doesn't. It seems that any captured group with a length of > 1 causes this error. Though playing with this a bit more, the following regex's all seem to work correctly without error: ``` ([ab])(\d\d) ()[ab](\d+) (a13)(\d\d) ``` I've reproduced the issue in both versions 0.18.0 and 0.18.1. I'll admit I've not checked against the master branch though. Note: I posted this to the mailing list, but haven't had any responses - thus I assume this is a bug. I'm unsure what the underlying cause is here (maybe it doesn't like the first regex character not being within a capture group?).
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13382/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13382/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13383
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13383/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13383/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13383/events
https://github.com/pandas-dev/pandas/issues/13383
158,803,947
MDU6SXNzdWUxNTg4MDM5NDc=
13,383
Series.rolling/DataFrame.rolling don't fully check arguments, have odd behavior when used with invalid inputs
{ "avatar_url": "https://avatars.githubusercontent.com/u/233655?v=4", "events_url": "https://api.github.com/users/mikegraham/events{/privacy}", "followers_url": "https://api.github.com/users/mikegraham/followers", "following_url": "https://api.github.com/users/mikegraham/following{/other_user}", "gists_url": "https://api.github.com/users/mikegraham/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mikegraham", "id": 233655, "login": "mikegraham", "node_id": "MDQ6VXNlcjIzMzY1NQ==", "organizations_url": "https://api.github.com/users/mikegraham/orgs", "received_events_url": "https://api.github.com/users/mikegraham/received_events", "repos_url": "https://api.github.com/users/mikegraham/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mikegraham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mikegraham/subscriptions", "type": "User", "url": "https://api.github.com/users/mikegraham" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
3
2016-06-07T00:19:52Z
2016-06-21T10:09:29Z
2016-06-21T10:09:29Z
CONTRIBUTOR
null
``` In [171]: s = pd.Series(range(3)) In [172]: s.rolling(-1) # doesn't raise Out[172]: Rolling [window=-1,center=False,axis=0] In [173]: s.rolling(-1).mean() # Odd, indirect error --------------------------------------------------------------------------- ValueError Traceback (most recent call last) <ipython-input-173-cda5b8dd0812> in <module>() ----> 1 s.rolling(-1).mean() /home/mike/modernpandas/local/lib/python2.7/site-packages/pandas/core/window.pyc in mean(self, **kwargs) 885 @Appender(_shared_docs['mean']) 886 def mean(self, **kwargs): --> 887 return super(Rolling, self).mean(**kwargs) 888 889 @Substitution(name='rolling') /home/mike/modernpandas/local/lib/python2.7/site-packages/pandas/core/window.pyc in mean(self, **kwargs) 651 652 def mean(self, **kwargs): --> 653 return self._apply('roll_mean', 'mean', **kwargs) 654 655 _shared_docs['median'] = dedent(""" /home/mike/modernpandas/local/lib/python2.7/site-packages/pandas/core/window.pyc in _apply(self, func, name, window, center, check_minp, how, **kwargs) 558 result = np.apply_along_axis(calc, self.axis, values) 559 else: --> 560 result = calc(values) 561 562 if center: /home/mike/modernpandas/local/lib/python2.7/site-packages/pandas/core/window.pyc in calc(x) 553 554 def calc(x): --> 555 return func(x, window, min_periods=self.min_periods) 556 557 if values.ndim > 1: /home/mike/modernpandas/local/lib/python2.7/site-packages/pandas/core/window.pyc in func(arg, window, min_periods) 540 # GH #12373: rolling functions error on float32 data 541 return cfunc(com._ensure_float64(arg), --> 542 window, minp, **kwargs) 543 544 # calculation function pandas/algos.pyx in pandas.algos.roll_mean (pandas/algos.c:28921)() pandas/algos.pyx in pandas.algos._check_minp (pandas/algos.c:19103)() ValueError: min_periods must be >= 0 In [174]: pd.Series([]).rolling(-1).mean() # Never raises Out[174]: Series([], dtype: float64) In [175]: pd.show_versions() INSTALLED VERSIONS ------------------ commit: None python: 2.7.6.final.0 python-bits: 64 OS: Linux OS-release: 3.13.0-71-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.18.1 nose: 1.3.7 pip: 8.0.2 setuptools: 20.1.1 Cython: 0.24 numpy: 1.11.0 scipy: 0.17.1 statsmodels: 0.6.1 xarray: None IPython: 4.1.1 sphinx: None patsy: 0.4.1 dateutil: 2.5.3 pytz: 2016.4 blosc: 1.3.2 bottleneck: None tables: 3.2.2 numexpr: 2.6.0 matplotlib: 1.5.1 openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml: None bs4: None html5lib: None httplib2: None apiclient: None sqlalchemy: None pymysql: None psycopg2: None jinja2: 2.8 boto: 2.40.0 pandas_datareader: None ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13383/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13383/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13384
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13384/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13384/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13384/events
https://github.com/pandas-dev/pandas/issues/13384
158,892,111
MDU6SXNzdWUxNTg4OTIxMTE=
13,384
Series.nonzero() method not listed in API reference
{ "avatar_url": "https://avatars.githubusercontent.com/u/501585?v=4", "events_url": "https://api.github.com/users/ankostis/events{/privacy}", "followers_url": "https://api.github.com/users/ankostis/followers", "following_url": "https://api.github.com/users/ankostis/following{/other_user}", "gists_url": "https://api.github.com/users/ankostis/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ankostis", "id": 501585, "login": "ankostis", "node_id": "MDQ6VXNlcjUwMTU4NQ==", "organizations_url": "https://api.github.com/users/ankostis/orgs", "received_events_url": "https://api.github.com/users/ankostis/received_events", "repos_url": "https://api.github.com/users/ankostis/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ankostis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ankostis/subscriptions", "type": "User", "url": "https://api.github.com/users/ankostis" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
null
3
2016-06-07T10:41:47Z
2016-06-07T12:30:10Z
2016-06-07T12:07:17Z
NONE
null
I cannot find the `Series.nonzeros()` method in the [API Reference](http://pandas.pydata.org/pandas-docs/stable/api.html#series) documentation-page for `pandas <= 0.18.1`.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13384/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13384/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13385
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13385/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13385/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13385/events
https://github.com/pandas-dev/pandas/issues/13385
158,943,103
MDU6SXNzdWUxNTg5NDMxMDM=
13,385
BUG: Series.fillna(False) return 0.0(float) instead of bool
{ "avatar_url": "https://avatars.githubusercontent.com/u/4261415?v=4", "events_url": "https://api.github.com/users/liaoxiaorong/events{/privacy}", "followers_url": "https://api.github.com/users/liaoxiaorong/followers", "following_url": "https://api.github.com/users/liaoxiaorong/following{/other_user}", "gists_url": "https://api.github.com/users/liaoxiaorong/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/liaoxiaorong", "id": 4261415, "login": "liaoxiaorong", "node_id": "MDQ6VXNlcjQyNjE0MTU=", "organizations_url": "https://api.github.com/users/liaoxiaorong/orgs", "received_events_url": "https://api.github.com/users/liaoxiaorong/received_events", "repos_url": "https://api.github.com/users/liaoxiaorong/repos", "site_admin": false, "starred_url": "https://api.github.com/users/liaoxiaorong/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/liaoxiaorong/subscriptions", "type": "User", "url": "https://api.github.com/users/liaoxiaorong" }
[ { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" } ]
closed
false
null
[]
null
1
2016-06-07T14:50:40Z
2016-06-07T16:54:12Z
2016-06-07T16:53:58Z
NONE
null
#### Code Sample, a copy-pastable example if possible ``` import pandas as pd s1 = pd.Series([np.nan, np.nan, np.nan]) print s1.fillna(False) ``` #### Expected Output ``` 0 False 1 False 2 False dtype: bool ``` but the output is: ``` 0 0.0 1 0.0 2 0.0 dtype: float64 ``` #### output of `pd.show_versions()` ``` INSTALLED VERSIONS ------------------ commit: None python: 2.7.6.final.0 python-bits: 64 OS: Linux OS-release: 3.13.0-30-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.18.0 nose: 1.3.1 pip: 8.1.1 setuptools: 20.3.1 Cython: None numpy: 1.11.0 scipy: 0.13.3 statsmodels: 0.5.0 xarray: None IPython: 4.2.0 sphinx: None patsy: 0.2.1 dateutil: 2.5.3 pytz: 2016.4 blosc: None bottleneck: None tables: 3.1.1 numexpr: 2.2.2 matplotlib: 1.3.1 openpyxl: 1.7.0 xlrd: 0.9.2 xlwt: 0.7.5 xlsxwriter: None lxml: None bs4: 4.4.1 html5lib: 0.999 httplib2: None apiclient: None sqlalchemy: None pymysql: 0.7.2.None psycopg2: None jinja2: None boto: 2.40.0 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13385/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13385/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13386
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13386/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13386/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13386/events
https://github.com/pandas-dev/pandas/pull/13386
158,948,020
MDExOlB1bGxSZXF1ZXN0NzI4OTMwNDA=
13,386
API: Deprecate skip_footer in read_csv
{ "avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4", "events_url": "https://api.github.com/users/gfyoung/events{/privacy}", "followers_url": "https://api.github.com/users/gfyoung/followers", "following_url": "https://api.github.com/users/gfyoung/following{/other_user}", "gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gfyoung", "id": 9273653, "login": "gfyoung", "node_id": "MDQ6VXNlcjkyNzM2NTM=", "organizations_url": "https://api.github.com/users/gfyoung/orgs", "received_events_url": "https://api.github.com/users/gfyoung/received_events", "repos_url": "https://api.github.com/users/gfyoung/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions", "type": "User", "url": "https://api.github.com/users/gfyoung" }
[ { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" }, { "color": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
40
2016-06-07T15:09:41Z
2016-07-29T00:25:31Z
2016-07-29T00:25:25Z
MEMBER
null
Title is self-explanatory. Closes gh-13349 and partially undoes this <a href="https://github.com/pydata/pandas/commit/9ceea2fd46e79f37269a32de8c140cddf90eda13">commit</a> back in `v0.9.0`. With such a massive API now, having duplicate arguments makes managing it way less practical.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13386/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13386/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13386.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13386", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13386.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13386" }
https://api.github.com/repos/pandas-dev/pandas/issues/13387
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13387/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13387/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13387/events
https://github.com/pandas-dev/pandas/issues/13387
158,971,876
MDU6SXNzdWUxNTg5NzE4NzY=
13,387
describe() doesn't ignore Nan anymore
{ "avatar_url": "https://avatars.githubusercontent.com/u/10522158?v=4", "events_url": "https://api.github.com/users/rubennj/events{/privacy}", "followers_url": "https://api.github.com/users/rubennj/followers", "following_url": "https://api.github.com/users/rubennj/following{/other_user}", "gists_url": "https://api.github.com/users/rubennj/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rubennj", "id": 10522158, "login": "rubennj", "node_id": "MDQ6VXNlcjEwNTIyMTU4", "organizations_url": "https://api.github.com/users/rubennj/orgs", "received_events_url": "https://api.github.com/users/rubennj/received_events", "repos_url": "https://api.github.com/users/rubennj/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rubennj/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rubennj/subscriptions", "type": "User", "url": "https://api.github.com/users/rubennj" }
[ { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
1
2016-06-07T16:49:29Z
2016-06-07T16:51:47Z
2016-06-07T16:51:31Z
NONE
null
`.describe()` is not ignoring the `Nan` values at percentiles, so it gives `Nan`: http://pandas.pydata.org/pandas-docs/stable/basics.html#summarizing-data-describe Before 0.18 it was working as expected: http://pandas.pydata.org/pandas-docs/version/0.17.0/basics.html#summarizing-data-describe
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13387/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13387/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13388
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13388/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13388/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13388/events
https://github.com/pandas-dev/pandas/issues/13388
158,979,219
MDU6SXNzdWUxNTg5NzkyMTk=
13,388
COMPAT: comparisons with as_recarray breaking on older numpies
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
5
2016-06-07T17:26:20Z
2016-06-07T22:18:39Z
2016-06-07T22:18:39Z
CONTRIBUTOR
null
https://travis-ci.org/pydata/pandas/jobs/135897420 cc @gfyoung
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13388/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13388/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13389
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13389/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13389/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13389/events
https://github.com/pandas-dev/pandas/issues/13389
158,983,741
MDU6SXNzdWUxNTg5ODM3NDE=
13,389
BUG: TypeError in merge with timedelta64 column
{ "avatar_url": "https://avatars.githubusercontent.com/u/1920103?v=4", "events_url": "https://api.github.com/users/b11z/events{/privacy}", "followers_url": "https://api.github.com/users/b11z/followers", "following_url": "https://api.github.com/users/b11z/following{/other_user}", "gists_url": "https://api.github.com/users/b11z/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/b11z", "id": 1920103, "login": "b11z", "node_id": "MDQ6VXNlcjE5MjAxMDM=", "organizations_url": "https://api.github.com/users/b11z/orgs", "received_events_url": "https://api.github.com/users/b11z/received_events", "repos_url": "https://api.github.com/users/b11z/repos", "site_admin": false, "starred_url": "https://api.github.com/users/b11z/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/b11z/subscriptions", "type": "User", "url": "https://api.github.com/users/b11z" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "5319e7", "default": false, "description": "Timedelta data type", "id": 49597148, "name": "Timedelta", "node_id": "MDU6TGFiZWw0OTU5NzE0OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
1
2016-06-07T17:48:20Z
2016-07-26T22:49:35Z
2016-07-26T22:49:35Z
NONE
null
``` python >>> import pandas as pd >>> df1 = pd.DataFrame({'entity_id': [101, 102]}) >>> df2 = pd.Series([None, None], index=[101, 102]).astype('timedelta64[D]').to_frame('days') >>> print(df2); print(df2.dtypes) days 101 NaT 102 NaT days timedelta64[D] dtype: object >>> df1.merge(df2, left_on='entity_id', right_index=True) ... File "/Users/brian/src/pandas/pandas/core/common.py", line 95, in isnull return _isnull(obj) File "/Users/brian/src/pandas/pandas/core/common.py", line 105, in _isnull_new return _isnull_ndarraylike(obj) File "/Users/brian/src/pandas/pandas/core/common.py", line 196, in _isnull_ndarraylike result = np.isnan(values) TypeError: ufunc 'isnan' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe'' ``` ### Expected output: ``` entity_id days 0 101 NaT 1 102 NaT ``` ## INSTALLED VERSIONS commit: None python: 3.5.1.final.0 python-bits: 64 OS: Darwin OS-release: 15.5.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.18.1 nose: 1.3.7 pip: 8.1.2 setuptools: 22.0.5 Cython: None numpy: 1.11.0 scipy: 0.17.0 statsmodels: None xarray: None IPython: 4.0.1 sphinx: None patsy: None dateutil: 2.5.3 pytz: 2016.4 blosc: None bottleneck: None tables: None numexpr: 2.5.1 matplotlib: None openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml: None bs4: None html5lib: None httplib2: None apiclient: None sqlalchemy: 1.0.10 pymysql: None psycopg2: 2.6.1 (dt dec pq3 ext) jinja2: 2.7.3 boto: 2.38.0 pandas_datareader: None (It also appears on master)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13389/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13389/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13390
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13390/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13390/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13390/events
https://github.com/pandas-dev/pandas/issues/13390
158,991,136
MDU6SXNzdWUxNTg5OTExMzY=
13,390
[BUG] Groupby, Apply
{ "avatar_url": "https://avatars.githubusercontent.com/u/13572824?v=4", "events_url": "https://api.github.com/users/jlimahaverford/events{/privacy}", "followers_url": "https://api.github.com/users/jlimahaverford/followers", "following_url": "https://api.github.com/users/jlimahaverford/following{/other_user}", "gists_url": "https://api.github.com/users/jlimahaverford/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jlimahaverford", "id": 13572824, "login": "jlimahaverford", "node_id": "MDQ6VXNlcjEzNTcyODI0", "organizations_url": "https://api.github.com/users/jlimahaverford/orgs", "received_events_url": "https://api.github.com/users/jlimahaverford/received_events", "repos_url": "https://api.github.com/users/jlimahaverford/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jlimahaverford/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jlimahaverford/subscriptions", "type": "User", "url": "https://api.github.com/users/jlimahaverford" }
[ { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" }, { "color": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
1
2016-06-07T18:24:03Z
2016-06-07T20:22:47Z
2016-06-07T20:22:30Z
NONE
null
#### Code Sample, a copy-pastable example if possible ``` import pandas as pd df = pd.DataFrame(dict(a=[0,0,0,1,1,1,2,2,2], b=[0,2,1,3,5,4,7,6,8])) df def f(x): x['c'] = 1 return x.sort_values('b') df.groupby('a', as_index=False).apply(f).reset_index(drop=True) ``` #### Expected Output ``` pd.DataFrame(dict(a=[0, 0, 0, 1, 1, 1, 2, 2, 2], b=[0, 1, 2, 3, 4, 5, 6, 7, 8], c=[1, 1, 1, 1, 1, 1, 1, 1, 1])) ``` #### output of `pd.show_versions()` ## INSTALLED VERSIONS commit: None python: 3.5.1.final.0 python-bits: 64 OS: Linux OS-release: 3.13.0-87-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.18.1 nose: 1.3.7 pip: 8.1.2 setuptools: 20.7.0 Cython: None numpy: 1.11.0 scipy: 0.16.0 statsmodels: None xarray: None IPython: 4.2.0 sphinx: None patsy: None dateutil: 2.4.2 pytz: 2015.4 blosc: None bottleneck: None tables: None numexpr: 2.4.3 matplotlib: None openpyxl: 2.2.2 xlrd: None xlwt: None xlsxwriter: None lxml: None bs4: None html5lib: None httplib2: None apiclient: None sqlalchemy: None pymysql: None psycopg2: 2.6 (dt dec pq3 ext lo64) jinja2: 2.8 boto: None pandas_datareader: None
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13390/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13390/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13391
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13391/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13391/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13391/events
https://github.com/pandas-dev/pandas/issues/13391
159,007,150
MDU6SXNzdWUxNTkwMDcxNTA=
13,391
Sum of all NaNs comes out zero if bottleneck is installed
{ "avatar_url": "https://avatars.githubusercontent.com/u/453086?v=4", "events_url": "https://api.github.com/users/dieterv77/events{/privacy}", "followers_url": "https://api.github.com/users/dieterv77/followers", "following_url": "https://api.github.com/users/dieterv77/following{/other_user}", "gists_url": "https://api.github.com/users/dieterv77/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dieterv77", "id": 453086, "login": "dieterv77", "node_id": "MDQ6VXNlcjQ1MzA4Ng==", "organizations_url": "https://api.github.com/users/dieterv77/orgs", "received_events_url": "https://api.github.com/users/dieterv77/received_events", "repos_url": "https://api.github.com/users/dieterv77/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dieterv77/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dieterv77/subscriptions", "type": "User", "url": "https://api.github.com/users/dieterv77" }
[ { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" }, { "color": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" }, { "color": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
1
2016-06-07T19:41:05Z
2016-06-07T19:43:28Z
2016-06-07T19:43:11Z
CONTRIBUTOR
null
x = pandas.DataFrame(np.nan, index=['a', 'b'], columns=['c', 'd']) print x.sum() I expected to see all NaN's in the resulting Series. However, if i have bottleneck installed i get a Series of all zeros instead of all NaNs. This is with pandas 0.18.1. Thanks for any comments or suggestions
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13391/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13391/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13392
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13392/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13392/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13392/events
https://github.com/pandas-dev/pandas/pull/13392
159,007,194
MDExOlB1bGxSZXF1ZXN0NzI5MzU1MTI=
13,392
COMPAT, TST: allow numpy array comparisons with complex dtypes
{ "avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4", "events_url": "https://api.github.com/users/gfyoung/events{/privacy}", "followers_url": "https://api.github.com/users/gfyoung/followers", "following_url": "https://api.github.com/users/gfyoung/following{/other_user}", "gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gfyoung", "id": 9273653, "login": "gfyoung", "node_id": "MDQ6VXNlcjkyNzM2NTM=", "organizations_url": "https://api.github.com/users/gfyoung/orgs", "received_events_url": "https://api.github.com/users/gfyoung/received_events", "repos_url": "https://api.github.com/users/gfyoung/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions", "type": "User", "url": "https://api.github.com/users/gfyoung" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
9
2016-06-07T19:41:20Z
2016-06-07T22:19:06Z
2016-06-07T22:18:39Z
MEMBER
null
Traces back to bug in NumPy `v1.7.1` in which the `array_equivalent` method could not compare NumPy arrays with complicated dtypes. As `pandas` relies on this function to check NumPy array equality during testing, this commit adds a fallback method for doing so. Closes #13388.
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13392/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13392/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13392.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13392", "merged_at": "2016-06-07T22:18:39Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/13392.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13392" }
https://api.github.com/repos/pandas-dev/pandas/issues/13393
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13393/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13393/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13393/events
https://github.com/pandas-dev/pandas/issues/13393
159,036,957
MDU6SXNzdWUxNTkwMzY5NTc=
13,393
Pandas 0.18.1 df.groupby().count() throws "ValueError: Buffer has wrong number of dimensions" when one of the counted columns has dtype datetime64
{ "avatar_url": "https://avatars.githubusercontent.com/u/620337?v=4", "events_url": "https://api.github.com/users/jfries/events{/privacy}", "followers_url": "https://api.github.com/users/jfries/followers", "following_url": "https://api.github.com/users/jfries/following{/other_user}", "gists_url": "https://api.github.com/users/jfries/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jfries", "id": 620337, "login": "jfries", "node_id": "MDQ6VXNlcjYyMDMzNw==", "organizations_url": "https://api.github.com/users/jfries/orgs", "received_events_url": "https://api.github.com/users/jfries/received_events", "repos_url": "https://api.github.com/users/jfries/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jfries/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jfries/subscriptions", "type": "User", "url": "https://api.github.com/users/jfries" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "5319e7", "default": false, "description": "Timezone data dtype", "id": 60458168, "name": "Timezones", "node_id": "MDU6TGFiZWw2MDQ1ODE2OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones" } ]
closed
false
null
[]
{ "closed_at": "2017-12-13T13:05:41Z", "closed_issues": 160, "created_at": "2017-10-02T10:21:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2017-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/52", "id": 2806806, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/52/labels", "node_id": "MDk6TWlsZXN0b25lMjgwNjgwNg==", "number": 52, "open_issues": 0, "state": "closed", "title": "0.21.1", "updated_at": "2018-02-19T22:57:23Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/52" }
10
2016-06-07T22:11:53Z
2017-11-08T20:25:47Z
2017-11-08T20:25:47Z
NONE
null
I've confirmed the error does not occur in Pandas 0.16 on a similar machine. #### Code Sample, a copy-pastable example if possible ``` import pandas as pd df = pd.DataFrame({'x': ['a', 'a', 'b'], 'y': [pd.Timestamp('2016-05-07 20:09:25+00:00'), pd.Timestamp('2016-05-07 20:09:29+00:00'), pd.Timestamp('2016-05-07 20:09:29+00:00')]}) df.groupby('x').count() ``` #### Observed output --- ``` ValueError Traceback (most recent call last) <ipython-input-5-3119045de5b1> in <module>() 2 df = pd.DataFrame({'x': ['a', 'a', 'b'], 3 'y': [pd.Timestamp('2016-05-07 20:09:25+00:00'), pd.Timestamp('2016-05-07 20:09:29+00:00'), pd.Timestamp('2016-05-07 20:09:29+00:00')]}) ----> 4 print df.groupby('x').count() /usr/local/lib/python2.7/dist-packages/pandas/core/groupby.pyc in count(self) 3754 blk = map(make_block, map(counter, val), loc) 3755 -> 3756 return self._wrap_agged_blocks(data.items, list(blk)) 3757 3758 pandas/lib.pyx in pandas.lib.count_level_2d (pandas/lib.c:23068)() ValueError: Buffer has wrong number of dimensions (expected 2, got 1) ``` #### Expected Output ``` x y a 2 b 1 ``` #### output of `pd.show_versions()` ``` INSTALLED VERSIONS ------------------ commit: None python: 2.7.6.final.0 python-bits: 64 OS: Linux OS-release: 3.13.0-32-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.18.1 nose: 1.3.1 pip: 8.1.2 setuptools: 21.2.1 Cython: None numpy: 1.11.0 scipy: 0.16.0 statsmodels: 0.5.0 xarray: None IPython: 4.2.0 sphinx: None patsy: 0.2.1 dateutil: 2.5.3 pytz: 2016.4 blosc: None bottleneck: 0.8.0 tables: 3.1.1 numexpr: 2.2.2 matplotlib: 1.5.1 openpyxl: 1.7.0 xlrd: 0.9.2 xlwt: 0.7.5 xlsxwriter: 0.5.8 lxml: None bs4: 4.2.1 html5lib: 0.999 httplib2: None apiclient: None sqlalchemy: 0.9.7 pymysql: None psycopg2: 2.5.3 (dt dec pq3 ext) jinja2: 2.8 boto: 2.36.0 pandas_datareader: None ```
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13393/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13393/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13394
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13394/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13394/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13394/events
https://github.com/pandas-dev/pandas/pull/13394
159,050,127
MDExOlB1bGxSZXF1ZXN0NzI5NjcxODg=
13,394
BUG: Fix groupby with "as_index" for categorical multi #13204
{ "avatar_url": "https://avatars.githubusercontent.com/u/9507544?v=4", "events_url": "https://api.github.com/users/pijucha/events{/privacy}", "followers_url": "https://api.github.com/users/pijucha/followers", "following_url": "https://api.github.com/users/pijucha/following{/other_user}", "gists_url": "https://api.github.com/users/pijucha/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/pijucha", "id": 9507544, "login": "pijucha", "node_id": "MDQ6VXNlcjk1MDc1NDQ=", "organizations_url": "https://api.github.com/users/pijucha/orgs", "received_events_url": "https://api.github.com/users/pijucha/received_events", "repos_url": "https://api.github.com/users/pijucha/repos", "site_admin": false, "starred_url": "https://api.github.com/users/pijucha/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pijucha/subscriptions", "type": "User", "url": "https://api.github.com/users/pijucha" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
20
2016-06-07T23:50:50Z
2016-07-03T23:28:58Z
2016-07-03T23:28:31Z
CONTRIBUTOR
null
- [x] closes #13204 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry Fixes a bug that returns all nan's for groupby(as_index=False) with multiple column groupers containing a categorical one (#13204). --- Also: fixes an internal bug in the string representation of `Grouping`. ``` python mi = pd.MultiIndex.from_arrays([list("AAB"), list("aba")]) df = pd.DataFrame([[1,2,3]], columns=mi) gr = df.groupby(df[('A', 'a')]) gr.grouper.groupings ... TypeError: not all arguments converted during string formatting ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13394/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13394/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13394.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13394", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13394.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13394" }
https://api.github.com/repos/pandas-dev/pandas/issues/13395
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13395/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13395/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13395/events
https://github.com/pandas-dev/pandas/issues/13395
159,059,195
MDU6SXNzdWUxNTkwNTkxOTU=
13,395
Index.unique() should always return an Index object of the same type
{ "avatar_url": "https://avatars.githubusercontent.com/u/1217238?v=4", "events_url": "https://api.github.com/users/shoyer/events{/privacy}", "followers_url": "https://api.github.com/users/shoyer/followers", "following_url": "https://api.github.com/users/shoyer/following{/other_user}", "gists_url": "https://api.github.com/users/shoyer/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/shoyer", "id": 1217238, "login": "shoyer", "node_id": "MDQ6VXNlcjEyMTcyMzg=", "organizations_url": "https://api.github.com/users/shoyer/orgs", "received_events_url": "https://api.github.com/users/shoyer/received_events", "repos_url": "https://api.github.com/users/shoyer/repos", "site_admin": false, "starred_url": "https://api.github.com/users/shoyer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/shoyer/subscriptions", "type": "User", "url": "https://api.github.com/users/shoyer" }
[ { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
28
2016-06-08T01:15:07Z
2016-08-29T12:29:04Z
2016-08-29T12:29:04Z
MEMBER
null
This should also be noted in the docstring for the method. Currently, it sometimes returns numpy arrays: ``` >>> pd.DatetimeIndex(['2000-01-01', '2000-01-02']).unique() DatetimeIndex(['2000-01-01', '2000-01-02'], dtype='datetime64[ns]', freq=None) >>> pd.Index([0, 1, 2]).unique() array([0, 1, 2]) ``` Most of the work here is probably writing comprehensive tests to check each index type. xref: https://github.com/pydata/pandas/pull/13361/files/17209f92330c5e949934aec9dea039b35faf6e40#r66179418
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13395/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13395/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13396
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13396/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13396/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13396/events
https://github.com/pandas-dev/pandas/issues/13396
159,109,644
MDU6SXNzdWUxNTkxMDk2NDQ=
13,396
tight_layout not working with DataFrame.hist
{ "avatar_url": "https://avatars.githubusercontent.com/u/2195834?v=4", "events_url": "https://api.github.com/users/jluttine/events{/privacy}", "followers_url": "https://api.github.com/users/jluttine/followers", "following_url": "https://api.github.com/users/jluttine/following{/other_user}", "gists_url": "https://api.github.com/users/jluttine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jluttine", "id": 2195834, "login": "jluttine", "node_id": "MDQ6VXNlcjIxOTU4MzQ=", "organizations_url": "https://api.github.com/users/jluttine/orgs", "received_events_url": "https://api.github.com/users/jluttine/received_events", "repos_url": "https://api.github.com/users/jluttine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jluttine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jluttine/subscriptions", "type": "User", "url": "https://api.github.com/users/jluttine" }
[]
closed
false
null
[]
null
1
2016-06-08T08:43:28Z
2016-06-08T08:44:04Z
2016-06-08T08:44:04Z
NONE
null
#### Code Sample, a copy-pastable example if possible First, relevant imports: ``` python import pandas as pd import numpy as np import matplotlib.pyplot as plt ``` This doesn't work: ``` python pd.DataFrame(np.random.randn(100, 3)).hist() plt.tight_layout() ``` It raises the following error: ``` AttributeError: 'NoneType' object has no attribute 'is_bbox' ``` I suppose this happens because it makes 2x2 plot grid but uses only three subplots. If I use all subplots, then it works: ``` python pd.DataFrame(np.random.randn(100, 4)).hist() plt.tight_layout() ``` #### Expected Output Expected to get tight layout with 2x2 subplot grid. It should be possible to make this work, because the following works with with matplotlib: ``` python plt.figure() plt.subplot(2, 2, 1) plt.plot([1,2,3]) plt.subplot(2, 2, 2) plt.plot([4,5,6]) plt.subplot(2, 2, 3) plt.plot([7,8,9]) plt.tight_layout() ``` #### output of `pd.show_versions()` ``` INSTALLED VERSIONS ------------------ commit: None python: 3.5.1.final.0 python-bits: 64 OS: Linux OS-release: 4.5.4-gnu-1 machine: x86_64 processor: byteorder: little LC_ALL: None LANG: en_DK.UTF-8 pandas: 0.18.1 nose: 1.3.7 pip: 8.1.1 setuptools: 20.2.1 Cython: 0.24 numpy: 1.11.0 scipy: 0.17.1 statsmodels: None xarray: None IPython: 4.2.0 sphinx: 1.4.2 patsy: None dateutil: 2.5.3 pytz: 2016.4 blosc: None bottleneck: None tables: None numexpr: 2.5.2 matplotlib: 1.5.1 openpyxl: None xlrd: 0.9.4 xlwt: None xlsxwriter: None lxml: None bs4: 4.4.1 html5lib: None httplib2: 0.9.2 apiclient: 1.5.0 sqlalchemy: 1.0.13 pymysql: None psycopg2: 2.6.1 (dt dec pq3 ext lo64) jinja2: 2.8 boto: None pandas_datareader: None ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13396/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13396/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13397
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13397/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13397/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13397/events
https://github.com/pandas-dev/pandas/pull/13397
159,152,587
MDExOlB1bGxSZXF1ZXN0NzMwMzgxMTk=
13,397
BUG: Fix for .extractall (single group with quantifier) #13382
{ "avatar_url": "https://avatars.githubusercontent.com/u/2274099?v=4", "events_url": "https://api.github.com/users/GeraintDuck/events{/privacy}", "followers_url": "https://api.github.com/users/GeraintDuck/followers", "following_url": "https://api.github.com/users/GeraintDuck/following{/other_user}", "gists_url": "https://api.github.com/users/GeraintDuck/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/GeraintDuck", "id": 2274099, "login": "GeraintDuck", "node_id": "MDQ6VXNlcjIyNzQwOTk=", "organizations_url": "https://api.github.com/users/GeraintDuck/orgs", "received_events_url": "https://api.github.com/users/GeraintDuck/received_events", "repos_url": "https://api.github.com/users/GeraintDuck/repos", "site_admin": false, "starred_url": "https://api.github.com/users/GeraintDuck/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/GeraintDuck/subscriptions", "type": "User", "url": "https://api.github.com/users/GeraintDuck" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "String extension data type and string data", "id": 57522093, "name": "Strings", "node_id": "MDU6TGFiZWw1NzUyMjA5Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
4
2016-06-08T12:35:01Z
2016-06-08T15:27:11Z
2016-06-08T15:27:07Z
CONTRIBUTOR
null
- [X] closes #13382 - [X] tests added / passed - [X] passes `git diff upstream/master | flake8 --diff` - [X] whatsnew entry Note that I had to fix it based on this [thread](http://stackoverflow.com/questions/2111759/whats-the-best-practice-for-handling-single-value-tuples-in-python), rather than directly with `[x for x in ['ab']]` as this broke previous tests.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13397/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13397/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13397.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13397", "merged_at": "2016-06-08T15:27:07Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/13397.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13397" }
https://api.github.com/repos/pandas-dev/pandas/issues/13398
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13398/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13398/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13398/events
https://github.com/pandas-dev/pandas/issues/13398
159,161,298
MDU6SXNzdWUxNTkxNjEyOTg=
13,398
TemporaryFile as input to read_table raises TypeError: '_TemporaryFileWrapper' object is not an iterator
{ "avatar_url": "https://avatars.githubusercontent.com/u/321752?v=4", "events_url": "https://api.github.com/users/mbrucher/events{/privacy}", "followers_url": "https://api.github.com/users/mbrucher/followers", "following_url": "https://api.github.com/users/mbrucher/following{/other_user}", "gists_url": "https://api.github.com/users/mbrucher/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mbrucher", "id": 321752, "login": "mbrucher", "node_id": "MDQ6VXNlcjMyMTc1Mg==", "organizations_url": "https://api.github.com/users/mbrucher/orgs", "received_events_url": "https://api.github.com/users/mbrucher/received_events", "repos_url": "https://api.github.com/users/mbrucher/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mbrucher/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mbrucher/subscriptions", "type": "User", "url": "https://api.github.com/users/mbrucher" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
26
2016-06-08T13:18:20Z
2016-07-02T19:31:58Z
2016-07-02T19:31:58Z
CONTRIBUTOR
null
Although the requirement in the doc says that the input can be a file like object, it doesn't work with objects from tempfile. On Windows, they can't be reopened, so I need to pass the object itself. #### Code Sample, a copy-pastable example if possible ``` import pandas as pd from tempfile import TemporaryFile new_file = TemporaryFile("w+") dataframe = pd.read_table(new_file, skiprows=3, header=None, sep=r"\s*") ``` #### Expected Output Not an exception! #### output of `pd.show_versions()` ## INSTALLED VERSIONS commit: None python: 3.5.1.final.0 python-bits: 64 pandas: 0.18.0
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13398/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13398/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13399
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13399/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13399/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13399/events
https://github.com/pandas-dev/pandas/issues/13399
159,168,630
MDU6SXNzdWUxNTkxNjg2MzA=
13,399
BLD: should we use tempita for cython templating
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "75507B", "default": false, "description": "Library building on various platforms", "id": 129350, "name": "Build", "node_id": "MDU6TGFiZWwxMjkzNTA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build" } ]
closed
false
null
[]
null
11
2016-06-08T13:51:13Z
2016-07-26T10:51:50Z
2016-07-26T10:51:50Z
CONTRIBUTOR
null
see [here](http://pythonpaste.org/tempita/) might replace some of the manual code paths in `generate_code.py`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13399/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13399/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13400
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13400/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13400/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13400/events
https://github.com/pandas-dev/pandas/issues/13400
159,180,649
MDU6SXNzdWUxNTkxODA2NDk=
13,400
Add a diagonal="label" option to scatter_matrix [enhancement whish]
{ "avatar_url": "https://avatars.githubusercontent.com/u/10272606?v=4", "events_url": "https://api.github.com/users/adrivsh/events{/privacy}", "followers_url": "https://api.github.com/users/adrivsh/followers", "following_url": "https://api.github.com/users/adrivsh/following{/other_user}", "gists_url": "https://api.github.com/users/adrivsh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/adrivsh", "id": 10272606, "login": "adrivsh", "node_id": "MDQ6VXNlcjEwMjcyNjA2", "organizations_url": "https://api.github.com/users/adrivsh/orgs", "received_events_url": "https://api.github.com/users/adrivsh/received_events", "repos_url": "https://api.github.com/users/adrivsh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/adrivsh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/adrivsh/subscriptions", "type": "User", "url": "https://api.github.com/users/adrivsh" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
open
false
null
[]
null
1
2016-06-08T14:39:00Z
2021-05-01T22:09:02Z
null
NONE
null
Instead of just histograms or kde, i would like to be able to ask scatter_matrix to put the name of the series in the diagonal panels. Below is an example of what i did "manually". just notice how the diagonal panel is used to give the name of the series (in that case i also renamed the series to something descriptive before plotting, but that is the responsibility of the user of course) ![scatter_policies_mumbai](https://cloud.githubusercontent.com/assets/10272606/15898097/ece49042-2d64-11e6-9822-d447963abae4.png)
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13400/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13400/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13401
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13401/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13401/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13401/events
https://github.com/pandas-dev/pandas/issues/13401
159,188,812
MDU6SXNzdWUxNTkxODg4MTI=
13,401
CLN: unify unicode file handle processing
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" }, { "color": "444444", "default": false, "description": "Unicode strings", "id": 36380025, "name": "Unicode", "node_id": "MDU6TGFiZWwzNjM4MDAyNQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Unicode" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
5
2016-06-08T15:09:59Z
2020-05-02T04:04:37Z
2020-05-02T04:04:37Z
CONTRIBUTOR
null
xref https://github.com/pydata/pandas/pull/13351#issuecomment-224614415 We use `io/common/_get_handle` and `io/common/get_filepath_or_buffer` in various places in most of the io modules, need to unify encoding handling to a somewhat simpler interface (1 function).
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13401/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13401/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13402
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13402/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13402/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13402/events
https://github.com/pandas-dev/pandas/pull/13402
159,205,479
MDExOlB1bGxSZXF1ZXN0NzMwNzUxMTY=
13,402
BUG: don't raise on empty usecols
{ "avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4", "events_url": "https://api.github.com/users/gfyoung/events{/privacy}", "followers_url": "https://api.github.com/users/gfyoung/followers", "following_url": "https://api.github.com/users/gfyoung/following{/other_user}", "gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gfyoung", "id": 9273653, "login": "gfyoung", "node_id": "MDQ6VXNlcjkyNzM2NTM=", "organizations_url": "https://api.github.com/users/gfyoung/orgs", "received_events_url": "https://api.github.com/users/gfyoung/received_events", "repos_url": "https://api.github.com/users/gfyoung/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions", "type": "User", "url": "https://api.github.com/users/gfyoung" }
[ { "color": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
3
2016-06-08T16:07:13Z
2016-06-09T11:38:49Z
2016-06-09T11:38:49Z
MEMBER
null
Title is self-explanatory.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13402/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13402/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13402.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13402", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13402.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13402" }
https://api.github.com/repos/pandas-dev/pandas/issues/13403
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13403/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13403/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13403/events
https://github.com/pandas-dev/pandas/issues/13403
159,242,657
MDU6SXNzdWUxNTkyNDI2NTc=
13,403
Row/Column operations performance differences under win
{ "avatar_url": "https://avatars.githubusercontent.com/u/10107101?v=4", "events_url": "https://api.github.com/users/MMCMA/events{/privacy}", "followers_url": "https://api.github.com/users/MMCMA/followers", "following_url": "https://api.github.com/users/MMCMA/following{/other_user}", "gists_url": "https://api.github.com/users/MMCMA/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MMCMA", "id": 10107101, "login": "MMCMA", "node_id": "MDQ6VXNlcjEwMTA3MTAx", "organizations_url": "https://api.github.com/users/MMCMA/orgs", "received_events_url": "https://api.github.com/users/MMCMA/received_events", "repos_url": "https://api.github.com/users/MMCMA/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MMCMA/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MMCMA/subscriptions", "type": "User", "url": "https://api.github.com/users/MMCMA" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
3
2016-06-08T18:46:37Z
2016-06-09T13:31:57Z
2016-06-08T18:50:26Z
NONE
null
I've noticed performance differences between column and row wise function applications under windows 8.1. The problem most likely roots back the memory storage of the numpy arrays, which are per default 'C' like, hence causing for all column based pandas operations signifcant performance differences vs row wise operations.Under linux the problem is not present (or beeing taken care of explicity). If this is hard to fix in windows, I would argue to change the default behaviour to 'Fortran' like memory storaging (column by column), as arguably most time series data is rather of type many rows vs few columns. #### Code Sample, a copy-pastable example if possible ``` import numpy as np import pandas as pd num_sim = 1000 f = np.array(np.random.standard_normal((num_sim,num_sim)), order='F') c = np.array(np.random.standard_normal((num_sim,num_sim)), order='C') df_f = pd.DataFrame(f) df_c = pd.DataFrame(c) ``` #### Expected Output I expect similiar performance of colum or row wise operations. ``` %timeit df_f.mean() 100 loops, best of 3: 1.9 ms per loop %timeit df_f.mean(axis=1) 100 loops, best of 3: 10.3 ms per loop %timeit df_c.mean() 100 loops, best of 3: 10.2 ms per loop %timeit df_c.mean(axis=1) 100 loops, best of 3: 1.86 ms per loop ``` #### output of `pd.show_versions()` commit: None python: 3.4.4.final.0 python-bits: 64 OS: Windows OS-release: 8.1 machine: AMD64 processor: Intel64 Family 6 Model 58 Stepping 9, GenuineIntel byteorder: little LC_ALL: None LANG: None pandas: 0.18.1 nose: None pip: 8.1.0 setuptools: 20.2.2 Cython: 0.24 numpy: 1.10.4 scipy: 0.17.0 statsmodels: 0.6.1 xarray: None IPython: 4.0.3 sphinx: 1.3.5 patsy: 0.4.1 dateutil: 2.5.0 pytz: 2016.1 blosc: None bottleneck: 1.0.0 tables: 3.2.2 numexpr: 2.4.6 matplotlib: 1.5.1 openpyxl: 2.3.2 xlrd: 0.9.4 xlwt: 1.0.0 xlsxwriter: 0.8.4 lxml: 3.5.0 bs4: 4.4.1 html5lib: 0.999 httplib2: None apiclient: None sqlalchemy: 1.0.11 pymysql: 0.6.2.None psycopg2: None jinja2: 2.8 boto: 2.39.0 pandas_datareader: 0.2.0
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/13403/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13403/timeline
null
null
null