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/8101
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8101/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8101/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8101/events
https://github.com/pandas-dev/pandas/issues/8101
40,970,024
MDU6SXNzdWU0MDk3MDAyNA==
8,101
Series.isbetween(min,max) method
{ "avatar_url": "https://avatars.githubusercontent.com/u/338235?v=4", "events_url": "https://api.github.com/users/dov/events{/privacy}", "followers_url": "https://api.github.com/users/dov/followers", "following_url": "https://api.github.com/users/dov/following{/other_user}", "gists_url": "https://api.github.com/users/dov/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dov", "id": 338235, "login": "dov", "node_id": "MDQ6VXNlcjMzODIzNQ==", "organizations_url": "https://api.github.com/users/dov/orgs", "received_events_url": "https://api.github.com/users/dov/received_events", "repos_url": "https://api.github.com/users/dov/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dov/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dov/subscriptions", "type": "User", "url": "https://api.github.com/users/dov" }
[]
closed
false
null
[]
null
2
2014-08-23T07:52:33Z
2014-08-28T04:13:09Z
2014-08-28T04:13:09Z
NONE
null
There is currently a `Series.isin(list)` for checking containment by descrete values. I suggest that a similar method called `isbetween(min,max)` be introduced that checks for if the series value is between `min` and `max`. The method should return exactly the same result as `(Series >= min) & (Series < max)` but is likely faster as each series element is only visited once. An optional flag can be used for choosing whether `max` should be considered absolutely less than or less than equal to. The method should support the overloading of the comparison operators, so that it e.g. possible to use this for both a floating series, and a time series.
{ "+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/8101/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8101/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8102
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8102/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8102/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8102/events
https://github.com/pandas-dev/pandas/pull/8102
40,973,260
MDExOlB1bGxSZXF1ZXN0MjAyMDg4OTY=
8,102
BENCH: add benchmarks for SQL
{ "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": "5319e7", "default": false, "description": "to_sql, read_sql, read_sql_query", "id": 47232590, "name": "IO SQL", "node_id": "MDU6TGFiZWw0NzIzMjU5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL" } ]
closed
false
null
[]
{ "closed_at": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
3
2014-08-23T11:07:57Z
2014-09-09T08:17:37Z
2014-09-09T08:17:36Z
MEMBER
null
xref #6701, #6416 WIP for now: intitial benchmarks for sql functions - Where should the benches be placed? Because there is `io_bench.py`, `packers.py` and `parsers_vb.py` which all contain io related benchmarks. Or should I create a new file? - The first tests are a generic mixed-type frame writing/reading, both with sqlalchemy (sqlite) and sqlite fallback - I am going to add seperate benches for different types (float, string, datetime) - other important things to test? First run with `./test_perf.sh -b master -t HEAD -r sql` gives: ``` ------------------------------------------------------------------------------- Test name | head[ms] | base[ms] | ratio | ------------------------------------------------------------------------------- sql_write_fallback | 218.5094 | 219.5977 | 0.9950 | sql_write_sqlalchemy | 347.1383 | 347.9416 | 0.9977 | sql_read_query_fallback | 28.5973 | 28.6067 | 0.9997 | sql_read_table_sqlalchemy | 39.0046 | 38.9366 | 1.0017 | sql_read_query_fallback | 35.9294 | 35.4296 | 1.0141 | ------------------------------------------------------------------------------- Test name | head[ms] | base[ms] | ratio | ------------------------------------------------------------------------------- Ratio < 1.0 means the target commit is faster then the baseline. Seed used: 1234 Target [3bcc9c2] : BENCH: add benchmarks for SQL Base [86ecb99] : BUG: fix iat and at for Float64Index ``` You can see that the sqlalchemy version is somewhat slower than the fallback version.
{ "+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/8102/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8102/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8102.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8102", "merged_at": "2014-09-09T08:17:36Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8102.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8102" }
https://api.github.com/repos/pandas-dev/pandas/issues/8103
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8103/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8103/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8103/events
https://github.com/pandas-dev/pandas/pull/8103
40,974,479
MDExOlB1bGxSZXF1ZXN0MjAyMDkzNDc=
8,103
BUG: pivot_table raises KeyError with nameless index and columns
{ "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": "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": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
0
2014-08-23T12:22:07Z
2014-08-30T01:19:10Z
2014-08-29T18:58:35Z
MEMBER
null
`pivot_table` raises `KeyError` when args passed to `index` and `columns` don't have `name` attribute. The fix looks especially useful when pivotting by `dt` accessor. ``` df = pd.DataFrame({'dt1': [datetime.datetime(2011, 1, 1), datetime.datetime(2011, 2, 1), datetime.datetime(2011, 3, 1), datetime.datetime(2011, 4, 1), datetime.datetime(2011, 5, 1), datetime.datetime(2012, 1, 1), datetime.datetime(2012, 2, 1), datetime.datetime(2012, 3, 1), datetime.datetime(2012, 4, 1)], 'col1': 'A A A B B B C C C'.split(), 'val1': [1, 2, 3, 4, 5, 6, 7, 8, 9]}) pd.pivot_table(df, index=df['dt1'].dt.month, columns=df['dt1'].dt.year, values='val1')) # KeyError: 'Level None not found' ``` ### After fix ``` pd.pivot_table(df, index=df['dt1'].dt.month, columns=df['dt1'].dt.year, values='val1')) # 2011 2012 #1 1 6 #2 2 7 #3 3 8 #4 4 9 #5 5 NaN ```
{ "+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/8103/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8103/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8103.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8103", "merged_at": "2014-08-29T18:58:35Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8103.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8103" }
https://api.github.com/repos/pandas-dev/pandas/issues/8104
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8104/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8104/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8104/events
https://github.com/pandas-dev/pandas/pull/8104
40,988,915
MDExOlB1bGxSZXF1ZXN0MjAyMTQ5ODA=
8,104
TST: Moving testing method outside of TestCase
{ "avatar_url": "https://avatars.githubusercontent.com/u/5581066?v=4", "events_url": "https://api.github.com/users/bwignall/events{/privacy}", "followers_url": "https://api.github.com/users/bwignall/followers", "following_url": "https://api.github.com/users/bwignall/following{/other_user}", "gists_url": "https://api.github.com/users/bwignall/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bwignall", "id": 5581066, "login": "bwignall", "node_id": "MDQ6VXNlcjU1ODEwNjY=", "organizations_url": "https://api.github.com/users/bwignall/orgs", "received_events_url": "https://api.github.com/users/bwignall/received_events", "repos_url": "https://api.github.com/users/bwignall/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bwignall/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bwignall/subscriptions", "type": "User", "url": "https://api.github.com/users/bwignall" }
[ { "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": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "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.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
5
2014-08-23T23:37:38Z
2014-12-01T00:57:26Z
2014-12-01T00:57:09Z
CONTRIBUTOR
null
Make assert_numpy_array_equal available without subclassing TestCase; see #8023
{ "+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/8104/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8104/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8104.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8104", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/8104.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8104" }
https://api.github.com/repos/pandas-dev/pandas/issues/8105
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8105/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8105/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8105/events
https://github.com/pandas-dev/pandas/issues/8105
41,003,922
MDU6SXNzdWU0MTAwMzkyMg==
8,105
SQL: read_sql with a stored procedure
{ "avatar_url": "https://avatars.githubusercontent.com/u/2299446?v=4", "events_url": "https://api.github.com/users/httassadar/events{/privacy}", "followers_url": "https://api.github.com/users/httassadar/followers", "following_url": "https://api.github.com/users/httassadar/following{/other_user}", "gists_url": "https://api.github.com/users/httassadar/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/httassadar", "id": 2299446, "login": "httassadar", "node_id": "MDQ6VXNlcjIyOTk0NDY=", "organizations_url": "https://api.github.com/users/httassadar/orgs", "received_events_url": "https://api.github.com/users/httassadar/received_events", "repos_url": "https://api.github.com/users/httassadar/repos", "site_admin": false, "starred_url": "https://api.github.com/users/httassadar/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/httassadar/subscriptions", "type": "User", "url": "https://api.github.com/users/httassadar" }
[]
closed
false
null
[]
null
2
2014-08-24T10:16:33Z
2014-08-24T10:48:59Z
2014-08-24T10:28:40Z
NONE
null
pandas 0.14.0 pandas.io.sql.read_sql(sql,dbconn) does not work if the string sql does not have 'select' in it. If I'm reading a sproc, sql will start with 'exec' and no 'select'. There is a test on line 377 in pandas\io\sql.py if 'select' in sql.lower() I modified it to if 'select' in sql.lower() or 'exec' in sql.lower() then it works.
{ "+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/8105/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8105/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8106
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8106/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8106/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8106/events
https://github.com/pandas-dev/pandas/pull/8106
41,018,649
MDExOlB1bGxSZXF1ZXN0MjAyMjM1NzQ=
8,106
CLN: Partially add future division imports
{ "avatar_url": "https://avatars.githubusercontent.com/u/5581066?v=4", "events_url": "https://api.github.com/users/bwignall/events{/privacy}", "followers_url": "https://api.github.com/users/bwignall/followers", "following_url": "https://api.github.com/users/bwignall/following{/other_user}", "gists_url": "https://api.github.com/users/bwignall/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bwignall", "id": 5581066, "login": "bwignall", "node_id": "MDQ6VXNlcjU1ODEwNjY=", "organizations_url": "https://api.github.com/users/bwignall/orgs", "received_events_url": "https://api.github.com/users/bwignall/received_events", "repos_url": "https://api.github.com/users/bwignall/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bwignall/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bwignall/subscriptions", "type": "User", "url": "https://api.github.com/users/bwignall" }
[ { "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": "fbca04", "default": false, "description": "Related to non-user accessible pandas implementation", "id": 49094459, "name": "Internals", "node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals" } ]
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" }
11
2014-08-24T20:43:49Z
2015-03-06T16:29:14Z
2015-03-06T16:29:14Z
CONTRIBUTOR
null
Adds division import to cases where something is already imported from **future** . #5445
{ "+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/8106/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8106/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8106.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8106", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/8106.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8106" }
https://api.github.com/repos/pandas-dev/pandas/issues/8107
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8107/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8107/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8107/events
https://github.com/pandas-dev/pandas/pull/8107
41,022,520
MDExOlB1bGxSZXF1ZXN0MjAyMjQ4Nzg=
8,107
DOC: setuptools is a required runtime dependency
{ "avatar_url": "https://avatars.githubusercontent.com/u/483428?v=4", "events_url": "https://api.github.com/users/cgohlke/events{/privacy}", "followers_url": "https://api.github.com/users/cgohlke/followers", "following_url": "https://api.github.com/users/cgohlke/following{/other_user}", "gists_url": "https://api.github.com/users/cgohlke/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cgohlke", "id": 483428, "login": "cgohlke", "node_id": "MDQ6VXNlcjQ4MzQyOA==", "organizations_url": "https://api.github.com/users/cgohlke/orgs", "received_events_url": "https://api.github.com/users/cgohlke/received_events", "repos_url": "https://api.github.com/users/cgohlke/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cgohlke/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cgohlke/subscriptions", "type": "User", "url": "https://api.github.com/users/cgohlke" }
[ { "color": "0052cc", "default": false, "description": "pandas-gbq compatability", "id": 57351315, "name": "IO Google", "node_id": "MDU6TGFiZWw1NzM1MTMxNQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Google" } ]
closed
false
null
[]
{ "closed_at": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
12
2014-08-24T23:10:42Z
2014-09-29T13:23:30Z
2014-09-29T13:23:30Z
CONTRIBUTOR
null
Without setuptools pandas fails to import at https://github.com/pydata/pandas/blob/master/pandas/io/gbq.py#L9
{ "+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/8107/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8107/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8107.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8107", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/8107.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8107" }
https://api.github.com/repos/pandas-dev/pandas/issues/8108
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8108/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8108/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8108/events
https://github.com/pandas-dev/pandas/pull/8108
41,028,561
MDExOlB1bGxSZXF1ZXN0MjAyMjczNTQ=
8,108
BUG: reindexing a frame fails to pick nan value
{ "avatar_url": "https://avatars.githubusercontent.com/u/1288998?v=4", "events_url": "https://api.github.com/users/behzadnouri/events{/privacy}", "followers_url": "https://api.github.com/users/behzadnouri/followers", "following_url": "https://api.github.com/users/behzadnouri/following{/other_user}", "gists_url": "https://api.github.com/users/behzadnouri/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/behzadnouri", "id": 1288998, "login": "behzadnouri", "node_id": "MDQ6VXNlcjEyODg5OTg=", "organizations_url": "https://api.github.com/users/behzadnouri/orgs", "received_events_url": "https://api.github.com/users/behzadnouri/received_events", "repos_url": "https://api.github.com/users/behzadnouri/repos", "site_admin": false, "starred_url": "https://api.github.com/users/behzadnouri/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/behzadnouri/subscriptions", "type": "User", "url": "https://api.github.com/users/behzadnouri" }
[ { "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": "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" } ]
closed
false
null
[]
{ "closed_at": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "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.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
15
2014-08-25T02:48:37Z
2015-03-06T02:51:12Z
2015-03-05T23:43:41Z
CONTRIBUTOR
null
currently ``` >>> df = pd.DataFrame([[1, 2], [3, 5], [7, 11], [9, 23]], ... index=[2, np.nan, 1, 5], columns=['joe', 'jim']) >>> df joe jim 2 1 2 NaN 3 5 1 7 11 5 9 23 >>> df.reindex([2, np.nan, 1]) joe jim 2 1 2 NaN NaN NaN 1 7 11 ``` with this patch: ``` >>> df.reindex([2, np.nan, 1]) joe jim 2 1 2 NaN 3 5 1 7 11 >>> df.reindex([np.nan, 5, 5, np.nan, 1, 2, np.nan]) joe jim NaN 3 5 5 9 23 5 9 23 NaN 3 5 1 7 11 2 1 2 NaN 3 5 ``` Also, `Float64HashTable` cannot lookup `nan` values: ``` >>> from pandas.hashtable import Float64HashTable >>> xs = np.array([2.718, 3.14, np.nan, -7, 5, 2, 3]) >>> m = Float64HashTable() >>> m.map_locations(xs) >>> m.lookup(xs) array([ 0, 1, -1, 3, 4, 5, 6]) ``` this is fixed to: ``` >>> m.map_locations(xs) >>> m.lookup(xs) array([0, 1, 2, 3, 4, 5, 6]) >>> np.all(m.lookup(xs) == np.arange(len(xs))) True ``` same way that python built-in lists work: ``` >>> [2.718, 3.14, np.nan, -7, 5, 2, 3].index(np.nan) 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/8108/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8108/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8108.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8108", "merged_at": "2015-03-05T23:43:41Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8108.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8108" }
https://api.github.com/repos/pandas-dev/pandas/issues/8109
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8109/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8109/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8109/events
https://github.com/pandas-dev/pandas/issues/8109
41,062,270
MDU6SXNzdWU0MTA2MjI3MA==
8,109
BUILD: nose version conflict in pkg_resources.
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" } ]
closed
false
null
[]
{ "closed_at": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
4
2014-08-25T13:44:05Z
2014-08-29T20:43:41Z
2014-08-29T20:43:30Z
CONTRIBUTOR
null
See https://travis-ci.org/pydata/pandas/jobs/33461059 ``` The command "echo "script"" exited with 0. 0.18s$ ci/script.sh inside ci/script.sh nosetests --exe -w /tmp -A not slow and not disabled pandas --with-xunit --xunit-file=/tmp/nosetests.xml Traceback (most recent call last): File "/home/travis/virtualenv/python3.4.1/lib/python3.4/site-packages/pkg_resources.py", line 449, in _build_master ws.require(__requires__) File "/home/travis/virtualenv/python3.4.1/lib/python3.4/site-packages/pkg_resources.py", line 745, in require needed = self.resolve(parse_requirements(requirements)) File "/home/travis/virtualenv/python3.4.1/lib/python3.4/site-packages/pkg_resources.py", line 644, in resolve raise VersionConflict(dist, req) pkg_resources.VersionConflict: (nose 1.3.3 (/home/travis/virtualenv/python3.4.1/lib/python3.4/site-packages), Requirement.parse('nose==1.3.4')) ``` Trying to reproduce locally right now. Hopefully we just need to bump the nose version.
{ "+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/8109/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8109/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8110
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8110/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8110/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8110/events
https://github.com/pandas-dev/pandas/pull/8110
41,065,850
MDExOlB1bGxSZXF1ZXN0MjAyNDg3MTg=
8,110
ER: clarify import error message of BeautifulSoup (read_html)
{ "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" }
[]
closed
false
null
[]
null
1
2014-08-25T14:23:08Z
2014-08-25T15:51:59Z
2014-08-25T15:51:59Z
MEMBER
null
You still have to install it with pip/conda as BeautifulSoup4 and not bs4, so I think this is a bit more clear. @cpcloud
{ "+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/8110/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8110/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8110.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8110", "merged_at": "2014-08-25T15:51:59Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8110.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8110" }
https://api.github.com/repos/pandas-dev/pandas/issues/8111
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8111/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8111/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8111/events
https://github.com/pandas-dev/pandas/pull/8111
41,068,211
MDExOlB1bGxSZXF1ZXN0MjAyNTAwNTA=
8,111
DOC: fix formatting in dependencies in install.rst
{ "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" }
[]
closed
false
null
[]
null
0
2014-08-25T14:45:52Z
2014-08-25T14:57:19Z
2014-08-25T14:57:15Z
MEMBER
null
http://pandas.pydata.org/pandas-docs/stable/install.html#recommended-dependencies: "Needed for gbq" was not formatted correctly in its own sublist. At once removed the unnecessary indentation of the lists in install.rst
{ "+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/8111/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8111/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8111.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8111", "merged_at": "2014-08-25T14:57:15Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8111.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8111" }
https://api.github.com/repos/pandas-dev/pandas/issues/8112
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8112/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8112/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8112/events
https://github.com/pandas-dev/pandas/issues/8112
41,074,058
MDU6SXNzdWU0MTA3NDA1OA==
8,112
BUG: groupby drops columns if the column name is the same as the grouper
{ "avatar_url": "https://avatars.githubusercontent.com/u/1288998?v=4", "events_url": "https://api.github.com/users/behzadnouri/events{/privacy}", "followers_url": "https://api.github.com/users/behzadnouri/followers", "following_url": "https://api.github.com/users/behzadnouri/following{/other_user}", "gists_url": "https://api.github.com/users/behzadnouri/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/behzadnouri", "id": 1288998, "login": "behzadnouri", "node_id": "MDQ6VXNlcjEyODg5OTg=", "organizations_url": "https://api.github.com/users/behzadnouri/orgs", "received_events_url": "https://api.github.com/users/behzadnouri/received_events", "repos_url": "https://api.github.com/users/behzadnouri/repos", "site_admin": false, "starred_url": "https://api.github.com/users/behzadnouri/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/behzadnouri/subscriptions", "type": "User", "url": "https://api.github.com/users/behzadnouri" }
[ { "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": "2014-11-09T12:33:59Z", "closed_issues": 86, "created_at": "2014-10-30T11:12:13Z", "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.15.0 of course", "due_on": "2014-11-09T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/31", "id": 846460, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31/labels", "node_id": "MDk6TWlsZXN0b25lODQ2NDYw", "number": 31, "open_issues": 0, "state": "closed", "title": "0.15.1", "updated_at": "2014-11-09T12:33:59Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31" }
0
2014-08-25T15:41:52Z
2014-10-30T11:19:43Z
2014-10-28T00:04:25Z
CONTRIBUTOR
null
``` >>> df = pd.DataFrame(np.random.randint(1, 9, (2, 3)), columns=['jim', 'joe', 'jolie']) >>> df jim joe jolie 0 4 7 8 1 7 8 3 >>> ts = df['joe'] * 0 >>> ts.name 'joe' >>> gr = df.groupby(ts) >>> gr.nth(0) # this invokes _set_selection_from_grouper internally jim jolie joe 7 4 8 >>> gr.apply(sum) # joe column is gone jim jolie joe 0 11 11 ``` whereas: ``` >>> df.groupby(ts).apply(sum) jim joe jolie joe 0 11 15 11 ``` What happens is that [this line](https://github.com/pydata/pandas/blob/35a95274bcc90e1a44a881aac2e0183663272fc2/pandas/core/groupby.py#L474) removes the column from selection if it has the same name as the grouper.
{ "+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/8112/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8112/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8113
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8113/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8113/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8113/events
https://github.com/pandas-dev/pandas/issues/8113
41,098,901
MDU6SXNzdWU0MTA5ODkwMQ==
8,113
VIS: DataFrame.plot drops datetime data when kind is scatter
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "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": "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": "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" }
27
2014-08-25T19:55:47Z
2020-01-01T16:26:02Z
2020-01-01T16:26:02Z
CONTRIBUTOR
null
This works fine: ``` python In [13]: df = pd.DataFrame(np.random.randn(300), columns=['a']) In [14]: df['dtime'] = pd.DatetimeIndex(start='2014-01-01', freq='h', periods=300).time In [15]: df.plot(x='dtime', y='a') Out[15]: <matplotlib.axes._subplots.AxesSubplot at 0x118fd17f0> ``` This raises a `KeyError` ``` python In [17]: df.plot(x='dtime', y='a', kind='scatter') ``` We call `df._get_numeric_data()` which excludes datetimes. May happen for other kinds too. I'll fix this; just have to decide how much refactoring. Matplotlib is ok with `datetime.time` values, it chokes on `datetime` values.
{ "+1": 2, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 2, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8113/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8113/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8114
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8114/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8114/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8114/events
https://github.com/pandas-dev/pandas/pull/8114
41,104,137
MDExOlB1bGxSZXF1ZXN0MjAyNzA4Njg=
8,114
BUG: fixed df.info() output missing new line
{ "avatar_url": "https://avatars.githubusercontent.com/u/5687998?v=4", "events_url": "https://api.github.com/users/verhovsky/events{/privacy}", "followers_url": "https://api.github.com/users/verhovsky/followers", "following_url": "https://api.github.com/users/verhovsky/following{/other_user}", "gists_url": "https://api.github.com/users/verhovsky/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/verhovsky", "id": 5687998, "login": "verhovsky", "node_id": "MDQ6VXNlcjU2ODc5OTg=", "organizations_url": "https://api.github.com/users/verhovsky/orgs", "received_events_url": "https://api.github.com/users/verhovsky/received_events", "repos_url": "https://api.github.com/users/verhovsky/repos", "site_admin": false, "starred_url": "https://api.github.com/users/verhovsky/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/verhovsky/subscriptions", "type": "User", "url": "https://api.github.com/users/verhovsky" }
[ { "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": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
5
2014-08-25T20:45:24Z
2014-09-12T13:47:03Z
2014-09-12T13:47:03Z
CONTRIBUTOR
null
Had this minor bug working with pandas from the command line ``` >>> df.info() <class 'pandas.core.frame.DataFrame'> Int64Index: 891 entries, 0 to 890 Data columns (total 12 columns): PassengerId 891 non-null int64 # ... etc Embarked 889 non-null object dtypes: float64(2), int64(5), object(5)>>> ``` (The interpreter prompt is not on a new line at the end.) This most likely went unnoticed because pandas users tend to work in the ipython interpreter. I had to change 2 tests, because they were not expecting the extra newline (using split('\n') and counting strings to determine if output was valid) and I don't know if that is a big issue or not.
{ "+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/8114/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8114/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8114.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8114", "merged_at": "2014-09-12T13:47:03Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8114.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8114" }
https://api.github.com/repos/pandas-dev/pandas/issues/8115
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8115/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8115/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8115/events
https://github.com/pandas-dev/pandas/issues/8115
41,175,547
MDU6SXNzdWU0MTE3NTU0Nw==
8,115
BUG: read_table with full line comment and delim_whitespace=True
{ "avatar_url": "https://avatars.githubusercontent.com/u/8557421?v=4", "events_url": "https://api.github.com/users/jmkuhn/events{/privacy}", "followers_url": "https://api.github.com/users/jmkuhn/followers", "following_url": "https://api.github.com/users/jmkuhn/following{/other_user}", "gists_url": "https://api.github.com/users/jmkuhn/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jmkuhn", "id": 8557421, "login": "jmkuhn", "node_id": "MDQ6VXNlcjg1NTc0MjE=", "organizations_url": "https://api.github.com/users/jmkuhn/orgs", "received_events_url": "https://api.github.com/users/jmkuhn/received_events", "repos_url": "https://api.github.com/users/jmkuhn/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jmkuhn/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jmkuhn/subscriptions", "type": "User", "url": "https://api.github.com/users/jmkuhn" }
[ { "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": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
9
2014-08-26T14:05:11Z
2014-08-28T17:01:12Z
2014-08-28T17:01:12Z
NONE
null
I expect the following to produce a DataFrame with 3 rows, 5 columns and no NaNs. Instead it produces 5 rows with the comment lines filled with NaNs. Pandas version 0.14.1. ``` python In [2]: !cat test.txt # comment 0 1 2 3 4 5 6 7 8 9 # comment 10 11 12 13 15 In [3]: df = pd.read_table("test.txt", skipinitialspace=True, ...: names=["A", "B", "C", "D", "E"], delim_whitespace=True, comment="#") In [4]: df Out[4]: A B C D E 0 NaN NaN NaN NaN NaN 1 0 1 2 3 4 2 5 6 7 8 9 3 NaN NaN NaN NaN NaN 4 10 11 12 13 15 ```
{ "+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/8115/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8115/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8116
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8116/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8116/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8116/events
https://github.com/pandas-dev/pandas/issues/8116
41,187,770
MDU6SXNzdWU0MTE4Nzc3MA==
8,116
Pandas broadcast with numpy scalars
{ "avatar_url": "https://avatars.githubusercontent.com/u/4156237?v=4", "events_url": "https://api.github.com/users/tritemio/events{/privacy}", "followers_url": "https://api.github.com/users/tritemio/followers", "following_url": "https://api.github.com/users/tritemio/following{/other_user}", "gists_url": "https://api.github.com/users/tritemio/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tritemio", "id": 4156237, "login": "tritemio", "node_id": "MDQ6VXNlcjQxNTYyMzc=", "organizations_url": "https://api.github.com/users/tritemio/orgs", "received_events_url": "https://api.github.com/users/tritemio/received_events", "repos_url": "https://api.github.com/users/tritemio/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tritemio/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tritemio/subscriptions", "type": "User", "url": "https://api.github.com/users/tritemio" }
[ { "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": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
0
2014-08-26T15:50:21Z
2014-08-29T16:19:48Z
2014-08-29T16:19:48Z
NONE
null
Pandas objects (`Series`, `DataFrame`, etc...) can broadcast operations with python scalars. For example: ``` import pandas as pd pd.DataFrame([1,2,3])*2 ``` But when performing the same operation with a [numpy scalar array](http://docs.scipy.org/doc/numpy/reference/arrays.scalars.html): ``` import pandas as pd import numpy as np pd.DataFrame([1,2,3])*np.array(2) ``` pandas returns an error: ``` ValueError: Incompatible argument shape: () ``` I can't find an explicit mention of scalar broadcasting in Pandas docs but this seems a natural case to be supported. _See also the original [SO question](http://stackoverflow.com/questions/25496538/pandas-broadcast-with-numpy-scalars)._
{ "+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/8116/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8116/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8117
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8117/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8117/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8117/events
https://github.com/pandas-dev/pandas/issues/8117
41,196,410
MDU6SXNzdWU0MTE5NjQxMA==
8,117
can't plot multi-row subplots
{ "avatar_url": "https://avatars.githubusercontent.com/u/3207112?v=4", "events_url": "https://api.github.com/users/ericdf/events{/privacy}", "followers_url": "https://api.github.com/users/ericdf/followers", "following_url": "https://api.github.com/users/ericdf/following{/other_user}", "gists_url": "https://api.github.com/users/ericdf/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ericdf", "id": 3207112, "login": "ericdf", "node_id": "MDQ6VXNlcjMyMDcxMTI=", "organizations_url": "https://api.github.com/users/ericdf/orgs", "received_events_url": "https://api.github.com/users/ericdf/received_events", "repos_url": "https://api.github.com/users/ericdf/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ericdf/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ericdf/subscriptions", "type": "User", "url": "https://api.github.com/users/ericdf" }
[]
closed
false
null
[]
null
3
2014-08-26T17:02:46Z
2014-08-27T00:14:42Z
2014-08-27T00:14:42Z
NONE
null
This code works fine to produce a single row of 3 subplots ``` python g = np.random.choice([1,2,3], 10) s = np.random.normal(size=10) s2 =np.random.normal(size=10) df = pd.DataFrame([g, s, s2]).T df.columns = ['key', 's1', 's2'] gb = df.groupby('key') fig, axes = plt.subplots(nrows=1, ncols=3, figsize=(12, 4)) i = 0 for key, df2 in gb: df2.plot(ax=axes[i], x='s1', y='s2', title=key) i = i + 1 ``` But if I try to add a second row (nrows=2), it blows up with an Attribute Error AttributeError: 'numpy.ndarray' object has no attribute 'get_figure' ``` python fig, axes = plt.subplots(nrows=2, ncols=3) fig.tight_layout() # Or equivalently, "plt.tight_layout()" i = 1 for key, df2 in gb: df2.plot(ax=axes[i]) i = i + 1 ```
{ "+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/8117/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8117/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8118
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8118/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8118/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8118/events
https://github.com/pandas-dev/pandas/issues/8118
41,210,430
MDU6SXNzdWU0MTIxMDQzMA==
8,118
Prevent dataframes from having duplicate column names
{ "avatar_url": "https://avatars.githubusercontent.com/u/5126549?v=4", "events_url": "https://api.github.com/users/lminer/events{/privacy}", "followers_url": "https://api.github.com/users/lminer/followers", "following_url": "https://api.github.com/users/lminer/following{/other_user}", "gists_url": "https://api.github.com/users/lminer/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lminer", "id": 5126549, "login": "lminer", "node_id": "MDQ6VXNlcjUxMjY1NDk=", "organizations_url": "https://api.github.com/users/lminer/orgs", "received_events_url": "https://api.github.com/users/lminer/received_events", "repos_url": "https://api.github.com/users/lminer/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lminer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lminer/subscriptions", "type": "User", "url": "https://api.github.com/users/lminer" }
[]
closed
false
null
[]
null
3
2014-08-26T19:20:26Z
2014-08-26T21:05:45Z
2014-08-26T21:02:17Z
NONE
null
I've run into a number of bugs that were introduced by columns with the same name. For example, if I try to select a duplicate column from a dataframe, I get a dataframe back, which leads to confusing bugs: df = pd.DataFrame({'name': ('jimmy', 'hortense', 'knut'), 'age': (10, 13, 20)}) df = df[['name','name','age']] df['name'] Gives a dataframe, not a series. Any reason for not automatically renaming duplicated columns with a .1, .2... .n or throwing an error?
{ "+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/8118/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8118/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8119
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8119/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8119/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8119/events
https://github.com/pandas-dev/pandas/pull/8119
41,242,511
MDExOlB1bGxSZXF1ZXN0MjAzNDkxODk=
8,119
BUG: broadcasting with numpy scalars (GH8116)
{ "avatar_url": "https://avatars.githubusercontent.com/u/1288998?v=4", "events_url": "https://api.github.com/users/behzadnouri/events{/privacy}", "followers_url": "https://api.github.com/users/behzadnouri/followers", "following_url": "https://api.github.com/users/behzadnouri/following{/other_user}", "gists_url": "https://api.github.com/users/behzadnouri/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/behzadnouri", "id": 1288998, "login": "behzadnouri", "node_id": "MDQ6VXNlcjEyODg5OTg=", "organizations_url": "https://api.github.com/users/behzadnouri/orgs", "received_events_url": "https://api.github.com/users/behzadnouri/received_events", "repos_url": "https://api.github.com/users/behzadnouri/repos", "site_admin": false, "starred_url": "https://api.github.com/users/behzadnouri/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/behzadnouri/subscriptions", "type": "User", "url": "https://api.github.com/users/behzadnouri" }
[ { "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": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
5
2014-08-27T02:10:20Z
2014-08-30T01:52:44Z
2014-08-29T16:19:48Z
CONTRIBUTOR
null
closes https://github.com/pydata/pandas/issues/8116
{ "+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/8119/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8119/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8119.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8119", "merged_at": "2014-08-29T16:19:48Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8119.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8119" }
https://api.github.com/repos/pandas-dev/pandas/issues/8120
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8120/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8120/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8120/events
https://github.com/pandas-dev/pandas/issues/8120
41,272,346
MDU6SXNzdWU0MTI3MjM0Ng==
8,120
read_stata unable to read version 7 stata files ...
{ "avatar_url": "https://avatars.githubusercontent.com/u/1175927?v=4", "events_url": "https://api.github.com/users/benjello/events{/privacy}", "followers_url": "https://api.github.com/users/benjello/followers", "following_url": "https://api.github.com/users/benjello/following{/other_user}", "gists_url": "https://api.github.com/users/benjello/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/benjello", "id": 1175927, "login": "benjello", "node_id": "MDQ6VXNlcjExNzU5Mjc=", "organizations_url": "https://api.github.com/users/benjello/orgs", "received_events_url": "https://api.github.com/users/benjello/received_events", "repos_url": "https://api.github.com/users/benjello/repos", "site_admin": false, "starred_url": "https://api.github.com/users/benjello/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/benjello/subscriptions", "type": "User", "url": "https://api.github.com/users/benjello" }
[ { "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" }, { "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
[]
null
5
2014-08-27T11:21:46Z
2014-08-29T10:23:50Z
2014-08-28T13:11:35Z
CONTRIBUTOR
null
... but R using the foreign package can. Is some support for those old stata files planned ?
{ "+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/8120/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8120/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8121
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8121/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8121/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8121/events
https://github.com/pandas-dev/pandas/issues/8121
41,280,535
MDU6SXNzdWU0MTI4MDUzNQ==
8,121
get_group sometimes throws an exception when using an index of tuples with different lengths
{ "avatar_url": "https://avatars.githubusercontent.com/u/29542?v=4", "events_url": "https://api.github.com/users/dwiel/events{/privacy}", "followers_url": "https://api.github.com/users/dwiel/followers", "following_url": "https://api.github.com/users/dwiel/following{/other_user}", "gists_url": "https://api.github.com/users/dwiel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dwiel", "id": 29542, "login": "dwiel", "node_id": "MDQ6VXNlcjI5NTQy", "organizations_url": "https://api.github.com/users/dwiel/orgs", "received_events_url": "https://api.github.com/users/dwiel/received_events", "repos_url": "https://api.github.com/users/dwiel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dwiel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dwiel/subscriptions", "type": "User", "url": "https://api.github.com/users/dwiel" }
[]
closed
false
null
[]
null
5
2014-08-27T12:59:55Z
2014-08-28T02:17:47Z
2014-08-28T01:58:41Z
CONTRIBUTOR
null
Here is a simple test case that exposes the problem: ``` df = pd.DataFrame(pd.Series([(1,), (1,2), (1,), (1, 2)]), columns = ['ids']) gb = df.groupby('ids') for i in gb.size().index : print i gb.get_group(i) ``` The issues is that in _get_index of GroupBy, these lines assume that if there is a tuple in the index, then the index is a multi-index, which in the above test case isn't true. Maybe there is some other way to detect that values are from a multi-index, or should pandas explicitly not support tuples in this situation (in an index of a groupby) ``` pandas/core/groupby.py: sample = next(iter(self.indices)) if isinstance(sample, tuple): if not isinstance(name, tuple): raise ValueError("must supply a tuple to get_group with multiple grouping keys") if not len(name) == len(sample): raise ValueError("must supply a a same-length tuple to get_group with multiple grouping keys") ```
{ "+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/8121/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8121/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8122
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8122/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8122/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8122/events
https://github.com/pandas-dev/pandas/pull/8122
41,292,885
MDExOlB1bGxSZXF1ZXN0MjAzNzkxNTM=
8,122
Made line comments work with delim_whitespace and custom line terminator
{ "avatar_url": "https://avatars.githubusercontent.com/u/6729036?v=4", "events_url": "https://api.github.com/users/mdmueller/events{/privacy}", "followers_url": "https://api.github.com/users/mdmueller/followers", "following_url": "https://api.github.com/users/mdmueller/following{/other_user}", "gists_url": "https://api.github.com/users/mdmueller/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mdmueller", "id": 6729036, "login": "mdmueller", "node_id": "MDQ6VXNlcjY3MjkwMzY=", "organizations_url": "https://api.github.com/users/mdmueller/orgs", "received_events_url": "https://api.github.com/users/mdmueller/received_events", "repos_url": "https://api.github.com/users/mdmueller/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mdmueller/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mdmueller/subscriptions", "type": "User", "url": "https://api.github.com/users/mdmueller" }
[ { "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": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
4
2014-08-27T15:01:32Z
2014-08-28T17:02:07Z
2014-08-28T17:01:12Z
CONTRIBUTOR
null
This extends the functionality in #7582 to whitespace-delimited and custom line terminated parsing in the C reader (fixes #8115).
{ "+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/8122/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8122/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8122.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8122", "merged_at": "2014-08-28T17:01:12Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8122.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8122" }
https://api.github.com/repos/pandas-dev/pandas/issues/8123
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8123/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8123/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8123/events
https://github.com/pandas-dev/pandas/pull/8123
41,293,958
MDExOlB1bGxSZXF1ZXN0MjAzNzk4NDU=
8,123
BUG: fix groupby with tuple bug
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[]
closed
false
null
[]
null
0
2014-08-27T15:11:22Z
2014-08-28T01:58:41Z
2014-08-28T01:58:41Z
CONTRIBUTOR
null
Closes https://github.com/pydata/pandas/issues/8121
{ "+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/8123/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8123/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8123.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8123", "merged_at": "2014-08-28T01:58:41Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8123.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8123" }
https://api.github.com/repos/pandas-dev/pandas/issues/8124
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8124/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8124/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8124/events
https://github.com/pandas-dev/pandas/issues/8124
41,310,251
MDU6SXNzdWU0MTMxMDI1MQ==
8,124
DataFrame.loc throws AttributeError with rows of datetime objects
{ "avatar_url": "https://avatars.githubusercontent.com/u/70800?v=4", "events_url": "https://api.github.com/users/Wilfred/events{/privacy}", "followers_url": "https://api.github.com/users/Wilfred/followers", "following_url": "https://api.github.com/users/Wilfred/following{/other_user}", "gists_url": "https://api.github.com/users/Wilfred/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Wilfred", "id": 70800, "login": "Wilfred", "node_id": "MDQ6VXNlcjcwODAw", "organizations_url": "https://api.github.com/users/Wilfred/orgs", "received_events_url": "https://api.github.com/users/Wilfred/received_events", "repos_url": "https://api.github.com/users/Wilfred/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Wilfred/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Wilfred/subscriptions", "type": "User", "url": "https://api.github.com/users/Wilfred" }
[]
closed
false
null
[]
null
2
2014-08-27T17:43:30Z
2014-08-28T11:34:05Z
2014-08-28T11:34:05Z
CONTRIBUTOR
null
The following code: ``` import pandas as pd from datetime import time x = pd.DataFrame({'name': ['A', 'B', 'C', 'D'], 'time': [time(14, 12), time(12, 14), time(2, 45), time(5, 55)], 'category': ['X', 'X', 'Y', 'Y']}) y = x.set_index(['category', 'name']).transpose() y.loc['time', ('X', 'A')] ``` Gives the following traceback: ``` Traceback (most recent call last): File "evil_loc.py", line 9, in <module> y.loc['time', ('X', 'A')] File "/users/is/whughes/pyenvs/73b3a6c24834a212/lib/python2.7/site-packages/pandas/core/indexing.py", line 1142, in __getitem__ return self._getitem_tuple(key) File "/users/is/whughes/pyenvs/73b3a6c24834a212/lib/python2.7/site-packages/pandas/core/indexing.py", line 655, in _getitem_tuple return self._getitem_lowerdim(tup) File "/users/is/whughes/pyenvs/73b3a6c24834a212/lib/python2.7/site-packages/pandas/core/indexing.py", line 763, in _getitem_lowerdim return self._getitem_nested_tuple(tup) File "/users/is/whughes/pyenvs/73b3a6c24834a212/lib/python2.7/site-packages/pandas/core/indexing.py", line 844, in _getitem_nested_tuple if obj.ndim < current_ndim: AttributeError: 'datetime.time' object has no attribute 'ndim' ``` This may only occur with numpy 1.7, I haven't managed to reproduce on 1.8 yet.
{ "+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/8124/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8124/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8125
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8125/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8125/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8125/events
https://github.com/pandas-dev/pandas/pull/8125
41,311,666
MDExOlB1bGxSZXF1ZXN0MjAzOTA1OTI=
8,125
DOC: Link to Python standard encodings from read_csv documentation
{ "avatar_url": "https://avatars.githubusercontent.com/u/6208436?v=4", "events_url": "https://api.github.com/users/dxshank/events{/privacy}", "followers_url": "https://api.github.com/users/dxshank/followers", "following_url": "https://api.github.com/users/dxshank/following{/other_user}", "gists_url": "https://api.github.com/users/dxshank/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dxshank", "id": 6208436, "login": "dxshank", "node_id": "MDQ6VXNlcjYyMDg0MzY=", "organizations_url": "https://api.github.com/users/dxshank/orgs", "received_events_url": "https://api.github.com/users/dxshank/received_events", "repos_url": "https://api.github.com/users/dxshank/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dxshank/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dxshank/subscriptions", "type": "User", "url": "https://api.github.com/users/dxshank" }
[ { "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": "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": "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": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
7
2014-08-27T17:57:51Z
2014-09-11T18:19:11Z
2014-09-11T18:19:06Z
NONE
null
Trying to make it easier to access the list of encodings from the documentation. Adding this was suggested on this [SO question](http://stackoverflow.com/questions/25530142/list-of-pandas-read-csv-encoding-list/25530279#25530279).
{ "+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/8125/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8125/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8125.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8125", "merged_at": "2014-09-11T18:19:06Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8125.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8125" }
https://api.github.com/repos/pandas-dev/pandas/issues/8126
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8126/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8126/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8126/events
https://github.com/pandas-dev/pandas/pull/8126
41,337,124
MDExOlB1bGxSZXF1ZXN0MjA0MDYzMTI=
8,126
BUG: Fix bad axis limits when boxplotting with 'by' (#7528)
{ "avatar_url": "https://avatars.githubusercontent.com/u/1460294?v=4", "events_url": "https://api.github.com/users/onesandzeroes/events{/privacy}", "followers_url": "https://api.github.com/users/onesandzeroes/followers", "following_url": "https://api.github.com/users/onesandzeroes/following{/other_user}", "gists_url": "https://api.github.com/users/onesandzeroes/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/onesandzeroes", "id": 1460294, "login": "onesandzeroes", "node_id": "MDQ6VXNlcjE0NjAyOTQ=", "organizations_url": "https://api.github.com/users/onesandzeroes/orgs", "received_events_url": "https://api.github.com/users/onesandzeroes/received_events", "repos_url": "https://api.github.com/users/onesandzeroes/repos", "site_admin": false, "starred_url": "https://api.github.com/users/onesandzeroes/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/onesandzeroes/subscriptions", "type": "User", "url": "https://api.github.com/users/onesandzeroes" }
[ { "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": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
8
2014-08-27T22:19:58Z
2014-09-14T07:24:58Z
2014-08-30T14:10:48Z
CONTRIBUTOR
null
closes #5517 The original bug involved the y-limits for boxplots being wrong when using `'by': turns out it has to do with the dummy axis that gets created when the plots don't fill the axis layout, e.g. when we're plotting 3 columns in a 2 by 2 layout. The fix for this basically involves not setting the `sharey`/`sharex` argument for blank/dummy axes. I've tried to test this in a couple of different ways, but some feedback on better ways to test would be good. In particular, I'm not sure if it's okay to check the `_sharey` attribute of the axes, given that it's private.
{ "+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/8126/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8126/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8126.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8126", "merged_at": "2014-08-30T14:10:48Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8126.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8126" }
https://api.github.com/repos/pandas-dev/pandas/issues/8127
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8127/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8127/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8127/events
https://github.com/pandas-dev/pandas/issues/8127
41,345,037
MDU6SXNzdWU0MTM0NTAzNw==
8,127
IndexError when doing groupby idxmax on large series
{ "avatar_url": "https://avatars.githubusercontent.com/u/1170234?v=4", "events_url": "https://api.github.com/users/amcpherson/events{/privacy}", "followers_url": "https://api.github.com/users/amcpherson/followers", "following_url": "https://api.github.com/users/amcpherson/following{/other_user}", "gists_url": "https://api.github.com/users/amcpherson/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/amcpherson", "id": 1170234, "login": "amcpherson", "node_id": "MDQ6VXNlcjExNzAyMzQ=", "organizations_url": "https://api.github.com/users/amcpherson/orgs", "received_events_url": "https://api.github.com/users/amcpherson/received_events", "repos_url": "https://api.github.com/users/amcpherson/repos", "site_admin": false, "starred_url": "https://api.github.com/users/amcpherson/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/amcpherson/subscriptions", "type": "User", "url": "https://api.github.com/users/amcpherson" }
[ { "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
[]
null
3
2014-08-28T00:30:53Z
2015-10-21T17:17:47Z
2015-10-20T22:39:56Z
CONTRIBUTOR
null
The following code works when `sz = 1000000`, but produces IndexError when `sz=10000000`. Seems similar to #5727. ``` df = pd.DataFrame({'A':np.random.randint(0, sz, sz), 'B':np.random.randint(0, 2, sz), 'C':np.random.randn(sz)}) df.set_index(['A', 'B'])\ .groupby(level=[0, 1])['C'].sum()\ .groupby(level=[0]).idxmax() ``` Exception: ``` Traceback (most recent call last): File "<stdin>", line 3, in <module> File "/home/amcpherson/scratch/anaconda/lib/python2.7/site-packages/pandas/core/groupby.py", line 482, in __getattr__ if attr in self.obj: File "/home/amcpherson/scratch/anaconda/lib/python2.7/site-packages/pandas/core/generic.py", line 682, in __contains__ return key in self._info_axis File "/home/amcpherson/scratch/anaconda/lib/python2.7/site-packages/pandas/core/index.py", line 2908, in __contains__ self.get_loc(key) File "/home/amcpherson/scratch/anaconda/lib/python2.7/site-packages/pandas/core/index.py", line 3411, in get_loc return self._get_level_indexer(key, level=0) File "/home/amcpherson/scratch/anaconda/lib/python2.7/site-packages/pandas/core/index.py", line 3585, in _get_level_indexer loc = level_index.get_loc(key) File "/home/amcpherson/scratch/anaconda/lib/python2.7/site-packages/pandas/core/index.py", line 1181, in get_loc return self._engine.get_loc(_values_from_object(key)) File "index.pyx", line 129, in pandas.index.IndexEngine.get_loc (pandas/index.c:3354) File "index.pyx", line 138, in pandas.index.IndexEngine.get_loc (pandas/index.c:3107) File "util.pxd", line 40, in util.get_value_at (pandas/index.c:13413) IndexError: index out of bounds ``` Version information: ``` >>> pd.show_versions() INSTALLED VERSIONS ------------------ commit: None python: 2.7.6.final.0 python-bits: 64 OS: Linux OS-release: 2.6.18-194.el5 machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.14.1 nose: 1.3.0 Cython: 0.20.1 numpy: 1.8.2 scipy: 0.13.3 statsmodels: 0.5.0 IPython: 1.1.0 sphinx: 1.2.1 patsy: 0.2.1 scikits.timeseries: None dateutil: 2.2 pytz: 2014.4 bottleneck: None tables: 3.1.0 numexpr: 2.3.1 matplotlib: 1.3.1 openpyxl: 1.8.2 xlrd: 0.9.2 xlwt: 0.7.5 xlsxwriter: 0.5.2 lxml: 3.3.1 bs4: 4.3.1 html5lib: None httplib2: None apiclient: None rpy2: None sqlalchemy: 0.9.2 pymysql: None psycopg2: 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/8127/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8127/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8128
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8128/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8128/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8128/events
https://github.com/pandas-dev/pandas/pull/8128
41,350,857
MDExOlB1bGxSZXF1ZXN0MjA0MTQ5NDk=
8,128
PERF: speed up multi-key groupby
{ "avatar_url": "https://avatars.githubusercontent.com/u/1288998?v=4", "events_url": "https://api.github.com/users/behzadnouri/events{/privacy}", "followers_url": "https://api.github.com/users/behzadnouri/followers", "following_url": "https://api.github.com/users/behzadnouri/following{/other_user}", "gists_url": "https://api.github.com/users/behzadnouri/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/behzadnouri", "id": 1288998, "login": "behzadnouri", "node_id": "MDQ6VXNlcjEyODg5OTg=", "organizations_url": "https://api.github.com/users/behzadnouri/orgs", "received_events_url": "https://api.github.com/users/behzadnouri/received_events", "repos_url": "https://api.github.com/users/behzadnouri/repos", "site_admin": false, "starred_url": "https://api.github.com/users/behzadnouri/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/behzadnouri/subscriptions", "type": "User", "url": "https://api.github.com/users/behzadnouri" }
[ { "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": "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": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
8
2014-08-28T02:47:09Z
2014-08-30T02:31:57Z
2014-08-29T19:16:53Z
CONTRIBUTOR
null
Improves multi-key `groupby` speed; On master: ``` In [3]: pd.__version__ Out[3]: '0.14.1-276-g995f91c' In [4]: np.random.seed(2718281) In [5]: n = 20000 In [6]: df = pd.DataFrame(np.random.randint(1, n, (n, 3)), ...: columns=['jim', 'joe', 'jolie']) In [7]: %timeit df.groupby(['jim', 'joe'])['jolie'].transform('max') 1 loops, best of 3: 1.09 s per loop In [8]: df['joe'] = df['jim'] In [9]: %timeit df.groupby(['jim', 'joe'])['jolie'].transform('max') 1 loops, best of 3: 1.02 s per loop ``` note that it is not responsive to the reduction in number of groups. With this patch: ``` In [9]: %timeit df.groupby(['jim', 'joe'])['jolie'].transform('max') 10 loops, best of 3: 122 ms per loop In [10]: df['joe'] = df['jim'] In [11]: %timeit df.groupby(['jim', 'joe'])['jolie'].transform('max') 10 loops, best of 3: 82.3 ms per loop ``` benching: ``` ------------------------------------------------------------------------------- Test name | head[ms] | base[ms] | ratio | ------------------------------------------------------------------------------- groupby_transform_multi_key2 | 48.2820 | 810.2150 | 0.0596 | groupby_transform_multi_key4 | 137.5050 | 1986.8030 | 0.0692 | groupby_transform_multi_key1 | 70.1749 | 841.8140 | 0.0834 | groupby_transform_multi_key3 | 713.8393 | 2613.6247 | 0.2731 | ------------------------------------------------------------------------------- Test name | head[ms] | base[ms] | ratio | ------------------------------------------------------------------------------- Ratio < 1.0 means the target commit is faster then the baseline. Seed used: 1234 Target [11cc057] : Merge branch 'groupby-speed-up' of https://github.com/behzadnouri/pandas into behzadnouri-groupby-speed-up Base [3bb0803] : Merge pull request #8103 from sinhrks/pivot_dt BUG: pivot_table raises KeyError with nameless index and 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/8128/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8128/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8128.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8128", "merged_at": "2014-08-29T19:16:53Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8128.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8128" }
https://api.github.com/repos/pandas-dev/pandas/issues/8129
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8129/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8129/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8129/events
https://github.com/pandas-dev/pandas/issues/8129
41,365,948
MDU6SXNzdWU0MTM2NTk0OA==
8,129
TypeError casting int64 to int32 when shifting time series
{ "avatar_url": "https://avatars.githubusercontent.com/u/1676326?v=4", "events_url": "https://api.github.com/users/goyodiaz/events{/privacy}", "followers_url": "https://api.github.com/users/goyodiaz/followers", "following_url": "https://api.github.com/users/goyodiaz/following{/other_user}", "gists_url": "https://api.github.com/users/goyodiaz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/goyodiaz", "id": 1676326, "login": "goyodiaz", "node_id": "MDQ6VXNlcjE2NzYzMjY=", "organizations_url": "https://api.github.com/users/goyodiaz/orgs", "received_events_url": "https://api.github.com/users/goyodiaz/received_events", "repos_url": "https://api.github.com/users/goyodiaz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/goyodiaz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/goyodiaz/subscriptions", "type": "User", "url": "https://api.github.com/users/goyodiaz" }
[ { "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": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
3
2014-08-28T08:25:11Z
2014-09-17T15:30:14Z
2014-09-17T15:30:14Z
CONTRIBUTOR
null
I think I hit another 32bits issue. This happens in Win7 32 bits: ``` Python 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import pandas as pd >>> index = pd.date_range('2000-01-01', periods=5, freq='D') >>> s1 = pd.Series(range(5), index=index) >>> p = s1.iloc[1] >>> s1.shift(periods=p) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "D:\Python27\lib\site-packages\pandas\core\generic.py", line 3290, in shift new_data = self._data.shift(periods=periods, axis=block_axis) File "D:\Python27\lib\site-packages\pandas\core\internals.py", line 2228, in shift return self.apply('shift', **kwargs) File "D:\Python27\lib\site-packages\pandas\core\internals.py", line 2192, in apply applied = getattr(b, f)(**kwargs) File "D:\Python27\lib\site-packages\pandas\core\internals.py", line 791, in shift new_values = np.roll(new_values, periods, axis=axis) File "D:\Python27\lib\site-packages\numpy\core\numeric.py", line 1294, in roll res = a.take(indexes, axis) TypeError: Cannot cast array data from dtype('int64') to dtype('int32') according to the rule 'safe' >>> pd.show_versions() INSTALLED VERSIONS ------------------ commit: None python: 2.7.6.final.0 python-bits: 32 OS: Windows OS-release: 7 machine: x86 processor: x86 Family 6 Model 58 Stepping 9, GenuineIntel byteorder: little LC_ALL: None LANG: None pandas: 0.14.1 nose: 1.3.3 Cython: None numpy: 1.8.1 scipy: 0.14.0 statsmodels: 0.5.0 IPython: 2.2.0 sphinx: 1.2.2 patsy: 0.2.1 scikits.timeseries: None dateutil: 2.2 pytz: 2014.3 bottleneck: 0.8.0 tables: 3.1.1 numexpr: 2.4 matplotlib: 1.4.0 openpyxl: None xlrd: 0.9.3 xlwt: 0.7.5 xlsxwriter: None lxml: 3.3.5 bs4: 4.3.2 html5lib: 0.999 httplib2: None apiclient: None rpy2: None sqlalchemy: 0.9.4 pymysql: None psycopg2: 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/8129/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8129/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8130
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8130/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8130/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8130/events
https://github.com/pandas-dev/pandas/issues/8130
41,380,136
MDU6SXNzdWU0MTM4MDEzNg==
8,130
Compilation of master fails following datetime parsing changes.
{ "avatar_url": "https://avatars.githubusercontent.com/u/70800?v=4", "events_url": "https://api.github.com/users/Wilfred/events{/privacy}", "followers_url": "https://api.github.com/users/Wilfred/followers", "following_url": "https://api.github.com/users/Wilfred/following{/other_user}", "gists_url": "https://api.github.com/users/Wilfred/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Wilfred", "id": 70800, "login": "Wilfred", "node_id": "MDQ6VXNlcjcwODAw", "organizations_url": "https://api.github.com/users/Wilfred/orgs", "received_events_url": "https://api.github.com/users/Wilfred/received_events", "repos_url": "https://api.github.com/users/Wilfred/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Wilfred/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Wilfred/subscriptions", "type": "User", "url": "https://api.github.com/users/Wilfred" }
[]
closed
false
null
[]
null
3
2014-08-28T11:21:57Z
2014-09-09T04:15:04Z
2014-08-28T11:23:55Z
CONTRIBUTOR
null
As of commit 67323069fb5e8f1de3000d7606d26172a2e18a9f, I'm no longer able to compile pandas. ``` $ python setup.py install running install running bdist_egg running egg_info writing requirements to pandas.egg-info/requires.txt writing pandas.egg-info/PKG-INFO writing top-level names to pandas.egg-info/top_level.txt writing dependency_links to pandas.egg-info/dependency_links.txt reading manifest file 'pandas.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'README.rst' warning: no previously-included files matching '*.pyd' found anywhere in distribution warning: no previously-included files matching '*~' found anywhere in distribution warning: no previously-included files matching '#*' found anywhere in distribution warning: no previously-included files matching '.DS_Store' found anywhere in distribution writing manifest file 'pandas.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_py copying pandas/version.py -> build/lib.linux-x86_64-2.7/pandas running build_ext building 'pandas.index' extension gcc -pthread -fno-strict-aliasing -O2 -g -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/kerberos/include -DNDEBUG -O2 -g -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Ipandas/src/klib -Ipandas/src -I/users/is/whughes/pyenvs/pandas2/lib/python2.7/site-packages/numpy-1.8.2-py2.7-linux-x86_64.egg/numpy/core/include -I/opt/ahl/releases/python/2.7.3/include/python2.7 -c pandas/index.c -o build/temp.linux-x86_64-2.7/pandas/index.o In file included from /users/is/whughes/pyenvs/pandas2/lib/python2.7/site-packages/numpy-1.8.2-py2.7-linux-x86_64.egg/numpy/core/include/numpy/ndarraytypes.h:1761:0, from /users/is/whughes/pyenvs/pandas2/lib/python2.7/site-packages/numpy-1.8.2-py2.7-linux-x86_64.egg/numpy/core/include/numpy/ndarrayobject.h:17, from /users/is/whughes/pyenvs/pandas2/lib/python2.7/site-packages/numpy-1.8.2-py2.7-linux-x86_64.egg/numpy/core/include/numpy/arrayobject.h:4, from pandas/index.c:346: /users/is/whughes/pyenvs/pandas2/lib/python2.7/site-packages/numpy-1.8.2-py2.7-linux-x86_64.egg/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] pandas/index.c: In function '__pyx_f_8datetime__cstring_to_dts': pandas/index.c:11472:3: warning: passing argument 6 of 'parse_iso_8601_datetime' from incompatible pointer type [enabled by default] In file included from pandas/index.c:357:0: pandas/src/datetime/np_datetime_strings.h:46:1: note: expected 'int *' but argument is of type 'npy_bool *' pandas/index.c:11472:3: warning: passing argument 7 of 'parse_iso_8601_datetime' from incompatible pointer type [enabled by default] In file included from pandas/index.c:357:0: pandas/src/datetime/np_datetime_strings.h:46:1: note: expected 'int *' but argument is of type 'enum PANDAS_DATETIMEUNIT *' pandas/index.c:11472:3: warning: passing argument 8 of 'parse_iso_8601_datetime' from incompatible pointer type [enabled by default] In file included from pandas/index.c:357:0: pandas/src/datetime/np_datetime_strings.h:46:1: note: expected 'enum PANDAS_DATETIMEUNIT *' but argument is of type 'npy_bool *' pandas/index.c:11472:3: error: too few arguments to function 'parse_iso_8601_datetime' In file included from pandas/index.c:357:0: pandas/src/datetime/np_datetime_strings.h:46:1: note: declared here error: command 'gcc' failed with exit status 1 ``` I've tested with GCC 4.1 and 4.7, and numpy 1.7 and 1.8. The traceback shown is GCC 4.7 with numpy 1.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/8130/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8130/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8131
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8131/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8131/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8131/events
https://github.com/pandas-dev/pandas/issues/8131
41,386,063
MDU6SXNzdWU0MTM4NjA2Mw==
8,131
BUG: setting a sparse column in a frame buggy
{ "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": "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": "Sparse Data Type", "id": 49182326, "name": "Sparse", "node_id": "MDU6TGFiZWw0OTE4MjMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Sparse" } ]
closed
false
null
[]
{ "closed_at": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
4
2014-08-28T12:47:37Z
2014-09-17T14:48:25Z
2014-09-17T14:48:25Z
CONTRIBUTOR
null
from [SO](http://stackoverflow.com/questions/25517342/adding-a-sparse-series-to-a-dense-dataframe-in-pandas) thought this was well tested..... ``` df = pd.DataFrame({'c_1':['a', 'b', 'c'], 'n_1': [1., 2., 3.]}) df['new_column'] = pd.Series([0, 0, 1]).to_sparse(fill_value=0) # AssertionError: Shape of new values must be compatible with manager shape ```
{ "+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/8131/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8131/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8132
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8132/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8132/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8132/events
https://github.com/pandas-dev/pandas/issues/8132
41,386,491
MDU6SXNzdWU0MTM4NjQ5MQ==
8,132
BUG: multiindex slicers edge cases
{ "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": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "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": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
0
2014-08-28T12:52:15Z
2014-08-28T15:04:07Z
2014-08-28T15:04:07Z
CONTRIBUTOR
null
from [SO](http://stackoverflow.com/questions/25530234/in-the-weeds-on-pandas-multi-indexing-using-slicers) ``` df = pd.DataFrame({'A': ['A0'] * 5 + ['A1']*5 + ['A2']*5, 'B': ['B0','B0','B1','B1','B2'] * 3, 'DATE': ["2013-06-11", "2013-07-02", "2013-07-09", "2013-07-30", "2013-08-06", "2013-06-11", "2013-07-02", "2013-07-09", "2013-07-30", "2013-08-06", "2013-09-03", "2013-10-01", "2013-07-09", "2013-08-06", "2013-09-03"], 'VALUES': [22, 35, 14, 9, 4, 40, 18, 4, 2, 5, 1, 2, 3,4, 2]}) df.DATE = df['DATE'].apply(lambda x: pd.to_datetime(x)) df1 = df.set_index(['A', 'B', 'DATE']) df1 = df1.sortlevel() df2 = df.set_index('DATE') # A1 - Works - Get all values under "A0" and "A1" df1.loc[(slice('A1')),:] # A2 - Works - Get all values from the start to "A2" df1.loc[(slice('A2')),:] # A3 - Works - Get all values under "B1" or "B2" df1.loc[(slice(None),slice('B1','B2')),:] # A4 - Works - Get all values between 2013-07-02 and 2013-07-09 df1.loc[(slice(None),slice(None),slice('20130702','20130709')),:] ############################################## # These do not work and I'm wondering why... # ############################################## # B1 - Does not work - Get all values in B0 that are also under A0, A1 and A2 df1.loc[(slice('A2'),slice('B0')),:] # B2 - Does not work - Get all values in B0, B1 and B2 (similar to what #2 is doing for the As) df1.loc[(slice(None),slice('B2')),:] # B3 - Does not work - Get all values from B1 to B2 and up to 2013-08-06 df1.loc[(slice(None),slice('B1','B2'),slice('2013-08-06')),:] # B4 - Does not work - Same as A4 but the start of the date slice is not a key. # Would have thought the behavior would be similar to something like df2['20130701':] # In other words, date indexing allowed starting on non-key points df1.loc[(slice(None),slice(None),slice('20130701','20130709')),:] ```
{ "+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/8132/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8132/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8133
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8133/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8133/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8133/events
https://github.com/pandas-dev/pandas/issues/8133
41,389,758
MDU6SXNzdWU0MTM4OTc1OA==
8,133
ENH: get_dummies on DataFrames
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "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": "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": "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": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
4
2014-08-28T13:29:02Z
2014-09-01T01:27:13Z
2014-09-01T01:27:13Z
CONTRIBUTOR
null
`get_dummies` currently just expects a Series. ``` python In [17]: data Out[17]: PassengerId Survived Pclass \ 0 1 0 3 1 2 1 1 Name Sex Age SibSp \ 0 Braund, Mr. Owen Harris male 22 1 1 Cumings, Mrs. John Bradley (Florence Briggs Th... female 38 1 Parch Ticket Fare Cabin Embarked 0 0 A/5 21171 7.2500 NaN S 1 0 PC 17599 71.2833 C85 C ``` If it took DataFrames we could change the required call from ``` features = pd.concat([data.get(['Fare', 'Age']), pd.get_dummies(data.Sex, prefix='Sex'), pd.get_dummies(data.Pclass, prefix='Pclass'), pd.get_dummies(data.Embarked, prefix='Embarked')], axis=1) ``` to ``` features = pd.get_dummies(data) ``` We'll infer that things with `object` dtype need to be encoded as 0's and 1's, but also take arguments to explicitly encode a column, or not. The column names in the output will automatically include the original column name as a prefix, which can be overridden by the `prefix` kwarg by passing a list or dictionary. Same thing with prefix separators. On NaN handling, I think we'll have one `{prefix}_NaN` output column per original column when `dummy_na` is True. I've got some tests written already.
{ "+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/8133/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8133/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8134
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8134/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8134/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8134/events
https://github.com/pandas-dev/pandas/pull/8134
41,395,116
MDExOlB1bGxSZXF1ZXN0MjA0NDEzMTk=
8,134
BUG: Bug in multi-index slicing with various edge cases (GH8132)
{ "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": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "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": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
3
2014-08-28T14:21:03Z
2014-08-28T15:04:07Z
2014-08-28T15:04:07Z
CONTRIBUTOR
null
closes #8132 ``` # A1 - Works - Get all values under "A0" and "A1" df1.loc[(slice('A1')),:] VALUES A B DATE A0 B0 2013-06-11 22 2013-07-02 35 B1 2013-07-09 14 2013-07-30 9 B2 2013-08-06 4 A1 B0 2013-06-11 40 2013-07-02 18 B1 2013-07-09 4 2013-07-30 2 B2 2013-08-06 5 ``` ``` # A2 - Works - Get all values from the start to "A2" df1.loc[(slice('A2')),:] VALUES A B DATE A0 B0 2013-06-11 22 2013-07-02 35 B1 2013-07-09 14 2013-07-30 9 B2 2013-08-06 4 A1 B0 2013-06-11 40 2013-07-02 18 B1 2013-07-09 4 2013-07-30 2 B2 2013-08-06 5 A2 B0 2013-09-03 1 2013-10-01 2 B1 2013-07-09 3 2013-08-06 4 B2 2013-09-03 2 ``` ``` # A3 - Works - Get all values under "B1" or "B2" df1.loc[(slice(None),slice('B1','B2')),:] VALUES A B DATE A0 B1 2013-07-09 14 2013-07-30 9 B2 2013-08-06 4 A1 B1 2013-07-09 4 2013-07-30 2 B2 2013-08-06 5 A2 B1 2013-07-09 3 2013-08-06 4 B2 2013-09-03 2 ``` ``` # A4 - Works - Get all values between 2013-07-02 and 2013-07-09 df1.loc[(slice(None),slice(None),slice('20130702','20130709')),:] VALUES A B DATE A0 B0 2013-07-02 35 B1 2013-07-09 14 A1 B0 2013-07-02 18 B1 2013-07-09 4 A2 B1 2013-07-09 3 ``` ``` # B1 - Get all values in B0 that are also under A0, A1 and A2 df1.loc[(slice('A2'),slice('B0')),:] VALUES A B DATE A0 B0 2013-06-11 22 2013-07-02 35 A1 B0 2013-06-11 40 2013-07-02 18 A2 B0 2013-09-03 1 2013-10-01 2 ``` ``` # B2 - Get all values in B0, B1 and B2 (similar to what #2 is doing for the As) df1.loc[(slice(None),slice('B2')),:] VALUES A B DATE A0 B0 2013-06-11 22 2013-07-02 35 B1 2013-07-09 14 2013-07-30 9 B2 2013-08-06 4 A1 B0 2013-06-11 40 2013-07-02 18 B1 2013-07-09 4 2013-07-30 2 B2 2013-08-06 5 A2 B0 2013-09-03 1 2013-10-01 2 B1 2013-07-09 3 2013-08-06 4 B2 2013-09-03 2 ``` ``` # B3 - Get all values from B1 to B2 and up to 2013-08-06 df1.loc[(slice(None),slice('B1','B2'),slice('2013-08-06')),:] VALUES A B DATE A0 B1 2013-07-09 14 2013-07-30 9 B2 2013-08-06 4 A1 B1 2013-07-09 4 2013-07-30 2 B2 2013-08-06 5 A2 B1 2013-07-09 3 2013-08-06 4 ``` ``` # B4 - Same as A4 but the start of the date slice is not a key. df1.loc[(slice(None),slice(None),slice('20130701','20130709')),:] VALUES A B DATE A0 B0 2013-07-02 35 B1 2013-07-09 14 A1 B0 2013-07-02 18 B1 2013-07-09 4 A2 B1 2013-07-09 3 ```
{ "+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/8134/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8134/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8134.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8134", "merged_at": "2014-08-28T15:04:07Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8134.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8134" }
https://api.github.com/repos/pandas-dev/pandas/issues/8135
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8135/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8135/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8135/events
https://github.com/pandas-dev/pandas/issues/8135
41,406,952
MDU6SXNzdWU0MTQwNjk1Mg==
8,135
DOC: add links for python-glflags / httplib2 / google-python-api in install.rst
{ "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": "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": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
0
2014-08-28T15:59:28Z
2014-08-30T12:17:50Z
2014-08-30T12:17:50Z
CONTRIBUTOR
null
http://pandas-docs.github.io/pandas-docs-travis/install.html#optional-dependencies
{ "+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/8135/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8135/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8136
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8136/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8136/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8136/events
https://github.com/pandas-dev/pandas/issues/8136
41,447,618
MDU6SXNzdWU0MTQ0NzYxOA==
8,136
Series of just None not converted to NaN
{ "avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4", "events_url": "https://api.github.com/users/hayd/events{/privacy}", "followers_url": "https://api.github.com/users/hayd/followers", "following_url": "https://api.github.com/users/hayd/following{/other_user}", "gists_url": "https://api.github.com/users/hayd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hayd", "id": 1931852, "login": "hayd", "node_id": "MDQ6VXNlcjE5MzE4NTI=", "organizations_url": "https://api.github.com/users/hayd/orgs", "received_events_url": "https://api.github.com/users/hayd/received_events", "repos_url": "https://api.github.com/users/hayd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hayd/subscriptions", "type": "User", "url": "https://api.github.com/users/hayd" }
[ { "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": 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
2014-08-28T21:43:22Z
2016-11-11T10:37:00Z
2016-11-11T10:37:00Z
CONTRIBUTOR
null
I was a little surprised by this ``` In [11]: pd.Series([]) Out[11]: Series([], dtype: float64) In [12]: pd.Series([None]) # should be NaN / float ? Out[12]: 0 None dtype: object In [13]: pd.Series([None, 1]) Out[13]: 0 NaN 1 1 dtype: float64 ```
{ "+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/8136/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8136/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8137
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8137/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8137/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8137/events
https://github.com/pandas-dev/pandas/issues/8137
41,449,519
MDU6SXNzdWU0MTQ0OTUxOQ==
8,137
A typo in Series addition caused my computer to crash
{ "avatar_url": "https://avatars.githubusercontent.com/u/603636?v=4", "events_url": "https://api.github.com/users/davenovelli/events{/privacy}", "followers_url": "https://api.github.com/users/davenovelli/followers", "following_url": "https://api.github.com/users/davenovelli/following{/other_user}", "gists_url": "https://api.github.com/users/davenovelli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/davenovelli", "id": 603636, "login": "davenovelli", "node_id": "MDQ6VXNlcjYwMzYzNg==", "organizations_url": "https://api.github.com/users/davenovelli/orgs", "received_events_url": "https://api.github.com/users/davenovelli/received_events", "repos_url": "https://api.github.com/users/davenovelli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/davenovelli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/davenovelli/subscriptions", "type": "User", "url": "https://api.github.com/users/davenovelli" }
[ { "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": "fbca04", "default": false, "description": "Windows OS", "id": 57186974, "name": "Windows", "node_id": "MDU6TGFiZWw1NzE4Njk3NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Windows" } ]
closed
false
null
[]
null
9
2014-08-28T22:01:16Z
2014-09-03T16:03:58Z
2014-09-03T13:49:13Z
NONE
null
I'm pretty new to pandas and made what is obviously a rookie mistake. I was attempting to add two columns together to generate a third column. What I meant to write was this: ``` python df['Col3'] = df.Col1 + df.Col2 ``` what I actually wrote was this: ``` python df['Col3'] = df[df.Col1] + df[df.Col2] ``` This is clearly my fault and incorrect, but I assume that this shouldn't crash my computer and require a hard shutdown. I did it twice before I realized that this was the issue, both times resulted in a full crash.
{ "+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/8137/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8137/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8138
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8138/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8138/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8138/events
https://github.com/pandas-dev/pandas/issues/8138
41,489,016
MDU6SXNzdWU0MTQ4OTAxNg==
8,138
BUG: inconsistent behaviour of Groupby with empty bins when grouping by single/multiple keys
{ "avatar_url": "https://avatars.githubusercontent.com/u/8589139?v=4", "events_url": "https://api.github.com/users/aimboden/events{/privacy}", "followers_url": "https://api.github.com/users/aimboden/followers", "following_url": "https://api.github.com/users/aimboden/following{/other_user}", "gists_url": "https://api.github.com/users/aimboden/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/aimboden", "id": 8589139, "login": "aimboden", "node_id": "MDQ6VXNlcjg1ODkxMzk=", "organizations_url": "https://api.github.com/users/aimboden/orgs", "received_events_url": "https://api.github.com/users/aimboden/received_events", "repos_url": "https://api.github.com/users/aimboden/repos", "site_admin": false, "starred_url": "https://api.github.com/users/aimboden/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/aimboden/subscriptions", "type": "User", "url": "https://api.github.com/users/aimboden" }
[ { "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": "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": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "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.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
6
2014-08-29T10:38:19Z
2014-11-21T10:50:37Z
2014-11-21T10:50:37Z
NONE
null
Hello everyone, I just stumbled upon an inconsistent behaviour of the groupby function which is causing me a lot of trouble. When grouping on bins, I expect the empty bins to be kept as NA values, for dimension consistency when one wants to aggregate and compare data. This is effectively the case when grouping on a single key, but the empty bins are dropped as soon as one adds a second key to the groupby function. ``` python import pandas as pd import numpy as np d = {'Col 1': [3, 3, 4, 5], 'Col 2': [1, 2, 3, 4], 'Col 3': [10, 100, 200, 34]} test = pd.DataFrame(d) values = pd.cut(test['Col 1'], [1, 2, 3, 6]) # Grouping on a single column groups_single_key = test.groupby(values) # Grouping on two columns groups_double_key = test.groupby([values,'Col 2']) # The empty group is kept as NA, which is the behaviour I was expecting groups_single_key.describe() # The empty groups are dropped groups_double_key.describe() # This is not just an artifact of the describe() method: the empty group really # does exist and is taken into account when performing aggregation print(groups_single_key.agg('mean')) print(groups_double_key.agg('mean')) ``` ``` python pd.show_versions() ``` pandas: 0.14.1 nose: 1.3.1 Cython: 0.20.1 numpy: 1.8.1 scipy: 0.13.3 statsmodels: 0.5.0 IPython: 2.2.0 sphinx: 1.2.2 patsy: 0.3.0 scikits.timeseries: None dateutil: 2.2 pytz: 2013.9 bottleneck: None tables: 3.1.1 numexpr: 2.4 matplotlib: 1.4.0 openpyxl: None xlrd: 0.9.3 xlwt: None xlsxwriter: 0.5.7 lxml: None bs4: None html5lib: None httplib2: None apiclient: None rpy2: None sqlalchemy: 0.9.4 pymysql: None psycopg2: 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/8138/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8138/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8139
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8139/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8139/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8139/events
https://github.com/pandas-dev/pandas/issues/8139
41,497,529
MDU6SXNzdWU0MTQ5NzUyOQ==
8,139
ENH: Add prefix parameters for join method.
{ "avatar_url": "https://avatars.githubusercontent.com/u/4252441?v=4", "events_url": "https://api.github.com/users/abudis/events{/privacy}", "followers_url": "https://api.github.com/users/abudis/followers", "following_url": "https://api.github.com/users/abudis/following{/other_user}", "gists_url": "https://api.github.com/users/abudis/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/abudis", "id": 4252441, "login": "abudis", "node_id": "MDQ6VXNlcjQyNTI0NDE=", "organizations_url": "https://api.github.com/users/abudis/orgs", "received_events_url": "https://api.github.com/users/abudis/received_events", "repos_url": "https://api.github.com/users/abudis/repos", "site_admin": false, "starred_url": "https://api.github.com/users/abudis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/abudis/subscriptions", "type": "User", "url": "https://api.github.com/users/abudis" }
[ { "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": "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": 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
2014-08-29T12:57:52Z
2017-07-08T02:30:53Z
2017-07-08T02:30:49Z
NONE
null
It would be nice if the join method had `lprefix` and `rprefix` parameters in analogy to `lsuffix` and `rsuffix`. P.S. No pull request, sorry.
{ "+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/8139/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8139/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8140
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8140/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8140/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8140/events
https://github.com/pandas-dev/pandas/pull/8140
41,504,849
MDExOlB1bGxSZXF1ZXN0MjA1MDE3ODk=
8,140
ENH: let get_dummies take a DataFrame
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "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": "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": "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": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
15
2014-08-29T14:18:52Z
2014-09-01T01:27:14Z
2014-09-01T01:27:13Z
CONTRIBUTOR
null
Closes https://github.com/pydata/pandas/issues/8133 Thoughts? I encode every column with `object` dtype. You can control the ones that get encoded with `categorical_variables`. The encoded columns are `concat`ed to the columns that don't need encoding. `prefix` and `prefix_sep` can be passed as a string, list, or dict mapping column names to strs. ``` python In [1]: from pandas import * In [2]: df = DataFrame({'A': ['a', 'b', 'a'], 'B': ['b', 'a', 'c'], 'C': [1, 2, 3]}) In [3]: df Out[3]: A B C 0 a b 1 1 b a 2 2 a c 3 In [4]: get_dummies(df) Out[4]: C A_a A_b B_a B_b B_c 0 1 1 0 0 1 0 1 2 0 1 1 0 0 2 3 1 0 0 0 1 In [5]: get_dummies(df, prefix=['from_A', 'from_B']) Out[5]: C from_A_a from_A_b from_B_a from_B_b from_B_c 0 1 1 0 0 1 0 1 2 0 1 1 0 0 2 3 1 0 0 0 1 In [6]: get_dummies(df, prefix={"A": 'from_A', "B": 'from_B'}) Out[6]: C from_A_a from_A_b from_B_a from_B_b from_B_c 0 1 1 0 0 1 0 1 2 0 1 1 0 0 2 3 1 0 0 0 1 In [7]: get_dummies(df, prefix_sep='.') Out[7]: C A.a A.b B.a B.b B.c 0 1 1 0 0 1 0 1 2 0 1 1 0 0 2 3 1 0 0 0 1 In [8]: get_dummies(df, prefix_sep='.', categorical_variables=['A']) Out[8]: B C A.a A.b 0 b 1 1 0 1 a 2 0 1 2 c 3 1 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/8140/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8140/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8140.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8140", "merged_at": "2014-09-01T01:27:13Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8140.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8140" }
https://api.github.com/repos/pandas-dev/pandas/issues/8141
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8141/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8141/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8141/events
https://github.com/pandas-dev/pandas/issues/8141
41,521,874
MDU6SXNzdWU0MTUyMTg3NA==
8,141
API: Consistency in prefix / prefix_sep
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "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": "b60205", "default": false, "description": "Internal Consistency of API/Behavior", "id": 1741841389, "name": "API - Consistency", "node_id": "MDU6TGFiZWwxNzQxODQxMzg5", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20-%20Consistency" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 278, "created_at": "2013-01-06T03:02:01Z", "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": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)", "due_on": "2022-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/20", "id": 239227, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels", "node_id": "MDk6TWlsZXN0b25lMjM5MjI3", "number": 20, "open_issues": 108, "state": "open", "title": "Someday", "updated_at": "2021-08-08T01:48:22Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20" }
2
2014-08-29T17:21:38Z
2021-04-11T05:07:59Z
null
CONTRIBUTOR
null
Currently `get_dummies` has both `prefix` and `prefix_sep` parameters. This is inconsistent with the rest of pandas prefix / suffix arguments that have you included the separator in the pre/suffix. - `read_csv` - `join` probably others. We should add a warning to `get_dummies` to have users change `prefix_sep` to `''` and include the separators in `prefix`.
{ "+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/8141/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8141/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8142
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8142/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8142/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8142/events
https://github.com/pandas-dev/pandas/issues/8142
41,524,096
MDU6SXNzdWU0MTUyNDA5Ng==
8,142
Index __sub__ should check for instance of Index
{ "avatar_url": "https://avatars.githubusercontent.com/u/3310396?v=4", "events_url": "https://api.github.com/users/jasonzutty/events{/privacy}", "followers_url": "https://api.github.com/users/jasonzutty/followers", "following_url": "https://api.github.com/users/jasonzutty/following{/other_user}", "gists_url": "https://api.github.com/users/jasonzutty/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jasonzutty", "id": 3310396, "login": "jasonzutty", "node_id": "MDQ6VXNlcjMzMTAzOTY=", "organizations_url": "https://api.github.com/users/jasonzutty/orgs", "received_events_url": "https://api.github.com/users/jasonzutty/received_events", "repos_url": "https://api.github.com/users/jasonzutty/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jasonzutty/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jasonzutty/subscriptions", "type": "User", "url": "https://api.github.com/users/jasonzutty" }
[ { "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": "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": "2017-10-28T18:54:27Z", "closed_issues": 764, "created_at": "2017-03-23T13:26:25Z", "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-10-27T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/46", "id": 2406656, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/46/labels", "node_id": "MDk6TWlsZXN0b25lMjQwNjY1Ng==", "number": 46, "open_issues": 0, "state": "closed", "title": "0.21.0", "updated_at": "2018-07-08T21:53:21Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/46" }
4
2014-08-29T17:49:31Z
2017-06-08T10:48:23Z
2017-06-08T10:48:23Z
NONE
null
add currently behaves like this: def **add**(self, other): if isinstance(other, Index): return self.union(other) else: return Index(np.array(self) + other) but subtraction falls straight through to diff. so if index_object is an Int64Index, the following behavior takes place: index_object + 1 => add one to all indices index_object - 1 => error in diff index_object + -1 => subtract one from all indices
{ "+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/8142/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8142/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8143
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8143/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8143/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8143/events
https://github.com/pandas-dev/pandas/issues/8143
41,531,521
MDU6SXNzdWU0MTUzMTUyMQ==
8,143
BUG/API: DataFrame.dtypes == 'categorical'
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "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": "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": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
1
2014-08-29T19:17:29Z
2014-08-29T20:44:25Z
2014-08-29T20:44:25Z
CONTRIBUTOR
null
Should this work? ``` python In [70]: cat = pd.Categorical(['a', 'b', 'c']) In [71]: obj = pd.Series(['a', 'b', 'c']) In [72]: num = pd.Series([1, 2, 3]) In [73]: df = pd.concat([pd.Series(cat), obj, num], axis=1, keys=['cat', 'obj', 'num']) In [74]: df Out[74]: cat obj num 0 a a 1 1 b b 2 2 c c 3 In [75]: df.dtypes Out[75]: cat category obj object num int64 dtype: object In [76]: df.dtypes == 'category' --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-76-48fb3d0c49cf> in <module>() ----> 1 df.dtypes == 'category' /Users/tom/Envs/py3/lib/python3.4/site-packages/pandas-0.14.1_291_g7a8a030-py3.4-macosx-10.9-x86_64.egg/pandas/core/ops.py in wrapper(self, other) 579 580 # scalars --> 581 res = na_op(values, other) 582 if np.isscalar(res): 583 raise TypeError('Could not compare %s type with Series' /Users/tom/Envs/py3/lib/python3.4/site-packages/pandas-0.14.1_291_g7a8a030-py3.4-macosx-10.9-x86_64.egg/pandas/core/ops.py in na_op(x, y) 526 msg = "Cannot compare a Categorical for op {op} with type {typ}. If you want to \n" \ 527 "compare values, use 'series <op> np.asarray(cat)'." --> 528 raise TypeError(msg.format(op=op,typ=type(y))) 529 if x.dtype == np.object_: 530 if isinstance(y, list): TypeError: Cannot compare a Categorical for op <built-in function eq> with type <class 'str'>. If you want to compare values, use 'series <op> np.asarray(cat)'. ``` For comparison ``` python In [77]: df.dtypes == 'object' Out[77]: cat False obj True num False dtype: bool In [78]: df.dtypes == 'int64' Out[78]: cat False obj False num True dtype: bool ``` This doesn't work either: `In [87]: df.dtypes == df.cat.dtype` (raise the same TypeError)
{ "+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/8143/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8143/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8144
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8144/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8144/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8144/events
https://github.com/pandas-dev/pandas/issues/8144
41,531,597
MDU6SXNzdWU0MTUzMTU5Nw==
8,144
BENCH: put in np.random.seed on vbenches
{ "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": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "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": "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" } ]
closed
false
null
[]
{ "closed_at": "2018-05-16T03:09:58Z", "closed_issues": 1645, "created_at": "2017-10-20T10:17:09Z", "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.22", "due_on": "2018-05-15T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/53", "id": 2853937, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/53/labels", "node_id": "MDk6TWlsZXN0b25lMjg1MzkzNw==", "number": 53, "open_issues": 0, "state": "closed", "title": "0.23.0", "updated_at": "2018-08-20T06:48:57Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/53" }
6
2014-08-29T19:18:30Z
2018-01-09T12:53:43Z
2018-01-09T12:53:43Z
CONTRIBUTOR
null
all of the groupby vbenches need a `np.random.seed(1234)` to make them consistent from run-to-run (where they don't have them now). Possibly should do this on other benches as well.
{ "+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/8144/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8144/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8145
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8145/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8145/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8145/events
https://github.com/pandas-dev/pandas/pull/8145
41,532,866
MDExOlB1bGxSZXF1ZXN0MjA1MTkxNTg=
8,145
GH8142
{ "avatar_url": "https://avatars.githubusercontent.com/u/3310396?v=4", "events_url": "https://api.github.com/users/jasonzutty/events{/privacy}", "followers_url": "https://api.github.com/users/jasonzutty/followers", "following_url": "https://api.github.com/users/jasonzutty/following{/other_user}", "gists_url": "https://api.github.com/users/jasonzutty/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jasonzutty", "id": 3310396, "login": "jasonzutty", "node_id": "MDQ6VXNlcjMzMTAzOTY=", "organizations_url": "https://api.github.com/users/jasonzutty/orgs", "received_events_url": "https://api.github.com/users/jasonzutty/received_events", "repos_url": "https://api.github.com/users/jasonzutty/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jasonzutty/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jasonzutty/subscriptions", "type": "User", "url": "https://api.github.com/users/jasonzutty" }
[ { "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": "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": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
3
2014-08-29T19:35:57Z
2014-09-10T00:04:36Z
2014-09-10T00:04:36Z
NONE
null
closes #8142
{ "+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/8145/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8145/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8145.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8145", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/8145.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8145" }
https://api.github.com/repos/pandas-dev/pandas/issues/8146
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8146/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8146/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8146/events
https://github.com/pandas-dev/pandas/pull/8146
41,533,875
MDExOlB1bGxSZXF1ZXN0MjA1MTk3OTU=
8,146
BUG: comparison of category vs np dtypes buggy (GH8143)
{ "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": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "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": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
0
2014-08-29T19:49:11Z
2014-08-29T20:44:25Z
2014-08-29T20:44:25Z
CONTRIBUTOR
null
closes #8143
{ "+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/8146/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8146/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8146.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8146", "merged_at": "2014-08-29T20:44:25Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8146.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8146" }
https://api.github.com/repos/pandas-dev/pandas/issues/8147
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8147/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8147/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8147/events
https://github.com/pandas-dev/pandas/issues/8147
41,549,184
MDU6SXNzdWU0MTU0OTE4NA==
8,147
Slow MySQL Connections since switch to SQLAlchemy
{ "avatar_url": "https://avatars.githubusercontent.com/u/465105?v=4", "events_url": "https://api.github.com/users/avdempsey/events{/privacy}", "followers_url": "https://api.github.com/users/avdempsey/followers", "following_url": "https://api.github.com/users/avdempsey/following{/other_user}", "gists_url": "https://api.github.com/users/avdempsey/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/avdempsey", "id": 465105, "login": "avdempsey", "node_id": "MDQ6VXNlcjQ2NTEwNQ==", "organizations_url": "https://api.github.com/users/avdempsey/orgs", "received_events_url": "https://api.github.com/users/avdempsey/received_events", "repos_url": "https://api.github.com/users/avdempsey/repos", "site_admin": false, "starred_url": "https://api.github.com/users/avdempsey/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/avdempsey/subscriptions", "type": "User", "url": "https://api.github.com/users/avdempsey" }
[ { "color": "5319e7", "default": false, "description": "to_sql, read_sql, read_sql_query", "id": 47232590, "name": "IO SQL", "node_id": "MDU6TGFiZWw0NzIzMjU5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL" } ]
closed
false
null
[]
{ "closed_at": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
5
2014-08-30T00:00:19Z
2014-08-30T22:05:22Z
2014-08-30T22:05:22Z
NONE
null
I'm coming from version 0.13 to 0.14 and testing out querying a database with the new SQLAlchemy back-end. I'm seeing some exceptionally slow behavior. Consider: ``` python from sqlalchemy import create_engine import pandas as pd query = "select count(*) from transactions where started > '2014-08-29'" engine = create_engine('mysql+mysqlconnector://myuser:mypass@db_host/db') df = pd.read_sql_query(query, engine) ``` The query above executes in less than a second with pandas 0.13. It now takes more than 30 seconds. I've monitored the MySQL server and the query is not in the process list during this extra time. So something in the middle is getting stuck. If I change that to: ``` python from sqlalchemy import create_engine import pandas as pd query = "select count(*) from transactions where started > '2014-08-29'" engine = create_engine('mysql+mysqlconnector://myuser:mypass@db_host/db') connection = engine.raw_connection() df = pd.read_sql_query(query, connection) ``` The query only takes 2-3 seconds. I arrived at this speed-up through lots of trial and error. Why is this faster? Here's my current setup (it's the Anaconda Python 3.4 distribution, but I get the same thing with their Python 2.7 distribution. It also doesn't seem to matter if I'm using MySQLdb our mysql-connector): ## INSTALLED VERSIONS commit: None python: 3.4.1.final.0 python-bits: 64 OS: Darwin OS-release: 13.3.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.14.0 nose: 1.3.3 Cython: 0.20.1 numpy: 1.8.1 scipy: 0.14.0 statsmodels: None IPython: 2.1.0 sphinx: 1.2.2 patsy: 0.2.1 scikits.timeseries: None dateutil: 2.1 pytz: 2014.3 bottleneck: None tables: 3.1.1 numexpr: 2.3.1 matplotlib: 1.3.1 openpyxl: 1.8.5 xlrd: 0.9.3 xlwt: None xlsxwriter: 0.5.5 lxml: 3.3.5 bs4: 4.3.1 html5lib: None bq: None apiclient: None rpy2: None sqlalchemy: 0.9.4 pymysql: None psycopg2: 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/8147/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8147/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8148
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8148/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8148/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8148/events
https://github.com/pandas-dev/pandas/pull/8148
41,553,302
MDExOlB1bGxSZXF1ZXN0MjA1MzE0ODc=
8,148
BUG: use stable sort for group_index in groupby
{ "avatar_url": "https://avatars.githubusercontent.com/u/1288998?v=4", "events_url": "https://api.github.com/users/behzadnouri/events{/privacy}", "followers_url": "https://api.github.com/users/behzadnouri/followers", "following_url": "https://api.github.com/users/behzadnouri/following{/other_user}", "gists_url": "https://api.github.com/users/behzadnouri/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/behzadnouri", "id": 1288998, "login": "behzadnouri", "node_id": "MDQ6VXNlcjEyODg5OTg=", "organizations_url": "https://api.github.com/users/behzadnouri/orgs", "received_events_url": "https://api.github.com/users/behzadnouri/received_events", "repos_url": "https://api.github.com/users/behzadnouri/repos", "site_admin": false, "starred_url": "https://api.github.com/users/behzadnouri/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/behzadnouri/subscriptions", "type": "User", "url": "https://api.github.com/users/behzadnouri" }
[ { "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": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
6
2014-08-30T02:31:57Z
2014-09-06T16:55:50Z
2014-09-04T00:57:15Z
CONTRIBUTOR
null
Following on https://github.com/pydata/pandas/pull/8128, for certain `groupby` operations such as, ``` df.groupby(key)[col].transfrom('first') ``` it is necessary to use stable sort for group indices. As a result, `numpy.argsort` should be called with argument `kind='mergesort'`.
{ "+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/8148/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8148/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8148.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8148", "merged_at": "2014-09-04T00:57:15Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8148.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8148" }
https://api.github.com/repos/pandas-dev/pandas/issues/8149
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8149/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8149/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8149/events
https://github.com/pandas-dev/pandas/pull/8149
41,558,172
MDExOlB1bGxSZXF1ZXN0MjA1MzM0NzQ=
8,149
DOC: add some links in install.rst
{ "avatar_url": "https://avatars.githubusercontent.com/u/6189096?v=4", "events_url": "https://api.github.com/users/htkm/events{/privacy}", "followers_url": "https://api.github.com/users/htkm/followers", "following_url": "https://api.github.com/users/htkm/following{/other_user}", "gists_url": "https://api.github.com/users/htkm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/htkm", "id": 6189096, "login": "htkm", "node_id": "MDQ6VXNlcjYxODkwOTY=", "organizations_url": "https://api.github.com/users/htkm/orgs", "received_events_url": "https://api.github.com/users/htkm/received_events", "repos_url": "https://api.github.com/users/htkm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/htkm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/htkm/subscriptions", "type": "User", "url": "https://api.github.com/users/htkm" }
[ { "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": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
1
2014-08-30T07:46:45Z
2014-08-30T17:07:39Z
2014-08-30T12:17:50Z
CONTRIBUTOR
null
A documentation PR closes #8135.
{ "+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/8149/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8149/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8149.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8149", "merged_at": "2014-08-30T12:17:50Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8149.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8149" }
https://api.github.com/repos/pandas-dev/pandas/issues/8150
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8150/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8150/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8150/events
https://github.com/pandas-dev/pandas/issues/8150
41,572,151
MDU6SXNzdWU0MTU3MjE1MQ==
8,150
VIS: datetime plots x axis format: labels now rotated?
{ "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": "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": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
9
2014-08-30T21:20:15Z
2014-09-19T17:04:46Z
2014-09-19T17:04:46Z
MEMBER
null
Is this a regression, or a delibarate decision? Compare dev docs (http://pandas-docs.github.io/pandas-docs-travis/visualization.html#basic-plotting-plot) with stable ones (http://pandas.pydata.org/pandas-docs/stable/visualization.html#basic-plotting-plot). The xaxis labels (the date/time indications) are now rotated instead of horizontal, which I personally think is not an improvement.
{ "+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/8150/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8150/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8151
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8151/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8151/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8151/events
https://github.com/pandas-dev/pandas/pull/8151
41,597,909
MDExOlB1bGxSZXF1ZXN0MjA1NTAzMTY=
8,151
BUG: consistency between logical ops & type casts
{ "avatar_url": "https://avatars.githubusercontent.com/u/1288998?v=4", "events_url": "https://api.github.com/users/behzadnouri/events{/privacy}", "followers_url": "https://api.github.com/users/behzadnouri/followers", "following_url": "https://api.github.com/users/behzadnouri/following{/other_user}", "gists_url": "https://api.github.com/users/behzadnouri/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/behzadnouri", "id": 1288998, "login": "behzadnouri", "node_id": "MDQ6VXNlcjEyODg5OTg=", "organizations_url": "https://api.github.com/users/behzadnouri/orgs", "received_events_url": "https://api.github.com/users/behzadnouri/received_events", "repos_url": "https://api.github.com/users/behzadnouri/repos", "site_admin": false, "starred_url": "https://api.github.com/users/behzadnouri/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/behzadnouri/subscriptions", "type": "User", "url": "https://api.github.com/users/behzadnouri" }
[ { "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" }
8
2014-08-31T22:39:18Z
2015-05-10T19:52:12Z
2015-05-10T19:37:37Z
CONTRIBUTOR
null
Closes [#6528](https://github.com/pydata/pandas/issues/6528). Currently series logical operations are bound to return a series with `dtype='bool'`. That being a good decision or not, it is good to have some internal consistency: ``` >>> a = pd.Series([nan, nan, nan]) >>> b = pd.Series([False, True, nan]) >>> a | b == b | a # not symmetric 0 True 1 False 2 True dtype: bool >>> a & b == a.astype(bool) & b.astype(bool) # not consistent w/ type casts 0 True 1 False 2 False dtype: bool ``` With this patch, [all these tests pass.](https://github.com/pydata/pandas/pull/8151/files#diff-933180870dd152b775952fc54a99dba7R2371)
{ "+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/8151/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8151/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8151.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8151", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/8151.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8151" }
https://api.github.com/repos/pandas-dev/pandas/issues/8152
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8152/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8152/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8152/events
https://github.com/pandas-dev/pandas/issues/8152
41,605,254
MDU6SXNzdWU0MTYwNTI1NA==
8,152
BUG: warnings import missing for panel
{ "avatar_url": "https://avatars.githubusercontent.com/u/809188?v=4", "events_url": "https://api.github.com/users/aidoom/events{/privacy}", "followers_url": "https://api.github.com/users/aidoom/followers", "following_url": "https://api.github.com/users/aidoom/following{/other_user}", "gists_url": "https://api.github.com/users/aidoom/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/aidoom", "id": 809188, "login": "aidoom", "node_id": "MDQ6VXNlcjgwOTE4OA==", "organizations_url": "https://api.github.com/users/aidoom/orgs", "received_events_url": "https://api.github.com/users/aidoom/received_events", "repos_url": "https://api.github.com/users/aidoom/repos", "site_admin": false, "starred_url": "https://api.github.com/users/aidoom/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/aidoom/subscriptions", "type": "User", "url": "https://api.github.com/users/aidoom" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" } ]
closed
false
null
[]
{ "closed_at": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
2
2014-09-01T03:55:23Z
2014-09-04T00:29:43Z
2014-09-04T00:29:43Z
NONE
null
It appears the `warnings` import is missing in `panel.py` ``` In [1]: import numpy as np In [2]: import pandas as pd In [3]: pd.__version__ Out[3]: '0.14.1' In [4]: p = pd.Panel(np.random.rand(3, 3, 3)) In [5]: p.major_xs(1, copy=False) --------------------------------------------------------------------------- NameError Traceback (most recent call last) <ipython-input-5-0b8025289379> in <module>() ----> 1 p.major_xs(1, copy=False) /home/aido/.env/local/lib/python2.7/site-packages/pandas/core/panel.pyc in major_xs(self, key, copy) 715 """ 716 if copy is not None: --> 717 warnings.warn("copy keyword is deprecated, " 718 "default is to return a copy or a view if possible") 719 NameError: global name 'warnings' is not defined ```
{ "+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/8152/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8152/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8153
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8153/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8153/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8153/events
https://github.com/pandas-dev/pandas/pull/8153
41,634,203
MDExOlB1bGxSZXF1ZXN0MjA1NzAwMjY=
8,153
Fixups for categoricals
{ "avatar_url": "https://avatars.githubusercontent.com/u/890156?v=4", "events_url": "https://api.github.com/users/jankatins/events{/privacy}", "followers_url": "https://api.github.com/users/jankatins/followers", "following_url": "https://api.github.com/users/jankatins/following{/other_user}", "gists_url": "https://api.github.com/users/jankatins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jankatins", "id": 890156, "login": "jankatins", "node_id": "MDQ6VXNlcjg5MDE1Ng==", "organizations_url": "https://api.github.com/users/jankatins/orgs", "received_events_url": "https://api.github.com/users/jankatins/received_events", "repos_url": "https://api.github.com/users/jankatins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jankatins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jankatins/subscriptions", "type": "User", "url": "https://api.github.com/users/jankatins" }
[ { "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": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
38
2014-09-01T12:42:26Z
2014-09-25T22:17:05Z
2014-09-25T22:14:33Z
CONTRIBUTOR
null
This PR will collect the various fixups for Categorical. See #8078 for the ToDos. Closes: #8077 -> API/FIX: wrap result cut/qut in Series and make it ordered Closes: #8074 -> Discussion Closes: #8078 -> Todos This has a (passing) unittest for #8138 but no code changes. Not sure what was the change which fixed the bug there...
{ "+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/8153/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8153/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8153.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8153", "merged_at": "2014-09-25T22:14:33Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8153.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8153" }
https://api.github.com/repos/pandas-dev/pandas/issues/8154
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8154/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8154/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8154/events
https://github.com/pandas-dev/pandas/issues/8154
41,636,809
MDU6SXNzdWU0MTYzNjgwOQ==
8,154
Fastpath for to_datetime when providing ISO format as keyword?
{ "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": "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" }, { "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": 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" }
7
2014-09-01T13:19:44Z
2015-10-06T03:42:13Z
2015-10-06T03:42:13Z
MEMBER
null
Say you have to parse some nicely ISO formatted date strings, you can just parse this with `todatetime` very fast. But if you were 'overcautious' and provided the `format="%Y-%m-%d %H:%M:%S"` for safety, this seems to be around 20 times slower. Would it be possible to provide a fastpath for certain provided format strings (as already exists for `%Y%m%d` I think). ``` In [129]: s = pd.Series(pd.date_range('2000-01-01', periods=1000, freq='H')) In [130]: s_as_dt_strings = s.apply(lambda x: x.strftime("%Y-%m-%dT%H:%M:%S.%f")) In [131]: %timeit pd.to_datetime(s_as_dt_strings) 1000 loops, best of 3: 406 µs per loop In [132]: %timeit pd.to_datetime(s_as_dt_strings, format="%Y-%m-%dT%H:%M:%S.%f") 100 loops, best of 3: 9.73 ms per loop ``` ``` In [133]: s_as_dt_strings = s.apply(lambda x: x.strftime("%Y-%m-%d %H:%M:%S")) In [134]: %timeit pd.to_datetime(s_as_dt_strings) 1000 loops, best of 3: 361 µs per loop In [135]: %timeit pd.to_datetime(s_as_dt_strings, format="%Y-%m-%d %H:%M:%S") 100 loops, best of 3: 8.36 ms per loop ``` For non-standard formats, providing format _does_ give a big improvement: ``` In [136]: s_as_dt_strings = s.apply(lambda x: x.strftime("%Y/%m/%d %H:%M:%S")) In [137]: %timeit pd.to_datetime(s_as_dt_strings) 10 loops, best of 3: 92.2 ms per loop In [138]: %timeit pd.to_datetime(s_as_dt_strings, format="%Y/%m/%d %H:%M:%S") 100 loops, best of 3: 9.08 ms per loop ```
{ "+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/8154/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8154/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8155
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8155/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8155/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8155/events
https://github.com/pandas-dev/pandas/pull/8155
41,642,716
MDExOlB1bGxSZXF1ZXN0MjA1NzUyOTE=
8,155
BUG: map builtins min/max to numpy/cython versions
{ "avatar_url": "https://avatars.githubusercontent.com/u/1288998?v=4", "events_url": "https://api.github.com/users/behzadnouri/events{/privacy}", "followers_url": "https://api.github.com/users/behzadnouri/followers", "following_url": "https://api.github.com/users/behzadnouri/following{/other_user}", "gists_url": "https://api.github.com/users/behzadnouri/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/behzadnouri", "id": 1288998, "login": "behzadnouri", "node_id": "MDQ6VXNlcjEyODg5OTg=", "organizations_url": "https://api.github.com/users/behzadnouri/orgs", "received_events_url": "https://api.github.com/users/behzadnouri/received_events", "repos_url": "https://api.github.com/users/behzadnouri/repos", "site_admin": false, "starred_url": "https://api.github.com/users/behzadnouri/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/behzadnouri/subscriptions", "type": "User", "url": "https://api.github.com/users/behzadnouri" }
[ { "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": "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": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
5
2014-09-01T14:37:59Z
2014-09-03T23:29:08Z
2014-09-03T19:49:45Z
CONTRIBUTOR
null
closes https://github.com/pydata/pandas/issues/7722 ``` ------------------------------------------------------------------------------- Test name | head[ms] | base[ms] | ratio | ------------------------------------------------------------------------------- groupby_agg_builtins2 | 43.8553 | 2667.0587 | 0.0164 | groupby_agg_builtins1 | 11.9447 | 118.6290 | 0.1007 | ``` on master: ``` In [4]: np.random.seed(27182) In [5]: n = 100000 In [6]: df = DataFrame(np.random.randint(1, n / 100, (n, 3)), ...: columns=['jim', 'joe', 'jolie']) In [7]: %timeit df.groupby('jim').agg([sum, min, max]) 1 loops, best of 3: 204 ms per loop In [8]: %timeit df.groupby(['jim', 'joe']).agg([sum, min, max]) 1 loops, best of 3: 5.1 s per loop In [9]: df.groupby(['jim']).apply(max).head() # this is broken Out[9]: jim 1 jolie 2 jolie 3 jolie 4 jolie 5 jolie dtype: object ``` on branch: ``` In [9]: %timeit df.groupby('jim').agg([sum, min, max]) 10 loops, best of 3: 20 ms per loop In [10]: %timeit df.groupby(['jim', 'joe']).agg([sum, min, max]) 10 loops, best of 3: 74.6 ms per loop In [11]: df.groupby(['jim']).apply(max).head() Out[11]: jim joe jolie jim 1 1 999 989 2 2 997 986 3 3 981 973 4 4 989 992 5 5 995 977 ```
{ "+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/8155/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8155/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8155.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8155", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/8155.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8155" }
https://api.github.com/repos/pandas-dev/pandas/issues/8156
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8156/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8156/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8156/events
https://github.com/pandas-dev/pandas/issues/8156
41,646,301
MDU6SXNzdWU0MTY0NjMwMQ==
8,156
Importing Datetime values from SQL Server with SQL Alchemy
{ "avatar_url": "https://avatars.githubusercontent.com/u/7912670?v=4", "events_url": "https://api.github.com/users/oetcoleman/events{/privacy}", "followers_url": "https://api.github.com/users/oetcoleman/followers", "following_url": "https://api.github.com/users/oetcoleman/following{/other_user}", "gists_url": "https://api.github.com/users/oetcoleman/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/oetcoleman", "id": 7912670, "login": "oetcoleman", "node_id": "MDQ6VXNlcjc5MTI2NzA=", "organizations_url": "https://api.github.com/users/oetcoleman/orgs", "received_events_url": "https://api.github.com/users/oetcoleman/received_events", "repos_url": "https://api.github.com/users/oetcoleman/repos", "site_admin": false, "starred_url": "https://api.github.com/users/oetcoleman/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/oetcoleman/subscriptions", "type": "User", "url": "https://api.github.com/users/oetcoleman" }
[ { "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": "to_sql, read_sql, read_sql_query", "id": 47232590, "name": "IO SQL", "node_id": "MDU6TGFiZWw0NzIzMjU5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL" } ]
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" }
12
2014-09-01T15:16:22Z
2018-07-06T22:43:15Z
2018-07-06T22:43:05Z
NONE
null
I'm using the following code to import datetimes from a SQL Server database into Pandas: `data = pd.read_sql('select top 10 timestamp from mytable',db)` 'MyTable' contains a column 'Timestamp', which is of type DateTime2. If `db` is a pyodbc database connection this works fine, and my timestamps are returned as data type 'datetime64[ns]'. However if `db` an SQL Alchemy engine created using `create_engine('mssql+pyodbc://...')` then the timestamps returned in data are of type 'object' and cause problems later on in my code. I'm using pandas version 0.14.1, pyodbc version 3.0.7 and SQL alchemy version 0.9.4. I'd like the default behaviour with the SQL Alchemy engine to be the same as pyodbc, i.e. to import all datetimes as datetime64[ns]. Originally from: http://stackoverflow.com/questions/25607775/datetime-import-using-pandas-sqlalchemy
{ "+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/8156/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8156/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8157
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8157/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8157/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8157/events
https://github.com/pandas-dev/pandas/pull/8157
41,665,467
MDExOlB1bGxSZXF1ZXN0MjA1ODY4ODM=
8,157
BUG: add 'import warnings' statement in panel.py (GH8152)
{ "avatar_url": "https://avatars.githubusercontent.com/u/6189096?v=4", "events_url": "https://api.github.com/users/htkm/events{/privacy}", "followers_url": "https://api.github.com/users/htkm/followers", "following_url": "https://api.github.com/users/htkm/following{/other_user}", "gists_url": "https://api.github.com/users/htkm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/htkm", "id": 6189096, "login": "htkm", "node_id": "MDQ6VXNlcjYxODkwOTY=", "organizations_url": "https://api.github.com/users/htkm/orgs", "received_events_url": "https://api.github.com/users/htkm/received_events", "repos_url": "https://api.github.com/users/htkm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/htkm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/htkm/subscriptions", "type": "User", "url": "https://api.github.com/users/htkm" }
[ { "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": "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": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
3
2014-09-01T23:12:42Z
2014-09-04T00:32:04Z
2014-09-04T00:29:43Z
CONTRIBUTOR
null
closes #8152.
{ "+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/8157/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8157/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8157.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8157", "merged_at": "2014-09-04T00:29:43Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8157.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8157" }
https://api.github.com/repos/pandas-dev/pandas/issues/8158
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8158/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8158/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8158/events
https://github.com/pandas-dev/pandas/issues/8158
41,693,148
MDU6SXNzdWU0MTY5MzE0OA==
8,158
ENH: convert datetime components (year, month, day, ...) in different columns to datetime
{ "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": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "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-05-05T00:34:40Z", "closed_issues": 306, "created_at": "2016-02-08T15:29:59Z", "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.18.0 of course!", "due_on": "2016-05-04T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/38", "id": 1570594, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/38/labels", "node_id": "MDk6TWlsZXN0b25lMTU3MDU5NA==", "number": 38, "open_issues": 0, "state": "closed", "title": "0.18.1", "updated_at": "2017-08-10T09:01:26Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/38" }
4
2014-09-02T10:00:44Z
2016-04-26T15:17:03Z
2016-04-26T15:17:03Z
MEMBER
null
from [SO](http://stackoverflow.com/questions/36804141/vectorized-construction-of-datetimeindex-in-pandas) I didn't find an issue about this, but it has come up some times at stackoverflow: having columns with integers for year, month, day, hour, ..., how do you convert this to a datetime column/index ? http://stackoverflow.com/questions/19350806/how-to-convert-columns-into-one-datetime-column-in-pandas You have the typical solution of adding the columns: `pd.to_datetime((df['Y']*10000 + df['M']*100 + df['D']).astype('int'), format='%Y%m%d')`, and @unutbu added now a faster solution using numpy's different datetime64 resolutions to that question on SO. I personally think this would be a nice addition to pandas to have a more native solution for this. But then we need to figure out a nice API. Or we keep it as is, but try to document it more (add as example to docs?)
{ "+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/8158/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8158/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8159
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8159/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8159/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8159/events
https://github.com/pandas-dev/pandas/issues/8159
41,708,824
MDU6SXNzdWU0MTcwODgyNA==
8,159
read_html parse_dates not working
{ "avatar_url": "https://avatars.githubusercontent.com/u/5827233?v=4", "events_url": "https://api.github.com/users/mjsu/events{/privacy}", "followers_url": "https://api.github.com/users/mjsu/followers", "following_url": "https://api.github.com/users/mjsu/following{/other_user}", "gists_url": "https://api.github.com/users/mjsu/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mjsu", "id": 5827233, "login": "mjsu", "node_id": "MDQ6VXNlcjU4MjcyMzM=", "organizations_url": "https://api.github.com/users/mjsu/orgs", "received_events_url": "https://api.github.com/users/mjsu/received_events", "repos_url": "https://api.github.com/users/mjsu/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mjsu/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mjsu/subscriptions", "type": "User", "url": "https://api.github.com/users/mjsu" }
[]
closed
false
null
[]
null
1
2014-09-02T13:27:18Z
2015-10-20T22:40:13Z
2015-10-20T22:40:13Z
CONTRIBUTOR
null
Hi, I am using read_html to pull data from a table. Several of the columns are parsed as dates incorrectly. If I use parse_dates=False this has no effect. Using infer_types=False works, but it is going to be deprecated. Sorry if I'm not reporting this correctly, new to GitHub ;-) ``` python import pandas as pd url = "http://www.ironman.com/triathlon/events/emea/ironman/france/results.aspx?p=1&rd=20050618#axzz38t1BwRL6" dfs = pd.io.html.read_html(url, attrs = {'id': 'eventResults'}, parse_dates=False)#, infer_types=False) print dfs[0] ``` --- commit: None python: 2.7.8.final.0 python-bits: 64 OS: Darwin OS-release: 13.3.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: None LANG: en_GB.UTF-8 pandas: 0.13.1 Cython: 0.20.1 numpy: 1.8.1 scipy: 0.14.0 statsmodels: 0.5.0 IPython: 2.1.0 sphinx: 1.2.2 patsy: 0.2.1 scikits.timeseries: None dateutil: 1.5 pytz: 2014.3 bottleneck: None tables: 3.1.1 numexpr: 2.3.1 matplotlib: 1.3.1 openpyxl: 2.0.2 xlrd: 0.9.3 xlwt: 0.7.5 xlsxwriter: 0.5.5 sqlalchemy: 0.9.4 lxml: 3.3.5 bs4: 4.3.1 html5lib: 0.999 bq: None apiclient: 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/8159/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8159/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8160
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8160/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8160/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8160/events
https://github.com/pandas-dev/pandas/issues/8160
41,714,260
MDU6SXNzdWU0MTcxNDI2MA==
8,160
DOC/BUG? pivot functionality confusing/inconsistent
{ "avatar_url": "https://avatars.githubusercontent.com/u/7441788?v=4", "events_url": "https://api.github.com/users/seth-p/events{/privacy}", "followers_url": "https://api.github.com/users/seth-p/followers", "following_url": "https://api.github.com/users/seth-p/following{/other_user}", "gists_url": "https://api.github.com/users/seth-p/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/seth-p", "id": 7441788, "login": "seth-p", "node_id": "MDQ6VXNlcjc0NDE3ODg=", "organizations_url": "https://api.github.com/users/seth-p/orgs", "received_events_url": "https://api.github.com/users/seth-p/received_events", "repos_url": "https://api.github.com/users/seth-p/repos", "site_admin": false, "starred_url": "https://api.github.com/users/seth-p/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/seth-p/subscriptions", "type": "User", "url": "https://api.github.com/users/seth-p" }
[ { "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": "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": "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" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 278, "created_at": "2013-01-06T03:02:01Z", "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": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)", "due_on": "2022-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/20", "id": 239227, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels", "node_id": "MDk6TWlsZXN0b25lMjM5MjI3", "number": 20, "open_issues": 108, "state": "open", "title": "Someday", "updated_at": "2021-08-08T01:48:22Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20" }
2
2014-09-02T14:21:44Z
2019-10-21T19:52:14Z
null
CONTRIBUTOR
null
1. The docstring of the (non-member) `pivot()` function, http://pandas.pydata.org/pandas-docs/stable/generated/pandas.pivot.html#pandas.pivot, says `Produce ‘pivot’ table based on 3 columns of this DataFrame. Uses unique values from index / columns and fills with values.` But there is no DataFrame argument, and so no "this DataFrame". Is this an internal function that shouldn't be exposed? Or is the docstring wrong? 2. While the (non-member) `pivot_table()` supports specifying multiple columns for `columns`, so that the resulting table has multi-index columns, `DataFrame.pivot()` does not. Any reason it doesn't? I would have expected the two functions to behave similarly. Granted, the docstring for `DataFrame.pivot()` doesn't claim that it supports multiple columns for `columns`, so this isn't a bug, but it does seem inconsistent (and restrictive) vs. `pivot_table()`. ``` In [2]: from pandas import DataFrame, pivot_table In [3]: df = DataFrame([['foo', 'ABC', 'A', 1], ...: ['foo', 'ABC', 'B', 2], ...: ['foo', 'XYZ', 'X', 3], ...: ['foo', 'XYZ', 'Y', 4], ...: ['bar', 'ABC', 'B', 5], ...: ['bar', 'XYZ', 'X', 6]], ...: columns=['FooBar', 'TLA', 'Letter', 'Number']) In [4]: df Out[4]: FooBar TLA Letter Number 0 foo ABC A 1 1 foo ABC B 2 2 foo XYZ X 3 3 foo XYZ Y 4 4 bar ABC B 5 5 bar XYZ X 6 In [11]: pivot_table(df, index='FooBar', columns=['TLA', 'Letter'], values='Number') Out[11]: TLA ABC XYZ Letter A B X Y FooBar bar NaN 5 6 NaN foo 1 2 3 4 In [13]: df.pivot(index='FooBar', columns=['TLA', 'Letter'], values='Number') --------------------------------------------------------------------------- ValueError Traceback (most recent call last) <ipython-input-13-8585f7e09b0c> in <module>() ----> 1 df.pivot(index='FooBar', columns=['TLA', 'Letter'], values='Number') C:\Python34\lib\site-packages\pandas\core\frame.py in pivot(self, index, columns, values) 3264 """ 3265 from pandas.core.reshape import pivot -> 3266 return pivot(self, index=index, columns=columns, values=values) 3267 3268 def stack(self, level=-1, dropna=True): C:\Python34\lib\site-packages\pandas\core\reshape.py in pivot(self, index, columns, values) 357 indexed = Series(self[values].values, 358 index=MultiIndex.from_arrays([self[index], --> 359 self[columns]])) 360 return indexed.unstack(columns) 361 C:\Python34\lib\site-packages\pandas\core\index.py in from_arrays(cls, arrays, sortorder, names) 2795 return Index(arrays[0], name=name) 2796 -> 2797 cats = [Categorical.from_array(arr) for arr in arrays] 2798 levels = [c.levels for c in cats] 2799 labels = [c.labels for c in cats] C:\Python34\lib\site-packages\pandas\core\index.py in <listcomp>(.0) 2795 return Index(arrays[0], name=name) 2796 -> 2797 cats = [Categorical.from_array(arr) for arr in arrays] 2798 levels = [c.levels for c in cats] 2799 labels = [c.labels for c in cats] C:\Python34\lib\site-packages\pandas\core\categorical.py in from_array(cls, data) 101 the unique values of `data`. 102 """ --> 103 return Categorical(data) 104 105 _levels = None C:\Python34\lib\site-packages\pandas\core\categorical.py in __init__(self, labels, levels, name) 82 name = getattr(labels, 'name', None) 83 try: ---> 84 labels, levels = factorize(labels, sort=True) 85 except TypeError: 86 labels, levels = factorize(labels, sort=False) C:\Python34\lib\site-packages\pandas\core\algorithms.py in factorize(values, sort, order, na_sentinel) 128 table = hash_klass(len(vals)) 129 uniques = vec_klass() --> 130 labels = table.get_labels(vals, uniques, 0, na_sentinel) 131 132 labels = com._ensure_platform_int(labels) C:\Python34\lib\site-packages\pandas\hashtable.pyd in pandas.hashtable.PyObjectHashTable.get_labels (pandas\hashtable.c:13534)() ValueError: Buffer has wrong number of dimensions (expected 1, got 2) ``` This is with Pandas v0.14.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/8160/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8160/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8161
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8161/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8161/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8161/events
https://github.com/pandas-dev/pandas/issues/8161
41,725,189
MDU6SXNzdWU0MTcyNTE4OQ==
8,161
Extremely slow construction of large DataFrames out of ndarrays?
{ "avatar_url": "https://avatars.githubusercontent.com/u/2418513?v=4", "events_url": "https://api.github.com/users/aldanor/events{/privacy}", "followers_url": "https://api.github.com/users/aldanor/followers", "following_url": "https://api.github.com/users/aldanor/following{/other_user}", "gists_url": "https://api.github.com/users/aldanor/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/aldanor", "id": 2418513, "login": "aldanor", "node_id": "MDQ6VXNlcjI0MTg1MTM=", "organizations_url": "https://api.github.com/users/aldanor/orgs", "received_events_url": "https://api.github.com/users/aldanor/received_events", "repos_url": "https://api.github.com/users/aldanor/repos", "site_admin": false, "starred_url": "https://api.github.com/users/aldanor/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/aldanor/subscriptions", "type": "User", "url": "https://api.github.com/users/aldanor" }
[ { "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": "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": "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
5
2014-09-02T15:58:01Z
2014-09-02T16:18:07Z
2014-09-02T16:17:08Z
CONTRIBUTOR
null
I was trying to figure out what's the most efficient way to create a dataframe out of a large numpy record array (I initially naively thought this could be done in a zero-copy way) and ran some simple tests: --- ``` python n_columns = 2 n_records = int(15e6) data = np.zeros((n_columns, n_records), np.int32) arr = np.core.records.fromarrays(data) %timeit -n1 -r1 df = pd.DataFrame(arr) %timeit -n1 -r1 df = pd.DataFrame(arr, copy=False) %timeit -n1 -r1 f0, f1 = arr['f0'].copy(), arr['f1'].copy() f0, f1 = arr['f0'].copy(), arr['f1'].copy() %timeit -n1 -r1 df = pd.DataFrame({'f0': f0, 'f1': f1}) %timeit -n1 -r1 df = pd.DataFrame({'f0': f0, 'f1': f1}, copy=False) ``` --- ``` 1 loops, best of 1: 2.47 s per loop 1 loops, best of 1: 2.42 s per loop 1 loops, best of 1: 48.2 ms per loop 1 loops, best of 1: 4.25 s per loop 1 loops, best of 1: 4.57 s per loop ``` --- I wonder what's the DataFrame constructor doing for several seconds straight even if it's provided with a materialized `ndarray` (note that copying both arrays takes < 50ms)? This is on v0.14.1. P.S. Is there a more efficientway to make a dataframe out of a 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/8161/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8161/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8162
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8162/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8162/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8162/events
https://github.com/pandas-dev/pandas/issues/8162
41,754,074
MDU6SXNzdWU0MTc1NDA3NA==
8,162
Allowing the index to be referenced by name, like a column
{ "avatar_url": "https://avatars.githubusercontent.com/u/161965?v=4", "events_url": "https://api.github.com/users/makmanalp/events{/privacy}", "followers_url": "https://api.github.com/users/makmanalp/followers", "following_url": "https://api.github.com/users/makmanalp/following{/other_user}", "gists_url": "https://api.github.com/users/makmanalp/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/makmanalp", "id": 161965, "login": "makmanalp", "node_id": "MDQ6VXNlcjE2MTk2NQ==", "organizations_url": "https://api.github.com/users/makmanalp/orgs", "received_events_url": "https://api.github.com/users/makmanalp/received_events", "repos_url": "https://api.github.com/users/makmanalp/repos", "site_admin": false, "starred_url": "https://api.github.com/users/makmanalp/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/makmanalp/subscriptions", "type": "User", "url": "https://api.github.com/users/makmanalp" }
[ { "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": "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" } ]
open
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" } ]
{ "closed_at": null, "closed_issues": 278, "created_at": "2013-01-06T03:02:01Z", "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": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)", "due_on": "2022-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/20", "id": 239227, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels", "node_id": "MDk6TWlsZXN0b25lMjM5MjI3", "number": 20, "open_issues": 108, "state": "open", "title": "Someday", "updated_at": "2021-08-08T01:48:22Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20" }
19
2014-09-02T20:58:40Z
2021-04-11T05:09:19Z
null
CONTRIBUTOR
null
- [ ] #13243 use df.index/df.columns names to automatically choose axis along which to broadcast - [ ] #11373 Request for some kind of named arguments loc - [ ] #4036 Partial Selection on MultiIndex: The need for empty slice support & dict indexing What if we allowed the index of a dataframe to be referred to in the usual ways? ``` python data = pd.read_table("...", index_col="id") data.id # breaks data["id"] # breaks ``` I find myself setting and resetting indices very often to join to a different dataframe or to pull in the values of the index to a subselection of the dataframe, etc. I figure this is because of how the data is stored under the hood, but wouldn't this be convenient?
{ "+1": 3, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 3, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8162/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8162/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8163
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8163/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8163/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8163/events
https://github.com/pandas-dev/pandas/issues/8163
41,774,947
MDU6SXNzdWU0MTc3NDk0Nw==
8,163
DOC: {Series,DataFrame}.dot() not listed under API Reference
{ "avatar_url": "https://avatars.githubusercontent.com/u/7441788?v=4", "events_url": "https://api.github.com/users/seth-p/events{/privacy}", "followers_url": "https://api.github.com/users/seth-p/followers", "following_url": "https://api.github.com/users/seth-p/following{/other_user}", "gists_url": "https://api.github.com/users/seth-p/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/seth-p", "id": 7441788, "login": "seth-p", "node_id": "MDQ6VXNlcjc0NDE3ODg=", "organizations_url": "https://api.github.com/users/seth-p/orgs", "received_events_url": "https://api.github.com/users/seth-p/received_events", "repos_url": "https://api.github.com/users/seth-p/repos", "site_admin": false, "starred_url": "https://api.github.com/users/seth-p/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/seth-p/subscriptions", "type": "User", "url": "https://api.github.com/users/seth-p" }
[ { "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": 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
2014-09-03T02:03:45Z
2018-03-07T09:44:48Z
2018-03-07T09:44:44Z
CONTRIBUTOR
null
Any reason `{Series,DataFrame}.dot()` are not listed under http://pandas.pydata.org/pandas-docs/stable/api.html? They are documented: http://pandas.pydata.org/pandas-docs/stable/generated/pandas.Series.dot.html http://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.dot.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/8163/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8163/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8164
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8164/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8164/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8164/events
https://github.com/pandas-dev/pandas/pull/8164
41,784,156
MDExOlB1bGxSZXF1ZXN0MjA2NTcwNzA=
8,164
ENH: more flexible describe() + tests
{ "avatar_url": "https://avatars.githubusercontent.com/u/590921?v=4", "events_url": "https://api.github.com/users/bthyreau/events{/privacy}", "followers_url": "https://api.github.com/users/bthyreau/followers", "following_url": "https://api.github.com/users/bthyreau/following{/other_user}", "gists_url": "https://api.github.com/users/bthyreau/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bthyreau", "id": 590921, "login": "bthyreau", "node_id": "MDQ6VXNlcjU5MDkyMQ==", "organizations_url": "https://api.github.com/users/bthyreau/orgs", "received_events_url": "https://api.github.com/users/bthyreau/received_events", "repos_url": "https://api.github.com/users/bthyreau/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bthyreau/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bthyreau/subscriptions", "type": "User", "url": "https://api.github.com/users/bthyreau" }
[ { "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": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
32
2014-09-03T05:54:56Z
2014-10-06T00:57:07Z
2014-10-06T00:57:07Z
CONTRIBUTOR
null
this patch adds a return_type keyword argument to describe() to make it more flexible to use on mixed-type dataframe. User can now select among returning numeric, categorical, or both, as well as 'auto' (previous behaviour, default), and 'same', which keep columns identical (useful, e.g. with groupby())
{ "+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/8164/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8164/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8164.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8164", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/8164.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8164" }
https://api.github.com/repos/pandas-dev/pandas/issues/8165
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8165/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8165/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8165/events
https://github.com/pandas-dev/pandas/issues/8165
41,803,280
MDU6SXNzdWU0MTgwMzI4MA==
8,165
BUG: round-trip of tz in an index using fixed-format for HDF5
{ "avatar_url": "https://avatars.githubusercontent.com/u/1766144?v=4", "events_url": "https://api.github.com/users/colbrac/events{/privacy}", "followers_url": "https://api.github.com/users/colbrac/followers", "following_url": "https://api.github.com/users/colbrac/following{/other_user}", "gists_url": "https://api.github.com/users/colbrac/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/colbrac", "id": 1766144, "login": "colbrac", "node_id": "MDQ6VXNlcjE3NjYxNDQ=", "organizations_url": "https://api.github.com/users/colbrac/orgs", "received_events_url": "https://api.github.com/users/colbrac/received_events", "repos_url": "https://api.github.com/users/colbrac/repos", "site_admin": false, "starred_url": "https://api.github.com/users/colbrac/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/colbrac/subscriptions", "type": "User", "url": "https://api.github.com/users/colbrac" }
[ { "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": "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": 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" }
10
2014-09-03T10:47:12Z
2015-10-22T13:26:30Z
2015-10-22T13:26:30Z
NONE
null
xref #9270 With Python 2.7.6, pandas 0.13.1 and numpy 1.8.1, pytables 3.1.1, both 32 and 64bit (Python x,y and WinPython), I can load my hdf5 file. With Python 3.4.1 64bit, pandas 0.14.1, numpy 1.8.2, pytables 3.1.1 (Anaconda3 2.0.1) I get the following error: Traceback (most recent call last): File "<ipython-input-2-fe436a8e76a5>", line 1, in <module> test = pd.read_hdf('datafile.h5', 'data') File "C:\Anaconda3\lib\site-packages\pandas\io\pytables.py", line 330, in read_hdf return f(store, True) File "C:\Anaconda3\lib\site-packages\pandas\io\pytables.py", line 322, in <lambda> key, auto_close=auto_close, **kwargs) File "C:\Anaconda3\lib\site-packages\pandas\io\pytables.py", line 669, in select auto_close=auto_close).get_values() File "C:\Anaconda3\lib\site-packages\pandas\io\pytables.py", line 1335, in get_values results = self.func(self.start, self.stop) File "C:\Anaconda3\lib\site-packages\pandas\io\pytables.py", line 658, in func columns=columns, **kwargs) File "C:\Anaconda3\lib\site-packages\pandas\io\pytables.py", line 2658, in read ax = self.read_index('axis%d' % i) File "C:\Anaconda3\lib\site-packages\pandas\io\pytables.py", line 2257, in read_index _, index = self.read_index_node(getattr(self.group, key)) File "C:\Anaconda3\lib\site-packages\pandas\io\pytables.py", line 2385, in read_index_node _unconvert_index(data, kind, encoding=self.encoding), **kwargs) File "C:\Anaconda3\lib\site-packages\pandas\core\index.py", line 125, in **new** result = DatetimeIndex(data, copy=copy, name=name, **kwargs) File "C:\Anaconda3\lib\site-packages\pandas\tseries\index.py", line 301, in **new** infer_dst=infer_dst) File "tslib.pyx", line 2165, in pandas.tslib.tz_localize_to_utc (pandas\tslib.c:33574) File "tslib.pyx", line 2082, in pandas.tslib._get_deltas (pandas\tslib.c:32187) File "tslib.pyx", line 872, in pandas.tslib._get_utcoffset (pandas\tslib.c:16036) AttributeError: 'numpy.bytes_' object has no attribute 'utcoffset' The index in question is: class 'pandas.tseries.index.DatetimeIndex' [2013-04-03 00:00:00+02:00, ..., 2013-04-04 00:00:00+02:00] Length: 8641, Freq: 10S, Timezone: Europe/Amsterdam
{ "+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/8165/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8165/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8166
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8166/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8166/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8166/events
https://github.com/pandas-dev/pandas/pull/8166
41,820,957
MDExOlB1bGxSZXF1ZXN0MjA2NzkyNzI=
8,166
ENH: added api_rst_coverage.py
{ "avatar_url": "https://avatars.githubusercontent.com/u/7441788?v=4", "events_url": "https://api.github.com/users/seth-p/events{/privacy}", "followers_url": "https://api.github.com/users/seth-p/followers", "following_url": "https://api.github.com/users/seth-p/following{/other_user}", "gists_url": "https://api.github.com/users/seth-p/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/seth-p", "id": 7441788, "login": "seth-p", "node_id": "MDQ6VXNlcjc0NDE3ODg=", "organizations_url": "https://api.github.com/users/seth-p/orgs", "received_events_url": "https://api.github.com/users/seth-p/received_events", "repos_url": "https://api.github.com/users/seth-p/repos", "site_admin": false, "starred_url": "https://api.github.com/users/seth-p/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/seth-p/subscriptions", "type": "User", "url": "https://api.github.com/users/seth-p" }
[ { "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": "2015-10-09T18:34:35Z", "closed_issues": 593, "created_at": "2015-03-23T10:47:38Z", "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": "2015-10-10T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/34", "id": 1033710, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels", "node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==", "number": 34, "open_issues": 0, "state": "closed", "title": "0.17.0", "updated_at": "2016-12-11T14:02:02Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34" }
9
2014-09-03T14:14:27Z
2015-08-06T12:15:47Z
2015-08-06T11:55:12Z
CONTRIBUTOR
null
Closes https://github.com/pydata/pandas/issues/8163
{ "+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/8166/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8166/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8166.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8166", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/8166.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8166" }
https://api.github.com/repos/pandas-dev/pandas/issues/8167
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8167/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8167/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8167/events
https://github.com/pandas-dev/pandas/issues/8167
41,823,597
MDU6SXNzdWU0MTgyMzU5Nw==
8,167
0.13.1: strange PyTables error
{ "avatar_url": "https://avatars.githubusercontent.com/u/1903683?v=4", "events_url": "https://api.github.com/users/bluefir/events{/privacy}", "followers_url": "https://api.github.com/users/bluefir/followers", "following_url": "https://api.github.com/users/bluefir/following{/other_user}", "gists_url": "https://api.github.com/users/bluefir/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bluefir", "id": 1903683, "login": "bluefir", "node_id": "MDQ6VXNlcjE5MDM2ODM=", "organizations_url": "https://api.github.com/users/bluefir/orgs", "received_events_url": "https://api.github.com/users/bluefir/received_events", "repos_url": "https://api.github.com/users/bluefir/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bluefir/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bluefir/subscriptions", "type": "User", "url": "https://api.github.com/users/bluefir" }
[]
closed
false
null
[]
null
3
2014-09-03T14:38:43Z
2014-09-03T16:27:53Z
2014-09-03T16:23:22Z
NONE
null
What should I do with this? ``` File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 914, in append **kwargs) File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 1273, in _write_to_group s.write(obj=value, append=append, complib=complib, **kwargs) File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 3589, in write self.set_attrs() File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 2887, in set_attrs self.attrs.non_index_axes = self.non_index_axes File "C:\Python27\lib\site-packages\tables\attributeset.py", line 455, in __setattr__ self._g__setattr(name, value) File "C:\Python27\lib\site-packages\tables\attributeset.py", line 397, in _g__setattr self._g_setattr(self._v_node, name, stvalue) File "hdf5extension.pyx", line 704, in tables.hdf5extension.AttributeSet._g_setattr (tables\hdf5extension.c:6832) tables.exceptions.HDF5ExtError: HDF5 error back trace File "..\..\hdf5-1.8.11\src\H5A.c", line 254, in H5Acreate2 unable to create attribute File "..\..\hdf5-1.8.11\src\H5A.c", line 503, in H5A_create unable to create attribute in object header File "..\..\hdf5-1.8.11\src\H5Oattribute.c", line 347, in H5O_attr_create unable to create new attribute in header File "..\..\hdf5-1.8.11\src\H5Omessage.c", line 224, in H5O_msg_append_real unable to create new message File "..\..\hdf5-1.8.11\src\H5Omessage.c", line 1945, in H5O_msg_alloc unable to allocate space for message File "..\..\hdf5-1.8.11\src\H5Oalloc.c", line 1142, in H5O_alloc object header message is too large End of HDF5 error back trace Can't set attribute 'non_index_axes' in node: /universe_liquid/alpha_adv_deciles/groups/raw/AAM_demean_groups/portfolio_returns/return_daily_benchmark (Group) u''. ```
{ "+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/8167/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8167/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8168
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8168/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8168/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8168/events
https://github.com/pandas-dev/pandas/issues/8168
41,829,776
MDU6SXNzdWU0MTgyOTc3Ng==
8,168
HDFStore inside thread provokes a segmentation fault.
{ "avatar_url": "https://avatars.githubusercontent.com/u/2580646?v=4", "events_url": "https://api.github.com/users/estevopaz/events{/privacy}", "followers_url": "https://api.github.com/users/estevopaz/followers", "following_url": "https://api.github.com/users/estevopaz/following{/other_user}", "gists_url": "https://api.github.com/users/estevopaz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/estevopaz", "id": 2580646, "login": "estevopaz", "node_id": "MDQ6VXNlcjI1ODA2NDY=", "organizations_url": "https://api.github.com/users/estevopaz/orgs", "received_events_url": "https://api.github.com/users/estevopaz/received_events", "repos_url": "https://api.github.com/users/estevopaz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/estevopaz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/estevopaz/subscriptions", "type": "User", "url": "https://api.github.com/users/estevopaz" }
[ { "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": "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
[]
null
2
2014-09-03T15:33:00Z
2014-09-04T16:31:00Z
2014-09-04T16:31:00Z
NONE
null
Read same file inside a thread provokes a segmentation fault. pandas==0.14.1 ``` python import pandas as pd import threading def thread(): ''' Stupid thread reading a DataFrame. ''' store = pd.HDFStore('/tmp/df.h5') dataframe = store['/data'] store.close() def main(): ''' Main function. ''' procs = list() for _ in range(1, 100): proc = threading.Thread(target=thread) procs.append(proc) proc.start() # Wait for all worker processes to finish for proc in procs: proc.join() ```
{ "+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/8168/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8168/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8169
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8169/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8169/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8169/events
https://github.com/pandas-dev/pandas/issues/8169
41,848,175
MDU6SXNzdWU0MTg0ODE3NQ==
8,169
BUG: groupby.count() on different dtypes seems buggy
{ "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": "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": "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": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
0
2014-09-03T18:17:32Z
2014-09-06T19:13:41Z
2014-09-06T19:13:41Z
CONTRIBUTOR
null
from [SO](http://stackoverflow.com/questions/25648923/groupby-count-returns-different-values-for-pandas-dataframe-count-vs-describ) something odd going on here: ``` vals = np.hstack((np.random.randint(0,5,(100,2)), np.random.randint(0,2,(100,2)))) df = pd.DataFrame(vals, columns=['a', 'b', 'c', 'd']) df[df==2] = np.nan df2 = df.copy() df2['a'] = df2['a'].astype('float32') df2['b'] = df2['b'].astype('float32') ``` ``` df.groupby(['c', 'd']).count() df2.groupby(['c','d']).count() ```
{ "+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/8169/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8169/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8170
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8170/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8170/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8170/events
https://github.com/pandas-dev/pandas/pull/8170
41,851,454
MDExOlB1bGxSZXF1ZXN0MjA2OTczOTY=
8,170
BUG: not raising error on Newey-West corrections when clustering
{ "avatar_url": "https://avatars.githubusercontent.com/u/4183570?v=4", "events_url": "https://api.github.com/users/jessefarnham/events{/privacy}", "followers_url": "https://api.github.com/users/jessefarnham/followers", "following_url": "https://api.github.com/users/jessefarnham/following{/other_user}", "gists_url": "https://api.github.com/users/jessefarnham/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jessefarnham", "id": 4183570, "login": "jessefarnham", "node_id": "MDQ6VXNlcjQxODM1NzA=", "organizations_url": "https://api.github.com/users/jessefarnham/orgs", "received_events_url": "https://api.github.com/users/jessefarnham/received_events", "repos_url": "https://api.github.com/users/jessefarnham/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jessefarnham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jessefarnham/subscriptions", "type": "User", "url": "https://api.github.com/users/jessefarnham" }
[ { "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": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
10
2014-09-03T18:47:48Z
2014-09-22T16:36:11Z
2014-09-13T19:27:40Z
CONTRIBUTOR
null
closes #5884, OLS does not correctly apply Newey-West corrections when clustering is being used. Add an assertion to check for this.
{ "+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/8170/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8170/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8170.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8170", "merged_at": "2014-09-13T19:27:40Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8170.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8170" }
https://api.github.com/repos/pandas-dev/pandas/issues/8171
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8171/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8171/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8171/events
https://github.com/pandas-dev/pandas/pull/8171
41,881,237
MDExOlB1bGxSZXF1ZXN0MjA3MTQ0NTk=
8,171
BUG: GroupBy.count() with float32 data type does not exclude nan
{ "avatar_url": "https://avatars.githubusercontent.com/u/1288998?v=4", "events_url": "https://api.github.com/users/behzadnouri/events{/privacy}", "followers_url": "https://api.github.com/users/behzadnouri/followers", "following_url": "https://api.github.com/users/behzadnouri/following{/other_user}", "gists_url": "https://api.github.com/users/behzadnouri/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/behzadnouri", "id": 1288998, "login": "behzadnouri", "node_id": "MDQ6VXNlcjEyODg5OTg=", "organizations_url": "https://api.github.com/users/behzadnouri/orgs", "received_events_url": "https://api.github.com/users/behzadnouri/received_events", "repos_url": "https://api.github.com/users/behzadnouri/repos", "site_admin": false, "starred_url": "https://api.github.com/users/behzadnouri/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/behzadnouri/subscriptions", "type": "User", "url": "https://api.github.com/users/behzadnouri" }
[ { "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": "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": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
4
2014-09-03T23:54:36Z
2014-09-06T19:50:01Z
2014-09-06T19:13:41Z
CONTRIBUTOR
null
closes https://github.com/pydata/pandas/issues/8169
{ "+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/8171/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8171/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8171.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8171", "merged_at": "2014-09-06T19:13:41Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8171.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8171" }
https://api.github.com/repos/pandas-dev/pandas/issues/8172
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8172/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8172/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8172/events
https://github.com/pandas-dev/pandas/pull/8172
41,882,842
MDExOlB1bGxSZXF1ZXN0MjA3MTU0NjY=
8,172
counting sort instead of np.argsort in left outer join
{ "avatar_url": "https://avatars.githubusercontent.com/u/1288998?v=4", "events_url": "https://api.github.com/users/behzadnouri/events{/privacy}", "followers_url": "https://api.github.com/users/behzadnouri/followers", "following_url": "https://api.github.com/users/behzadnouri/following{/other_user}", "gists_url": "https://api.github.com/users/behzadnouri/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/behzadnouri", "id": 1288998, "login": "behzadnouri", "node_id": "MDQ6VXNlcjEyODg5OTg=", "organizations_url": "https://api.github.com/users/behzadnouri/orgs", "received_events_url": "https://api.github.com/users/behzadnouri/received_events", "repos_url": "https://api.github.com/users/behzadnouri/repos", "site_admin": false, "starred_url": "https://api.github.com/users/behzadnouri/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/behzadnouri/subscriptions", "type": "User", "url": "https://api.github.com/users/behzadnouri" }
[ { "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": "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": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
5
2014-09-04T00:24:19Z
2014-09-06T20:50:14Z
2014-09-06T20:45:00Z
CONTRIBUTOR
null
Previously I had submitted https://github.com/pydata/pandas/pull/7853. Given that we are sorting indexers, for performance reasons I should have used `groupsort_indexer` instead of `np.argsort`. on master: ``` In [7]: np.random.seed(2718281) In [8]: n = 50000 In [9]: left = DataFrame(np.random.randint(1, n/500, (n, 2)), ...: columns=['jim', 'joe']) In [10]: right = DataFrame(np.random.randint(1, n/500, (n, 2)), ....: columns=['jolie', 'jolia']).set_index('jolie') In [11]: %timeit left.join(right, on='jim') 1 loops, best of 3: 3.53 s per loop ``` on branch: ``` In [13]: %timeit left.join(right, on='jim') 1 loops, best of 3: 2.46 s per loop ```
{ "+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/8172/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8172/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8172.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8172", "merged_at": "2014-09-06T20:45:00Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8172.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8172" }
https://api.github.com/repos/pandas-dev/pandas/issues/8173
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8173/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8173/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8173/events
https://github.com/pandas-dev/pandas/issues/8173
41,883,906
MDU6SXNzdWU0MTg4MzkwNg==
8,173
DOC: release note / example for GH7910
{ "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": "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": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
1
2014-09-04T00:44:14Z
2014-09-05T06:29:08Z
2014-09-05T06:29:08Z
CONTRIBUTOR
null
https://github.com/pydata/pandas/pull/7910
{ "+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/8173/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8173/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8174
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8174/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8174/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8174/events
https://github.com/pandas-dev/pandas/issues/8174
41,952,336
MDU6SXNzdWU0MTk1MjMzNg==
8,174
Regression: divmod(my_series, some_integer) no longer works since version 0.13.
{ "avatar_url": "https://avatars.githubusercontent.com/u/662003?v=4", "events_url": "https://api.github.com/users/mdickinson/events{/privacy}", "followers_url": "https://api.github.com/users/mdickinson/followers", "following_url": "https://api.github.com/users/mdickinson/following{/other_user}", "gists_url": "https://api.github.com/users/mdickinson/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mdickinson", "id": 662003, "login": "mdickinson", "node_id": "MDQ6VXNlcjY2MjAwMw==", "organizations_url": "https://api.github.com/users/mdickinson/orgs", "received_events_url": "https://api.github.com/users/mdickinson/received_events", "repos_url": "https://api.github.com/users/mdickinson/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mdickinson/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mdickinson/subscriptions", "type": "User", "url": "https://api.github.com/users/mdickinson" }
[ { "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": "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" }
1
2014-09-04T15:47:50Z
2016-09-19T21:07:02Z
2016-09-19T21:07:02Z
NONE
null
In Pandas version 0.12, you could apply the Python built-in `divmod` function to a `Series` and an integer: ``` Enthought Canopy Python 2.7.6 | 64-bit | (default, Jun 4 2014, 16:42:26) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import pandas as pd >>> pd.__version__ '0.12.0' >>> divmod(pd.Series(range(4)), 2) (0 0 1 0 2 1 3 1 dtype: int64, 0 0 1 1 2 0 3 1 dtype: int64) >>> ``` With version >= 0.13, it appears that this usage is no longer supported: ``` Enthought Canopy Python 2.7.6 | 64-bit | (default, Jun 4 2014, 16:42:26) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import pandas as pd >>> pd.__version__ '0.14.1' >>> divmod(pd.Series(range(4)), 2) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: unsupported operand type(s) for divmod(): 'Series' and 'int' ``` Was this change intentional? Some context: I was using this to read a climate datafile that had a 4-digit column holding combined month and day values. The original code looked something like: `month, day = divmod(df['MODA'], 100)`, but broke after upgrading to version 0.14.
{ "+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/8174/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8174/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8175
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8175/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8175/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8175/events
https://github.com/pandas-dev/pandas/issues/8175
41,965,216
MDU6SXNzdWU0MTk2NTIxNg==
8,175
Stacked bar plot negative values do not work correctly if dataframe contains NaN values
{ "avatar_url": "https://avatars.githubusercontent.com/u/8483583?v=4", "events_url": "https://api.github.com/users/tom-alcorn/events{/privacy}", "followers_url": "https://api.github.com/users/tom-alcorn/followers", "following_url": "https://api.github.com/users/tom-alcorn/following{/other_user}", "gists_url": "https://api.github.com/users/tom-alcorn/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tom-alcorn", "id": 8483583, "login": "tom-alcorn", "node_id": "MDQ6VXNlcjg0ODM1ODM=", "organizations_url": "https://api.github.com/users/tom-alcorn/orgs", "received_events_url": "https://api.github.com/users/tom-alcorn/received_events", "repos_url": "https://api.github.com/users/tom-alcorn/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tom-alcorn/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tom-alcorn/subscriptions", "type": "User", "url": "https://api.github.com/users/tom-alcorn" }
[ { "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" }, { "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" } ]
closed
false
null
[]
{ "closed_at": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
2
2014-09-04T17:51:45Z
2014-09-07T00:30:07Z
2014-09-07T00:30:07Z
CONTRIBUTOR
null
While trying to produce a stacked bar plot which includes negative values, I found that if the dataframe contains NaN values the bar plot does not display correctly. Specifically, this code: ``` python df = pd.DataFrame([[10,20,5,40],[-5,5,20,30],[np.nan,-10,-10,20],[10,20,20,-40]], columns = ['A','B','C','D']) df.plot(kind = 'bar', stacked=True); plt.show(); ``` incorrectly produces this plot ![screen shot 2014-09-04 at 1 38 47 pm](https://cloud.githubusercontent.com/assets/8483583/4153575/71c69b9e-345a-11e4-9d2d-cc0b00f4ee8b.png) Notice that at '2' on the x-axis, there should be a bar of size -10 for each of the 'B' and 'C' categories. However, when I replace the NaN values with 0s by doing ``` python df = pd.DataFrame([[10,20,5,40],[-5,5,20,30],[np.nan,-10,-10,20],[10,20,20,-40]], columns = ['A','B','C','D']) df = df.fillna(0) df.plot(kind = 'bar', stacked=True); plt.show(); ``` then the plot displays correctly ![screen shot 2014-09-04 at 1 41 41 pm](https://cloud.githubusercontent.com/assets/8483583/4153668/1e31ba26-345b-11e4-88a9-e7a0a764365b.png) This is clearly not a good behaviour. I suspect that this happens because the bars corresponding to the negative values are trying to use np.nan as their 'bottom' argument and thus not displaying at all, but I haven't investigated further. It would be nice if area-style plots like this would either automatically replace NaN values with 0 or throw an error about NaN values present in the dataframe causing problems for the plotting functions.
{ "+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/8175/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8175/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8176
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8176/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8176/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8176/events
https://github.com/pandas-dev/pandas/pull/8176
41,967,212
MDExOlB1bGxSZXF1ZXN0MjA3NjE5NDQ=
8,176
BUG/API: Previously an enlargement with a mixed-dtype frame would act unlike append (related GH2578)
{ "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": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "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": "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": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
1
2014-09-04T18:11:29Z
2014-09-04T18:58:18Z
2014-09-04T18:58:17Z
CONTRIBUTOR
null
related #2578 from [SO](http://stackoverflow.com/questions/25670760/copying-a-row-screws-up-pandas-column-data-types-how-to-avoid)
{ "+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/8176/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8176/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8176.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8176", "merged_at": "2014-09-04T18:58:17Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8176.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8176" }
https://api.github.com/repos/pandas-dev/pandas/issues/8177
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8177/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8177/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8177/events
https://github.com/pandas-dev/pandas/pull/8177
41,969,880
MDExOlB1bGxSZXF1ZXN0MjA3NjM0ODg=
8,177
BUG: barplot with NaNs
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "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" }, { "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" } ]
closed
false
null
[]
{ "closed_at": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
4
2014-09-04T18:36:23Z
2014-09-07T00:30:08Z
2014-09-07T00:30:07Z
CONTRIBUTOR
null
Closes https://github.com/pydata/pandas/issues/8175 This makes barplot more consistent with how NaN's are handled in AreaPlots and PiePlots.
{ "+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/8177/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8177/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8177.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8177", "merged_at": "2014-09-07T00:30:07Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8177.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8177" }
https://api.github.com/repos/pandas-dev/pandas/issues/8178
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8178/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8178/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8178/events
https://github.com/pandas-dev/pandas/issues/8178
42,007,479
MDU6SXNzdWU0MjAwNzQ3OQ==
8,178
focus/start enhancing performance section within pandas/numpy
{ "avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4", "events_url": "https://api.github.com/users/hayd/events{/privacy}", "followers_url": "https://api.github.com/users/hayd/followers", "following_url": "https://api.github.com/users/hayd/following{/other_user}", "gists_url": "https://api.github.com/users/hayd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hayd", "id": 1931852, "login": "hayd", "node_id": "MDQ6VXNlcjE5MzE4NTI=", "organizations_url": "https://api.github.com/users/hayd/orgs", "received_events_url": "https://api.github.com/users/hayd/received_events", "repos_url": "https://api.github.com/users/hayd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hayd/subscriptions", "type": "User", "url": "https://api.github.com/users/hayd" }
[ { "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": "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": 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" }
1
2014-09-05T02:24:42Z
2017-05-10T11:04:19Z
2017-05-10T11:04:19Z
CONTRIBUTOR
null
start of enhancing performance section should begin with tips for speeding up pandas, e.g. no apply, vectorization, pandas methods etc. Initially I put in: > This tutorial assumes you have refactored as much as possible in python, for example trying to remove for loops and making use of numpy vectorization, it’s always worth optimising in python first. I think this should be more strongly worded. _see [this question](http://stackoverflow.com/q/25676157/1240268), user should not jump to 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/8178/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8178/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8179
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8179/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8179/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8179/events
https://github.com/pandas-dev/pandas/pull/8179
42,012,852
MDExOlB1bGxSZXF1ZXN0MjA3ODc0NDA=
8,179
DOC: added release note, this fixes #8173
{ "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" }
[]
closed
false
null
[]
null
1
2014-09-05T04:18:18Z
2015-04-29T15:34:45Z
2014-09-05T06:29:08Z
CONTRIBUTOR
null
Closes #8173, release note for #7910
{ "+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/8179/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8179/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8179.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8179", "merged_at": "2014-09-05T06:29:08Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8179.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8179" }
https://api.github.com/repos/pandas-dev/pandas/issues/8180
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8180/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8180/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8180/events
https://github.com/pandas-dev/pandas/pull/8180
42,029,412
MDExOlB1bGxSZXF1ZXN0MjA3OTcwOTc=
8,180
SQL: add warning for mismatch in provided and written table name (GH7815)
{ "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": "5319e7", "default": false, "description": "to_sql, read_sql, read_sql_query", "id": 47232590, "name": "IO SQL", "node_id": "MDU6TGFiZWw0NzIzMjU5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL" } ]
closed
false
null
[]
{ "closed_at": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
0
2014-09-05T09:30:58Z
2014-09-09T07:55:59Z
2014-09-09T07:55:57Z
MEMBER
null
Closes #7815 Adds a warning if the provided table name in `to_sql` and the actually used table name in the database do not match (eg converted to lower case due to case insensitivity settings of database, eg MySQL on Windows). When user is not aware of this, and keeps using the upper case table name, this leads to bugs in subsequent `to_sql` calls. @maxgrenderjones
{ "+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/8180/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8180/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8180.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8180", "merged_at": "2014-09-09T07:55:57Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8180.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8180" }
https://api.github.com/repos/pandas-dev/pandas/issues/8181
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8181/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8181/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8181/events
https://github.com/pandas-dev/pandas/issues/8181
42,048,694
MDU6SXNzdWU0MjA0ODY5NA==
8,181
BUG: boxplot fails when one column is all NaNs
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "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": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
1
2014-09-05T13:56:08Z
2014-09-17T19:33:59Z
2014-09-17T19:33:59Z
CONTRIBUTOR
null
Very much an edge case: ``` python In [17]: df = pd.DataFrame(np.random.randn(100, 4)) In [18]: df.loc[:, 0] = np.nan In [19]: df.plot(kind='box') --------------------------------------------------------------------------- ValueError Traceback (most recent call last) <ipython-input-19-06443674b77d> in <module>() ----> 1 df.plot(kind='box') /Users/tom/Envs/py3/lib/python3.4/site-packages/pandas/pandas/tools/plotting.py in plot_frame(frame, x, y, subplots, sharex, sharey, use_index, figsize, grid, legend, rot, ax, style, title, xlim, ylim, logx, logy, xticks, yticks, kind, sort_columns, fontsize, secondary_y, layout, **kwds) 2362 secondary_y=secondary_y, layout=layout, **kwds) 2363 -> 2364 plot_obj.generate() 2365 plot_obj.draw() 2366 return plot_obj.result /Users/tom/Envs/py3/lib/python3.4/site-packages/pandas/pandas/tools/plotting.py in generate(self) 913 self._compute_plot_data() 914 self._setup_subplots() --> 915 self._make_plot() 916 self._add_table() 917 self._make_legend() /Users/tom/Envs/py3/lib/python3.4/site-packages/pandas/pandas/tools/plotting.py in _make_plot(self) 2140 kwds = self.kwds.copy() 2141 -> 2142 ret, bp = plotf(ax, y, column_num=0, **kwds) 2143 self.maybe_color_bp(bp) 2144 self._return_obj = ret /Users/tom/Envs/py3/lib/python3.4/site-packages/pandas/pandas/tools/plotting.py in plotf(ax, y, column_num, **kwds) 2059 else: 2060 y = remove_na(y) -> 2061 bp = ax.boxplot(y, **kwds) 2062 2063 if self.return_type == 'dict': /Users/tom/Envs/py3/lib/python3.4/site-packages/matplotlib-1.5.x-py3.4-macosx-10.9-x86_64.egg/matplotlib/axes/_axes.py in boxplot(self, x, notch, sym, vert, whis, positions, widths, patch_artist, bootstrap, usermedians, conf_intervals, meanline, showmeans, showcaps, showbox, showfliers, boxprops, labels, flierprops, medianprops, meanprops, capprops, whiskerprops, manage_xticks) 3043 """ 3044 bxpstats = cbook.boxplot_stats(x, whis=whis, bootstrap=bootstrap, -> 3045 labels=labels) 3046 if flierprops is None: 3047 flierprops = dict(sym=sym) /Users/tom/Envs/py3/lib/python3.4/site-packages/matplotlib-1.5.x-py3.4-macosx-10.9-x86_64.egg/matplotlib/cbook.py in boxplot_stats(X, whis, bootstrap, labels) 1963 1964 # medians and quartiles -> 1965 q1, med, q3 = np.percentile(x, [25, 50, 75]) 1966 1967 # interquartile range /Users/tom/Envs/py3/lib/python3.4/site-packages/numpy/lib/function_base.py in percentile(a, q, axis, out, overwrite_input) 2818 axis = 0 2819 -> 2820 return _compute_qth_percentile(sorted, q, axis, out) 2821 2822 # handle sequence of q's without calling sort multiple times /Users/tom/Envs/py3/lib/python3.4/site-packages/numpy/lib/function_base.py in _compute_qth_percentile(sorted, q, axis, out) 2824 if not isscalar(q): 2825 p = [_compute_qth_percentile(sorted, qi, axis, None) -> 2826 for qi in q] 2827 2828 if out is not None: /Users/tom/Envs/py3/lib/python3.4/site-packages/numpy/lib/function_base.py in <listcomp>(.0) 2824 if not isscalar(q): 2825 p = [_compute_qth_percentile(sorted, qi, axis, None) -> 2826 for qi in q] 2827 2828 if out is not None: /Users/tom/Envs/py3/lib/python3.4/site-packages/numpy/lib/function_base.py in _compute_qth_percentile(sorted, q, axis, out) 2854 # Use add.reduce in both cases to coerce data type as well as 2855 # check and use out array. -> 2856 return add.reduce(sorted[indexer]*weights, axis=axis, out=out)/sumval 2857 2858 def trapz(y, x=None, dx=1.0, axis=-1): ValueError: operands could not be broadcast together with shapes (0,) (2,) ``` Same result for `df.boxplot()`.
{ "+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/8181/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8181/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8182
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8182/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8182/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8182/events
https://github.com/pandas-dev/pandas/issues/8182
42,049,315
MDU6SXNzdWU0MjA0OTMxNQ==
8,182
API: kdeplot fails with NaNs.
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[]
closed
false
null
[]
null
2
2014-09-05T14:03:03Z
2014-09-06T13:41:25Z
2014-09-06T13:41:25Z
CONTRIBUTOR
null
This is inconsistent with the other plotting methods: ``` python In [65]: df = pd.DataFrame(np.random.uniform(size=(100, 4))) In [66]: df.loc[0, 0] = np.nan In [67]: df.plot(kind='kde') --------------------------------------------------------------------------- ValueError Traceback (most recent call last) <ipython-input-67-9a78a7983298> in <module>() ----> 1 df.plot(kind='kde') /Users/tom/Envs/py3/lib/python3.4/site-packages/pandas/pandas/tools/plotting.py in plot_frame(frame, x, y, subplots, sharex, sharey, use_index, figsize, grid, legend, rot, ax, style, title, xlim, ylim, logx, logy, xticks, yticks, kind, sort_columns, fontsize, secondary_y, layout, **kwds) 2362 secondary_y=secondary_y, layout=layout, **kwds) 2363 -> 2364 plot_obj.generate() 2365 plot_obj.draw() 2366 return plot_obj.result /Users/tom/Envs/py3/lib/python3.4/site-packages/pandas/pandas/tools/plotting.py in generate(self) 913 self._compute_plot_data() 914 self._setup_subplots() --> 915 self._make_plot() 916 self._add_table() 917 self._make_legend() /Users/tom/Envs/py3/lib/python3.4/site-packages/pandas/pandas/tools/plotting.py in _make_plot(self) 1915 kwds['style'] = style 1916 -> 1917 artists = plotf(ax, y, column_num=i, **kwds) 1918 self._add_legend_handle(artists[0], label) 1919 /Users/tom/Envs/py3/lib/python3.4/site-packages/pandas/pandas/tools/plotting.py in plotf(ax, y, style, column_num, **kwds) 1960 def plotf(ax, y, style=None, column_num=None, **kwds): 1961 if LooseVersion(spv) >= '0.11.0': -> 1962 gkde = gaussian_kde(y, bw_method=self.bw_method) 1963 else: 1964 gkde = gaussian_kde(y) /Users/tom/Envs/py3/lib/python3.4/site-packages/scipy/stats/kde.py in __init__(self, dataset, bw_method) 186 187 self.d, self.n = self.dataset.shape --> 188 self.set_bandwidth(bw_method=bw_method) 189 190 def evaluate(self, points): /Users/tom/Envs/py3/lib/python3.4/site-packages/scipy/stats/kde.py in set_bandwidth(self, bw_method) 496 raise ValueError(msg) 497 --> 498 self._compute_covariance() 499 500 def _compute_covariance(self): /Users/tom/Envs/py3/lib/python3.4/site-packages/scipy/stats/kde.py in _compute_covariance(self) 507 self._data_covariance = atleast_2d(np.cov(self.dataset, rowvar=1, 508 bias=False)) --> 509 self._data_inv_cov = linalg.inv(self._data_covariance) 510 511 self.covariance = self._data_covariance * self.factor**2 /Users/tom/Envs/py3/lib/python3.4/site-packages/scipy/linalg/basic.py in inv(a, overwrite_a, check_finite) 352 353 if check_finite: --> 354 a1 = np.asarray_chkfinite(a) 355 else: 356 a1 = np.asarray(a) /Users/tom/Envs/py3/lib/python3.4/site-packages/numpy/lib/function_base.py in asarray_chkfinite(a, dtype, order) 593 if a.dtype.char in typecodes['AllFloat'] and not np.isfinite(a).all(): 594 raise ValueError( --> 595 "array must not contain infs or NaNs") 596 return a 597 ValueError: array must not contain infs or NaNs ``` The default should be to drop missing observations.
{ "+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/8182/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8182/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8183
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8183/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8183/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8183/events
https://github.com/pandas-dev/pandas/pull/8183
42,049,353
MDExOlB1bGxSZXF1ZXN0MjA4MDk1NzE=
8,183
BUG: scatter with errorbar raises IndexError
{ "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": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" }, { "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" } ]
closed
false
null
[]
{ "closed_at": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
1
2014-09-05T14:03:30Z
2014-11-22T09:27:01Z
2014-09-05T16:16:34Z
MEMBER
null
Closes #8081. Also fixes a color problem with `c` kw found in #7780. (But should work with single color. It looks `errorbar` doesn't accept multiple colors).
{ "+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/8183/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8183/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8183.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8183", "merged_at": "2014-09-05T16:16:34Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8183.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8183" }
https://api.github.com/repos/pandas-dev/pandas/issues/8184
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8184/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8184/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8184/events
https://github.com/pandas-dev/pandas/pull/8184
42,052,606
MDExOlB1bGxSZXF1ZXN0MjA4MTE2OTY=
8,184
ENH: create Timedelta scalar / TimedeltaIndex
{ "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": "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": "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" }, { "color": "fbca04", "default": false, "description": "Related to non-user accessible pandas implementation", "id": 49094459, "name": "Internals", "node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals" }, { "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": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
64
2014-09-05T14:37:21Z
2014-09-16T19:31:04Z
2014-09-13T22:59:30Z
CONTRIBUTOR
null
closes #3009 closes #8187 closes #8209 closes #4533 closes #8190 closes #7869 closes #8214 This PR creates a new `timedelta` sub-class, the scalar `Timedelta`, very similar to how `Timestamp` sub-classes `datetime`. Further it creates a `TimedeltaIndex` modelled on `DatetimeIndex` that holds the underlying data (boxing is only on iteration). - ToDo - Document API changes: - [x] `to_timedelta` return `TimedeltaIndex` rather than a `Series` - [x] `to_timedelta` with scalar returns `Timedelta` (rather than `np.timedelta64`) - [x] Boxing for `list(Series(...))` is now `Timedelta` - [x] possible repr changes - [x] `timedelta_range` - [x] usage / examples - [x] API - Timedelta - [x] conversions `to_timedelta/to_pytimedelta` - TimedeltaIndex - [x] conversions `to_pytimedelta` - [x] what else needs boxing in Series? - [x] fix formatters (Timedelta64Formatter; remove `repr_timedelta64` (no longer necessary) - [x] create `timedelta_range` & fix freq / inferred_freq - [x] fix remaining copied methods from DatetimeIndex - more tests (of TimedeltaIndex / scalar) - [x] scalar comparisons - [x] index comparisons - [x] getitem / partial string access - [x] sql expecting `np.timedelta64` ? (currently skipping these 2 tests!!!!), see: https://github.com/jreback/pandas/commit/2743ef16f7dfe55ba63663fa65c5671031af94f1 - [x] validate series / td ops - move methods of `TimedeltaIndex/DatetimeIndex` - [x] move `DatetimeOpsMixin` to `tseries/base.py`? - [x] `shift/take/order` - [x] `slice_indexer` - [x] `append/union/intersection` - [x] comparbless? - [x] `.dt` accessor are ok now - [x] move `.td` to `.tdi`
{ "+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/8184/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8184/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8184.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8184", "merged_at": "2014-09-13T22:59:29Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8184.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8184" }
https://api.github.com/repos/pandas-dev/pandas/issues/8185
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8185/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8185/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8185/events
https://github.com/pandas-dev/pandas/issues/8185
42,052,872
MDU6SXNzdWU0MjA1Mjg3Mg==
8,185
ENH: read_csv to have a parse_timedelta kw to automatically parse into timedelta64
{ "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": "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": "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" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 278, "created_at": "2013-01-06T03:02:01Z", "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": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)", "due_on": "2022-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/20", "id": 239227, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels", "node_id": "MDk6TWlsZXN0b25lMjM5MjI3", "number": 20, "open_issues": 108, "state": "open", "title": "Someday", "updated_at": "2021-08-08T01:48:22Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20" }
0
2014-09-05T14:39:46Z
2019-10-21T20:06:54Z
null
CONTRIBUTOR
null
read_csv to have a parse_timedelta to automatically apply the dtype, see #4650, #4684 original from #3009
{ "+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/8185/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8185/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8186
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8186/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8186/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8186/events
https://github.com/pandas-dev/pandas/issues/8186
42,061,892
MDU6SXNzdWU0MjA2MTg5Mg==
8,186
ENH: Plot missing observations
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "color": "DDDDDD", "default": false, "description": "Long-Term Enhancement Discussions", "id": 157369, "name": "Ideas", "node_id": "MDU6TGFiZWwxNTczNjk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Ideas" }, { "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": "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": "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
2
2014-09-05T16:04:42Z
2017-05-04T19:07:32Z
2017-05-04T19:07:32Z
CONTRIBUTOR
null
I'm trying to find a home for this function: https://gist.github.com/TomAugspurger/9156696 Output is shown [here](http://tomaugspurger.github.io/blog/2014/02/22/Visualizing%20Missing%20Data/). Basically it highlights the locations of missing data. Should it go - Under `df.plot(kind='missing')` - As a recipe in the cookbook - Elsewhere (seaborn) I've been talking with Michael from seaborn and he thinks it could be in scope for pandas since it's essentially a view on the DataFrame. It's possible that I already posted about this, and we already made a decision, but I could remember and search didn't turn up anything.
{ "+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/8186/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8186/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8187
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8187/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8187/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8187/events
https://github.com/pandas-dev/pandas/issues/8187
42,065,644
MDU6SXNzdWU0MjA2NTY0NA==
8,187
ENH: Add `tz_localize` and `tz_convert` to Series.dt methods
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "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": "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": "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": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
6
2014-09-05T16:39:59Z
2014-09-13T22:59:30Z
2014-09-13T22:59:30Z
CONTRIBUTOR
null
``` In [6]: s = pd.Series(pd.date_range(start='2014-01-01', periods=30, freq='d')) In [7]: s.dt.tz_localize('US/Central') ``` Would return a Series with the same index whose values are Timestamps with the timezone set. I haven't looked at this code too closely, so I'm not sure how difficult it would be and if it's doable for 0.15. @hayd brought it up on SO: http://stackoverflow.com/questions/25656826/speeding-up-timestamp-operations/25657249?noredirect=1#comment40118386_25657249
{ "+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/8187/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8187/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8188
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8188/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8188/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8188/events
https://github.com/pandas-dev/pandas/issues/8188
42,066,359
MDU6SXNzdWU0MjA2NjM1OQ==
8,188
Suggested improvement: allow ExcelWriter to automatically convert lists and dict to strings
{ "avatar_url": "https://avatars.githubusercontent.com/u/8667542?v=4", "events_url": "https://api.github.com/users/teese/events{/privacy}", "followers_url": "https://api.github.com/users/teese/followers", "following_url": "https://api.github.com/users/teese/following{/other_user}", "gists_url": "https://api.github.com/users/teese/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/teese", "id": 8667542, "login": "teese", "node_id": "MDQ6VXNlcjg2Njc1NDI=", "organizations_url": "https://api.github.com/users/teese/orgs", "received_events_url": "https://api.github.com/users/teese/received_events", "repos_url": "https://api.github.com/users/teese/repos", "site_admin": false, "starred_url": "https://api.github.com/users/teese/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/teese/subscriptions", "type": "User", "url": "https://api.github.com/users/teese" }
[ { "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": "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": "2015-10-09T18:34:35Z", "closed_issues": 593, "created_at": "2015-03-23T10:47:38Z", "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": "2015-10-10T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/34", "id": 1033710, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels", "node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==", "number": 34, "open_issues": 0, "state": "closed", "title": "0.17.0", "updated_at": "2016-12-11T14:02:02Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34" }
9
2014-09-05T16:47:46Z
2015-06-20T16:20:11Z
2015-06-20T16:20:11Z
NONE
null
Problem description: I have pandas dataframes with diverse data types and structures, including lists. The csv-writer saves the lists without trouble, but I prefer to also save in excel format for collaboration with my colleagues. Currently the ExcelWriter returns a TypeError if the dataframe contains a list. `TypeError: float() argument must be a string or a number, not 'list'` It would be really great if ExcelWriter accepted lists and dictionaries and tuples. Would it cause any problem to simply convert these data formats to strings before saving? Sorry I’m not an experienced programmer, so I haven‘t made a pull request and attempted to improve the module myself. Here is some code (Python 3.4, pandas 0.14.0) to describe the current situation. ``` import pandas as pd #create a new dataframe that includes a list and a dict title = pd.Series(['Toy Story (1995)', 'Jumanji (1995)', 'Grumpier Old Men (1995)', 'Waiting to Exhale (1995)', 'Father of the Bride Part II (1995)'], index = [0 ,1, 2, 3, 4], name='titles') genre_as_list = pd.Series([['Animation', "Children's", 'Comedy'], ['Adventure', "Children's", 'Fantasy'], ['Comedy', 'Romance'], ['Comedy', 'Drama'], ['Comedy']], index = [0 ,1, 2, 3, 4], name='genre_as_list') rating_as_dict = pd.Series([{'F':0.5,'M':0.6}, {'F':0.1,'M':0.2}, {'F':0.3,'M':0.3}, {'F':0.8,'M':0.8}, {'F':0.8,'M':0.6}], index = [0 ,1, 2, 3, 4], name='rating_as_dict') df = pd.concat([title, genre_as_list, rating_as_dict], axis=1) ``` attempt to save the dataframe in excel ``` writer = pd.ExcelWriter('saved_df.xlsx') df.to_excel(writer, sheet_name='Sheet1') ``` which will result in `TypeError: float() argument must be a string or a number, not 'list'` to save the data, it is necessary to convert the python lists or dicts to strings, separated by ", " or pipes "|" ``` df['genre_as_string'] = [str(i) for i in df['genre_as_list']] df['rating_as_string'] = [str(i) for i in df['rating_as_dict']] df['genre_pipes_string'] = ['|'.join(i) for i in df['genre_as_list']] #in my ipython output, the difference is not actually visible between the lists and the stringlists print('first item from list: %s\nfirst item from stringlist: %s' % (df['genre_as_list'][0][0], df['genre_as_string'][0][0])) ``` After deleting any columns containing a python list or dict, I can now save without any problem. ``` df = df.drop(['genre_as_list','rating_as_dict'], axis=1) writer = pd.ExcelWriter('saved_df.xlsx') df.to_excel(writer, sheet_name='Sheet1') writer.save() ``` If I load from the saved excel sheet, I can confirm that the data is intact ``` df_from_excel = pd.read_excel('saved_df.xlsx', sheetname='Sheet1') #convert back to original python lists and dict, if desired df_from_excel['genre_as_list_again'] = [eval(i) for i in df_from_excel['genre_as_string']] df_from_excel['rating_as_dict_again'] = [eval(i) for i in df_from_excel['rating_as_string']] df_from_excel.loc[0,'genre_as_list_again'][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/8188/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8188/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8189
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8189/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8189/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8189/events
https://github.com/pandas-dev/pandas/issues/8189
42,068,431
MDU6SXNzdWU0MjA2ODQzMQ==
8,189
BUG/API: fillna converts column of Timestamps to datetime64
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "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": "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": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "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.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
2
2014-09-05T17:11:38Z
2014-09-06T14:59:08Z
2014-09-06T14:59:08Z
CONTRIBUTOR
null
Not sure if this is intentional / known. ``` In [58]: tz = pd.DatetimeIndex(start='2010-01-01', periods=10, freq='d', tz='US/Central') In [59]: df = pd.DataFrame(np.random.randn(10, 2), columns=['A', 'B']) In [60]: df['time'] = tz In [62]: df.dtypes Out[62]: A float64 B float64 time object dtype: object In [63]: df.fillna(0).dtypes Out[63]: A float64 B float64 time datetime64[ns] dtype: object ``` Notice that the dtype of the `time` column changes from `object` (column of `Timestamps`) to `datetime64[ns]`. I think what's happening is the timestamps are being downcast: ``` In [64]: df.fillna(0, downcast=False).dtypes Out[64]: A float64 B float64 time object dtype: object ``` The reason I worry about this as the default is because the timestamp information is lost.
{ "+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/8189/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8189/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8190
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8190/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8190/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8190/events
https://github.com/pandas-dev/pandas/issues/8190
42,080,070
MDU6SXNzdWU0MjA4MDA3MA==
8,190
to_timedelta should parse strings like '1h' and '1 hour'
{ "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": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "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": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
1
2014-09-05T19:17:55Z
2014-09-13T22:59:30Z
2014-09-13T22:59:30Z
MEMBER
null
Right now the only long name is supports is "days" and it doesn't even abbreviations for "m" or "h" for minute or hour. All the logic to do the conversions already exists, it just needs better parsing. Related: #7611
{ "+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/8190/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8190/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8191
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8191/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8191/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8191/events
https://github.com/pandas-dev/pandas/issues/8191
42,086,253
MDU6SXNzdWU0MjA4NjI1Mw==
8,191
to_excel() float_format to accept this format string?
{ "avatar_url": "https://avatars.githubusercontent.com/u/388821?v=4", "events_url": "https://api.github.com/users/finoptimal-dev/events{/privacy}", "followers_url": "https://api.github.com/users/finoptimal-dev/followers", "following_url": "https://api.github.com/users/finoptimal-dev/following{/other_user}", "gists_url": "https://api.github.com/users/finoptimal-dev/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/finoptimal-dev", "id": 388821, "login": "finoptimal-dev", "node_id": "MDQ6VXNlcjM4ODgyMQ==", "organizations_url": "https://api.github.com/users/finoptimal-dev/orgs", "received_events_url": "https://api.github.com/users/finoptimal-dev/received_events", "repos_url": "https://api.github.com/users/finoptimal-dev/repos", "site_admin": false, "starred_url": "https://api.github.com/users/finoptimal-dev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/finoptimal-dev/subscriptions", "type": "User", "url": "https://api.github.com/users/finoptimal-dev" }
[ { "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
[]
null
3
2014-09-05T20:23:23Z
2015-10-20T22:42:08Z
2015-10-20T22:42:08Z
NONE
null
I want to have thousands separators in Excel, but when I pass float_format="%,.2f" in I get an unsupported character error. I also tried "{0:,}". Am I missing something or is this unsupported?
{ "+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/8191/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8191/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8192
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8192/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8192/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8192/events
https://github.com/pandas-dev/pandas/issues/8192
42,089,855
MDU6SXNzdWU0MjA4OTg1NQ==
8,192
Value.Error
{ "avatar_url": "https://avatars.githubusercontent.com/u/4210112?v=4", "events_url": "https://api.github.com/users/bigpas/events{/privacy}", "followers_url": "https://api.github.com/users/bigpas/followers", "following_url": "https://api.github.com/users/bigpas/following{/other_user}", "gists_url": "https://api.github.com/users/bigpas/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bigpas", "id": 4210112, "login": "bigpas", "node_id": "MDQ6VXNlcjQyMTAxMTI=", "organizations_url": "https://api.github.com/users/bigpas/orgs", "received_events_url": "https://api.github.com/users/bigpas/received_events", "repos_url": "https://api.github.com/users/bigpas/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bigpas/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bigpas/subscriptions", "type": "User", "url": "https://api.github.com/users/bigpas" }
[]
closed
false
null
[]
null
6
2014-09-05T21:03:49Z
2014-09-06T20:50:00Z
2014-09-06T20:50:00Z
NONE
null
Hi, on MacOs 10.9, with Python2.7.5 (ipython 2.2.0) Numpy 1.8.2 and Pandas 0.14.1 (successfully) installed with "pip", I got the following when I try to import Pandas ``` ValueError: numpy.dtype has the wrong size, try recompiling ``` then, I installed pandas from github (uninstalling the pip packages before), and this time I got this one: ``` ImportError: cannot import name hashtable ``` Any suggestion? I'm not interested in downgrading Pandas best,
{ "+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/8192/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8192/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8193
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8193/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8193/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8193/events
https://github.com/pandas-dev/pandas/issues/8193
42,098,740
MDU6SXNzdWU0MjA5ODc0MA==
8,193
Passing a dictionary of columns names and colors
{ "avatar_url": "https://avatars.githubusercontent.com/u/7980885?v=4", "events_url": "https://api.github.com/users/DataSwede/events{/privacy}", "followers_url": "https://api.github.com/users/DataSwede/followers", "following_url": "https://api.github.com/users/DataSwede/following{/other_user}", "gists_url": "https://api.github.com/users/DataSwede/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/DataSwede", "id": 7980885, "login": "DataSwede", "node_id": "MDQ6VXNlcjc5ODA4ODU=", "organizations_url": "https://api.github.com/users/DataSwede/orgs", "received_events_url": "https://api.github.com/users/DataSwede/received_events", "repos_url": "https://api.github.com/users/DataSwede/repos", "site_admin": false, "starred_url": "https://api.github.com/users/DataSwede/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/DataSwede/subscriptions", "type": "User", "url": "https://api.github.com/users/DataSwede" }
[ { "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": "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" } ]
closed
false
null
[]
{ "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" }
4
2014-09-05T22:47:23Z
2020-01-26T01:04:27Z
2020-01-26T01:04:27Z
NONE
null
Related to this question: http://stackoverflow.com/questions/25689558/pandas-bar-plot-specify-bar-color-by-column Having the ability to natively pass in a dictionary of the column names and the desired color could be a nice addition to simplify specifying what color you want each line/bar to be.
{ "+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/8193/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8193/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8194
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8194/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8194/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8194/events
https://github.com/pandas-dev/pandas/issues/8194
42,101,545
MDU6SXNzdWU0MjEwMTU0NQ==
8,194
ENH: DataFrame.name
{ "avatar_url": "https://avatars.githubusercontent.com/u/7441788?v=4", "events_url": "https://api.github.com/users/seth-p/events{/privacy}", "followers_url": "https://api.github.com/users/seth-p/followers", "following_url": "https://api.github.com/users/seth-p/following{/other_user}", "gists_url": "https://api.github.com/users/seth-p/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/seth-p", "id": 7441788, "login": "seth-p", "node_id": "MDQ6VXNlcjc0NDE3ODg=", "organizations_url": "https://api.github.com/users/seth-p/orgs", "received_events_url": "https://api.github.com/users/seth-p/received_events", "repos_url": "https://api.github.com/users/seth-p/repos", "site_admin": false, "starred_url": "https://api.github.com/users/seth-p/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/seth-p/subscriptions", "type": "User", "url": "https://api.github.com/users/seth-p" }
[ { "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
4
2014-09-05T23:38:55Z
2014-09-06T00:36:49Z
2014-09-06T00:14:36Z
CONTRIBUTOR
null
Currently `Series` has a `name` member, which is useful for retaining the name of the sliced `index`/`column` when the `Series` is produced by slicing a `DataFrame`. It would be useful for `DataFrame` similarly to have a `name` member, so that when a `DataFrame` is produced by slicing a `Panel`, the name of the sliced index is retained. And while you're at it, may as well add `name` to `Panel` and even `Panel4D`...
{ "+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/8194/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8194/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8195
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8195/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8195/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8195/events
https://github.com/pandas-dev/pandas/pull/8195
42,102,671
MDExOlB1bGxSZXF1ZXN0MjA4NDIwNDM=
8,195
ENH: more verbosity to PyTables import failures
{ "avatar_url": "https://avatars.githubusercontent.com/u/243341?v=4", "events_url": "https://api.github.com/users/someben/events{/privacy}", "followers_url": "https://api.github.com/users/someben/followers", "following_url": "https://api.github.com/users/someben/following{/other_user}", "gists_url": "https://api.github.com/users/someben/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/someben", "id": 243341, "login": "someben", "node_id": "MDQ6VXNlcjI0MzM0MQ==", "organizations_url": "https://api.github.com/users/someben/orgs", "received_events_url": "https://api.github.com/users/someben/received_events", "repos_url": "https://api.github.com/users/someben/repos", "site_admin": false, "starred_url": "https://api.github.com/users/someben/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/someben/subscriptions", "type": "User", "url": "https://api.github.com/users/someben" }
[ { "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_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": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
6
2014-09-06T00:05:45Z
2014-09-08T20:46:09Z
2014-09-08T20:45:59Z
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/8195/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8195/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8195.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8195", "merged_at": "2014-09-08T20:45:59Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8195.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8195" }
https://api.github.com/repos/pandas-dev/pandas/issues/8196
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8196/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8196/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8196/events
https://github.com/pandas-dev/pandas/pull/8196
42,104,759
MDExOlB1bGxSZXF1ZXN0MjA4NDMzMzQ=
8,196
API: kdeplot fails with NaNs.
{ "avatar_url": "https://avatars.githubusercontent.com/u/1460294?v=4", "events_url": "https://api.github.com/users/onesandzeroes/events{/privacy}", "followers_url": "https://api.github.com/users/onesandzeroes/followers", "following_url": "https://api.github.com/users/onesandzeroes/following{/other_user}", "gists_url": "https://api.github.com/users/onesandzeroes/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/onesandzeroes", "id": 1460294, "login": "onesandzeroes", "node_id": "MDQ6VXNlcjE0NjAyOTQ=", "organizations_url": "https://api.github.com/users/onesandzeroes/orgs", "received_events_url": "https://api.github.com/users/onesandzeroes/received_events", "repos_url": "https://api.github.com/users/onesandzeroes/repos", "site_admin": false, "starred_url": "https://api.github.com/users/onesandzeroes/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/onesandzeroes/subscriptions", "type": "User", "url": "https://api.github.com/users/onesandzeroes" }
[]
closed
false
null
[]
null
4
2014-09-06T01:09:43Z
2014-09-06T13:41:22Z
2014-09-06T13:40:59Z
CONTRIBUTOR
null
I think the most sensible thing to do here is to drop NaN's, like histograms do, rather than filling 0's. The table in #8177 should be updated to reflect that NaN's are dropped, can do that myself after 8177 gets merged.
{ "+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/8196/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8196/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8196.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8196", "merged_at": "2014-09-06T13:40:59Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8196.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8196" }
https://api.github.com/repos/pandas-dev/pandas/issues/8197
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8197/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8197/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8197/events
https://github.com/pandas-dev/pandas/pull/8197
42,107,220
MDExOlB1bGxSZXF1ZXN0MjA4NDQ3MDg=
8,197
ENH: Add prefix parameters for join method.
{ "avatar_url": "https://avatars.githubusercontent.com/u/1460294?v=4", "events_url": "https://api.github.com/users/onesandzeroes/events{/privacy}", "followers_url": "https://api.github.com/users/onesandzeroes/followers", "following_url": "https://api.github.com/users/onesandzeroes/following{/other_user}", "gists_url": "https://api.github.com/users/onesandzeroes/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/onesandzeroes", "id": 1460294, "login": "onesandzeroes", "node_id": "MDQ6VXNlcjE0NjAyOTQ=", "organizations_url": "https://api.github.com/users/onesandzeroes/orgs", "received_events_url": "https://api.github.com/users/onesandzeroes/received_events", "repos_url": "https://api.github.com/users/onesandzeroes/repos", "site_admin": false, "starred_url": "https://api.github.com/users/onesandzeroes/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/onesandzeroes/subscriptions", "type": "User", "url": "https://api.github.com/users/onesandzeroes" }
[ { "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": "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
2
2014-09-06T03:17:52Z
2015-05-09T15:59:09Z
2015-05-09T15:59:09Z
CONTRIBUTOR
null
Addresses #8139. Not sure how people feel about this one, in terms of adding clutter to the api, but it _was_ pretty easy to get working, so I thought I'd put this together to show what changes would need to be made. I might still need to go over `DataFrame.merge()` to see if the same arguments can be added for consistency.
{ "+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/8197/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8197/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8197.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8197", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/8197.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8197" }
https://api.github.com/repos/pandas-dev/pandas/issues/8198
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8198/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8198/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8198/events
https://github.com/pandas-dev/pandas/issues/8198
42,116,244
MDU6SXNzdWU0MjExNjI0NA==
8,198
VIS: NaN Handling in Pie Plots
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "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": "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": "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": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "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.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
8
2014-09-06T13:04:45Z
2014-10-04T19:57:56Z
2014-10-04T19:57:38Z
CONTRIBUTOR
null
From https://github.com/pydata/pandas/pull/8177#issuecomment-54711316, how should we handle NaNs in Pie Plots. Right now the documented behavior is to fill 0s and plot. This can result in some unattractive labeling depending on where the NaNs are at in the series. ``` python In [11]: series = Series(3 * np.random.rand(8), index=['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h'], name='series') In [15]: series.iloc[:4] = np.nan In [16]: series.plot(kind='pie') Out[16]: <matplotlib.axes._subplots.AxesSubplot at 0x11183e128> ``` ![nana](https://cloud.githubusercontent.com/assets/1312546/4175208/b465dd2c-35c5-11e4-96b7-0d9cf184f897.png) This is actually the first case where I can see a use for a NaN-handling kwarg in `*.plot()` itself. You could reasonably want to - Drop the NaNs (which I think should be the default) - Fill 0s (shows they're missing, but makes the labeling confusing) - Aggregate the NaNs and put those in a separate "missing" wedge that takes up some proportion of the pie. I've got no idea how that proportion should be calculated (counts? relative to the sum or size?). For now let's just decide if the default should change from filling 0s to filling dropping (with a couple releases of notice.) cc @jorisvandenbossche @sinhrks
{ "+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/8198/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8198/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8199
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8199/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8199/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8199/events
https://github.com/pandas-dev/pandas/pull/8199
42,126,281
MDExOlB1bGxSZXF1ZXN0MjA4NTMxNTU=
8,199
BUG: fix variable overwriting in radviz
{ "avatar_url": "https://avatars.githubusercontent.com/u/4602302?v=4", "events_url": "https://api.github.com/users/stas-sl/events{/privacy}", "followers_url": "https://api.github.com/users/stas-sl/followers", "following_url": "https://api.github.com/users/stas-sl/following{/other_user}", "gists_url": "https://api.github.com/users/stas-sl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/stas-sl", "id": 4602302, "login": "stas-sl", "node_id": "MDQ6VXNlcjQ2MDIzMDI=", "organizations_url": "https://api.github.com/users/stas-sl/orgs", "received_events_url": "https://api.github.com/users/stas-sl/received_events", "repos_url": "https://api.github.com/users/stas-sl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/stas-sl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/stas-sl/subscriptions", "type": "User", "url": "https://api.github.com/users/stas-sl" }
[ { "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
[]
null
9
2014-09-06T20:43:30Z
2014-10-02T13:42:16Z
2014-09-18T12:30:01Z
CONTRIBUTOR
null
The variable `n` is set to number of rows in dataframe, and then it overwritten with number of columns, but after that there is loop that should iterate over rows and it uses new value in `n` that holds number of columns already.
{ "+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/8199/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8199/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8199.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8199", "merged_at": "2014-09-18T12:30:01Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8199.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8199" }
https://api.github.com/repos/pandas-dev/pandas/issues/8200
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8200/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8200/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8200/events
https://github.com/pandas-dev/pandas/issues/8200
42,128,196
MDU6SXNzdWU0MjEyODE5Ng==
8,200
read_html ignores commas
{ "avatar_url": "https://avatars.githubusercontent.com/u/3037789?v=4", "events_url": "https://api.github.com/users/foebu/events{/privacy}", "followers_url": "https://api.github.com/users/foebu/followers", "following_url": "https://api.github.com/users/foebu/following{/other_user}", "gists_url": "https://api.github.com/users/foebu/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/foebu", "id": 3037789, "login": "foebu", "node_id": "MDQ6VXNlcjMwMzc3ODk=", "organizations_url": "https://api.github.com/users/foebu/orgs", "received_events_url": "https://api.github.com/users/foebu/received_events", "repos_url": "https://api.github.com/users/foebu/repos", "site_admin": false, "starred_url": "https://api.github.com/users/foebu/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/foebu/subscriptions", "type": "User", "url": "https://api.github.com/users/foebu" }
[ { "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": "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": "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": "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" } ]
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" }
10
2014-09-06T22:13:38Z
2016-04-17T14:00:03Z
2016-04-17T14:00:03Z
NONE
null
Hello, I'm trying to parse a file with the extension 'xls' which is not an Excel file but it's clearly an html file (open with a text editor it's clearly html code). One of my columns uses the italian convention of using the comma instead of the dot before decimals: 5,5 instead of 5.5. I was hoping to parse it at least as string and replace commas with dots and convert the string to a float. The problem is that the commas are completely ignored and instead of getting 5,5 or 7,04, I'm getting 55 and 704. Is this known? Any idea on how to solve it?
{ "+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/8200/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8200/timeline
null
null
null