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/8802
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8802/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8802/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8802/events
https://github.com/pandas-dev/pandas/issues/8802
48,628,307
MDU6SXNzdWU0ODYyODMwNw==
8,802
Version 0.15 MultiIndex forces Datetime.date objects to Timestamp objects
{ "avatar_url": "https://avatars.githubusercontent.com/u/9717992?v=4", "events_url": "https://api.github.com/users/eoincondron/events{/privacy}", "followers_url": "https://api.github.com/users/eoincondron/followers", "following_url": "https://api.github.com/users/eoincondron/following{/other_user}", "gists_url": "https://api.github.com/users/eoincondron/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/eoincondron", "id": 9717992, "login": "eoincondron", "node_id": "MDQ6VXNlcjk3MTc5OTI=", "organizations_url": "https://api.github.com/users/eoincondron/orgs", "received_events_url": "https://api.github.com/users/eoincondron/received_events", "repos_url": "https://api.github.com/users/eoincondron/repos", "site_admin": false, "starred_url": "https://api.github.com/users/eoincondron/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/eoincondron/subscriptions", "type": "User", "url": "https://api.github.com/users/eoincondron" }
[ { "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": "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
[]
null
4
2014-11-13T11:59:35Z
2014-11-13T15:07:16Z
2014-11-13T12:50:49Z
NONE
null
I recently updated Pandas and found this strange behaviour which broke some of my existing code. I was using a column of Datetime.date objects as a the second level in a two-level MulitIndex. However, when setting the index with the latest version, the Datetime.date objects are converted to Timestamp objects with 00:00:00 as the time component: > > > pd.**version** > > > '0.15.1' > > > df > > > 0 ID date > > > 0 0.486567 10 2014-11-12 > > > 1 0.214374 20 2014-11-13 > > > df.date[0] > > > datetime.date(2014, 11, 12) > > > df.set_index(['ID', 'date']).index[0](10, Timestamp%28'2014-11-12 00:00:00'%29) This doesn't happen with version 0.14 or older. There is a hack to get around it, setting the dates to a single level index, adding the other level and then swapping: > > > df.set_index('date').set_index('ID', append=True).index.swaplevel(0, 1)[0](10, datetime.date%282014, 11, 12%29) This seems strange and I wondered was it intentional.
{ "+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/8802/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8802/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8803
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8803/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8803/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8803/events
https://github.com/pandas-dev/pandas/issues/8803
48,659,270
MDU6SXNzdWU0ODY1OTI3MA==
8,803
DateParseError on bar plot
{ "avatar_url": "https://avatars.githubusercontent.com/u/1324881?v=4", "events_url": "https://api.github.com/users/vfilimonov/events{/privacy}", "followers_url": "https://api.github.com/users/vfilimonov/followers", "following_url": "https://api.github.com/users/vfilimonov/following{/other_user}", "gists_url": "https://api.github.com/users/vfilimonov/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/vfilimonov", "id": 1324881, "login": "vfilimonov", "node_id": "MDQ6VXNlcjEzMjQ4ODE=", "organizations_url": "https://api.github.com/users/vfilimonov/orgs", "received_events_url": "https://api.github.com/users/vfilimonov/received_events", "repos_url": "https://api.github.com/users/vfilimonov/repos", "site_admin": false, "starred_url": "https://api.github.com/users/vfilimonov/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/vfilimonov/subscriptions", "type": "User", "url": "https://api.github.com/users/vfilimonov" }
[ { "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" } ]
open
false
null
[]
null
8
2014-11-13T16:41:53Z
2020-04-10T02:36:37Z
null
CONTRIBUTOR
null
`DateParseError` is raised when Series with DateTimeIndex is plotted using bar-plot on axis that already contains another plot: ``` import pandas as pd df = pd.Series([4,2,1,3,5], index=pd.to_datetime(['2004','2005','2006','2007','2008'])) df.plot() df.plot(kind='bar') ``` Both of plots work independently, but being called one after another they result in `DateParseError: day is out of range for month` If called in different order: ``` df.plot(kind='bar') df.plot() ``` exception is not raised, but x-axis scale is incorrect pandas version: 0.15.1 numpy verson: 1.9.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/8803/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8803/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8804
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8804/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8804/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8804/events
https://github.com/pandas-dev/pandas/issues/8804
48,666,244
MDU6SXNzdWU0ODY2NjI0NA==
8,804
BUG: index union between Int64 and non orderable raise AttributeError
{ "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": "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" } ]
closed
false
null
[]
null
13
2014-11-13T17:32:54Z
2014-11-26T13:47:28Z
2014-11-20T15:20:53Z
CONTRIBUTOR
null
``` python x = pd.Index([1, 2, 3]) y = pd.Index(['a', 'b', 'c']) x.union(y) ``` Sorry no stack trace (on a remote server). Raises with an AttributeError and a message about no attribute is_monotonic_increasing. This is on 0.15.1 I think I saw a thing in the release notes about adding that property in 0.15.1 and I can confirm that the example worked in 0.15.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/8804/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8804/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8805
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8805/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8805/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8805/events
https://github.com/pandas-dev/pandas/issues/8805
48,668,278
MDU6SXNzdWU0ODY2ODI3OA==
8,805
ENH: other join types than 'left' for .update
{ "avatar_url": "https://avatars.githubusercontent.com/u/6059365?v=4", "events_url": "https://api.github.com/users/maxgrenderjones/events{/privacy}", "followers_url": "https://api.github.com/users/maxgrenderjones/followers", "following_url": "https://api.github.com/users/maxgrenderjones/following{/other_user}", "gists_url": "https://api.github.com/users/maxgrenderjones/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/maxgrenderjones", "id": 6059365, "login": "maxgrenderjones", "node_id": "MDQ6VXNlcjYwNTkzNjU=", "organizations_url": "https://api.github.com/users/maxgrenderjones/orgs", "received_events_url": "https://api.github.com/users/maxgrenderjones/received_events", "repos_url": "https://api.github.com/users/maxgrenderjones/repos", "site_admin": false, "starred_url": "https://api.github.com/users/maxgrenderjones/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/maxgrenderjones/subscriptions", "type": "User", "url": "https://api.github.com/users/maxgrenderjones" }
[ { "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" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
5
2014-11-13T17:49:29Z
2021-08-23T15:19:57Z
null
CONTRIBUTOR
null
Running 0.15.1 ``` DataFrame.update(other, join='left', overwrite=True, filter_func=None, raise_conflict=False) Modify DataFrame in place using non-NA values from passed DataFrame. Aligns on indices Parameters : other : DataFrame, or object coercible into a DataFrame join : {‘left’, ‘right’, ‘outer’, ‘inner’}, default ‘left’ ``` But.. ``` C:\Anaconda\lib\site-packages\pandas\core\frame.pyc in update(self, other, join, overwrite, filter_func, raise_conflict) 3292 # TODO: Support other joins 3293 if join != 'left': # pragma: no cover -> 3294 raise NotImplementedError("Only left join is supported") 3295 3296 if not isinstance(other, DataFrame): NotImplementedError: Only left join is supported ```
{ "+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/8805/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8805/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8806
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8806/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8806/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8806/events
https://github.com/pandas-dev/pandas/pull/8806
48,688,605
MDExOlB1bGxSZXF1ZXN0MjQzOTgyNjQ=
8,806
[ENH] Add ability to enforce specific filter on Google Analytics query
{ "avatar_url": "https://avatars.githubusercontent.com/u/3670355?v=4", "events_url": "https://api.github.com/users/manugarri/events{/privacy}", "followers_url": "https://api.github.com/users/manugarri/followers", "following_url": "https://api.github.com/users/manugarri/following{/other_user}", "gists_url": "https://api.github.com/users/manugarri/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/manugarri", "id": 3670355, "login": "manugarri", "node_id": "MDQ6VXNlcjM2NzAzNTU=", "organizations_url": "https://api.github.com/users/manugarri/orgs", "received_events_url": "https://api.github.com/users/manugarri/received_events", "repos_url": "https://api.github.com/users/manugarri/repos", "site_admin": false, "starred_url": "https://api.github.com/users/manugarri/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/manugarri/subscriptions", "type": "User", "url": "https://api.github.com/users/manugarri" }
[ { "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
[]
null
4
2014-11-13T20:37:20Z
2014-11-14T15:36:40Z
2014-11-14T15:36:26Z
NONE
null
Fix for #3505 This PR allows to directly write filters to ga.py `read_ga` function. Currently only **OR** filters are supported. with this PR we can support directly writing the filters as a string, allowing for example **AND** filtering. **Example here** ![example](http://i.imgur.com/28FojWh.png)
{ "+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/8806/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8806/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8806.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8806", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/8806.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8806" }
https://api.github.com/repos/pandas-dev/pandas/issues/8807
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8807/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8807/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8807/events
https://github.com/pandas-dev/pandas/pull/8807
48,691,640
MDExOlB1bGxSZXF1ZXN0MjQ0MDAxNDQ=
8,807
GH3508 added basic documentation of google analytics
{ "avatar_url": "https://avatars.githubusercontent.com/u/104787?v=4", "events_url": "https://api.github.com/users/benoitpointet/events{/privacy}", "followers_url": "https://api.github.com/users/benoitpointet/followers", "following_url": "https://api.github.com/users/benoitpointet/following{/other_user}", "gists_url": "https://api.github.com/users/benoitpointet/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/benoitpointet", "id": 104787, "login": "benoitpointet", "node_id": "MDQ6VXNlcjEwNDc4Nw==", "organizations_url": "https://api.github.com/users/benoitpointet/orgs", "received_events_url": "https://api.github.com/users/benoitpointet/received_events", "repos_url": "https://api.github.com/users/benoitpointet/repos", "site_admin": false, "starred_url": "https://api.github.com/users/benoitpointet/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/benoitpointet/subscriptions", "type": "User", "url": "https://api.github.com/users/benoitpointet" }
[ { "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": "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-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
7
2014-11-13T21:04:40Z
2014-11-17T00:36:48Z
2014-11-17T00:36:48Z
CONTRIBUTOR
null
closes #3508
{ "+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/8807/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8807/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8807.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8807", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/8807.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8807" }
https://api.github.com/repos/pandas-dev/pandas/issues/8808
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8808/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8808/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8808/events
https://github.com/pandas-dev/pandas/issues/8808
48,698,660
MDU6SXNzdWU0ODY5ODY2MA==
8,808
Timestamp methods not working
{ "avatar_url": "https://avatars.githubusercontent.com/u/1993919?v=4", "events_url": "https://api.github.com/users/amelio-vazquez-reina/events{/privacy}", "followers_url": "https://api.github.com/users/amelio-vazquez-reina/followers", "following_url": "https://api.github.com/users/amelio-vazquez-reina/following{/other_user}", "gists_url": "https://api.github.com/users/amelio-vazquez-reina/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/amelio-vazquez-reina", "id": 1993919, "login": "amelio-vazquez-reina", "node_id": "MDQ6VXNlcjE5OTM5MTk=", "organizations_url": "https://api.github.com/users/amelio-vazquez-reina/orgs", "received_events_url": "https://api.github.com/users/amelio-vazquez-reina/received_events", "repos_url": "https://api.github.com/users/amelio-vazquez-reina/repos", "site_admin": false, "starred_url": "https://api.github.com/users/amelio-vazquez-reina/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/amelio-vazquez-reina/subscriptions", "type": "User", "url": "https://api.github.com/users/amelio-vazquez-reina" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" }, { "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
[]
null
1
2014-11-13T22:06:21Z
2014-11-13T22:29:18Z
2014-11-13T22:28:46Z
CONTRIBUTOR
null
Consider the following: ``` > df['lifespan'].head() 0 -7 days +13:01:00 1 -26 days +00:01:00 2 -18 days +00:01:00 3 -7 days +13:01:00 4 -42 days +00:01:00 Name: flight_time_lifespan, dtype: timedelta64[ns] ``` ``` > df['lifespan'].values[:5] array([ -557940000000000, -2246340000000000, -1555140000000000, -557940000000000, -3628740000000000], dtype='timedelta64[ns]') ``` ``` > df['lifespan'][0].days -7 ``` But this does not work: ``` > df['lifespan'].apply(lambda x: x.days) AttributeError: 'numpy.timedelta64' object has no attribute 'days' ``` Nor does this: ``` > df['flight_time_lifespan'].days --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-29-b649e97cca35> in <module>() ----> 1 df['flight_time_lifespan'].days /Users/josh/anaconda3/envs/py34/lib/python3.4/site-packages/pandas/core/generic.py in __getattr__(self, name) 1934 return self[name] 1935 raise AttributeError("'%s' object has no attribute '%s'" % -> 1936 (type(self).__name__, name)) 1937 1938 def __setattr__(self, name, value): AttributeError: 'Series' object has no attribute 'days' ``` Nor does this: ``` > pd.show_versions() INSTALLED VERSIONS ------------------ commit: None python: 3.4.2.final.0 python-bits: 64 OS: Darwin OS-release: 14.0.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: None LANG: None pandas: 0.15.1 nose: 1.3.4 Cython: 0.21 numpy: 1.9.1 scipy: 0.14.0 statsmodels: 0.5.0 IPython: 2.3.0 sphinx: 1.2.3 patsy: 0.3.0 dateutil: 2.1 pytz: 2014.9 bottleneck: None tables: 3.1.1 numexpr: 2.3.1 matplotlib: 1.4.2 openpyxl: 1.8.5 xlrd: 0.9.3 xlwt: None xlsxwriter: 0.5.7 lxml: 3.4.0 bs4: 4.3.2 html5lib: None httplib2: None apiclient: None rpy2: None sqlalchemy: 0.9.7 pymysql: None psycopg2: 2.5.4 (dt dec pq3 ext) ``` The only thing that worked was: ``` df['days'] = [x.days for x in df['lifespan']] ``` I have tried restarting things several times without luck.
{ "+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/8808/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8808/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8809
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8809/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8809/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8809/events
https://github.com/pandas-dev/pandas/pull/8809
48,714,027
MDExOlB1bGxSZXF1ZXN0MjQ0MTIwNzQ=
8,809
BUG: Passing multiple levels to stack when having mixed integer/string level names (#8584)
{ "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": "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": "2014-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
10
2014-11-14T00:18:43Z
2014-11-17T15:25:57Z
2014-11-17T15:24:10Z
CONTRIBUTOR
null
closes #8584 Stacking should now work as expected for the cases described in the bug report (#8584). So we can pass a list of both ints and strs to `DataFrame.stack`, provided the ints are level names. Mixed ints and strs when the ints aren't level names raises `ValueError`, but that's unchanged. I've added a new hidden method `_swaplevel_assume_numbers` since the main cause of the bug was ambiguity between ints as names and ints as level numbers, and this allows us to make sure the swap is done correctly once we reach that point. Another alternative would have been to add an `as_numbers=True` flag to the existing `swaplevel` method. We could keep existing behaviour intact by having the default be `as_numbers=False`. If that seems like the better option now that you've seen the PR, let me know and it should be pretty easy to switch. ``` python import pandas as pd from pandas import DataFrame, MultiIndex from numpy.random import randn columns = MultiIndex.from_tuples([('A', 'cat', 'long'), ('B', 'cat', 'long'), ('A', 'dog', 'short'), ('B', 'dog', 'short')], names=['exp', 'animal', 'hair_length']) df = DataFrame(randn(4, 4), columns=columns) df.columns.names = ['exp', 'animal', 1] print(df.stack(level=['animal', 1])) # exp A B # animal 1 #0 cat long 0.758850 0.327957 # dog short 0.429752 0.236901 #1 cat long 0.572633 1.057861 # dog short 0.802539 1.321191 #2 cat long 0.283352 0.088000 # dog short -0.814458 -1.688529 #3 cat long 2.009912 -1.738292 # dog short 1.272569 -0.133434 df.columns.names = ['exp', 'animal', 0] print(df.stack(level=['animal', 0])) # exp A B # animal 0 #0 cat long 0.758850 0.327957 # dog short 0.429752 0.236901 #1 cat long 0.572633 1.057861 # dog short 0.802539 1.321191 #2 cat long 0.283352 0.088000 # dog short -0.814458 -1.688529 #3 cat long 2.009912 -1.738292 # dog short 1.272569 -0.133434 ```
{ "+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/8809/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8809/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8809.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8809", "merged_at": "2014-11-17T15:24:10Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8809.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8809" }
https://api.github.com/repos/pandas-dev/pandas/issues/8810
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8810/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8810/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8810/events
https://github.com/pandas-dev/pandas/pull/8810
48,718,130
MDExOlB1bGxSZXF1ZXN0MjQ0MTQ0NDA=
8,810
TST: Skip hist testing for matplotlib <= 1.2
{ "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": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" }, { "color": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" } ]
closed
false
null
[]
{ "closed_at": "2014-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
1
2014-11-14T01:16:21Z
2014-11-14T12:45:52Z
2014-11-14T12:45:36Z
CONTRIBUTOR
null
Not a huge issue, just skipping an incompatible test when testing with matplotlib 1.2. closes #8648.
{ "+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/8810/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8810/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8810.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8810", "merged_at": "2014-11-14T12:45:36Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8810.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8810" }
https://api.github.com/repos/pandas-dev/pandas/issues/8811
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8811/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8811/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8811/events
https://github.com/pandas-dev/pandas/pull/8811
48,719,395
MDExOlB1bGxSZXF1ZXN0MjQ0MTUyMDk=
8,811
DOC: Added get_group() example to grouby.html
{ "avatar_url": "https://avatars.githubusercontent.com/u/2401026?v=4", "events_url": "https://api.github.com/users/matthewgilbert/events{/privacy}", "followers_url": "https://api.github.com/users/matthewgilbert/followers", "following_url": "https://api.github.com/users/matthewgilbert/following{/other_user}", "gists_url": "https://api.github.com/users/matthewgilbert/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/matthewgilbert", "id": 2401026, "login": "matthewgilbert", "node_id": "MDQ6VXNlcjI0MDEwMjY=", "organizations_url": "https://api.github.com/users/matthewgilbert/orgs", "received_events_url": "https://api.github.com/users/matthewgilbert/received_events", "repos_url": "https://api.github.com/users/matthewgilbert/repos", "site_admin": false, "starred_url": "https://api.github.com/users/matthewgilbert/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/matthewgilbert/subscriptions", "type": "User", "url": "https://api.github.com/users/matthewgilbert" }
[ { "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": "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
4
2014-11-14T01:36:36Z
2014-11-15T09:55:31Z
2014-11-15T09:55:31Z
CONTRIBUTOR
null
Added a get_group example in the Iterating through groups section of grouby.html to demonstrate selecting single group from a DataFrameGrouBy object Fixed typo in README
{ "+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/8811/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8811/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8811.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8811", "merged_at": "2014-11-15T09:55:31Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8811.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8811" }
https://api.github.com/repos/pandas-dev/pandas/issues/8812
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8812/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8812/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8812/events
https://github.com/pandas-dev/pandas/pull/8812
48,726,830
MDExOlB1bGxSZXF1ZXN0MjQ0MTkzNDg=
8,812
VIS: plot with `use_index=False` shouldn't plot the index name
{ "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": "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-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
5
2014-11-14T03:42:40Z
2014-11-16T14:09:39Z
2014-11-16T14:09:36Z
CONTRIBUTOR
null
Fixes #8558. As far as I can tell the two plot types where this applies are line and bar plots, if there any others they should also be easy to fix. Bar and line plots no longer include the index name: ``` python import pandas as pd from pandas import Series import matplotlib.pyplot as plt s = Series([1, 2, 3], index=['a', 'b', 'c']) s.index.name = 'The Index' ax = s.plot(use_index=False) plt.show() ```  ![image](https://cloud.githubusercontent.com/assets/1460294/5041001/6095c37e-6c0c-11e4-86ca-8e1c4ec83b3c.png) ``` python ax2 = s.plot(kind='bar', use_index=False) plt.show() ``` ![image](https://cloud.githubusercontent.com/assets/1460294/5041003/657a45d6-6c0c-11e4-92a2-642e5df917a0.png)
{ "+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/8812/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8812/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8812.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8812", "merged_at": "2014-11-16T14:09:36Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8812.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8812" }
https://api.github.com/repos/pandas-dev/pandas/issues/8813
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8813/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8813/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8813/events
https://github.com/pandas-dev/pandas/issues/8813
48,729,062
MDU6SXNzdWU0ODcyOTA2Mg==
8,813
BUG: Timedelta * Series -> TypeError
{ "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": "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": "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-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
17
2014-11-14T04:23:32Z
2014-11-26T02:30:02Z
2014-11-26T02:30:02Z
MEMBER
null
I encountered this today when rerunning a script that worked prior to the 0.15 arrival of Timedelta: ``` In [2]: pd.to_timedelta(10, unit='D') * pd.Series(range(10)) --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-2-a5e3bc3be480> in <module>() ----> 1 pd.to_timedelta(10, unit='D') * pd.Series(range(10)) /Users/shoyer/dev/pandas/pandas/tslib.so in pandas.tslib.Timedelta.__mul__ (pandas/tslib.c:31355)() TypeError: cannot multiply a Timedelta with <class 'pandas.core.series.Series'> ``` @jreback I think there might be another issue for this 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/8813/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8813/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8814
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8814/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8814/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8814/events
https://github.com/pandas-dev/pandas/issues/8814
48,748,795
MDU6SXNzdWU0ODc0ODc5NQ==
8,814
API: preferred way to check if column/Series has Categorical dtype
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "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": "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" }
20
2014-11-14T07:56:34Z
2015-03-11T01:35:33Z
2015-03-11T01:35:33Z
MEMBER
null
From http://stackoverflow.com/questions/26924904/check-if-dataframe-column-is-categorical/26925340#26925340 What is the preferred way to check for categorical dtype? I now answered: ``` In [42]: isinstance(df.cat_column.dtype, pd.core.common.CategoricalDtype) Out[42]: True In [43]: pd.core.common.is_categorical_dtype(df.cat_column) Out[43]: True ``` But: - this seems somewhat buried in pandas. Should there be a more top-level function to do this? - we should add the preferred way to the categorical 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/8814/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8814/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8815
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8815/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8815/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8815/events
https://github.com/pandas-dev/pandas/issues/8815
48,761,643
MDU6SXNzdWU0ODc2MTY0Mw==
8,815
API/DOC: unclear scope of index.asof
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "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" }
3
2014-11-14T09:33:27Z
2015-03-06T02:47:09Z
2015-03-06T02:47:09Z
MEMBER
null
From http://stackoverflow.com/questions/26918045/python-pandas-typeerror-cannot-compare-type-timestamp-with-type-float The docstring of `Index.asof` says: ``` In [73]: pd.Index.asof? Type: instancemethod String form: <unbound method Index.asof> File: c:\anaconda\lib\site-packages\pandas\core\index.py Definition: pd.Index.asof(self, label) Docstring: For a sorted index, return the most recent label up to and including the passed label. Return NaN if not found ``` while `asof` only works for a time series. - Clarify the docs that `asof` only works for `DatetimeIndex` (and PeriodIndex?) - Why is this actually restricted to timestamps? This functions seems also possibly useful to me for other index types? Something like ``` In [74]: idx = pd.Index([1,2,3,8,9]) In [75]: idx.asof(5) # gives now TypeError 3 ``` Instead of having to do: ``` In [78]: idx[idx.searchsorted(5) - 1] Out[78]: 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/8815/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8815/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8816
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8816/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8816/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8816/events
https://github.com/pandas-dev/pandas/pull/8816
48,786,651
MDExOlB1bGxSZXF1ZXN0MjQ0Mzk5OTI=
8,816
StataReader: Support sorting categoricals
{ "avatar_url": "https://avatars.githubusercontent.com/u/731902?v=4", "events_url": "https://api.github.com/users/PKEuS/events{/privacy}", "followers_url": "https://api.github.com/users/PKEuS/followers", "following_url": "https://api.github.com/users/PKEuS/following{/other_user}", "gists_url": "https://api.github.com/users/PKEuS/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/PKEuS", "id": 731902, "login": "PKEuS", "node_id": "MDQ6VXNlcjczMTkwMg==", "organizations_url": "https://api.github.com/users/PKEuS/orgs", "received_events_url": "https://api.github.com/users/PKEuS/received_events", "repos_url": "https://api.github.com/users/PKEuS/repos", "site_admin": false, "starred_url": "https://api.github.com/users/PKEuS/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/PKEuS/subscriptions", "type": "User", "url": "https://api.github.com/users/PKEuS" }
[ { "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" }, { "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
25
2014-11-14T13:07:03Z
2014-11-18T13:23:22Z
2014-11-18T13:23:22Z
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/8816/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8816/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8816.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8816", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/8816.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8816" }
https://api.github.com/repos/pandas-dev/pandas/issues/8817
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8817/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8817/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8817/events
https://github.com/pandas-dev/pandas/issues/8817
48,799,419
MDU6SXNzdWU0ODc5OTQxOQ==
8,817
Unexpected shift() and tshift() behavior with StaticTzInfo datetimes
{ "avatar_url": "https://avatars.githubusercontent.com/u/685216?v=4", "events_url": "https://api.github.com/users/joshpurvis/events{/privacy}", "followers_url": "https://api.github.com/users/joshpurvis/followers", "following_url": "https://api.github.com/users/joshpurvis/following{/other_user}", "gists_url": "https://api.github.com/users/joshpurvis/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/joshpurvis", "id": 685216, "login": "joshpurvis", "node_id": "MDQ6VXNlcjY4NTIxNg==", "organizations_url": "https://api.github.com/users/joshpurvis/orgs", "received_events_url": "https://api.github.com/users/joshpurvis/received_events", "repos_url": "https://api.github.com/users/joshpurvis/repos", "site_admin": false, "starred_url": "https://api.github.com/users/joshpurvis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/joshpurvis/subscriptions", "type": "User", "url": "https://api.github.com/users/joshpurvis" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" }, { "color": "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
[]
null
2
2014-11-14T15:08:10Z
2014-11-14T15:13:42Z
2014-11-14T15:13:21Z
NONE
null
When shifting a DateTimeIndex with a StaticTzInfo (namely EST in my case), I'm seeing odd behavior in which it first seems to be shifting -5 (the offset for EST), and then shifting relative to that: ``` python import pandas as pd import pytz import datetime dt = datetime.datetime(2014, 11, 14, 0) dt_est = pytz.timezone('EST').localize(dt) s = pd.Series(data=[1], index=[dt_est]) s.shift(0, freq='h') # 2014-11-14 00:00:00-05:00 (seems okay) s.shift(-1, freq='h') # 2014-11-13 18:00:00-05:00 (expected 2014-11-13 23:00:00) s.shift(1, freq='h') # 2014-11-13 20:00:00-05:00 (expected 2014-11-14 01:00:00) s.shift(-1, freq='s') # 2014-11-13 18:59:59-05:00 (same with other freq) ``` ``` INSTALLED VERSIONS ------------------ commit: None python: 2.7.6.final.0 python-bits: 64 OS: Linux OS-release: 3.13.0-39-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.15.0 nose: 1.3.4 Cython: 0.21.1 numpy: 1.9.0 scipy: 0.14.0 statsmodels: None IPython: 2.3.0 sphinx: None patsy: 0.3.0 dateutil: 2.2 pytz: 2014.4 bottleneck: None tables: None numexpr: None matplotlib: 1.4.0 openpyxl: 1.8.6 xlrd: None xlwt: None xlsxwriter: None lxml: None bs4: None html5lib: None httplib2: None apiclient: None rpy2: None sqlalchemy: None 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/8817/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8817/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8818
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8818/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8818/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8818/events
https://github.com/pandas-dev/pandas/issues/8818
48,805,437
MDU6SXNzdWU0ODgwNTQzNw==
8,818
BUG: retbins options not working with cut
{ "avatar_url": "https://avatars.githubusercontent.com/u/4360170?v=4", "events_url": "https://api.github.com/users/8one6/events{/privacy}", "followers_url": "https://api.github.com/users/8one6/followers", "following_url": "https://api.github.com/users/8one6/following{/other_user}", "gists_url": "https://api.github.com/users/8one6/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/8one6", "id": 4360170, "login": "8one6", "node_id": "MDQ6VXNlcjQzNjAxNzA=", "organizations_url": "https://api.github.com/users/8one6/orgs", "received_events_url": "https://api.github.com/users/8one6/received_events", "repos_url": "https://api.github.com/users/8one6/repos", "site_admin": false, "starred_url": "https://api.github.com/users/8one6/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/8one6/subscriptions", "type": "User", "url": "https://api.github.com/users/8one6" }
[ { "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
[]
null
1
2014-11-14T15:59:40Z
2014-11-14T16:02:16Z
2014-11-14T16:02:07Z
NONE
null
``` import pandas as pd import numpy as np s = pd.Series(np.random.randn(100)) pd.cut(s, 10, retbins=True) ``` This throws ``` ValueError: Wrong number of items passed 2, placement implies 100 ``` Am I doing something obviously wrong?
{ "+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/8818/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8818/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8819
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8819/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8819/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8819/events
https://github.com/pandas-dev/pandas/issues/8819
48,830,810
MDU6SXNzdWU0ODgzMDgxMA==
8,819
ENH: pd.factorize to accept a Dataframe
{ "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": "eb6420", "default": false, "description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff", "id": 57296398, "name": "Algos", "node_id": "MDU6TGFiZWw1NzI5NjM5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
1
2014-11-14T19:36:58Z
2021-04-11T05:33:22Z
null
CONTRIBUTOR
null
from #8626 discussion cc @fkaufer allow `pd.factorize` to take a Dataframe and process with tuples of columns. further allow `DataFrame.factorize` with a `subset` argument which just calls `pd.factorize` impl is below (e.g. simple fast-zipping then factorizing after dense conversion) just needs some tests ``` In [41]: df = pd.DataFrame({'A':['a1','a1','a2','a2','a1'], 'B':['b1','b2','b1','b2','b1']}) In [42]: df Out[42]: A B 0 a1 b1 1 a1 b2 2 a2 b1 3 a2 b2 4 a1 b1 In [43]: cols_as_tuples = pd.lib.fast_zip([df[col].get_values() for col in df.columns]) In [44]: cols_as_tuples Out[44]: array([('a1', 'b1'), ('a1', 'b2'), ('a2', 'b1'), ('a2', 'b2'), ('a1', 'b1')], dtype=object) In [47]: pd.factorize(cols_as_tuples) Out[47]: (array([0, 1, 2, 3, 0]), array([('a1', 'b1'), ('a1', 'b2'), ('a2', 'b1'), ('a2', 'b2')], dtype=object)) In [48]: pd.Categorical(cols_as_tuples) Out[48]: [(a1, b1), (a1, b2), (a2, b1), (a2, b2), (a1, b1)] Categories (4, object): [(a1, b1) < (a1, b2) < (a2, b1) < (a2, b2)] In [59]: pd.Categorical(df.to_records(index=False)) Out[59]: [(a1, b1), (a1, b2), (a2, b1), (a2, b2), (a1, b1)] Categories (4, object): [(a1, b1) < (a1, b2) < (a2, b1) < (a2, b2)] ```
{ "+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/8819/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8819/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8820
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8820/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8820/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8820/events
https://github.com/pandas-dev/pandas/issues/8820
48,850,962
MDU6SXNzdWU0ODg1MDk2Mg==
8,820
io.sql issues with Oracle DB
{ "avatar_url": "https://avatars.githubusercontent.com/u/9746279?v=4", "events_url": "https://api.github.com/users/peacedefender/events{/privacy}", "followers_url": "https://api.github.com/users/peacedefender/followers", "following_url": "https://api.github.com/users/peacedefender/following{/other_user}", "gists_url": "https://api.github.com/users/peacedefender/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/peacedefender", "id": 9746279, "login": "peacedefender", "node_id": "MDQ6VXNlcjk3NDYyNzk=", "organizations_url": "https://api.github.com/users/peacedefender/orgs", "received_events_url": "https://api.github.com/users/peacedefender/received_events", "repos_url": "https://api.github.com/users/peacedefender/repos", "site_admin": false, "starred_url": "https://api.github.com/users/peacedefender/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/peacedefender/subscriptions", "type": "User", "url": "https://api.github.com/users/peacedefender" }
[ { "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": "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" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
14
2014-11-14T23:00:23Z
2020-05-16T03:37:49Z
null
NONE
null
With Oracle Database Express Edition 11g Release 2 in use as a SQL DB I have tried to reproduce **Writing DataFrames** example from http://pandas.pydata.org/pandas-docs/stable/io.html#io-sql ``` python import pandas as pd from cStringIO import StringIO from sqlalchemy import create_engine csv_sample = '''id,Date,Col_1,Col_2,Col_3 26,2012-10-18,X,25.7,True 42,2012-10-19,Y,-12.4,False 63,2012-10-20,Z,5.73,True''' b = StringIO(csv_sample) data = pd.read_csv(b, index_col=0) engine_oracle = create_engine('oracle://admin:whatever@localhost:1521/xe') data.to_sql('data', engine_oracle) ``` The code produces a warning: > pandas/io/sql.py:1140: UserWarning: The provided table name 'data' is not found exactly as such in the database after writing the table, possibly due to case sensitivity issues. Consider using lower case table names. > "using lower case table names.".format(name), UserWarning) Nonetheless, the table is written into a DB, except the table has been already created, in which case the write is refused. Trying in addition to execute: ``` python df = pd.read_sql_table('data', engine_oracle) ``` brings an error: > pandas/io/sql.pyc in read_sql_table(table_name, con, schema, index_col, coerce_float, parse_dates, columns, chunksize) > 333 meta.reflect(only=[table_name]) > 334 except sqlalchemy.exc.InvalidRequestError: > --> 335 raise ValueError("Table %s not found" % table_name) > 336 > 337 pandas_sql = SQLDatabase(con, meta=meta) > > ValueError: Table data not found On the other hand: ``` python print pd.io.sql.has_table('data', engine_oracle) df = pd.read_sql_query('select * from data', engine_oracle) ``` prints **True** and imports DataFrame regularly. It seems like sqlalchemy is a culprit, but ``` python from sqlalchemy import MetaData, Table from sqlalchemy.sql import select metadata = MetaData() sa_data = Table('data', metadata, autoload=True, autoload_with=engine_oracle) s = select([sa_data]) conn = engine_oracle.connect() s = select([sa_data]) result = conn.execute(s) for row in result: print row ``` passes with no issues producing the following output: > (26, '2012-10-18', 'X', 25.7, 1) > (42, '2012-10-19', 'Y', -12.4, 0) > (63, '2012-10-20', 'Z', 5.73, 1) Also, I have tried the code with sqlite and postgresql and it shows no issues. Additional info about the pandas and it's dependencies: > ## INSTALLED VERSIONS > > commit: None > python: 2.7.8.final.0 > python-bits: 64 > OS: Linux > OS-release: 3.13.0-39-generic > machine: x86_64 > processor: x86_64 > byteorder: little > LC_ALL: None > LANG: en_US.UTF-8 > > pandas: 0.15.1 > nose: 1.3.3 > Cython: 0.20.1 > numpy: 1.9.1 > scipy: 0.14.0 > statsmodels: 0.5.0 > IPython: 2.3.0 > sphinx: 1.2.3 > patsy: 0.2.1 > dateutil: 1.5 > pytz: 2014.9 > bottleneck: None > tables: 3.1.1 > numexpr: 2.3.1 > matplotlib: 1.3.1 > openpyxl: 1.8.5 > xlrd: 0.9.3 > xlwt: 0.7.5 > xlsxwriter: 0.5.5 > lxml: 3.3.5 > bs4: 4.3.1 > html5lib: 0.999 > httplib2: None > apiclient: None > rpy2: None > sqlalchemy: 0.9.8 > pymysql: None > psycopg2: 2.4.6 (dt dec pq3 ext) cx_oracle 5.1.2 is installed through _conda_
{ "+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/8820/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8820/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8821
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8821/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8821/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8821/events
https://github.com/pandas-dev/pandas/issues/8821
48,858,102
MDU6SXNzdWU0ODg1ODEwMg==
8,821
categories grouping needed for tools.plotting.scatter_matrix
{ "avatar_url": "https://avatars.githubusercontent.com/u/3393101?v=4", "events_url": "https://api.github.com/users/tikazyq/events{/privacy}", "followers_url": "https://api.github.com/users/tikazyq/followers", "following_url": "https://api.github.com/users/tikazyq/following{/other_user}", "gists_url": "https://api.github.com/users/tikazyq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tikazyq", "id": 3393101, "login": "tikazyq", "node_id": "MDQ6VXNlcjMzOTMxMDE=", "organizations_url": "https://api.github.com/users/tikazyq/orgs", "received_events_url": "https://api.github.com/users/tikazyq/received_events", "repos_url": "https://api.github.com/users/tikazyq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tikazyq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tikazyq/subscriptions", "type": "User", "url": "https://api.github.com/users/tikazyq" }
[]
closed
false
null
[]
null
2
2014-11-15T00:36:52Z
2014-11-15T20:16:37Z
2014-11-15T20:16:37Z
NONE
null
I found scatter_matrix super useful to discover correlations between variables. However, it doesn't support distinguishing different categories of points. Check check [this](http://trellischarts.com/images/Scatter-Plot-Matrix-Window.png) out. I've modified scatter_matrix a a bit so it supports this functionality. See [this](http://nbviewer.ipython.org/github/tikazyq/stuff/blob/master/scatter_matrix_test.ipynb) or below images to check the effect. ![png-1](https://cloud.githubusercontent.com/assets/3393101/5055673/5f0df37a-6c5f-11e4-9393-2003f6af6ea6.png) ![png](https://cloud.githubusercontent.com/assets/3393101/5055675/6f2ba8ce-6c5f-11e4-8128-4c30c8ab387b.png)
{ "+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/8821/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8821/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8822
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8822/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8822/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8822/events
https://github.com/pandas-dev/pandas/pull/8822
48,860,995
MDExOlB1bGxSZXF1ZXN0MjQ0ODI1NjM=
8,822
BUG: Error when creating sparse dataframe with nan column label
{ "avatar_url": "https://avatars.githubusercontent.com/u/833768?v=4", "events_url": "https://api.github.com/users/artemyk/events{/privacy}", "followers_url": "https://api.github.com/users/artemyk/followers", "following_url": "https://api.github.com/users/artemyk/following{/other_user}", "gists_url": "https://api.github.com/users/artemyk/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/artemyk", "id": 833768, "login": "artemyk", "node_id": "MDQ6VXNlcjgzMzc2OA==", "organizations_url": "https://api.github.com/users/artemyk/orgs", "received_events_url": "https://api.github.com/users/artemyk/received_events", "repos_url": "https://api.github.com/users/artemyk/repos", "site_admin": false, "starred_url": "https://api.github.com/users/artemyk/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/artemyk/subscriptions", "type": "User", "url": "https://api.github.com/users/artemyk" }
[ { "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": "2015-05-11T15:46:03Z", "closed_issues": 237, "created_at": "2014-10-07T14:39:07Z", "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.16.0 of course!", "due_on": "2015-05-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/29", "id": 816810, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/29/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODEw", "number": 29, "open_issues": 0, "state": "closed", "title": "0.16.1", "updated_at": "2017-04-16T08:39:48Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/29" }
19
2014-11-15T01:33:18Z
2015-04-11T18:35:21Z
2015-04-11T18:35:12Z
CONTRIBUTOR
null
Right now the following raises an exception: ``` from pandas import DataFrame, Series from numpy import nan nan_colname = DataFrame(Series(1.0,index=[0]),columns=[nan]) nan_colname_sparse = nan_colname.to_sparse() ``` This is because sparse dataframes use a dictionary to store information about columns, with the column label as the key. `nan`'s do not equal themselves and create problems as dictionary keys. This avoids the issue by uses a dataframe to store this information.
{ "+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/8822/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8822/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8822.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8822", "merged_at": "2015-04-11T18:35:12Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8822.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8822" }
https://api.github.com/repos/pandas-dev/pandas/issues/8823
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8823/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8823/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8823/events
https://github.com/pandas-dev/pandas/pull/8823
48,864,995
MDExOlB1bGxSZXF1ZXN0MjQ0ODQxMjU=
8,823
ENH: Allow get_dummies to return SparseDataFrame
{ "avatar_url": "https://avatars.githubusercontent.com/u/833768?v=4", "events_url": "https://api.github.com/users/artemyk/events{/privacy}", "followers_url": "https://api.github.com/users/artemyk/followers", "following_url": "https://api.github.com/users/artemyk/following{/other_user}", "gists_url": "https://api.github.com/users/artemyk/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/artemyk", "id": 833768, "login": "artemyk", "node_id": "MDQ6VXNlcjgzMzc2OA==", "organizations_url": "https://api.github.com/users/artemyk/orgs", "received_events_url": "https://api.github.com/users/artemyk/received_events", "repos_url": "https://api.github.com/users/artemyk/repos", "site_admin": false, "starred_url": "https://api.github.com/users/artemyk/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/artemyk/subscriptions", "type": "User", "url": "https://api.github.com/users/artemyk" }
[ { "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": "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
[]
null
5
2014-11-15T03:13:47Z
2015-04-13T13:24:45Z
2015-04-13T13:24:45Z
CONTRIBUTOR
null
For dataframes with a large number of unique values, `get_dummies` can use enormous amounts of memory. This provides a `sparse` flag to `get_dummies` which returns a much more memory-efficient structure. For example: ``` import pandas as pd df1 = pd.get_dummies(pd.DataFrame({'a':range(1000)}, dtype='category').a, sparse=False) print 'dense:', df1.memory_usage().sum() df2 = pd.get_dummies(pd.DataFrame({'a':range(1000)}, dtype='category').a, sparse=True) print 'sparse:', df2.memory_usage().sum() pd.util.testing.assert_frame_equal(df1, df2) ``` returns ``` dense: 8000000 sparse: 8000 ``` Performance could probably be improved a lot. Fails `pandas/tests/test_reshape.py:TestGetDummiesSparse.test_include_na` due to #8822 .
{ "+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/8823/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8823/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8823.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8823", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/8823.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8823" }
https://api.github.com/repos/pandas-dev/pandas/issues/8824
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8824/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8824/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8824/events
https://github.com/pandas-dev/pandas/issues/8824
48,893,286
MDU6SXNzdWU0ODg5MzI4Ng==
8,824
Yahoo options failing again in the docs
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "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" }
12
2014-11-15T09:58:09Z
2015-03-06T00:06:18Z
2015-03-06T00:06:18Z
MEMBER
null
See http://pandas-docs.github.io/pandas-docs-travis/remote_data.html#yahoo-finance-options and http://pandas-docs.github.io/pandas-docs-travis/whatsnew.html#whatsnew-0151-api @dstephens99
{ "+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/8824/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8824/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8825
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8825/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8825/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8825/events
https://github.com/pandas-dev/pandas/issues/8825
48,919,170
MDU6SXNzdWU0ODkxOTE3MA==
8,825
Pandas Series should provide to_excel method
{ "avatar_url": "https://avatars.githubusercontent.com/u/109167?v=4", "events_url": "https://api.github.com/users/scls19fr/events{/privacy}", "followers_url": "https://api.github.com/users/scls19fr/followers", "following_url": "https://api.github.com/users/scls19fr/following{/other_user}", "gists_url": "https://api.github.com/users/scls19fr/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/scls19fr", "id": 109167, "login": "scls19fr", "node_id": "MDQ6VXNlcjEwOTE2Nw==", "organizations_url": "https://api.github.com/users/scls19fr/orgs", "received_events_url": "https://api.github.com/users/scls19fr/received_events", "repos_url": "https://api.github.com/users/scls19fr/repos", "site_admin": false, "starred_url": "https://api.github.com/users/scls19fr/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/scls19fr/subscriptions", "type": "User", "url": "https://api.github.com/users/scls19fr" }
[ { "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": "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" }, { "color": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" } ]
closed
false
null
[]
{ "closed_at": "2017-05-06T10:20:19Z", "closed_issues": 987, "created_at": "2016-02-08T15:30:21Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.19.x series", "due_on": "2017-05-12T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/39", "id": 1570595, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels", "node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==", "number": 39, "open_issues": 0, "state": "closed", "title": "0.20.0", "updated_at": "2018-10-28T08:18:42Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39" }
1
2014-11-15T17:26:14Z
2016-12-05T14:39:14Z
2016-12-05T14:39:14Z
CONTRIBUTOR
null
Hello, Pandas Series provide `to_csv`method but they doesn't provide `to_excel` method. Adding `to_excel` will avoid user to convert a `pandas.core.series.Series` to a `pandas.core.frame.DataFrame` in order to output Excel file DataFrames provide ``` df.to_clipboard df.to_hdf df.to_period df.to_string df.to_csv df.to_html df.to_pickle df.to_timestamp df.to_dense df.to_json df.to_records df.to_wide df.to_dict df.to_latex df.to_sparse df.to_excel df.to_msgpack df.to_sql df.to_gbq df.to_panel df.to_stata ``` Series provide ``` ts.to_clipboard ts.to_frame ts.to_period ts.to_string ts.to_csv ts.to_hdf ts.to_pickle ts.to_timestamp ts.to_dense ts.to_json ts.to_sparse ts.tolist ts.to_dict ts.to_msgpack ts.to_sql ``` Kind regards
{ "+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/8825/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8825/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8826
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8826/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8826/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8826/events
https://github.com/pandas-dev/pandas/issues/8826
48,919,979
MDU6SXNzdWU0ODkxOTk3OQ==
8,826
ENH: Add Series.to_list, alias for tolist
{ "avatar_url": "https://avatars.githubusercontent.com/u/109167?v=4", "events_url": "https://api.github.com/users/scls19fr/events{/privacy}", "followers_url": "https://api.github.com/users/scls19fr/followers", "following_url": "https://api.github.com/users/scls19fr/following{/other_user}", "gists_url": "https://api.github.com/users/scls19fr/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/scls19fr", "id": 109167, "login": "scls19fr", "node_id": "MDQ6VXNlcjEwOTE2Nw==", "organizations_url": "https://api.github.com/users/scls19fr/orgs", "received_events_url": "https://api.github.com/users/scls19fr/received_events", "repos_url": "https://api.github.com/users/scls19fr/repos", "site_admin": false, "starred_url": "https://api.github.com/users/scls19fr/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/scls19fr/subscriptions", "type": "User", "url": "https://api.github.com/users/scls19fr" }
[ { "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": "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": "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": "2019-01-26T00:51:26Z", "closed_issues": 2048, "created_at": "2018-03-29T12:00:12Z", "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": "", "due_on": "2019-01-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/55", "id": 3228419, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/55/labels", "node_id": "MDk6TWlsZXN0b25lMzIyODQxOQ==", "number": 55, "open_issues": 0, "state": "closed", "title": "0.24.0", "updated_at": "2019-01-29T07:42:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/55" }
2
2014-11-15T17:33:31Z
2018-12-13T01:47:43Z
2018-12-13T01:47:43Z
CONTRIBUTOR
null
Hello, IPython autocomplete (tab) shows ``` In [1]: ts.to ts.to_clipboard ts.to_frame ts.to_period ts.to_string ts.to_csv ts.to_hdf ts.to_pickle ts.to_timestamp ts.to_dense ts.to_json ts.to_sparse ts.tolist ts.to_dict ts.to_msgpack ts.to_sql ``` maybe `tolist` should be named `to_list` and `tolist` should be marked as deprecated because it seems that other methods follow an implicit naming convention (`to_...`) . Kind regards
{ "+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/8826/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8826/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8827
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8827/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8827/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8827/events
https://github.com/pandas-dev/pandas/pull/8827
48,935,614
MDExOlB1bGxSZXF1ZXN0MjQ0OTUxNjk=
8,827
BUG: sql_schema does not generate dialect-specific DDL
{ "avatar_url": "https://avatars.githubusercontent.com/u/833768?v=4", "events_url": "https://api.github.com/users/artemyk/events{/privacy}", "followers_url": "https://api.github.com/users/artemyk/followers", "following_url": "https://api.github.com/users/artemyk/following{/other_user}", "gists_url": "https://api.github.com/users/artemyk/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/artemyk", "id": 833768, "login": "artemyk", "node_id": "MDQ6VXNlcjgzMzc2OA==", "organizations_url": "https://api.github.com/users/artemyk/orgs", "received_events_url": "https://api.github.com/users/artemyk/received_events", "repos_url": "https://api.github.com/users/artemyk/repos", "site_admin": false, "starred_url": "https://api.github.com/users/artemyk/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/artemyk/subscriptions", "type": "User", "url": "https://api.github.com/users/artemyk" }
[ { "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-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
3
2014-11-15T22:51:12Z
2014-12-05T09:07:50Z
2014-11-17T08:31:13Z
CONTRIBUTOR
null
Closes #8697 . sqlalchemy `CreateTable` needs to be called slightly differently to create dialect-specific SQL. See http://stackoverflow.com/questions/2128717/sqlalchemy-printing-raw-sql-from-create .
{ "+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/8827/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8827/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8827.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8827", "merged_at": "2014-11-17T08:31:12Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8827.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8827" }
https://api.github.com/repos/pandas-dev/pandas/issues/8828
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8828/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8828/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8828/events
https://github.com/pandas-dev/pandas/pull/8828
48,946,608
MDExOlB1bGxSZXF1ZXN0MjQ0OTgxNTY=
8,828
BUG: query modifies the frame when you compare with `=`
{ "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": "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" }
15
2014-11-16T05:01:57Z
2015-12-09T15:18:25Z
2015-12-09T15:18:25Z
CONTRIBUTOR
null
Fix for #8664. The simplest way to fix this involved adding an `assignment_allowed=True` arg to the internal `eval()` function. All existing behaviour should be preserved. If adding the arg isn't okay I'm not quite sure how else to do it, as it's only once we reach the internal eval function that the expression is actually parsed and we know that it includes the assignment. It also seems like a pretty bad side effect if query can silently overwrite values (obviously only if you accidentally include an assignment), so hopefully that's a good argument in favour of having the `assignment_allowed` arg.
{ "+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/8828/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8828/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8828.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8828", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/8828.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8828" }
https://api.github.com/repos/pandas-dev/pandas/issues/8829
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8829/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8829/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8829/events
https://github.com/pandas-dev/pandas/issues/8829
48,960,795
MDU6SXNzdWU0ODk2MDc5NQ==
8,829
Pandas Series should provide to_html method
{ "avatar_url": "https://avatars.githubusercontent.com/u/109167?v=4", "events_url": "https://api.github.com/users/scls19fr/events{/privacy}", "followers_url": "https://api.github.com/users/scls19fr/followers", "following_url": "https://api.github.com/users/scls19fr/following{/other_user}", "gists_url": "https://api.github.com/users/scls19fr/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/scls19fr", "id": 109167, "login": "scls19fr", "node_id": "MDQ6VXNlcjEwOTE2Nw==", "organizations_url": "https://api.github.com/users/scls19fr/orgs", "received_events_url": "https://api.github.com/users/scls19fr/received_events", "repos_url": "https://api.github.com/users/scls19fr/repos", "site_admin": false, "starred_url": "https://api.github.com/users/scls19fr/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/scls19fr/subscriptions", "type": "User", "url": "https://api.github.com/users/scls19fr" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "006b75", "default": false, "description": "read_html, to_html, Styler.apply, Styler.applymap", "id": 57395487, "name": "IO HTML", "node_id": "MDU6TGFiZWw1NzM5NTQ4Nw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HTML" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
13
2014-11-16T08:27:31Z
2021-04-11T05:34:01Z
null
CONTRIBUTOR
null
Hello, Pandas Series provide `to_json` method but they doesn't provide `to_html` method. Adding `to_html` will avoid user to convert a `pandas.core.series.Series` to a `pandas.core.frame.DataFrame` in order to output HTML file using `s.to_frame().to_html(...)` but directly use `s.to_html(...)` see also https://github.com/pydata/pandas/issues/8825 Kind regards
{ "+1": 10, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 10, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8829/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8829/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8830
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8830/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8830/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8830/events
https://github.com/pandas-dev/pandas/pull/8830
48,986,353
MDExOlB1bGxSZXF1ZXN0MjQ1MDE5NzA=
8,830
BLD: fix odd usage of cython imports, xref (GH8602)
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "75507B", "default": false, "description": "Library building on various platforms", "id": 129350, "name": "Build", "node_id": "MDU6TGFiZWwxMjkzNTA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build" } ]
closed
false
null
[]
{ "closed_at": "2014-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
1
2014-11-16T13:40:44Z
2014-11-17T00:34:05Z
2014-11-17T00:34:05Z
CONTRIBUTOR
null
closes #8602 easy enough, that import should not have been there. we don't import from other pyx files unless its explicity exported (which is in very few cases).
{ "+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/8830/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8830/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8830.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8830", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/8830.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8830" }
https://api.github.com/repos/pandas-dev/pandas/issues/8831
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8831/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8831/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8831/events
https://github.com/pandas-dev/pandas/issues/8831
48,989,992
MDU6SXNzdWU0ODk4OTk5Mg==
8,831
Pandas(0.15.1) cannot generate an executable file(.exe) by cx_Freeze,why?
{ "avatar_url": "https://avatars.githubusercontent.com/u/7219739?v=4", "events_url": "https://api.github.com/users/vortexroc/events{/privacy}", "followers_url": "https://api.github.com/users/vortexroc/followers", "following_url": "https://api.github.com/users/vortexroc/following{/other_user}", "gists_url": "https://api.github.com/users/vortexroc/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/vortexroc", "id": 7219739, "login": "vortexroc", "node_id": "MDQ6VXNlcjcyMTk3Mzk=", "organizations_url": "https://api.github.com/users/vortexroc/orgs", "received_events_url": "https://api.github.com/users/vortexroc/received_events", "repos_url": "https://api.github.com/users/vortexroc/repos", "site_admin": false, "starred_url": "https://api.github.com/users/vortexroc/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/vortexroc/subscriptions", "type": "User", "url": "https://api.github.com/users/vortexroc" }
[ { "color": "75507B", "default": false, "description": "Library building on various platforms", "id": 129350, "name": "Build", "node_id": "MDU6TGFiZWwxMjkzNTA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build" }, { "color": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" } ]
closed
false
null
[]
null
1
2014-11-16T14:26:57Z
2014-11-16T14:29:50Z
2014-11-16T14:29:36Z
NONE
null
I put the pandas upgrade from 0.13 to 0.15,when I use cx_freeze to generate the executable file,I get the error “AttributeError: 'module' object has no attribute '**pyx_capi**‘ ”,but no such error in version 0.13,why?The following are the contents of the file: import os,pandas as pd print('hello world!!!') os.system('pause')
{ "+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/8831/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8831/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8832
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8832/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8832/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8832/events
https://github.com/pandas-dev/pandas/pull/8832
48,990,143
MDExOlB1bGxSZXF1ZXN0MjQ1MDI0Njc=
8,832
Fix unrecognized 'Z' UTC designator
{ "avatar_url": "https://avatars.githubusercontent.com/u/7666987?v=4", "events_url": "https://api.github.com/users/broessli/events{/privacy}", "followers_url": "https://api.github.com/users/broessli/followers", "following_url": "https://api.github.com/users/broessli/following{/other_user}", "gists_url": "https://api.github.com/users/broessli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/broessli", "id": 7666987, "login": "broessli", "node_id": "MDQ6VXNlcjc2NjY5ODc=", "organizations_url": "https://api.github.com/users/broessli/orgs", "received_events_url": "https://api.github.com/users/broessli/received_events", "repos_url": "https://api.github.com/users/broessli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/broessli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/broessli/subscriptions", "type": "User", "url": "https://api.github.com/users/broessli" }
[ { "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": "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-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
6
2014-11-16T14:29:01Z
2014-11-27T17:48:15Z
2014-11-27T17:48:12Z
NONE
null
closes #8771
{ "+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/8832/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8832/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8832.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8832", "merged_at": "2014-11-27T17:48:12Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8832.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8832" }
https://api.github.com/repos/pandas-dev/pandas/issues/8833
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8833/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8833/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8833/events
https://github.com/pandas-dev/pandas/issues/8833
48,990,493
MDU6SXNzdWU0ODk5MDQ5Mw==
8,833
BUG: unhelpful parser exception when passing names and dtype
{ "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": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2014-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
1
2014-11-16T14:34:48Z
2014-11-17T12:54:59Z
2014-11-17T12:54:59Z
CONTRIBUTOR
null
``` In [1]: data = """1.0 1 ...: 2.0 2 ...: 3.0 3""" In [2]: read_csv(StringIO(data),sep='\s+') Out[2]: 1.0 1 0 2 2 1 3 3 In [3]: read_csv(StringIO(data),sep='\s+',header=None) Out[3]: 0 1 0 1 1 1 2 2 2 3 3 In [4]: read_csv(StringIO(data),sep='\s+',header=None,names=['a','b']) Out[4]: a b 0 1 1 1 2 2 2 3 3 In [6]: read_csv(StringIO(data),sep='\s+',header=None,names=['a','b'],dtype={'a' : int}) 'NoneType' object has no attribute 'dtype' ```
{ "+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/8833/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8833/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8834
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8834/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8834/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8834/events
https://github.com/pandas-dev/pandas/pull/8834
49,012,107
MDExOlB1bGxSZXF1ZXN0MjQ1MDU3NTg=
8,834
BUG: Bug in csv parsing when passing dtype and names and the parsed data is a different data type (GH8833)
{ "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": "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-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
4
2014-11-16T19:23:30Z
2014-11-17T12:54:59Z
2014-11-17T12:54:59Z
CONTRIBUTOR
null
closes #8833 ``` In [5]: data = """1.0,a ...: nan,b ...: 3.0,c ...: """ In [8]: read_csv(StringIO(data),sep=',',names=['A','B']) Out[8]: A B 0 1 a 1 NaN b 2 3 c In [9]: read_csv(StringIO(data),sep=',',names=['A','B'],dtype={'A' : int}) ValueError: cannot safely convert passed user dtype of <i8 for float64 dtyped data in column 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/8834/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8834/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8834.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8834", "merged_at": "2014-11-17T12:54:59Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8834.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8834" }
https://api.github.com/repos/pandas-dev/pandas/issues/8835
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8835/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8835/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8835/events
https://github.com/pandas-dev/pandas/pull/8835
49,016,641
MDExOlB1bGxSZXF1ZXN0MjQ1MDc0MjQ=
8,835
DOC GH3508 (bis) added basic documentation of google analytics in remot...
{ "avatar_url": "https://avatars.githubusercontent.com/u/104787?v=4", "events_url": "https://api.github.com/users/benoitpointet/events{/privacy}", "followers_url": "https://api.github.com/users/benoitpointet/followers", "following_url": "https://api.github.com/users/benoitpointet/following{/other_user}", "gists_url": "https://api.github.com/users/benoitpointet/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/benoitpointet", "id": 104787, "login": "benoitpointet", "node_id": "MDQ6VXNlcjEwNDc4Nw==", "organizations_url": "https://api.github.com/users/benoitpointet/orgs", "received_events_url": "https://api.github.com/users/benoitpointet/received_events", "repos_url": "https://api.github.com/users/benoitpointet/repos", "site_admin": false, "starred_url": "https://api.github.com/users/benoitpointet/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/benoitpointet/subscriptions", "type": "User", "url": "https://api.github.com/users/benoitpointet" }
[ { "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": "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-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
10
2014-11-16T21:31:19Z
2014-11-18T20:12:59Z
2014-11-17T11:05:18Z
CONTRIBUTOR
null
added the GA doc to the correct file: "remote_data.rst" closes #3508
{ "+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/8835/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8835/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8835.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8835", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/8835.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8835" }
https://api.github.com/repos/pandas-dev/pandas/issues/8836
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8836/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8836/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8836/events
https://github.com/pandas-dev/pandas/pull/8836
49,034,128
MDExOlB1bGxSZXF1ZXN0MjQ1MTQwMTg=
8,836
FIX: Correct Categorical behavior in StataReader
{ "avatar_url": "https://avatars.githubusercontent.com/u/5585221?v=4", "events_url": "https://api.github.com/users/bashtage/events{/privacy}", "followers_url": "https://api.github.com/users/bashtage/followers", "following_url": "https://api.github.com/users/bashtage/following{/other_user}", "gists_url": "https://api.github.com/users/bashtage/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bashtage", "id": 5585221, "login": "bashtage", "node_id": "MDQ6VXNlcjU1ODUyMjE=", "organizations_url": "https://api.github.com/users/bashtage/orgs", "received_events_url": "https://api.github.com/users/bashtage/received_events", "repos_url": "https://api.github.com/users/bashtage/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bashtage/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bashtage/subscriptions", "type": "User", "url": "https://api.github.com/users/bashtage" }
[ { "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" }, { "color": "5319e7", "default": false, "description": "read_stata, to_stata", "id": 104865385, "name": "IO Stata", "node_id": "MDU6TGFiZWwxMDQ4NjUzODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Stata" } ]
closed
false
null
[]
{ "closed_at": "2014-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
17
2014-11-17T04:09:58Z
2014-11-19T17:15:00Z
2014-11-19T11:20:03Z
CONTRIBUTOR
null
Ensure that category codes have the same order as the underlying Stata data. xref #8816
{ "+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/8836/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8836/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8836.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8836", "merged_at": "2014-11-19T11:20:03Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8836.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8836" }
https://api.github.com/repos/pandas-dev/pandas/issues/8837
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8837/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8837/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8837/events
https://github.com/pandas-dev/pandas/pull/8837
49,034,568
MDExOlB1bGxSZXF1ZXN0MjQ1MTQxMDk=
8,837
ENH: Timestamp: Support addl datetime classmethods
{ "avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4", "events_url": "https://api.github.com/users/jtratner/events{/privacy}", "followers_url": "https://api.github.com/users/jtratner/followers", "following_url": "https://api.github.com/users/jtratner/following{/other_user}", "gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jtratner", "id": 1598379, "login": "jtratner", "node_id": "MDQ6VXNlcjE1OTgzNzk=", "organizations_url": "https://api.github.com/users/jtratner/orgs", "received_events_url": "https://api.github.com/users/jtratner/received_events", "repos_url": "https://api.github.com/users/jtratner/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jtratner/subscriptions", "type": "User", "url": "https://api.github.com/users/jtratner" }
[ { "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-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
2
2014-11-17T04:13:57Z
2014-11-17T10:56:49Z
2014-11-17T10:56:44Z
CONTRIBUTOR
null
- `utcfromtimestamp`,`timestamp`, and `combine` now supported Closes #5351.
{ "+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/8837/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8837/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8837.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8837", "merged_at": "2014-11-17T10:56:44Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8837.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8837" }
https://api.github.com/repos/pandas-dev/pandas/issues/8838
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8838/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8838/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8838/events
https://github.com/pandas-dev/pandas/issues/8838
49,069,456
MDU6SXNzdWU0OTA2OTQ1Ng==
8,838
Cannot add column to copy of DataFrame
{ "avatar_url": "https://avatars.githubusercontent.com/u/1845771?v=4", "events_url": "https://api.github.com/users/edrevo/events{/privacy}", "followers_url": "https://api.github.com/users/edrevo/followers", "following_url": "https://api.github.com/users/edrevo/following{/other_user}", "gists_url": "https://api.github.com/users/edrevo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/edrevo", "id": 1845771, "login": "edrevo", "node_id": "MDQ6VXNlcjE4NDU3NzE=", "organizations_url": "https://api.github.com/users/edrevo/orgs", "received_events_url": "https://api.github.com/users/edrevo/received_events", "repos_url": "https://api.github.com/users/edrevo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/edrevo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/edrevo/subscriptions", "type": "User", "url": "https://api.github.com/users/edrevo" }
[]
closed
false
null
[]
null
1
2014-11-17T10:09:04Z
2014-11-17T10:16:10Z
2014-11-17T10:16:01Z
NONE
null
This problem does not happen with all DataFrames, but only with the one I'm using. The original DataFrame looks something like this: ``` python >>> df.head() ``` | | date | text1 | number1 | text2 | text3 | text4 | | --- | --- | --- | --- | --- | --- | --- | | 0 | 2014-10-02 | foo | NaN | NaN | NaN | NaN | | 1 | 2014-10-02 | foo2 | NaN | NaN | Lannister | NaN | | 2 | 2014-10-02 | foo3 | NaN | NaN | NaN | Stark | | 3 | 2014-10-02 | foo4 | 1992 | Y | NaN | Baratheon | | 4 | 2014-10-02 | foo4 | NaN | NaN | NaN | NaN | After running the following code: ``` python date_centric = df.copy() date_centric['week'] = date_centric['date'].apply(lambda x: x.isocalendar()[1]) date_centric = df.set_index('date').sort() date_centric.head() ``` This is the result: | | text1 | number1 | text2 | text3 | text4 | | --- | --- | --- | --- | --- | --- | | date | | | | | | | 2014-10-02 | foo | NaN | NaN | NaN | NaN | | 2014-10-02 | foo2 | NaN | NaN | Lannister | NaN | | 2014-10-02 | foo3 | NaN | NaN | NaN | Stark | | 2014-10-02 | foo4 | 1992 | Y | NaN | Baratheon | | 2014-10-02 | foo4 | NaN | NaN | NaN | NaN | Please note that the `week` column that was added does not appear in the `date_centric` DataFrame. If the `date_centric = df.copy()` statement is removed, then both `df` and `date_centric` will contain the `week` column. Finally, some information that might help pinpoint the issue: ``` python >>> df.info() <class 'pandas.core.frame.DataFrame'> Int64Index: 26207 entries, 0 to 26206 Data columns (total 6 columns): date 26207 non-null datetime64[ns] imsi 26207 non-null object birth_date 16142 non-null float64 gender 16511 non-null object postal_sector_business 1863 non-null object postal_sector_consumer 16558 non-null object dtypes: datetime64[ns](1), float64(1), object(4) memory usage: 1.4+ MB >>> pd.show_versions INSTALLED VERSIONS ------------------ commit: None python: 2.7.8.final.0 python-bits: 64 OS: Windows OS-release: 8 machine: AMD64 processor: Intel64 Family 6 Model 42 Stepping 7, GenuineIntel byteorder: little LC_ALL: None LANG: None pandas: 0.15.1 nose: 1.3.4 Cython: 0.21 numpy: 1.9.0 scipy: 0.14.0 statsmodels: 0.5.0 IPython: 2.2.0 sphinx: 1.2.3 patsy: 0.3.0 dateutil: 2.2 pytz: 2014.9 bottleneck: None tables: 3.1.1 numexpr: 2.3.1 matplotlib: 1.4.0 openpyxl: 1.8.5 xlrd: 0.9.3 xlwt: 0.7.5 xlsxwriter: 0.5.7 lxml: 3.4.0 bs4: 4.3.2 html5lib: None httplib2: None apiclient: None rpy2: None sqlalchemy: 0.9.7 pymysql: None psycopg2: None ``` I have also been able to repro this with pandas 0.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/8838/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8838/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8839
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8839/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8839/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8839/events
https://github.com/pandas-dev/pandas/issues/8839
49,100,718
MDU6SXNzdWU0OTEwMDcxOA==
8,839
ENH: add axis parameter to between_time, at_time
{ "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": "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": "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": "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": "2019-01-26T00:51:26Z", "closed_issues": 2048, "created_at": "2018-03-29T12:00:12Z", "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": "", "due_on": "2019-01-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/55", "id": 3228419, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/55/labels", "node_id": "MDk6TWlsZXN0b25lMzIyODQxOQ==", "number": 55, "open_issues": 0, "state": "closed", "title": "0.24.0", "updated_at": "2019-01-29T07:42:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/55" }
2
2014-11-17T15:09:52Z
2018-11-19T01:21:33Z
2018-11-19T01:21:33Z
CONTRIBUTOR
null
from [SO](http://stackoverflow.com/questions/26973393/between-time-not-working-on-a-pandas-panel/26974754#26974754) xref #2141
{ "+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/8839/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8839/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8840
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8840/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8840/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8840/events
https://github.com/pandas-dev/pandas/pull/8840
49,101,471
MDExOlB1bGxSZXF1ZXN0MjQ1NDE3NzU=
8,840
TST: add tests for index.groupby (GH5620)
{ "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
[]
{ "closed_at": "2014-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
1
2014-11-17T15:15:44Z
2014-11-18T10:15:19Z
2014-11-18T10:15:13Z
MEMBER
null
Closes #5620 Also added a docstring.
{ "+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/8840/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8840/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8840.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8840", "merged_at": "2014-11-18T10:15:13Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8840.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8840" }
https://api.github.com/repos/pandas-dev/pandas/issues/8841
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8841/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8841/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8841/events
https://github.com/pandas-dev/pandas/pull/8841
49,113,833
MDExOlB1bGxSZXF1ZXN0MjQ1NDgyODk=
8,841
ENH: Allow unicode separators in to_csv & read_csv
{ "avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4", "events_url": "https://api.github.com/users/jtratner/events{/privacy}", "followers_url": "https://api.github.com/users/jtratner/followers", "following_url": "https://api.github.com/users/jtratner/following{/other_user}", "gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jtratner", "id": 1598379, "login": "jtratner", "node_id": "MDQ6VXNlcjE1OTgzNzk=", "organizations_url": "https://api.github.com/users/jtratner/orgs", "received_events_url": "https://api.github.com/users/jtratner/received_events", "repos_url": "https://api.github.com/users/jtratner/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jtratner/subscriptions", "type": "User", "url": "https://api.github.com/users/jtratner" }
[ { "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": "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": 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" }
14
2014-11-17T16:40:39Z
2015-05-09T16:07:09Z
2015-05-09T16:07:09Z
CONTRIBUTOR
null
- single byte UTF8 separators will always work if utf8 encoding is specified (i.e. seps in range(256)) - single byte delimiters with encodings will always work in Python 3, but will not work in Python 2 if they are multibyte when coerced to UTF8 - multi byte delimiters with encodings will not work on reads with C engine and will not work with writes in Python 2. (but I believe they'll work in Python 3 if they're considered to be length 1). Closes #6035. This was slightly complicated validation-wise, but I think it's in a good place with tests and such. I'll squash together the commits and make sure I've covered the relevant cases in tests. I also noticed some weirdness with passing `delimiter` as a keyword argument that might need to be addressed in the future. CC @maxgrenderjones, @Midnighter if you want to take a look.
{ "+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/8841/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8841/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8841.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8841", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/8841.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8841" }
https://api.github.com/repos/pandas-dev/pandas/issues/8842
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8842/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8842/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8842/events
https://github.com/pandas-dev/pandas/issues/8842
49,118,275
MDU6SXNzdWU0OTExODI3NQ==
8,842
ME breakpoints in fama french factors library
{ "avatar_url": "https://avatars.githubusercontent.com/u/1874691?v=4", "events_url": "https://api.github.com/users/MichaelWS/events{/privacy}", "followers_url": "https://api.github.com/users/MichaelWS/followers", "following_url": "https://api.github.com/users/MichaelWS/following{/other_user}", "gists_url": "https://api.github.com/users/MichaelWS/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MichaelWS", "id": 1874691, "login": "MichaelWS", "node_id": "MDQ6VXNlcjE4NzQ2OTE=", "organizations_url": "https://api.github.com/users/MichaelWS/orgs", "received_events_url": "https://api.github.com/users/MichaelWS/received_events", "repos_url": "https://api.github.com/users/MichaelWS/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MichaelWS/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MichaelWS/subscriptions", "type": "User", "url": "https://api.github.com/users/MichaelWS" }
[]
closed
false
null
[]
null
19
2014-11-17T17:14:19Z
2015-02-09T17:34:06Z
2015-02-09T17:34:06Z
CONTRIBUTOR
null
ME_breakpoints.zip is not read because it is a different format. In this zip, there is only one file "ME_Breakpoints.txt". How should this be handed?
{ "+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/8842/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8842/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8843
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8843/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8843/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8843/events
https://github.com/pandas-dev/pandas/pull/8843
49,143,342
MDExOlB1bGxSZXF1ZXN0MjQ1NjU2NDA=
8,843
BUG: Implement step in slice StringMethod
{ "avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4", "events_url": "https://api.github.com/users/jtratner/events{/privacy}", "followers_url": "https://api.github.com/users/jtratner/followers", "following_url": "https://api.github.com/users/jtratner/following{/other_user}", "gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jtratner", "id": 1598379, "login": "jtratner", "node_id": "MDQ6VXNlcjE1OTgzNzk=", "organizations_url": "https://api.github.com/users/jtratner/orgs", "received_events_url": "https://api.github.com/users/jtratner/received_events", "repos_url": "https://api.github.com/users/jtratner/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jtratner/subscriptions", "type": "User", "url": "https://api.github.com/users/jtratner" }
[]
closed
false
null
[]
null
1
2014-11-17T20:48:47Z
2014-11-18T10:14:55Z
2014-11-18T10:14:22Z
CONTRIBUTOR
null
Resolves #8754. Turned out to be dead simple too :)
{ "+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/8843/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8843/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8843.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8843", "merged_at": "2014-11-18T10:14:22Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8843.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8843" }
https://api.github.com/repos/pandas-dev/pandas/issues/8844
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8844/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8844/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8844/events
https://github.com/pandas-dev/pandas/issues/8844
49,155,022
MDU6SXNzdWU0OTE1NTAyMg==
8,844
BUG: .stack(dropna=False) looks through views incorrectly for dataframe views with multi-index columns
{ "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": "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-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
12
2014-11-17T22:34:21Z
2014-12-02T11:14:42Z
2014-12-02T11:14:42Z
CONTRIBUTOR
null
xref #8850 In the example below, `[11]` is incorrectly reflecting columns in `dfa` that should not be visible to `dfa1`. Note that this is not a problem when the columns are not a multi-index (`[5]` and `[6]`), or when `dropna=True` (the default; `[10]` and `[12]`). ``` Python 3.4.2 (v3.4.2:ab2c023a9432, Oct 6 2014, 22:16:31) [MSC v.1600 64 bit (AMD64)] Type "copyright", "credits" or "license" for more information. IPython 2.3.1 -- An enhanced Interactive Python. ? -> Introduction and overview of IPython's features. %quickref -> Quick reference. help -> Python's own help system. object? -> Details about 'object', use 'object??' for extra details. In [1]: import pandas as pd In [2]: import numpy as np In [3]: df = pd.DataFrame(np.zeros((2,5)), columns=list('ABCDE')) In [4]: df1 = df[df.columns[:2]] In [5]: df1.stack() Out[5]: 0 A 0 B 0 1 A 0 B 0 dtype: float64 In [6]: df1.stack(dropna=False) Out[6]: 0 A 0 B 0 1 A 0 B 0 dtype: float64 In [7]: dfa = pd.DataFrame(np.zeros((2,5)), columns=pd.MultiIndex.from_tuples([(1,'A'), (1,'B'), (1,'C'), (1,'D'), (1,'E')], names=['num', 'let'])) In [8]: dfa1 = dfa[dfa.columns[:2]] In [10]: dfa1.stack() Out[10]: num 1 let 0 A 0 B 0 1 A 0 B 0 In [11]: dfa1.stack(dropna=False) Out[11]: num 1 let 0 A 0 B 0 C NaN D NaN E NaN 1 A 0 B 0 C NaN D NaN E NaN In [12]: dfa1.stack(dropna=True) Out[12]: num 1 let 0 A 0 B 0 1 A 0 B 0 In [13]: pd.show_versions() INSTALLED VERSIONS ------------------ commit: None python: 3.4.2.final.0 python-bits: 64 OS: Windows OS-release: 8 machine: AMD64 processor: Intel64 Family 6 Model 62 Stepping 4, GenuineIntel byteorder: little LC_ALL: None LANG: None pandas: 0.15.1 nose: 1.3.4 Cython: 0.21.1 numpy: 1.9.1 scipy: 0.14.0 statsmodels: 0.6.0 IPython: 2.3.1 sphinx: None patsy: 0.3.0 dateutil: 2.2 pytz: 2014.9 bottleneck: 0.8.0 tables: 3.1.1 numexpr: 2.4 matplotlib: 1.4.2 openpyxl: None xlrd: None xlwt: None xlsxwriter: 0.6.3 lxml: None bs4: None html5lib: None httplib2: None apiclient: None rpy2: None sqlalchemy: 0.9.8 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/8844/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8844/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8845
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8845/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8845/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8845/events
https://github.com/pandas-dev/pandas/issues/8845
49,180,263
MDU6SXNzdWU0OTE4MDI2Mw==
8,845
API: Index.get_nearest method
{ "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": "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": "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" }
9
2014-11-18T04:41:29Z
2015-02-23T18:30:41Z
2015-02-23T18:30:41Z
MEMBER
null
xref #3004 xref #841 xref #7873 xref #7223 xref #8815 Building on @immerrr's excellent refactor in #8753, I would like to propose adding a `get_nearest` method to pandas.Index that does nearest neighbor lookups. The idea is that nearest neighbor lookups are usually the desirable/sane thing to do when using inexact indexes. Eventually, we might want to add an alternative "wrapper index" (like IntervalIndex), e.g., `NearestNeighborIndex` which switches the default behavior; this would be an intermediate step in that direction. The implementation would be a simple wrapper that calls `Index.get_slice_bound` twice, once to the left and once to the right. Ideally, this would this would even work for array-like arguments, though perhaps there should be separate `get_nearest_loc` and `get_nearest_indexer` methods.
{ "+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/8845/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8845/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8846
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8846/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8846/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8846/events
https://github.com/pandas-dev/pandas/issues/8846
49,196,328
MDU6SXNzdWU0OTE5NjMyOA==
8,846
splitting pandas dataframe - np.array_split error
{ "avatar_url": "https://avatars.githubusercontent.com/u/3358417?v=4", "events_url": "https://api.github.com/users/yemu/events{/privacy}", "followers_url": "https://api.github.com/users/yemu/followers", "following_url": "https://api.github.com/users/yemu/following{/other_user}", "gists_url": "https://api.github.com/users/yemu/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/yemu", "id": 3358417, "login": "yemu", "node_id": "MDQ6VXNlcjMzNTg0MTc=", "organizations_url": "https://api.github.com/users/yemu/orgs", "received_events_url": "https://api.github.com/users/yemu/received_events", "repos_url": "https://api.github.com/users/yemu/repos", "site_admin": false, "starred_url": "https://api.github.com/users/yemu/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/yemu/subscriptions", "type": "User", "url": "https://api.github.com/users/yemu" }
[ { "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-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
2
2014-11-18T08:56:24Z
2014-11-18T11:56:11Z
2014-11-18T11:56:11Z
NONE
null
I just noticed that after upgrading to numpy 1.9.0, when I'm trying to split dataframe with pandas 0.15.1 with the code: ``` split_dfs = np.array_split(big_df,8) ``` I get the error: ``` Traceback (most recent call last): File "./test.py", line 127, in <module> split_dfs = np.array_split(big_df,8) File "/usr/lib/python2.7/site-packages/numpy/lib/shape_base.py", line 426, in array_split if sub_arys[-1].size == 0 and sub_arys[-1].ndim != 1: File "/usr/lib/python2.7/site-packages/pandas-0.15.1-py2.7-linux-x86_64.egg/pandas /core/generic.py", line 1936, in __getattr__ (type(self).__name__, name)) AttributeError: 'DataFrame' object has no attribute 'size' ``` with pandas 0.15.1 and numpy 1.8.1 it works fine. I'm using pandas 0.15.1 on arch linux and python2.7
{ "+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/8846/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8846/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8847
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8847/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8847/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8847/events
https://github.com/pandas-dev/pandas/pull/8847
49,209,012
MDExOlB1bGxSZXF1ZXN0MjQ2MDM2MzI=
8,847
BUG: Defined .size attribute across NDFrame objects to provide compat with numpy 1.9.1
{ "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": "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-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
0
2014-11-18T11:09:54Z
2014-11-18T11:56:11Z
2014-11-18T11:56:11Z
CONTRIBUTOR
null
closes #8846
{ "+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/8847/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8847/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8847.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8847", "merged_at": "2014-11-18T11:56:11Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8847.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8847" }
https://api.github.com/repos/pandas-dev/pandas/issues/8848
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8848/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8848/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8848/events
https://github.com/pandas-dev/pandas/issues/8848
49,217,783
MDU6SXNzdWU0OTIxNzc4Mw==
8,848
ENH: add missing methods to .dt for Period
{ "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": "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": "eb6420", "default": false, "description": "Period data type", "id": 60635328, "name": "Period", "node_id": "MDU6TGFiZWw2MDYzNTMyOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period" }, { "color": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" } ]
closed
false
null
[]
{ "closed_at": "2016-03-12T16:19:08Z", "closed_issues": 469, "created_at": "2015-07-19T20:18: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-03-13T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/36", "id": 1214851, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/36/labels", "node_id": "MDk6TWlsZXN0b25lMTIxNDg1MQ==", "number": 36, "open_issues": 0, "state": "closed", "title": "0.18.0", "updated_at": "2016-12-06T21:34:41Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/36" }
2
2014-11-18T12:26:04Z
2016-02-27T16:03:10Z
2016-02-27T16:02:50Z
CONTRIBUTOR
null
methods - to_timestamp - asfreq properties - start_time/end_time
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8848/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8848/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8849
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8849/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8849/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8849/events
https://github.com/pandas-dev/pandas/issues/8849
49,234,997
MDU6SXNzdWU0OTIzNDk5Nw==
8,849
reindex from a duplicate axis: inconsistent behaviour
{ "avatar_url": "https://avatars.githubusercontent.com/u/9131212?v=4", "events_url": "https://api.github.com/users/urraca/events{/privacy}", "followers_url": "https://api.github.com/users/urraca/followers", "following_url": "https://api.github.com/users/urraca/following{/other_user}", "gists_url": "https://api.github.com/users/urraca/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/urraca", "id": 9131212, "login": "urraca", "node_id": "MDQ6VXNlcjkxMzEyMTI=", "organizations_url": "https://api.github.com/users/urraca/orgs", "received_events_url": "https://api.github.com/users/urraca/received_events", "repos_url": "https://api.github.com/users/urraca/repos", "site_admin": false, "starred_url": "https://api.github.com/users/urraca/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/urraca/subscriptions", "type": "User", "url": "https://api.github.com/users/urraca" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" } ]
open
false
null
[]
null
4
2014-11-18T14:14:21Z
2021-04-11T05:35:58Z
null
NONE
null
The behaviour below occurs in version `'0.15.1'`. When a series has a duplicate index, the method `reindex` will raise an exception, unless the index passed to `reindex` is identical to the series' index. I propose that when a series has a duplicate index, the method `reindex` should always raise an exception, because when a series with a duplicate index is to be conformed to a new index, the intended behaviour is _always_ ambiguous. This issue applies to the methods `reindex_like` and `reindex_axis` too. Examples of current behaviour: (a) ``` python >>> pd.Series([1, 2, 3], index=['a', 'b', 'b']).reindex(['a', 'b']) ValueError: cannot reindex from a duplicate axis ``` (b) ``` python >>> pd.Series([1, 2, 3], index=['a', 'b', 'b']).reindex(['a', 'b', 'b']) a 1 b 2 b 3 dtype: int64 ``` The exception message in (a) implies that (b) should raise; but it doesn't.
{ "+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/8849/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8849/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8850
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8850/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8850/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8850/events
https://github.com/pandas-dev/pandas/issues/8850
49,239,816
MDU6SXNzdWU0OTIzOTgxNg==
8,850
BUG: Accessing DataFrame multi-index column *seems* to modify its content
{ "avatar_url": "https://avatars.githubusercontent.com/u/4803053?v=4", "events_url": "https://api.github.com/users/kubaczer/events{/privacy}", "followers_url": "https://api.github.com/users/kubaczer/followers", "following_url": "https://api.github.com/users/kubaczer/following{/other_user}", "gists_url": "https://api.github.com/users/kubaczer/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kubaczer", "id": 4803053, "login": "kubaczer", "node_id": "MDQ6VXNlcjQ4MDMwNTM=", "organizations_url": "https://api.github.com/users/kubaczer/orgs", "received_events_url": "https://api.github.com/users/kubaczer/received_events", "repos_url": "https://api.github.com/users/kubaczer/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kubaczer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kubaczer/subscriptions", "type": "User", "url": "https://api.github.com/users/kubaczer" }
[ { "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-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
1
2014-11-18T14:48:27Z
2014-11-20T22:55:08Z
2014-11-20T22:55:08Z
NONE
null
In the example below, `[13]` gives a different result than `[11]`, even though you would think that `[12]` has no effect on data. ``` Python 2.7.8 (default, Oct 19 2014, 16:02:00) Type "copyright", "credits" or "license" for more information. IPython 2.1.0 -- An enhanced Interactive Python. ? -> Introduction and overview of IPython's features. %quickref -> Quick reference. help -> Python's own help system. object? -> Details about 'object', use 'object??' for extra details. In [1]: import pandas as pd In [2]: import numpy as np In [3]: d = {'COLA': {0: 0, 1: 0, 2: 0}, ...: 'COLB': {0: 'a', 1: 'a', 2: 'a'}, ...: 'COLC': {0: 0, 1: 0, 2: 1}} In [4]: df = pd.DataFrame(d) In [5]: df Out[5]: COLA COLB COLC 0 0 a 0 1 0 a 0 2 0 a 1 In [6]: df = df.groupby(['COLA','COLB'])['COLC']\ ...: .agg({'Zeros': lambda x: 0, ...: 'Averages': lambda x: 100.*x.mean(), ...: 'Weird_stuff': np.size})\ ...: .unstack() In [7]: df Out[7]: Averages Weird_stuff Zeros COLB a a a COLA 0 33.333333 3 0 In [8]: df.columns Out[8]: MultiIndex(levels=[[u'Averages', u'Weird_stuff', u'Zeros'], [u'a']], labels=[[0, 1, 2], [0, 0, 0]], names=[None, u'COLB']) In [9]: df.index Out[9]: Int64Index([0], dtype='int64') In [10]: df['Weird_stuff'] = df['Weird_stuff'].apply(lambda x: 1000000., axis=1) /usr/local/lib/python2.7/site-packages/numpy/lib/function_base.py:3612: FutureWarning: in the future negative indices will not be ignored by `numpy.delete`. "`numpy.delete`.", FutureWarning) In [11]: df Out[11]: Averages Weird_stuff Zeros COLB a a a COLA 0 33.333333 1000000 0 In [12]: df['Zeros'] Out[12]: COLB a COLA 0 0 In [13]: df # Look the value below ('Weird_stuf', 'a') here and above. Out[13]: Averages Weird_stuff Zeros COLB a a a COLA 0 33.333333 3 0 In [14]: pd.show_versions() INSTALLED VERSIONS ------------------ commit: None python: 2.7.8.final.0 python-bits: 64 OS: Darwin OS-release: 14.0.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: None LANG: pl_PL.UTF-8 pandas: 0.15.1 nose: 1.3.0 Cython: 0.20.2 numpy: 1.9.1 scipy: 0.14.0 statsmodels: 0.5.0 IPython: 2.1.0 sphinx: 1.2.2 patsy: 0.2.1 dateutil: 2.2 pytz: 2014.7 bottleneck: 0.8.0 tables: 3.1.0 numexpr: 2.3.1 matplotlib: 1.3.1 openpyxl: 1.8.5 xlrd: 0.9.3 xlwt: 0.7.5 xlsxwriter: None lxml: 3.3.2 bs4: 4.3.2 html5lib: 0.999 httplib2: 0.9 apiclient: 1.2 rpy2: None sqlalchemy: 0.9.7 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/8850/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8850/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8851
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8851/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8851/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8851/events
https://github.com/pandas-dev/pandas/issues/8851
49,293,388
MDU6SXNzdWU0OTI5MzM4OA==
8,851
API/ENH: df.stack(level=[0,1], dropna=False) behavior
{ "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": "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": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
3
2014-11-18T21:08:25Z
2018-07-06T21:15:40Z
2018-07-06T21:15:39Z
CONTRIBUTOR
null
`df.stack(level=[0,1], dropna=False)` appears to be equivalent to `df.stack(level=0, dropna=False).stack(level=0, dropna=False)`. While this makes a certain amount of sense, it results in additional rows that in many cases are probably not expected/desired. In particular, `df.stack(level=[0,1], dropna=False)` is not equivalent to `df.stack(level=[0,1], dropna=True)` even when `df` contains no missing values, which seems counterintuitive. I think that when stacking multiple levels, one may want them stacked in one go, rather than sequentially -- so that when there are no missing values, `df.stack(level=[0,1], dropna=False)` would produce the same result as `df.stack(level=[0,1], dropna=True)`. Here is an example of current behavior. Since `df` has no missing values, I would want `[6]` to produce the same results as `[5]`, not `[7]`. ``` Python 3.4.2 (v3.4.2:ab2c023a9432, Oct 6 2014, 22:16:31) [MSC v.1600 64 bit (AMD64)] Type "copyright", "credits" or "license" for more information. IPython 2.3.1 -- An enhanced Interactive Python. ? -> Introduction and overview of IPython's features. %quickref -> Quick reference. help -> Python's own help system. object? -> Details about 'object', use 'object??' for extra details. In [1]: import numpy as np In [2]: import pandas as pd In [3]: df = pd.DataFrame(np.zeros((2,3)), columns=pd.MultiIndex.from_tuples([('A','x'), ('A','y'), ('B','z')], names=['Upper', 'Lower'])) In [4]: df Out[4]: Upper A B Lower x y z 0 0 0 0 1 0 0 0 In [5]: df.stack(level=[0,1], dropna=True) Out[5]: Upper Lower 0 A x 0 y 0 B z 0 1 A x 0 y 0 B z 0 dtype: float64 In [6]: df.stack(level=[0,1], dropna=False) Out[6]: Upper Lower 0 A x 0 y 0 z NaN B x NaN y NaN z 0 1 A x 0 y 0 z NaN B x NaN y NaN z 0 dtype: float64 In [7]: df.stack(level=0, dropna=False).stack(level=0, dropna=False) Out[7]: Upper Lower 0 A x 0 y 0 z NaN B x NaN y NaN z 0 1 A x 0 y 0 z NaN B x NaN y NaN z 0 dtype: float64 In [13]: pd.show_versions() INSTALLED VERSIONS ------------------ commit: None python: 3.4.2.final.0 python-bits: 64 OS: Windows OS-release: 8 machine: AMD64 processor: Intel64 Family 6 Model 62 Stepping 4, GenuineIntel byteorder: little LC_ALL: None LANG: None pandas: 0.15.1 nose: 1.3.4 Cython: 0.21.1 numpy: 1.9.1 scipy: 0.14.0 statsmodels: 0.6.0 IPython: 2.3.1 sphinx: None patsy: 0.3.0 dateutil: 2.2 pytz: 2014.9 bottleneck: 0.8.0 tables: 3.1.1 numexpr: 2.4 matplotlib: 1.4.2 openpyxl: None xlrd: None xlwt: None xlsxwriter: 0.6.3 lxml: None bs4: None html5lib: None httplib2: None apiclient: None rpy2: None sqlalchemy: 0.9.8 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/8851/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8851/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8852
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8852/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8852/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8852/events
https://github.com/pandas-dev/pandas/issues/8852
49,305,593
MDU6SXNzdWU0OTMwNTU5Mw==
8,852
BUG: plot with kind=scatter fails when checking if an array is in the 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": "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-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
16
2014-11-18T22:59:04Z
2014-12-03T22:33:53Z
2014-12-03T22:33:53Z
CONTRIBUTOR
null
``` python df = pd.DataFrame({'A': [1, 2], 'B': [3, 4]}) c = np.array([1, 0]) df.plot(kind='scatter', x='A', y='B', c=c, cmap='spring') ``` fails with a TypeError. we check `elif c in self.data.columns` which tries to hash the array. (I know I can just add the array as a column to the DataFrame)
{ "+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/8852/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8852/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8853
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8853/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8853/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8853/events
https://github.com/pandas-dev/pandas/pull/8853
49,323,281
MDExOlB1bGxSZXF1ZXN0MjQ2NjMwMzg=
8,853
BUG: type change breaks BlockManager integrity
{ "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": "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-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
3
2014-11-19T03:07:16Z
2014-11-21T01:00:59Z
2014-11-20T22:55:08Z
CONTRIBUTOR
null
closes https://github.com/pydata/pandas/issues/8850 on master: ``` >>> cols = MultiIndex.from_tuples([('1st', 'a'), ('2nd', 'b'), ('3rd', 'c')]) >>> df = DataFrame([[1.0, 2, 3], [4.0, 5, 6]], columns=cols) >>> df['2nd'] = df['2nd'] * 2.0 # type change in block manager /usr/lib/python3.4/site-packages/numpy/lib/function_base.py:3612: FutureWarning: in the future negative indices will not be ignored by `numpy.delete`. "`numpy.delete`.", FutureWarning) >>> df.values ... File "/usr/lib/python3.4/site-packages/pandas-0.15.1_72_gf504885-py3.4-linux-x86_64.egg/pandas/core/internals.py", line 2392, in _verify_integrity tot_items)) AssertionError: Number of manager items must equal union of block items # manager items: 3, # tot_items: 4 >>> df.blocks ... File "/usr/lib/python3.4/site-packages/pandas-0.15.1_72_gf504885-py3.4-linux-x86_64.egg/pandas/core/internals.py", line 2392, in _verify_integrity tot_items)) AssertionError: Number of manager items must equal union of block items # manager items: 3, # tot_items: 4 ``` `._data` is also broken: ``` >>> df._data BlockManager Items: 1st a 2nd b 3rd c Axis 1: Int64Index([0, 1], dtype='int64') FloatBlock: slice(0, 1, 1), 1 x 2, dtype: float64 IntBlock: slice(1, 3, 1), 2 x 2, dtype: int64 FloatBlock: slice(1, 2, 1), 1 x 2, dtype: float64 ``` integer block is bigger than what it should be and overlaps with one of the float blocks.
{ "+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/8853/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8853/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8853.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8853", "merged_at": "2014-11-20T22:55:08Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8853.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8853" }
https://api.github.com/repos/pandas-dev/pandas/issues/8854
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8854/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8854/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8854/events
https://github.com/pandas-dev/pandas/pull/8854
49,334,475
MDExOlB1bGxSZXF1ZXN0MjQ2Njc2Mjc=
8,854
BUG: Panel4D setitem by indexer to Series fails for mixed-dtype
{ "avatar_url": "https://avatars.githubusercontent.com/u/7545449?v=4", "events_url": "https://api.github.com/users/stahlous/events{/privacy}", "followers_url": "https://api.github.com/users/stahlous/followers", "following_url": "https://api.github.com/users/stahlous/following{/other_user}", "gists_url": "https://api.github.com/users/stahlous/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/stahlous", "id": 7545449, "login": "stahlous", "node_id": "MDQ6VXNlcjc1NDU0NDk=", "organizations_url": "https://api.github.com/users/stahlous/orgs", "received_events_url": "https://api.github.com/users/stahlous/received_events", "repos_url": "https://api.github.com/users/stahlous/repos", "site_admin": false, "starred_url": "https://api.github.com/users/stahlous/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/stahlous/subscriptions", "type": "User", "url": "https://api.github.com/users/stahlous" }
[ { "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": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
2
2014-11-19T06:02:11Z
2015-05-09T16:06:55Z
2015-05-09T16:06:55Z
CONTRIBUTOR
null
This is another tweak to `_setitem_with_indexer` that allows it better to comprehend higher dimensional frames of mixed-dtype. With this tweak setting by indexer to a Series now works. Unfortunately setting to a DataFrame is still broken. I plan to open an issue for that.
{ "+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/8854/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8854/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8854.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8854", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/8854.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8854" }
https://api.github.com/repos/pandas-dev/pandas/issues/8855
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8855/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8855/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8855/events
https://github.com/pandas-dev/pandas/pull/8855
49,340,728
MDExOlB1bGxSZXF1ZXN0MjQ2Njk2NDI=
8,855
BUG: DataFrame.stack(..., dropna=False) with partial MultiIndex.
{ "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": "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-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
7
2014-11-19T07:09:27Z
2014-12-02T20:13:13Z
2014-12-02T11:14:42Z
CONTRIBUTOR
null
Closes #8844 Fixes `DataFrame.stack(..., dropna=False)` when the columns consist of a "partial" `MultiIndex`, i.e. one in which the `labels` don't reference all the `levels`.
{ "+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/8855/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8855/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8855.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8855", "merged_at": "2014-12-02T11:14:42Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8855.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8855" }
https://api.github.com/repos/pandas-dev/pandas/issues/8856
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8856/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8856/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8856/events
https://github.com/pandas-dev/pandas/issues/8856
49,371,244
MDU6SXNzdWU0OTM3MTI0NA==
8,856
BUG: loc.__setitem__ over MultiIndex with slice key and step != 1 does strange things
{ "avatar_url": "https://avatars.githubusercontent.com/u/579798?v=4", "events_url": "https://api.github.com/users/immerrr/events{/privacy}", "followers_url": "https://api.github.com/users/immerrr/followers", "following_url": "https://api.github.com/users/immerrr/following{/other_user}", "gists_url": "https://api.github.com/users/immerrr/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/immerrr", "id": 579798, "login": "immerrr", "node_id": "MDQ6VXNlcjU3OTc5OA==", "organizations_url": "https://api.github.com/users/immerrr/orgs", "received_events_url": "https://api.github.com/users/immerrr/received_events", "repos_url": "https://api.github.com/users/immerrr/repos", "site_admin": false, "starred_url": "https://api.github.com/users/immerrr/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/immerrr/subscriptions", "type": "User", "url": "https://api.github.com/users/immerrr" }
[ { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" }, { "color": "cdea3c", "default": false, "description": "Unit test(s) needed to prevent regressions", "id": 986278782, "name": "Needs Tests", "node_id": "MDU6TGFiZWw5ODYyNzg3ODI=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
8
2014-11-19T11:25:19Z
2021-05-10T21:45:31Z
2021-05-10T21:45:31Z
CONTRIBUTOR
null
Here's how it looks like: ``` python In [11]: s = pd.Series(np.arange(10), pd.MultiIndex.from_product(([0, 1], list('abcde')))) In [12]: s Out[12]: 0 a 0 0 b 1 0 c 2 0 d 3 0 e 4 1 a 5 1 b 6 1 c 7 1 d 8 1 e 9 dtype: int64 In [13]: s.iloc[::4] = 100; s Out[13]: 0 a 100 0 b 100 0 c 100 0 d 100 0 e 100 1 a 5 1 b 6 1 c 7 1 d 8 1 e 9 dtype: int64 In [14]: s.loc[::4] = 200; s Out[14]: 0 a 200 0 b 200 0 c 200 0 d 200 0 e 200 1 a 5 1 b 6 1 c 7 1 d 8 1 e 9 dtype: int64 In [15]: s.ix[::4] = 300; s Out[15]: 0 a 300 0 b 300 0 c 300 0 d 300 0 e 300 1 a 5 1 b 6 1 c 7 1 d 8 1 e 9 dtype: int64 ``` Regular setitem works fine: ``` python In [16]: s[::4] = 10000; s Out[16]: 0 a 10000 0 b 300 0 c 300 0 d 300 0 e 10000 1 a 5 1 b 6 1 c 7 1 d 10000 1 e 9 dtype: int64 ``` I have some ideas about iloc refactoring that will fix that for iloc, but loc/ix will still be affected.
{ "+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/8856/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8856/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8857
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8857/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8857/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8857/events
https://github.com/pandas-dev/pandas/pull/8857
49,413,091
MDExOlB1bGxSZXF1ZXN0MjQ2OTg4Mzg=
8,857
Clarify encoding kwarg on to_csv
{ "avatar_url": "https://avatars.githubusercontent.com/u/413772?v=4", "events_url": "https://api.github.com/users/graingert/events{/privacy}", "followers_url": "https://api.github.com/users/graingert/followers", "following_url": "https://api.github.com/users/graingert/following{/other_user}", "gists_url": "https://api.github.com/users/graingert/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/graingert", "id": 413772, "login": "graingert", "node_id": "MDQ6VXNlcjQxMzc3Mg==", "organizations_url": "https://api.github.com/users/graingert/orgs", "received_events_url": "https://api.github.com/users/graingert/received_events", "repos_url": "https://api.github.com/users/graingert/repos", "site_admin": false, "starred_url": "https://api.github.com/users/graingert/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/graingert/subscriptions", "type": "User", "url": "https://api.github.com/users/graingert" }
[ { "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-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
1
2014-11-19T16:04:43Z
2014-11-20T11:15:00Z
2014-11-20T10:58:48Z
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/8857/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8857/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8857.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8857", "merged_at": "2014-11-20T10:58:48Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8857.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8857" }
https://api.github.com/repos/pandas-dev/pandas/issues/8858
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8858/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8858/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8858/events
https://github.com/pandas-dev/pandas/pull/8858
49,415,930
MDExOlB1bGxSZXF1ZXN0MjQ3MDAxNTI=
8,858
DOC: Clean up Stata documentation
{ "avatar_url": "https://avatars.githubusercontent.com/u/5585221?v=4", "events_url": "https://api.github.com/users/bashtage/events{/privacy}", "followers_url": "https://api.github.com/users/bashtage/followers", "following_url": "https://api.github.com/users/bashtage/following{/other_user}", "gists_url": "https://api.github.com/users/bashtage/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bashtage", "id": 5585221, "login": "bashtage", "node_id": "MDQ6VXNlcjU1ODUyMjE=", "organizations_url": "https://api.github.com/users/bashtage/orgs", "received_events_url": "https://api.github.com/users/bashtage/received_events", "repos_url": "https://api.github.com/users/bashtage/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bashtage/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bashtage/subscriptions", "type": "User", "url": "https://api.github.com/users/bashtage" }
[ { "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-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
4
2014-11-19T16:21:09Z
2015-06-04T20:46:57Z
2014-11-20T07:38:44Z
CONTRIBUTOR
null
Clean up and simplification of Stata documentation.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8858/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8858/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8858.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8858", "merged_at": "2014-11-20T07:38:44Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8858.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8858" }
https://api.github.com/repos/pandas-dev/pandas/issues/8859
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8859/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8859/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8859/events
https://github.com/pandas-dev/pandas/issues/8859
49,424,939
MDU6SXNzdWU0OTQyNDkzOQ==
8,859
reading only header row to help map data types to file headers
{ "avatar_url": "https://avatars.githubusercontent.com/u/8962926?v=4", "events_url": "https://api.github.com/users/pmart123/events{/privacy}", "followers_url": "https://api.github.com/users/pmart123/followers", "following_url": "https://api.github.com/users/pmart123/following{/other_user}", "gists_url": "https://api.github.com/users/pmart123/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/pmart123", "id": 8962926, "login": "pmart123", "node_id": "MDQ6VXNlcjg5NjI5MjY=", "organizations_url": "https://api.github.com/users/pmart123/orgs", "received_events_url": "https://api.github.com/users/pmart123/received_events", "repos_url": "https://api.github.com/users/pmart123/repos", "site_admin": false, "starred_url": "https://api.github.com/users/pmart123/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pmart123/subscriptions", "type": "User", "url": "https://api.github.com/users/pmart123" }
[ { "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_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": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
1
2014-11-19T17:22:00Z
2016-07-04T11:03:20Z
2016-07-04T11:03:14Z
NONE
null
I am interested in seeing if there is a method, or a method could be built to only read in the header column of a text or excel file. The reason I am proposing this is that I generally have to read in files from sources that use different header names for the same underlying data. Internally, I keep a list of column names, and its respective data type. This might look something like: DATA_TYPES = { 'name':str, 'ISIN':str, 'SEDOL':str, 'CUSIP':str, 'price': np.float64, 'volume': np.int64, } I then create a column mapper to map internal column names to header column names, for instance: col_map = { 'name':'ISSUER_NAME', 'CUSIP':'ISSUER_CUSIP' } in order to create a dictionary to set as the dtype arguement in read_csv to be: dtype = { 'ISSUER_NAME':str, 'ISSUER_CUSIP':str } This avoids pd.read_csv to accidently convert cusip's to integers for instance. However, sometimes, the column name(s) will be consistent between the file and the internal name, so I would want to read in the file column names, and based on the given names, remap any necessary columns, and then get each columns dtype. For example, say the file had a column name='ticker', which is the same as the internal column name='ticker', so I want my dtype dictionary to be: dtype = { 'ISSUER_NAME':str, 'ISSUER_CUSIP':str 'ticker':str } headers = pd.read_csv(...,header_only=True) headers_intern = remap_list_function(headers,col_map) dtype_intern = filter_dict_key_function(headers_intern,DATA_TYPES) dtype = remap_dict_function(col_map,dtypes_intern) df = pd.read_csv(....,dtype=dtype,header_only=False) df.rename(columns=flip_dict_function(col_map),inplace=True)
{ "+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/8859/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8859/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8860
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8860/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8860/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8860/events
https://github.com/pandas-dev/pandas/issues/8860
49,455,442
MDU6SXNzdWU0OTQ1NTQ0Mg==
8,860
Maintaining the order of the categorical variable that is passed into pd.crosstab
{ "avatar_url": "https://avatars.githubusercontent.com/u/5950690?v=4", "events_url": "https://api.github.com/users/nsriram13/events{/privacy}", "followers_url": "https://api.github.com/users/nsriram13/followers", "following_url": "https://api.github.com/users/nsriram13/following{/other_user}", "gists_url": "https://api.github.com/users/nsriram13/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nsriram13", "id": 5950690, "login": "nsriram13", "node_id": "MDQ6VXNlcjU5NTA2OTA=", "organizations_url": "https://api.github.com/users/nsriram13/orgs", "received_events_url": "https://api.github.com/users/nsriram13/received_events", "repos_url": "https://api.github.com/users/nsriram13/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nsriram13/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nsriram13/subscriptions", "type": "User", "url": "https://api.github.com/users/nsriram13" }
[ { "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": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
3
2014-11-19T21:26:03Z
2016-12-06T21:34:41Z
2016-12-06T19:10:40Z
NONE
null
xref #8731, soln might be the same Currently when we do a `crosstab`, the distinct values in each column is reported in the lexical order. But crosstabs are usually useful when we have categorical data (that may have an inherent ordering). ``` python import pandas as pd d = {'MAKE' : pd.Series(['Honda', 'Acura', 'Tesla', 'Honda', 'Honda', 'Acura']), 'MODEL' : pd.Series(['Sedan', 'Sedan', 'Electric', 'Pickup', 'Sedan', 'Sedan'])} data = pd.DataFrame(d) pd.crosstab(data['MAKE'],data['MODEL']) data['MODEL'] = data['MODEL'].astype('category') data['MODEL'] = data['MODEL'].cat.set_categories(['Sedan','Electric','Pickup']) pd.crosstab(data['MAKE'],data['MODEL']) ``` Both the cross-tab statements above result in the same output as below - essentially the code I believe is performing a lexical sort on the contents of the `Series` being passed. ``` Output: MODEL Electric Pickup Sedan MAKE Acura 0 0 2 Honda 0 1 2 Tesla 1 0 0 ``` Would it be possible for `crosstab` to maintain the ordering of the categorical variable if column.cat.ordered on the passed column is True? Thanks!
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8860/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8860/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8861
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8861/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8861/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8861/events
https://github.com/pandas-dev/pandas/issues/8861
49,462,823
MDU6SXNzdWU0OTQ2MjgyMw==
8,861
need help to clarify ewma() using adjust =TRUE
{ "avatar_url": "https://avatars.githubusercontent.com/u/8626306?v=4", "events_url": "https://api.github.com/users/aviPython/events{/privacy}", "followers_url": "https://api.github.com/users/aviPython/followers", "following_url": "https://api.github.com/users/aviPython/following{/other_user}", "gists_url": "https://api.github.com/users/aviPython/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/aviPython", "id": 8626306, "login": "aviPython", "node_id": "MDQ6VXNlcjg2MjYzMDY=", "organizations_url": "https://api.github.com/users/aviPython/orgs", "received_events_url": "https://api.github.com/users/aviPython/received_events", "repos_url": "https://api.github.com/users/aviPython/repos", "site_admin": false, "starred_url": "https://api.github.com/users/aviPython/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/aviPython/subscriptions", "type": "User", "url": "https://api.github.com/users/aviPython" }
[ { "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": "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": "eb6420", "default": false, "description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff", "id": 57296398, "name": "Algos", "node_id": "MDU6TGFiZWw1NzI5NjM5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos" } ]
closed
false
null
[]
{ "closed_at": "2015-11-21T13:47:07Z", "closed_issues": 216, "created_at": "2015-09-10T14:30:44Z", "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.17.0 of course!", "due_on": "2015-11-21T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/37", "id": 1299459, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/37/labels", "node_id": "MDk6TWlsZXN0b25lMTI5OTQ1OQ==", "number": 37, "open_issues": 0, "state": "closed", "title": "0.17.1", "updated_at": "2016-07-21T16:02:53Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/37" }
6
2014-11-19T22:31:24Z
2016-07-04T11:04:22Z
2016-07-04T11:04:15Z
NONE
null
Hi! Can someone please help me understand how `adjust = True` in the function `ewma()` works mathematically? I understand the idea of simple exponential smoothing and it's basic formula when `adjust = FALSE`, then alpha is constant, as in the equation: ![daum_equation_1416434433349](https://cloud.githubusercontent.com/assets/8626306/5115295/026b660e-7040-11e4-9c6f-8f41585a2d54.png) When `adjusted = True` then I assume that, alpha does not stay constant and it is adjusted "automatically".But what is the **mathematical representaiton** for such case? I've looked into Pandas documentation http://pandas.pydata.org/pandas-docs/stable/computation.html#exponentially-weighted-moment-functions and there it says that when it is **adjusted**, then the function uses this weights: ![daum_equation_1416434874359](https://cloud.githubusercontent.com/assets/8626306/5115494/e84f2e66-7041-11e4-80c0-dc863387c09f.png) It is still not clear to me how this adjustment is working. The only simple exponential method using an adaptive/adjusting alpha that I know of, is from Rob Hyndman's book: "Forecasting Methods and Application" .There I found a variation of the simple exponential smoothing (p.155-157), where alpha is adjusted automatically, called "adaptive-respose single exponential smoothing" (ARRSES). Unfortunately I got different results from each, so I guess this is not the one. Does anybody know how to explain this specific case mathematically? or knows a good reference? Thanks!
{ "+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/8861/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8861/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8862
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8862/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8862/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8862/events
https://github.com/pandas-dev/pandas/issues/8862
49,515,792
MDU6SXNzdWU0OTUxNTc5Mg==
8,862
Import Error: cannot import name TimeDelta
{ "avatar_url": "https://avatars.githubusercontent.com/u/7898603?v=4", "events_url": "https://api.github.com/users/balajikalluri/events{/privacy}", "followers_url": "https://api.github.com/users/balajikalluri/followers", "following_url": "https://api.github.com/users/balajikalluri/following{/other_user}", "gists_url": "https://api.github.com/users/balajikalluri/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/balajikalluri", "id": 7898603, "login": "balajikalluri", "node_id": "MDQ6VXNlcjc4OTg2MDM=", "organizations_url": "https://api.github.com/users/balajikalluri/orgs", "received_events_url": "https://api.github.com/users/balajikalluri/received_events", "repos_url": "https://api.github.com/users/balajikalluri/repos", "site_admin": false, "starred_url": "https://api.github.com/users/balajikalluri/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/balajikalluri/subscriptions", "type": "User", "url": "https://api.github.com/users/balajikalluri" }
[]
closed
false
null
[]
null
20
2014-11-20T09:11:02Z
2019-12-05T15:08:25Z
2014-11-20T13:49:46Z
NONE
null
While running "nosetests" after installing python anaconda, git repositories from command prompt, I get this error on my windows PC ![image](https://cloud.githubusercontent.com/assets/7898603/5122153/2741ef5a-70d8-11e4-97a3-cf9221834af9.png) How to resolve this?? thanks
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8862/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8862/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8863
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8863/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8863/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8863/events
https://github.com/pandas-dev/pandas/issues/8863
49,540,003
MDU6SXNzdWU0OTU0MDAwMw==
8,863
PERF: provide c-parsing of timedelta string formats
{ "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": "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": "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": 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-11-20T12:28:00Z
2015-06-18T16:15:21Z
2015-06-18T16:15:21Z
CONTRIBUTOR
null
string Timedelta parsing is done via regexes now would have a large perf boost to in-line parse.
{ "+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/8863/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8863/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8864
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8864/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8864/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8864/events
https://github.com/pandas-dev/pandas/issues/8864
49,602,809
MDU6SXNzdWU0OTYwMjgwOQ==
8,864
Undesired auto sort when adding two multiindexes
{ "avatar_url": "https://avatars.githubusercontent.com/u/8102120?v=4", "events_url": "https://api.github.com/users/Aurthes/events{/privacy}", "followers_url": "https://api.github.com/users/Aurthes/followers", "following_url": "https://api.github.com/users/Aurthes/following{/other_user}", "gists_url": "https://api.github.com/users/Aurthes/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Aurthes", "id": 8102120, "login": "Aurthes", "node_id": "MDQ6VXNlcjgxMDIxMjA=", "organizations_url": "https://api.github.com/users/Aurthes/orgs", "received_events_url": "https://api.github.com/users/Aurthes/received_events", "repos_url": "https://api.github.com/users/Aurthes/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Aurthes/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Aurthes/subscriptions", "type": "User", "url": "https://api.github.com/users/Aurthes" }
[]
closed
false
null
[]
null
6
2014-11-20T18:49:27Z
2014-11-21T15:58:31Z
2014-11-21T15:58:31Z
NONE
null
idx0 = timestamp sequence attribute 2014-11-12 17:02:23.635000-06:00 0 price count quantity idx1 = timestamp sequence attribute 2014-11-12 17:02:24.060000-06:00 1 price count quantity idx0 + idx1 = timestamp sequence attribute 2014-11-12 23:02:23.635000 0 count price quantity 2014-11-12 23:02:24.060000 1 count price quantity Any way to solve 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/8864/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8864/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8865
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8865/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8865/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8865/events
https://github.com/pandas-dev/pandas/issues/8865
49,607,297
MDU6SXNzdWU0OTYwNzI5Nw==
8,865
BUG: Timestamp - Timestamp should be pd.Timedelta, not datetime.timedelta
{ "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": "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" }, { "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-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
1
2014-11-20T19:26:54Z
2014-12-04T02:48:19Z
2014-12-04T02:48:19Z
MEMBER
null
Currently it returns a `datetime.timedelta` object: ``` >>> pd.Timestamp('2000-01-01') - pd.Timestamp('1999-01-01') datetime.timedelta(365) ``` Somewhat related: #8813
{ "+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/8865/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8865/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8866
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8866/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8866/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8866/events
https://github.com/pandas-dev/pandas/issues/8866
49,633,830
MDU6SXNzdWU0OTYzMzgzMA==
8,866
BUG: pd.Grouper specification broken for non-datetimelike when level specified
{ "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" } ]
closed
false
null
[]
{ "closed_at": "2014-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
1
2014-11-20T23:41:52Z
2014-12-05T02:34:01Z
2014-12-05T02:34:01Z
CONTRIBUTOR
null
``` In [15]: s = Series(np.arange(8),index=pd.MultiIndex.from_product([list('ab'),range(2),pd.date_range('20130101',periods=2)],names=['one','two','three'])) In [16]: s Out[16]: one two three a 0 2013-01-01 0 2013-01-02 1 1 2013-01-01 2 2013-01-02 3 b 0 2013-01-01 4 2013-01-02 5 1 2013-01-01 6 2013-01-02 7 dtype: int64 # datetimelikes work In [17]: s.groupby(pd.Grouper(level='three',freq='M')).sum() Out[17]: three 2013-01-31 28 Freq: M, dtype: int64 # just specifying a level breaks In [18]: s.groupby(pd.Grouper(level='one')).sum() ValueError: No axis named None for object type <class 'pandas.core.series.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/8866/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8866/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8867
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8867/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8867/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8867/events
https://github.com/pandas-dev/pandas/pull/8867
49,644,532
MDExOlB1bGxSZXF1ZXN0MjQ4MTUwMTQ=
8,867
BUG: missing nose import for skip test
{ "avatar_url": "https://avatars.githubusercontent.com/u/67612?v=4", "events_url": "https://api.github.com/users/matthew-brett/events{/privacy}", "followers_url": "https://api.github.com/users/matthew-brett/followers", "following_url": "https://api.github.com/users/matthew-brett/following{/other_user}", "gists_url": "https://api.github.com/users/matthew-brett/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/matthew-brett", "id": 67612, "login": "matthew-brett", "node_id": "MDQ6VXNlcjY3NjEy", "organizations_url": "https://api.github.com/users/matthew-brett/orgs", "received_events_url": "https://api.github.com/users/matthew-brett/received_events", "repos_url": "https://api.github.com/users/matthew-brett/repos", "site_admin": false, "starred_url": "https://api.github.com/users/matthew-brett/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/matthew-brett/subscriptions", "type": "User", "url": "https://api.github.com/users/matthew-brett" }
[ { "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": "2014-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
1
2014-11-21T02:24:20Z
2014-11-21T14:05:16Z
2014-11-21T14:05:11Z
CONTRIBUTOR
null
nose.SkipTest used but nose not imported.
{ "+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/8867/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8867/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8867.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8867", "merged_at": "2014-11-21T14:05:11Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8867.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8867" }
https://api.github.com/repos/pandas-dev/pandas/issues/8868
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8868/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8868/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8868/events
https://github.com/pandas-dev/pandas/issues/8868
49,675,835
MDU6SXNzdWU0OTY3NTgzNQ==
8,868
BUG: sort=False ignored when grouping with a categorical column
{ "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" }, { "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" }, { "color": "009800", "default": false, "description": "Interval data type", "id": 150096370, "name": "Interval", "node_id": "MDU6TGFiZWwxNTAwOTYzNzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Interval" } ]
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" }
1
2014-11-21T09:29:30Z
2015-02-18T11:27:50Z
2015-02-18T11:27:50Z
NONE
null
Hello everyone, I stumbled upon the following behavior of groubpy with categorical, which seems at least inconsistent with the way groupby usually operates. When grouping on a string type column with `sort=False`, the order of the groups is the order in which the keys first appear in the column. However, when grouping with a categorical column, the groups seem to be always ordered by the categorical, even when `sort=False`. ``` python import pandas as pd d = {'foo': [10, 8, 5, 6, 4, 1, 7], 'bar': [10, 20, 30, 40, 50, 60, 70], 'baz': ['d', 'c', 'e', 'a', 'a', 'd', 'c']} df = pd.DataFrame(d) cat = pd.cut(df['foo'], np.linspace(0, 10, 5)) df['range'] = cat groups = df.groupby('range', sort=True) # Expected behaviour result = groups.agg('mean') # Why are the categorical still sorted in this case ? groups2 = df.groupby('range', sort=False) result2 = groups2.agg('mean') # I would expect an output like this one: keep the order in which the groups # are first encountered groups3 = df.groupby('baz', sort=False) result3 = groups3.agg('mean') ``` ``` python result ``` | | bar | foo | | --- | --- | --- | | range | | | | (0, 2.5] | 60 | 1.0 | | (2.5, 5] | 40 | 4.0 | | (5, 7.5] | 55 | 6.5 | | (7.5, 10] | 15 | CC | ``` python result2 ``` | | bar | foo | | --- | --- | --- | | range | | | | (0, 2.5] | 60 | 1.0 | | (2.5, 5] | 40 | 4.0 | | (5, 7.5] | 55 | 6.5 | | (7.5, 10] | 15 | CC | ``` python result3 ``` | | bar | foo | | --- | --- | --- | | baz | | | | d | 35 | 5.5 | | c | 45 | 7.5 | | e | 30 | 5.0 | | a | 45 | 9.0 | ``` python pd.__version__ Out[110]: '0.15.1' ``` Setting `as_index=False` does not change the presented bahavior.
{ "+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/8868/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8868/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8869
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8869/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8869/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8869/events
https://github.com/pandas-dev/pandas/issues/8869
49,679,661
MDU6SXNzdWU0OTY3OTY2MQ==
8,869
BUG: Multi grouper containing a categorical not dropped from index when using groupby with as_index=False
{ "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": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
3
2014-11-21T10:14:22Z
2018-05-01T15:09:11Z
2018-05-01T15:09:11Z
NONE
null
Hello, The following example definitely seems like a bug. The grouper is not dropped from the index of the resulting DataFrame, even when `as_index = False`. Actually, even the aggregation step completely fails, so there may be more to it, as shown in this example. ``` python import pandas as pd d = {'foo': [10, 8, 4, 8, 4, 1, 1], 'bar': [10, 20, 30, 40, 50, 60, 70], 'baz': ['d', 'c', 'e', 'a', 'a', 'd', 'c']} df = pd.DataFrame(d) cat = pd.cut(df['foo'], np.linspace(0, 10, 3)) df['range'] = cat groups = df.groupby(['range', 'baz'], as_index=False) result = groups.agg('mean') ``` ``` python result ``` | | | range | baz | bar | foo | | --- | --- | --- | --- | --- | --- | | range | baz | | | | | | (0, 5] | a | NaN | NaN | NaN | NaN | | | c | NaN | NaN | NaN | NaN | | | d | NaN | NaN | NaN | NaN | | | e | NaN | NaN | NaN | NaN | | (5, 10] | a | NaN | NaN | NaN | NaN | | | c | NaN | NaN | NaN | NaN | | | d | NaN | NaN | NaN | NaN | | | e | NaN | NaN | NaN | NaN | Compare to the expected result: ``` python groups2 = df.groupby(['range', 'baz'], as_index=True) expected = groups2.agg('mean').reset_index() ``` ``` python expected ``` | | range | baz | bar | foo | | --- | --- | --- | --- | --- | | 0 | (0, 5] | a | 50 | 4 | | 1 | (0, 5] | c | 70 | 1 | | 2 | (0, 5] | d | 60 | 1 | | 3 | (0, 5] | e | 30 | 4 | | 4 | (5, 10] | a | 40 | 8 | | 5 | (5, 10] | c | 20 | 8 | | 6 | (5, 10] | d | 10 | 10 | | 7 | (5, 10] | e | NaN | | ``` python pd.__version__ Out[181]: '0.15.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/8869/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8869/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8870
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8870/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8870/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8870/events
https://github.com/pandas-dev/pandas/issues/8870
49,685,038
MDU6SXNzdWU0OTY4NTAzOA==
8,870
BUG: groupby with categorical drops empty groups when aggregating over a series
{ "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": "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" }, { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" }, { "color": "cdea3c", "default": false, "description": "Unit test(s) needed to prevent regressions", "id": 986278782, "name": "Needs Tests", "node_id": "MDU6TGFiZWw5ODYyNzg3ODI=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests" } ]
closed
false
null
[]
{ "closed_at": "2020-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" }
4
2014-11-21T11:15:57Z
2020-01-03T23:23:43Z
2020-01-03T23:23:43Z
NONE
null
- [ ] Series groupby excluding NaN groups with Categorical (DataFrame DOES include) - [ ] sorting via a returned Interval-like-Index (string based) Hello, When grouping a DataFrame over more than one column including a categorical, the empty groups are kept in the aggregation result. A test for this behaviour was introduced in #8138. However, when performing aggregation on only one column of the DataFrame, the empty groups are dropped. This seems inconsistent to me and I guess that it's an edge case that wasn't thought of at the time. ``` python d = {'foo': [10, 8, 4, 1], 'bar': [10, 20, 30, 40], 'baz': ['d', 'c', 'd', 'c']} df = pd.DataFrame(d) cat = pd.cut(df['foo'], np.linspace(0, 20, 5)) df['range'] = cat groups = df.groupby(['range', 'baz'], as_index=True, sort=True) # Expected result, fixed as part of #8138 fixed = groups.agg('mean') # Inconsistent behaviour with series inconsistent = groups['foo'].agg('mean') # Expected result expected = fixed['foo'] ``` ``` python fixed ``` | | | bar | foo | | --- | --- | --- | --- | | range | baz | | | | (0, 5] | c | 1 | 40 | | | d | 4 | 30 | | (10, 15] | c | NaN | NaN | | | d | NaN | NaN | | (15, 20] | c | NaN | NaN | | | d | NaN | NaN | | (5, 10] | c | 8 | 20 | | | d | 10 | 10 | ``` python inconsistent ``` | range | baz | | | --- | --- | --- | | (0, 5] | c | 1 | | | d | 4 | | (5, 10] | c | 8 | | | d | 10 | ``` python expected ``` | | | | | --- | --- | --- | | range | baz | | | (0, 5] | c | 1 | | | d | 4 | | (10, 15] | c | NaN | | | d | NaN | | (15, 20] | c | NaN | | | d | NaN | | (5, 10] | c | 8 | | | d | 10 | Note the strange ordering of the categorical index. I would expect `sorted = True` to sort by categorical level and not by lexical order? Also note that using `as_index=False` fails due to #8869
{ "+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/8870/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8870/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8871
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8871/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8871/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8871/events
https://github.com/pandas-dev/pandas/issues/8871
49,701,359
MDU6SXNzdWU0OTcwMTM1OQ==
8,871
Inconsistent behavior when accessing None value
{ "avatar_url": "https://avatars.githubusercontent.com/u/725737?v=4", "events_url": "https://api.github.com/users/jorenvs/events{/privacy}", "followers_url": "https://api.github.com/users/jorenvs/followers", "following_url": "https://api.github.com/users/jorenvs/following{/other_user}", "gists_url": "https://api.github.com/users/jorenvs/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorenvs", "id": 725737, "login": "jorenvs", "node_id": "MDQ6VXNlcjcyNTczNw==", "organizations_url": "https://api.github.com/users/jorenvs/orgs", "received_events_url": "https://api.github.com/users/jorenvs/received_events", "repos_url": "https://api.github.com/users/jorenvs/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorenvs/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorenvs/subscriptions", "type": "User", "url": "https://api.github.com/users/jorenvs" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" } ]
closed
false
null
[]
null
10
2014-11-21T14:23:26Z
2019-10-06T00:47:41Z
2019-10-06T00:47:41Z
NONE
null
I'm working with OpenStreetMap data queried from a postgresql database. When I extract one row and try to access the name column, the resulting value is inconsistent based on the access method: the row: ``` osm_id 1895277228 name None admin_level -1 leisure None building None brand Total operator None amenity fuel shop None sport None aeroway None office None public_transport None railway None tourism None ``` Then using the dot-attribute way (poi.name) returns value 0, while (poi["name"]) returns the original None value. This behavior is not happening with other 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/8871/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8871/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8872
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8872/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8872/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8872/events
https://github.com/pandas-dev/pandas/issues/8872
49,716,217
MDU6SXNzdWU0OTcxNjIxNw==
8,872
ImportError: DLL load failed using latest
{ "avatar_url": "https://avatars.githubusercontent.com/u/1223959?v=4", "events_url": "https://api.github.com/users/jamesfowkes/events{/privacy}", "followers_url": "https://api.github.com/users/jamesfowkes/followers", "following_url": "https://api.github.com/users/jamesfowkes/following{/other_user}", "gists_url": "https://api.github.com/users/jamesfowkes/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jamesfowkes", "id": 1223959, "login": "jamesfowkes", "node_id": "MDQ6VXNlcjEyMjM5NTk=", "organizations_url": "https://api.github.com/users/jamesfowkes/orgs", "received_events_url": "https://api.github.com/users/jamesfowkes/received_events", "repos_url": "https://api.github.com/users/jamesfowkes/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jamesfowkes/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jamesfowkes/subscriptions", "type": "User", "url": "https://api.github.com/users/jamesfowkes" }
[ { "color": "75507B", "default": false, "description": "Library building on various platforms", "id": 129350, "name": "Build", "node_id": "MDU6TGFiZWwxMjkzNTA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build" } ]
closed
false
null
[]
null
2
2014-11-21T16:19:59Z
2014-11-21T17:33:14Z
2014-11-21T17:33:14Z
NONE
null
I am building a GUI application that uses pandas for processing data. I am now trying to deploy this application using cx_freeze. Initially I encountered the issue as described in https://github.com/pydata/pandas/issues/8602 and fixed by https://github.com/pydata/pandas/pull/8830. I was using pandas as installed through pip. I used latest from GitHub and did a ``` python setup.py build --compiler=mingw python setup.py ``` and I now get the following error when running the application: ``` Traceback (most recent call last): File "C:\Users\James\Documents\GitHub\CSVviewer\application.py", line 16, in < module> from csv_datamanager import CSV_DataManager File "C:\Users\James\Documents\GitHub\CSVviewer\csv_datamanager.py", line 9, i n <module> import pandas as pd File "C:\Python34\lib\site-packages\pandas-0.15.1.dev-py3.4-win32.egg\pandas\_ _init__.py", line 53, in <module> from pandas.io.api import * File "C:\Python34\lib\site-packages\pandas-0.15.1.dev-py3.4-win32.egg\pandas\i o\api.py", line 14, in <module> from pandas.io.packers import read_msgpack, to_msgpack File "C:\Python34\lib\site-packages\pandas-0.15.1.dev-py3.4-win32.egg\pandas\i o\packers.py", line 63, in <module> from pandas.msgpack import Unpacker as _Unpacker, Packer as _Packer ImportError: DLL load failed: The specified module could not be found. ``` This error occurs when running the application with python (i.e. "normally") or with the built cx_freeze application. I'm a bit lost for a fix, application/DLL stuff isn't my strong point. Python version 3.4.2 Windows 7 32-bit I believe I have the correct Visual Studio redistributable installed (2010).
{ "+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/8872/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8872/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8873
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8873/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8873/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8873/events
https://github.com/pandas-dev/pandas/issues/8873
49,722,063
MDU6SXNzdWU0OTcyMjA2Mw==
8,873
ERR: bytes partially converted with convert_objects(convert_numeric=True)
{ "avatar_url": "https://avatars.githubusercontent.com/u/4633429?v=4", "events_url": "https://api.github.com/users/arijun/events{/privacy}", "followers_url": "https://api.github.com/users/arijun/followers", "following_url": "https://api.github.com/users/arijun/following{/other_user}", "gists_url": "https://api.github.com/users/arijun/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/arijun", "id": 4633429, "login": "arijun", "node_id": "MDQ6VXNlcjQ2MzM0Mjk=", "organizations_url": "https://api.github.com/users/arijun/orgs", "received_events_url": "https://api.github.com/users/arijun/received_events", "repos_url": "https://api.github.com/users/arijun/repos", "site_admin": false, "starred_url": "https://api.github.com/users/arijun/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/arijun/subscriptions", "type": "User", "url": "https://api.github.com/users/arijun" }
[ { "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": "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": "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": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
6
2014-11-21T17:08:15Z
2019-10-09T06:00:28Z
2019-10-09T05:49:25Z
NONE
null
If you have a series of binary strings containing numbers in a DataFrame, if you try to convert it using `convert_objects`, the first will show up as `NaN`. ``` In [3]: df = pd.DataFrame([b'1',b'1']) In [4]: df.convert_objects(convert_numeric=True) Out[4]: 0 0 NaN 1 1 ``` Python 3, obviously; happens on Windows and Linux.
{ "+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/8873/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8873/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8874
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8874/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8874/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8874/events
https://github.com/pandas-dev/pandas/issues/8874
49,740,597
MDU6SXNzdWU0OTc0MDU5Nw==
8,874
HDF corrupts data when using complib='blosc:zlib'
{ "avatar_url": "https://avatars.githubusercontent.com/u/5585221?v=4", "events_url": "https://api.github.com/users/bashtage/events{/privacy}", "followers_url": "https://api.github.com/users/bashtage/followers", "following_url": "https://api.github.com/users/bashtage/following{/other_user}", "gists_url": "https://api.github.com/users/bashtage/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bashtage", "id": 5585221, "login": "bashtage", "node_id": "MDQ6VXNlcjU1ODUyMjE=", "organizations_url": "https://api.github.com/users/bashtage/orgs", "received_events_url": "https://api.github.com/users/bashtage/received_events", "repos_url": "https://api.github.com/users/bashtage/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bashtage/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bashtage/subscriptions", "type": "User", "url": "https://api.github.com/users/bashtage" }
[ { "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": "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" }, { "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": "2015-06-13T17:49:05Z", "closed_issues": 119, "created_at": "2015-06-02T19:23:30Z", "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": "", "due_on": "2015-06-12T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/35", "id": 1145853, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35/labels", "node_id": "MDk6TWlsZXN0b25lMTE0NTg1Mw==", "number": 35, "open_issues": 0, "state": "closed", "title": "0.16.2", "updated_at": "2016-07-22T08:55:52Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35" }
8
2014-11-21T19:49:36Z
2015-06-12T21:50:02Z
2015-06-12T21:50:02Z
CONTRIBUTOR
null
I'm not sure if this is supported or not -- it isn't in the doc string for HDFStore, but it seems to be allowed by the HDFStore (nothing is raised). Unfortunately so far I can only get it to show the bad behavior on a proprietary dataset, which is storing a `pd.Panel` which contains items of of mixed types. Some of the float values are be changed from small (|x|<1.0) to very large (3.xe+308). Is the compressor just passed through to pytables? If so, this might be a pytables issue. ``` pd.show_versions() INSTALLED VERSIONS ------------------ commit: None python: 2.7.8.final.0 python-bits: 64 OS: Linux OS-release: 2.6.32-431.23.3.el6.x86_64 machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.15.1-24-g54e237b nose: 1.3.4 Cython: 0.21.1 numpy: 1.9.1 scipy: 0.14.0 statsmodels: 0.7.0.dev-c8e980d IPython: 2.3.1 sphinx: 1.2.3 patsy: 0.3.0 dateutil: 1.5 pytz: 2014.9 bottleneck: None tables: 3.1.1 numexpr: 2.3.1 matplotlib: 1.4.2 openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml: None bs4: None html5lib: None httplib2: None apiclient: None rpy2: None sqlalchemy: 0.9.8 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/8874/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8874/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8875
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8875/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8875/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8875/events
https://github.com/pandas-dev/pandas/issues/8875
49,769,148
MDU6SXNzdWU0OTc2OTE0OA==
8,875
API: Index should support __inverse__ ops
{ "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": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" } ]
open
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/38671637?v=4", "events_url": "https://api.github.com/users/YuRenee/events{/privacy}", "followers_url": "https://api.github.com/users/YuRenee/followers", "following_url": "https://api.github.com/users/YuRenee/following{/other_user}", "gists_url": "https://api.github.com/users/YuRenee/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/YuRenee", "id": 38671637, "login": "YuRenee", "node_id": "MDQ6VXNlcjM4NjcxNjM3", "organizations_url": "https://api.github.com/users/YuRenee/orgs", "received_events_url": "https://api.github.com/users/YuRenee/received_events", "repos_url": "https://api.github.com/users/YuRenee/repos", "site_admin": false, "starred_url": "https://api.github.com/users/YuRenee/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/YuRenee/subscriptions", "type": "User", "url": "https://api.github.com/users/YuRenee" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/38671637?v=4", "events_url": "https://api.github.com/users/YuRenee/events{/privacy}", "followers_url": "https://api.github.com/users/YuRenee/followers", "following_url": "https://api.github.com/users/YuRenee/following{/other_user}", "gists_url": "https://api.github.com/users/YuRenee/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/YuRenee", "id": 38671637, "login": "YuRenee", "node_id": "MDQ6VXNlcjM4NjcxNjM3", "organizations_url": "https://api.github.com/users/YuRenee/orgs", "received_events_url": "https://api.github.com/users/YuRenee/received_events", "repos_url": "https://api.github.com/users/YuRenee/repos", "site_admin": false, "starred_url": "https://api.github.com/users/YuRenee/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/YuRenee/subscriptions", "type": "User", "url": "https://api.github.com/users/YuRenee" } ]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
9
2014-11-22T02:16:30Z
2021-04-11T05:39:14Z
null
MEMBER
null
- [ ] Add `__inverse__` to Index. - [x] Change duplicated to return np.array (PR #9112) Related to #7979 Because `Index` is no more the subclass of `np.array`, `Index.duplicated` returns `Index` with `dtype=object`. And `Index` don't accepts logical not. ``` idx = pd.Index([1, 2, 1, 3]) idx.duplicated() # Index([False, False, True, False], dtype='object') ~idx.duplicated() # TypeError: bad operand type for unary ~: 'Index' ``` As a result, it is impossible to drop data which have duplicated index using expression like `df[~df.index.duplicated()]`. This expression was worked at the timing of #7979. Does `Index.duplicated` should return `np.array` with `dtype=bool`? Or `Index` should accept logical not?
{ "+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/8875/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8875/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8876
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8876/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8876/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8876/events
https://github.com/pandas-dev/pandas/pull/8876
49,770,150
MDExOlB1bGxSZXF1ZXN0MjQ4ODI4NzE=
8,876
DOC: Add where and mask to API doc
{ "avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4", "events_url": "https://api.github.com/users/sinhrks/events{/privacy}", "followers_url": "https://api.github.com/users/sinhrks/followers", "following_url": "https://api.github.com/users/sinhrks/following{/other_user}", "gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sinhrks", "id": 1696302, "login": "sinhrks", "node_id": "MDQ6VXNlcjE2OTYzMDI=", "organizations_url": "https://api.github.com/users/sinhrks/orgs", "received_events_url": "https://api.github.com/users/sinhrks/received_events", "repos_url": "https://api.github.com/users/sinhrks/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions", "type": "User", "url": "https://api.github.com/users/sinhrks" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2014-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
1
2014-11-22T02:54:48Z
2014-11-22T21:16:17Z
2014-11-22T16:49:21Z
MEMBER
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/8876/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8876/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8876.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8876", "merged_at": "2014-11-22T16:49:21Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8876.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8876" }
https://api.github.com/repos/pandas-dev/pandas/issues/8877
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8877/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8877/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8877/events
https://github.com/pandas-dev/pandas/pull/8877
49,772,532
MDExOlB1bGxSZXF1ZXN0MjQ4ODM5MjI=
8,877
DOC: Suppress warnings in visualization.rst
{ "avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4", "events_url": "https://api.github.com/users/sinhrks/events{/privacy}", "followers_url": "https://api.github.com/users/sinhrks/followers", "following_url": "https://api.github.com/users/sinhrks/following{/other_user}", "gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sinhrks", "id": 1696302, "login": "sinhrks", "node_id": "MDQ6VXNlcjE2OTYzMDI=", "organizations_url": "https://api.github.com/users/sinhrks/orgs", "received_events_url": "https://api.github.com/users/sinhrks/received_events", "repos_url": "https://api.github.com/users/sinhrks/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions", "type": "User", "url": "https://api.github.com/users/sinhrks" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "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": "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" }
20
2014-11-22T04:28:48Z
2015-02-15T01:33:27Z
2015-02-12T14:22:59Z
MEMBER
null
Closes #8234. Sorry to take a long. I understand there are 2 warnings: 1. Warning in /Users/sin/Documents/Git/pandas/doc/source/visualization.rst at block ending on line 1275 This is raised from `mpl` as plotting empty axes for demonstration purpose. Thus simply suppressed. 2. Warning in /Users/sin/Documents/Git/pandas/doc/source/visualization.rst at block ending on line 1312 This is a warning displayed when passing multiple axes. Added explanations.
{ "+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/8877/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8877/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8877.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8877", "merged_at": "2015-02-12T14:22:59Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8877.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8877" }
https://api.github.com/repos/pandas-dev/pandas/issues/8878
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8878/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8878/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8878/events
https://github.com/pandas-dev/pandas/issues/8878
49,784,326
MDU6SXNzdWU0OTc4NDMyNg==
8,878
python make.py html failure
{ "avatar_url": "https://avatars.githubusercontent.com/u/5382885?v=4", "events_url": "https://api.github.com/users/nilswagner/events{/privacy}", "followers_url": "https://api.github.com/users/nilswagner/followers", "following_url": "https://api.github.com/users/nilswagner/following{/other_user}", "gists_url": "https://api.github.com/users/nilswagner/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nilswagner", "id": 5382885, "login": "nilswagner", "node_id": "MDQ6VXNlcjUzODI4ODU=", "organizations_url": "https://api.github.com/users/nilswagner/orgs", "received_events_url": "https://api.github.com/users/nilswagner/received_events", "repos_url": "https://api.github.com/users/nilswagner/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nilswagner/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nilswagner/subscriptions", "type": "User", "url": "https://api.github.com/users/nilswagner" }
[ { "color": "75507B", "default": false, "description": "Library building on various platforms", "id": 129350, "name": "Build", "node_id": "MDU6TGFiZWwxMjkzNTA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build" }, { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
3
2014-11-22T11:41:02Z
2016-07-04T11:05:42Z
2016-07-04T11:05:37Z
NONE
null
nils@linux-5fmr:~/git/pandas/doc> python make.py html Traceback (most recent call last): File "/home/nils/local/bin/sphinx-build", line 5, in <module> from pkg_resources import load_entry_point File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2829, in <module> working_set.require(**requires**) File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 706, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 604, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: Sphinx==1.3b2dev-20141122 Building HTML failed. nils@linux-5fmr:~/git/pandas/doc> sphinx-build --version Sphinx (sphinx-build) 1.3b2
{ "+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/8878/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8878/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8879
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8879/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8879/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8879/events
https://github.com/pandas-dev/pandas/pull/8879
49,790,522
MDExOlB1bGxSZXF1ZXN0MjQ4ODg0NTQ=
8,879
DOC: Add Nano to offsets table
{ "avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4", "events_url": "https://api.github.com/users/sinhrks/events{/privacy}", "followers_url": "https://api.github.com/users/sinhrks/followers", "following_url": "https://api.github.com/users/sinhrks/following{/other_user}", "gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sinhrks", "id": 1696302, "login": "sinhrks", "node_id": "MDQ6VXNlcjE2OTYzMDI=", "organizations_url": "https://api.github.com/users/sinhrks/orgs", "received_events_url": "https://api.github.com/users/sinhrks/received_events", "repos_url": "https://api.github.com/users/sinhrks/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions", "type": "User", "url": "https://api.github.com/users/sinhrks" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2014-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
1
2014-11-22T13:31:42Z
2014-11-22T21:16:26Z
2014-11-22T16:48:54Z
MEMBER
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/8879/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8879/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8879.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8879", "merged_at": "2014-11-22T16:48:54Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8879.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8879" }
https://api.github.com/repos/pandas-dev/pandas/issues/8880
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8880/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8880/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8880/events
https://github.com/pandas-dev/pandas/issues/8880
49,797,278
MDU6SXNzdWU0OTc5NzI3OA==
8,880
PERF/API/BUG: index memory not releasing when manipulated by numpy functions
{ "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": "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" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
0
2014-11-22T16:45:33Z
2021-04-11T05:40:34Z
null
CONTRIBUTOR
null
http://stackoverflow.com/questions/27074469/memory-leak-in-python-pandas-reshuffling-index ``` In [1]: df = DataFrame(np.random.randn(10000)) In [2]: def f(df): ...: for dfi in np.array_split(df,100): ...: shuffle = dfi.reindex(np.random.permutation(dfi.index)) ...: one = shuffle.iloc[:50] ...: two = shuffle.iloc[50:] ``` so the `np.random.permutation` seems to be shuffling the index in a weird way this doesn't leak with `dfi.index.values`
{ "+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/8880/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8880/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8881
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8881/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8881/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8881/events
https://github.com/pandas-dev/pandas/issues/8881
49,807,330
MDU6SXNzdWU0OTgwNzMzMA==
8,881
ENH: Could Numba be used to make the groupby aggregation functions faster?
{ "avatar_url": "https://avatars.githubusercontent.com/u/5187727?v=4", "events_url": "https://api.github.com/users/jsphon/events{/privacy}", "followers_url": "https://api.github.com/users/jsphon/followers", "following_url": "https://api.github.com/users/jsphon/following{/other_user}", "gists_url": "https://api.github.com/users/jsphon/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jsphon", "id": 5187727, "login": "jsphon", "node_id": "MDQ6VXNlcjUxODc3Mjc=", "organizations_url": "https://api.github.com/users/jsphon/orgs", "received_events_url": "https://api.github.com/users/jsphon/received_events", "repos_url": "https://api.github.com/users/jsphon/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jsphon/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jsphon/subscriptions", "type": "User", "url": "https://api.github.com/users/jsphon" }
[ { "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": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 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-11-22T22:48:30Z
2017-09-24T19:31:39Z
2017-09-24T19:31:39Z
NONE
null
I have been doing some experiments with Numba and groupby operations such as max() and sum(). Using Numba might make them faster, though my analysis in incomplete as my functions are returning results as ndarrays, rather than Pandas Series (I don't know how large the overhead of creating the Series result is, and can't work out how to create it efficiently). Here is my code, which shows that if you just return the results as an ndarray, you can get a 5x speed improvement: ``` import numpy as np import os import pandas as pd from numba import autojit N = 1e7 m = 1e6 p = 1e4 x = np.random.randint( 0, m, N ) y = np.random.randint( 0, p, N ) z = np.random.randn(N) df = pd.DataFrame( {'x':x, 'y':y, 'z':z} ) key = [ 'x', 'y' ] grps = df.groupby( key ) print( df.head() ) @autojit def gb_max( grps, fld ): arr = grps.obj[ fld ].values comp_ids, _, ngroups = grps.grouper.group_info result = np.ndarray( ngroups, dtype=arr.dtype ) result[:] = np.finfo( np.float ).min for i in range( len( comp_ids ) ): cid = comp_ids[i] ai = arr[i] if arr[i]>result[cid]: result[ cid ] = arr[i] return result pd_max = grps[ 'z' ].max() nb_max = gb_max( grps, 'z' ) print( pd_max.values ) print( nb_max ) assert np.all( pd_max.values==nb_max ), 'Results are different' print( 'Timing gb_max' ) get_ipython().magic("timeit s=gb_max( grps, 'y' )") print( 'Timing pd_max' ) get_ipython().magic("timeit grps['y'].max()") @autojit def gb_sum( grps, fld ): arr = grps.obj[ fld ].values comp_ids, _, ngroups = grps.grouper.group_info result = np.ndarray( ngroups, dtype=arr.dtype ) for i in range( len( comp_ids ) ): result[ comp_ids[i] ] += arr[i] return result pd_sum = grps ['y'].sum() nb_sum = gb_sum( grps, 'y' ) assert np.all( pd_sum.values==nb_sum ), 'Results are different' print( 'Timing gb_sum' ) get_ipython().magic("timeit gb_sum( grps, 'y' )") print( 'pandas sum' ) get_ipython().magic("timeit grps ['y'].sum()") mi = pd.MultiIndex.from_arrays( grps.groups.keys() ) nb_sum2 = pd.DataFrame( data=nb_sum, index=mi ) print( nb_sum2 ) ```
{ "+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/8881/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8881/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8882
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8882/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8882/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8882/events
https://github.com/pandas-dev/pandas/issues/8882
49,828,875
MDU6SXNzdWU0OTgyODg3NQ==
8,882
Release the GIL in Cython code
{ "avatar_url": "https://avatars.githubusercontent.com/u/306380?v=4", "events_url": "https://api.github.com/users/mrocklin/events{/privacy}", "followers_url": "https://api.github.com/users/mrocklin/followers", "following_url": "https://api.github.com/users/mrocklin/following{/other_user}", "gists_url": "https://api.github.com/users/mrocklin/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mrocklin", "id": 306380, "login": "mrocklin", "node_id": "MDQ6VXNlcjMwNjM4MA==", "organizations_url": "https://api.github.com/users/mrocklin/orgs", "received_events_url": "https://api.github.com/users/mrocklin/received_events", "repos_url": "https://api.github.com/users/mrocklin/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mrocklin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mrocklin/subscriptions", "type": "User", "url": "https://api.github.com/users/mrocklin" }
[ { "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" }
4
2014-11-23T15:43:06Z
2015-06-30T10:55:04Z
2015-06-30T10:55:04Z
CONTRIBUTOR
null
Pandas could release the GIL in parts of the Cython code. This would enable the parallel use of multiple cores with threading. From off-line conversation with @jreback @cpcloud http://lbolla.info/blog/2013/12/23/python-threads-cython-gil
{ "+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/8882/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8882/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8883
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8883/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8883/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8883/events
https://github.com/pandas-dev/pandas/pull/8883
49,841,803
MDExOlB1bGxSZXF1ZXN0MjQ5MDc1NjA=
8,883
REF: refactor **kwargs usage
{ "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": "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": "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": "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-11-23T22:20:35Z
2015-03-05T12:46:51Z
2015-03-04T20:42:39Z
CONTRIBUTOR
null
related issue: https://github.com/pydata/pandas/issues/8597. among changes: [tests/test_generic.py](https://github.com/pydata/pandas/blob/0a2ea0ac39a74771d54b91522728f6092b0ef897/pandas/tests/test_generic.py#L603) `downcast` is misspelled `donwcast`, but no error is raised, because of how `**kwargs` is used. [core/categorical.py:sort](https://github.com/pydata/pandas/blob/0a2ea0ac39a74771d54b91522728f6092b0ef897/pandas/core/categorical.py#L945) `na_position` is not passed to `self.order`. [core/categorical.py:fillna](https://github.com/pydata/pandas/blob/0a2ea0ac39a74771d54b91522728f6092b0ef897/pandas/core/categorical.py#L981) `Categorical.fillna` does not support `inplace` as opposed to say `Series.fillna` or `DataFrame.fillna`, but `**kwargs` being there causes below code to just silently ignore passed argument: ``` >>> ca = pd.Categorical([0, 0, 2, 2, 3, np.nan]) >>> ca.fillna(0, inplace=True) [0, 0, 2, 2, 3, 0] Categories (3, int64): [0 < 2 < 3] >>> ca [0, 0, 2, 2, 3, NaN] Categories (3, int64): [0 < 2 < 3] ``` [This test](https://github.com/pydata/pandas/blob/0a2ea0ac39a74771d54b91522728f6092b0ef897/pandas/tests/test_groupby.py#L4418) is basically testing that you can specify _any_ keyword argument and it is just silently ignored. I cannot think of any case that this would be a good idea, or has any use case. multiple instances where `*args` or `*kwargs` are not passed to inner function or have any use at all, as can be seen in the PR diff.
{ "+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/8883/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8883/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8883.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8883", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/8883.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8883" }
https://api.github.com/repos/pandas-dev/pandas/issues/8884
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8884/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8884/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8884/events
https://github.com/pandas-dev/pandas/pull/8884
49,856,928
MDExOlB1bGxSZXF1ZXN0MjQ5MTM5MDY=
8,884
BUG/ENH: cleanup for Timedelta arithmetic
{ "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": "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": "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-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
8
2014-11-24T05:08:33Z
2014-11-26T10:45:31Z
2014-11-26T02:30:02Z
MEMBER
null
Fixes #8813 Fixes #5963 Fixes #5436 If the other argument has a dtype attribute, I assume that it is ndarray-like and convert the `Timedelta` into a `np.timedelta64` object. Alternatively, we could just return `NotImplemented` and let the other type handle it, but this has the bonus of making `Timedelta` compatible with ndarrays. I also added a `Timedelta.to_timedelta64()` method to the public API. I couldn't find a listing for `Timedelta` in the API docs -- we should probably add that, right? Next up would be a similar treatment for `Timestamp`. CC @immerrr
{ "+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/8884/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8884/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8884.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8884", "merged_at": "2014-11-26T02:30:01Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8884.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8884" }
https://api.github.com/repos/pandas-dev/pandas/issues/8885
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8885/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8885/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8885/events
https://github.com/pandas-dev/pandas/pull/8885
49,876,431
MDExOlB1bGxSZXF1ZXN0MjQ5MjQ0NjA=
8,885
ENH/VIS: Pass DataFrame column to size argument in DataFrame.scatter
{ "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": "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": 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" }
15
2014-11-24T10:47:40Z
2015-05-14T15:47:47Z
2015-05-09T20:11:46Z
CONTRIBUTOR
null
Originally discussed in #8244. Currently this only uses the column from the dataframe if the `s` argument is a string, supporting int column names is ambiguous and liable to break existing code, but if people can think of a good way to do this I'll try to add it. Example output: ``` python import pandas as pd import numpy as np import random df = pd.DataFrame({ 'x': np.linspace(0, 50, 6), 'y': np.linspace(0, 20, 6), 'cat_column': random.sample('abcdabcdabcd', 6) }) df['cat_column'] = pd.Categorical(df['cat_column']) # Numeric column: linear scaling of point sizes df.plot(kind='scatter', x='x', y='y', s='x') ``` ![image](https://cloud.githubusercontent.com/assets/1460294/5163679/70a09820-7422-11e4-8bf3-7a15fb072f71.png) ``` python # Categorical columns: fixed set of sizes df.plot(kind='scatter', x='x', y='y', s='cat_column') ``` ![image](https://cloud.githubusercontent.com/assets/1460294/5163691/91671f16-7422-11e4-92fd-18b7f67b5b41.png) The minimum and maximum point sizes we scale have a default range of `(50, 1000)`, and can be adjusted with the `size_range` arg: ``` python # Smaller range of sizes than default df.plot(kind='scatter', x='x', y='y', s='x', size_range=(200, 800)) ``` ![image](https://cloud.githubusercontent.com/assets/1460294/5163729/04e4f44a-7423-11e4-9e85-902d9dd1caaa.png) Picking good defaults for the range of sizes is pretty hard as these sizes are absolute- matplotlib sets the size in terms of points. The ability to tweak up and down with the `size_range` arg is probably going to be needed, but open to suggestions on good defaults. .
{ "+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/8885/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8885/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8885.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8885", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/8885.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8885" }
https://api.github.com/repos/pandas-dev/pandas/issues/8886
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8886/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8886/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8886/events
https://github.com/pandas-dev/pandas/issues/8886
49,912,167
MDU6SXNzdWU0OTkxMjE2Nw==
8,886
Strange output from timedelta_range for integer start/end
{ "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": "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": "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": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
6
2014-11-24T16:40:16Z
2021-04-11T05:40:57Z
null
MEMBER
null
Here I expected a TimedeltaIndex with 11 elements from 0 hours through 11 hours: ``` >>> pd.timedelta_range(0, 10, freq='H') <class 'pandas.tseries.tdi.TimedeltaIndex'> ['0 days'] Length: 1, Freq: <Hour> ``` It appears that `freq` is taken to refer only to the step size, not the start/stop, and the unit defaults to `ns` like Timedelta itself? I think we should either: 1. add a separate `unit` argument -- but this is a subtle distinction 2. use `freq` to also imply the `unit` 3. raise on integer input (possibly in addition to 1?) Similarly strange and somewhat inconsistent with the above example: ``` >>> pd.timedelta_range(0, 10, periods=100) ValueError: Must specify two of start, end, or periods ```
{ "+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/8886/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8886/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8887
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8887/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8887/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8887/events
https://github.com/pandas-dev/pandas/issues/8887
49,924,654
MDU6SXNzdWU0OTkyNDY1NA==
8,887
ERR: HDF5 serialization of datelike-object dtypes should raise
{ "avatar_url": "https://avatars.githubusercontent.com/u/1253515?v=4", "events_url": "https://api.github.com/users/cowpig/events{/privacy}", "followers_url": "https://api.github.com/users/cowpig/followers", "following_url": "https://api.github.com/users/cowpig/following{/other_user}", "gists_url": "https://api.github.com/users/cowpig/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cowpig", "id": 1253515, "login": "cowpig", "node_id": "MDQ6VXNlcjEyNTM1MTU=", "organizations_url": "https://api.github.com/users/cowpig/orgs", "received_events_url": "https://api.github.com/users/cowpig/received_events", "repos_url": "https://api.github.com/users/cowpig/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cowpig/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cowpig/subscriptions", "type": "User", "url": "https://api.github.com/users/cowpig" }
[ { "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": "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" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
4
2014-11-24T18:28:40Z
2020-05-16T20:14:08Z
null
NONE
null
UPDATE: ``` In [157]: problem_date = old.dob.loc[4231354] In [158]: problem_date Out[158]: datetime.date(2939, 6, 2) In [159]: test_series = pd.Series([problem_date]) In [160]: pd.to_datetime(test_series) Out[160]: 0 2939-06-02 dtype: object ``` It seems this is the source of the problem. I think there may be other dates in my dataset that are breaking the `to_datetime` method UPDATE 2: It seems that maybe it's that the date is later than 2900 that's causing the problem? ``` In [194]: pd.to_datetime(old.dob[8230866]) Out[194]: datetime.date(2955, 8, 22) In [195]: another_bad_date = old.dob.loc[8230866] In [196]: pd.to_datetime(pd.Series([another_bad_date])) Out[196]: 0 2955-08-22 dtype: object ``` # original issue: The column in question came from a read_sql query, and the column has datetimes. It consists solely of pandas datetime objects and NoneType objects. I have iterated over the Series to be sure. The column has 11 million rows. I've tried casting with to_datetime (and the dtype remains object--shouldn't the dtype change after that call?), to no avail. Here's some stuff I get from poking around after sticking an `import pdb; pdb.set_trace()` into line 3329 of pytables.py (after `except (NotImplementedError, ValueError, TypeError) as e:`): ``` (Pdb) b (Pdb) i 3 (Pdb) blocks[3] ObjectBlock: [1, 2, 3, 4, 9, 12, 13, 14], 8 x 8255524, dtype: object (Pdb) blk_items[3] Index([u'dob', u'City', u'Region', u'Zip', u'lang', u'UnsubscribedDate', u'BadAddressDate', u'ISP'], dtype='object') (Pdb) existing_col (Pdb) col name->values_block_3,cname->values_block_3,dtype->None,shape->None (Pdb) b (Pdb) type(b) <class 'pandas.core.internals.ObjectBlock'> (Pdb) block_items *** NameError: name 'block_items' is not defined (Pdb) b_items Index([u'dob', u'City', u'Region', u'Zip', u'lang', u'UnsubscribedDate', u'BadAddressDate', u'ISP'], dtype='object') (Pdb) existing_col (Pdb) e TypeError('Cannot serialize the column [dob] because\nits data contents are [mixed] object dtype',) (Pdb) type(col) <class 'pandas.io.pytables.DataCol'> (Pdb) lib <module 'pandas.lib' from '/home/mmccrea/anaconda/lib/python2.7/site-packages/pandas/lib.so'> ``` My debugging kinds of hits a wall here, because it seems `infer_dtype` seems to be throwing the error, which is in lib.so, which is a compiled binary and I'm not sure how to look into that to figure out what's going on. I would love a suggestion about how to deal with that in the future, in addition to some answers about what's going on in this case.
{ "+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/8887/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8887/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8888
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8888/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8888/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8888/events
https://github.com/pandas-dev/pandas/issues/8888
49,929,979
MDU6SXNzdWU0OTkyOTk3OQ==
8,888
Implement StringMethod slice_replace
{ "avatar_url": "https://avatars.githubusercontent.com/u/2702341?v=4", "events_url": "https://api.github.com/users/billletson/events{/privacy}", "followers_url": "https://api.github.com/users/billletson/followers", "following_url": "https://api.github.com/users/billletson/following{/other_user}", "gists_url": "https://api.github.com/users/billletson/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/billletson", "id": 2702341, "login": "billletson", "node_id": "MDQ6VXNlcjI3MDIzNDE=", "organizations_url": "https://api.github.com/users/billletson/orgs", "received_events_url": "https://api.github.com/users/billletson/received_events", "repos_url": "https://api.github.com/users/billletson/repos", "site_admin": false, "starred_url": "https://api.github.com/users/billletson/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/billletson/subscriptions", "type": "User", "url": "https://api.github.com/users/billletson" }
[ { "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": "String extension data type and string data", "id": 57522093, "name": "Strings", "node_id": "MDU6TGFiZWw1NzUyMjA5Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings" } ]
closed
false
null
[]
{ "closed_at": "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" }
4
2014-11-24T19:17:29Z
2015-01-08T01:59:16Z
2015-01-08T01:59:16Z
CONTRIBUTOR
null
The `StringMethod` `slice_replace` currently raises `NotImplementedError`. Couldn't find an issue for it, so opening this. PR with implementation in the works. Could use thoughts on how to handle slices that return an empty string on some subset of strings - should the replacement string appear or not? This could happen when the input string is empty, the stop index is less than or equal to the start index (separate cases?), or both start and stop are greater than the length of the string.
{ "+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/8888/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8888/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8889
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8889/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8889/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8889/events
https://github.com/pandas-dev/pandas/issues/8889
49,931,852
MDU6SXNzdWU0OTkzMTg1Mg==
8,889
Timezone Problem in MultiIndexing
{ "avatar_url": "https://avatars.githubusercontent.com/u/8102120?v=4", "events_url": "https://api.github.com/users/Aurthes/events{/privacy}", "followers_url": "https://api.github.com/users/Aurthes/followers", "following_url": "https://api.github.com/users/Aurthes/following{/other_user}", "gists_url": "https://api.github.com/users/Aurthes/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Aurthes", "id": 8102120, "login": "Aurthes", "node_id": "MDQ6VXNlcjgxMDIxMjA=", "organizations_url": "https://api.github.com/users/Aurthes/orgs", "received_events_url": "https://api.github.com/users/Aurthes/received_events", "repos_url": "https://api.github.com/users/Aurthes/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Aurthes/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Aurthes/subscriptions", "type": "User", "url": "https://api.github.com/users/Aurthes" }
[ { "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": "Timezone data dtype", "id": 60458168, "name": "Timezones", "node_id": "MDU6TGFiZWw2MDQ1ODE2OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones" }, { "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
[]
null
7
2014-11-24T19:34:04Z
2014-11-25T15:03:46Z
2014-11-25T15:03:46Z
NONE
null
``` dt = datetime.datetime(2014,11,24,12,0,0) dt = dt.replace(tzinfo=td.CHICAGO_TZ) mi = pd.MultiIndex.from_product([[dt],[1],[2]]) print mi print print mi.get_level_values(0)[0] print ``` When I use get_level_values function and try to filter dataframe based on time index(which is the first level), it always loses the tzinfo. Surely I can add tzinfo back after calling the function, but is there a better way of dealing with 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/8889/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8889/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8890
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8890/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8890/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8890/events
https://github.com/pandas-dev/pandas/issues/8890
49,945,943
MDU6SXNzdWU0OTk0NTk0Mw==
8,890
BUG: iterator of DatetimeIndex broken with tzoffset timezone
{ "avatar_url": "https://avatars.githubusercontent.com/u/5361193?v=4", "events_url": "https://api.github.com/users/Oxtay/events{/privacy}", "followers_url": "https://api.github.com/users/Oxtay/followers", "following_url": "https://api.github.com/users/Oxtay/following{/other_user}", "gists_url": "https://api.github.com/users/Oxtay/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Oxtay", "id": 5361193, "login": "Oxtay", "node_id": "MDQ6VXNlcjUzNjExOTM=", "organizations_url": "https://api.github.com/users/Oxtay/orgs", "received_events_url": "https://api.github.com/users/Oxtay/received_events", "repos_url": "https://api.github.com/users/Oxtay/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Oxtay/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Oxtay/subscriptions", "type": "User", "url": "https://api.github.com/users/Oxtay" }
[ { "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": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": "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-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
7
2014-11-24T21:39:18Z
2014-12-04T02:47:31Z
2014-12-04T02:47:31Z
NONE
null
**Summary:** The trigger is the `tzoffset` timezone. This bug can be reproduced as follows: ``` In [86]: index = pd.date_range("2012-01-01", periods=3, freq='H', tz=dateutil.tz.tzoffset(None, -28800)) In [87]: index Out[87]: <class 'pandas.tseries.index.DatetimeIndex'> [2012-01-01 00:00:00-08:00, ..., 2012-01-01 02:00:00-08:00] Length: 3, Freq: H, Timezone: tzoffset(None, -28800) In [88]: index[0] Out[88]: Timestamp('2012-01-01 00:00:00-0800', tz='tzoffset(None, -28800)', offset='H') In [90]: list(iter(index))[0] Out[90]: Timestamp('2011-12-31 16:00:00-0800', tz='tzoffset(None, -28800)', offset='H') In [91]: list(iter(index))[0] == index[0] Out[91]: False ``` In 0.14 this last comparison gives True. This appears in iterating over the index (`for time in index: ...`) or with using `DataFrame.iterrows()` (#8951). --- **Original report**: I see there are a number of issues related to datetime and timeindex here in issues, and I suspect that mine has a lot in common with them. The cure for one of them will probably solve all of them. So here it goes. My code was using Pandas 0.13.1 without an issue. I recently upgraded to 0.15.1 This is where my code acts unexpectedly: ``` time_points = df.index[df['candidate'] == 1] for time in time_points: [...] ``` The index is in US/Pacific timezone. When the for loop returns `time`, it is still in US/Pacific timezone but with an added 8h to the time. So, while the actual time is `2014-11-23 23:25:02.916000-08:00`, `time` is set to `2014-11-23 15:49:12.972000-08:00`. I have made sure that the type of index is `pandas.Timestamp` and I can't find an elegant workaround that would ensure running it in both versions of Pandas. Any thoughts on 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/8890/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8890/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8891
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8891/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8891/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8891/events
https://github.com/pandas-dev/pandas/issues/8891
49,960,180
MDU6SXNzdWU0OTk2MDE4MA==
8,891
IO: ensure compatibility with 01-24 date formats
{ "avatar_url": "https://avatars.githubusercontent.com/u/8660305?v=4", "events_url": "https://api.github.com/users/dacoex/events{/privacy}", "followers_url": "https://api.github.com/users/dacoex/followers", "following_url": "https://api.github.com/users/dacoex/following{/other_user}", "gists_url": "https://api.github.com/users/dacoex/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dacoex", "id": 8660305, "login": "dacoex", "node_id": "MDQ6VXNlcjg2NjAzMDU=", "organizations_url": "https://api.github.com/users/dacoex/orgs", "received_events_url": "https://api.github.com/users/dacoex/received_events", "repos_url": "https://api.github.com/users/dacoex/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dacoex/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dacoex/subscriptions", "type": "User", "url": "https://api.github.com/users/dacoex" }
[ { "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": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" } ]
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" }
1
2014-11-25T00:06:54Z
2019-12-18T03:04:45Z
null
CONTRIBUTOR
null
In many engineering and measurement applications, the time is counted from 01-24 to indicate the end of a measurement or integration period. This issue is to propose that pandas IO functions support importing such timestamps from CSV, Excel etc. out of the box and furthermore, Series can have a flag indicating the reference interval for integration or aggregation fo values (e.g. averaging). See also: page 9, clause 5.3 of ISO 8601 http://www.probabilityof.com/iso/8601.pdf "Time is the time of the recording in the format of hh:mm. Midnight should be referenced as 24 h in the previous day, not 0 h in the next day; or: IEC 61724, clause 6.1b, page6 https://law.resource.org/pub/in/bis/S05/is.iec.61724.1998.pdf
{ "+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/8891/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8891/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8892
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8892/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8892/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8892/events
https://github.com/pandas-dev/pandas/issues/8892
50,050,997
MDU6SXNzdWU1MDA1MDk5Nw==
8,892
Cannot print DataFrame with non-ascii column names in ipython 3.0.0
{ "avatar_url": "https://avatars.githubusercontent.com/u/700813?v=4", "events_url": "https://api.github.com/users/gutman/events{/privacy}", "followers_url": "https://api.github.com/users/gutman/followers", "following_url": "https://api.github.com/users/gutman/following{/other_user}", "gists_url": "https://api.github.com/users/gutman/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gutman", "id": 700813, "login": "gutman", "node_id": "MDQ6VXNlcjcwMDgxMw==", "organizations_url": "https://api.github.com/users/gutman/orgs", "received_events_url": "https://api.github.com/users/gutman/received_events", "repos_url": "https://api.github.com/users/gutman/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gutman/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gutman/subscriptions", "type": "User", "url": "https://api.github.com/users/gutman" }
[ { "color": "ededed", "default": false, "description": "__repr__ of pandas objects, to_string", "id": 13101118, "name": "Output-Formatting", "node_id": "MDU6TGFiZWwxMzEwMTExOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting" }, { "color": "444444", "default": false, "description": "Unicode strings", "id": 36380025, "name": "Unicode", "node_id": "MDU6TGFiZWwzNjM4MDAyNQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Unicode" } ]
closed
false
null
[]
null
2
2014-11-25T16:34:46Z
2019-10-09T05:49:56Z
2019-10-09T05:49:56Z
NONE
null
``` python import pandas df = pandas.DataFrame({u'превед':[1,2,3]}) df ``` I get: ``` UnicodeDecodeError Traceback (most recent call last) <ipython-input-1-114199e6a3fa> in <module>() 3 print pandas.__version__ 4 df = pandas.DataFrame({u'превед':[1,2,3]}) ----> 5 df /home/gutman/trash/ipython/IPython/core/displayhook.pyc in __call__(self, result) 242 self.update_user_ns(result) 243 self.log_output(format_dict) --> 244 self.finish_displayhook() 245 246 def flush(self): /home/gutman/trash/ipython/IPython/kernel/zmq/displayhook.pyc in finish_displayhook(self) 66 sys.stdout.flush() 67 sys.stderr.flush() ---> 68 self.session.send(self.pub_socket, self.msg, ident=self.topic) 69 self.msg = None 70 /home/gutman/trash/ipython/IPython/kernel/zmq/session.pyc in send(self, stream, msg_or_type, content, parent, ident, buffers, track, header, metadata) 647 if self.adapt_version: 648 msg = adapt(msg, self.adapt_version) --> 649 to_send = self.serialize(msg, ident) 650 to_send.extend(buffers) 651 longest = max([ len(s) for s in to_send ]) /home/gutman/trash/ipython/IPython/kernel/zmq/session.pyc in serialize(self, msg, ident) 551 content = self.none 552 elif isinstance(content, dict): --> 553 content = self.pack(content) 554 elif isinstance(content, bytes): 555 # content is already packed, as in a relayed message /home/gutman/trash/ipython/IPython/kernel/zmq/session.pyc in <lambda>(obj) 83 # disallow nan, because it's not actually valid JSON 84 json_packer = lambda obj: jsonapi.dumps(obj, default=date_default, ---> 85 ensure_ascii=False, allow_nan=False, 86 ) 87 json_unpacker = lambda s: jsonapi.loads(s) /usr/local/lib/python2.7/dist-packages/zmq/utils/jsonapi.pyc in dumps(o, **kwargs) 38 kwargs['separators'] = (',', ':') 39 ---> 40 s = jsonmod.dumps(o, **kwargs) 41 42 if isinstance(s, unicode): /usr/lib/python2.7/json/__init__.pyc in dumps(obj, skipkeys, ensure_ascii, check_circular, allow_nan, cls, indent, separators, encoding, default, **kw) 236 check_circular=check_circular, allow_nan=allow_nan, indent=indent, 237 separators=separators, encoding=encoding, default=default, --> 238 **kw).encode(obj) 239 240 /usr/lib/python2.7/json/encoder.pyc in encode(self, o) 202 if not isinstance(chunks, (list, tuple)): 203 chunks = list(chunks) --> 204 return ''.join(chunks) 205 206 def iterencode(self, o, _one_shot=False): UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 4: ordinal not in range(128) ```
{ "+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/8892/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8892/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8893
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8893/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8893/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8893/events
https://github.com/pandas-dev/pandas/issues/8893
50,059,008
MDU6SXNzdWU1MDA1OTAwOA==
8,893
MultiIndexing Issue
{ "avatar_url": "https://avatars.githubusercontent.com/u/8102120?v=4", "events_url": "https://api.github.com/users/Aurthes/events{/privacy}", "followers_url": "https://api.github.com/users/Aurthes/followers", "following_url": "https://api.github.com/users/Aurthes/following{/other_user}", "gists_url": "https://api.github.com/users/Aurthes/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Aurthes", "id": 8102120, "login": "Aurthes", "node_id": "MDQ6VXNlcjgxMDIxMjA=", "organizations_url": "https://api.github.com/users/Aurthes/orgs", "received_events_url": "https://api.github.com/users/Aurthes/received_events", "repos_url": "https://api.github.com/users/Aurthes/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Aurthes/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Aurthes/subscriptions", "type": "User", "url": "https://api.github.com/users/Aurthes" }
[ { "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": "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
[]
null
4
2014-11-25T17:31:50Z
2014-11-26T00:44:18Z
2014-11-26T00:44:18Z
NONE
null
Let 'b' be a large dataframe with MulitiIndex. I pull the 4th block based on the 1st level of the index, and I got the block fine. > > > a = b.ix[b.index.levels[0][4]] Then I printed the index of the block, which also seemed fine, code and result as follows: > > > print a.index sequence attribute 4 count price quantity and when I pull values, they seemed fine too: > > > a.index.values array([(4L, 'count'), (4L, 'price'), (4L, 'quantity')], dtype=object) but when I looked at it in a different way, things didn't make much sense: > > > a.index MultiIndex(levels=[[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, ...], [u'count', u'price', u'quantity']], labels=[[4, 4, 4], [0, 1, 2]], names=[u'sequence', u'attribute']) and when I pull the first level from the index of the block, I got: > > > a.index.levels[0] Int64Index([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, ...], dtype='int64') Which is not the Int64Index([4], dtype='int64') I anticipated. Of course I can > > > pd.MultiIndex.from_tuples(a.index.values) and create the thing I am expecting, but this is a pain in the ass. Any solutions? Thanks!
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8893/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8893/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8894
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8894/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8894/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8894/events
https://github.com/pandas-dev/pandas/pull/8894
50,095,740
MDExOlB1bGxSZXF1ZXN0MjUwNDc2ODI=
8,894
fix to_datetime default error suppression
{ "avatar_url": "https://avatars.githubusercontent.com/u/1253515?v=4", "events_url": "https://api.github.com/users/cowpig/events{/privacy}", "followers_url": "https://api.github.com/users/cowpig/followers", "following_url": "https://api.github.com/users/cowpig/following{/other_user}", "gists_url": "https://api.github.com/users/cowpig/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cowpig", "id": 1253515, "login": "cowpig", "node_id": "MDQ6VXNlcjEyNTM1MTU=", "organizations_url": "https://api.github.com/users/cowpig/orgs", "received_events_url": "https://api.github.com/users/cowpig/received_events", "repos_url": "https://api.github.com/users/cowpig/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cowpig/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cowpig/subscriptions", "type": "User", "url": "https://api.github.com/users/cowpig" }
[ { "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": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
5
2014-11-25T22:54:50Z
2015-05-09T16:06:43Z
2015-05-09T16:06:43Z
NONE
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/8894/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8894/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8894.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8894", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/8894.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8894" }
https://api.github.com/repos/pandas-dev/pandas/issues/8895
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8895/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8895/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8895/events
https://github.com/pandas-dev/pandas/pull/8895
50,102,982
MDExOlB1bGxSZXF1ZXN0MjUwNTIxOTM=
8,895
modified: pandas/io/ga.py
{ "avatar_url": "https://avatars.githubusercontent.com/u/6540809?v=4", "events_url": "https://api.github.com/users/DeliciousHair/events{/privacy}", "followers_url": "https://api.github.com/users/DeliciousHair/followers", "following_url": "https://api.github.com/users/DeliciousHair/following{/other_user}", "gists_url": "https://api.github.com/users/DeliciousHair/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/DeliciousHair", "id": 6540809, "login": "DeliciousHair", "node_id": "MDQ6VXNlcjY1NDA4MDk=", "organizations_url": "https://api.github.com/users/DeliciousHair/orgs", "received_events_url": "https://api.github.com/users/DeliciousHair/received_events", "repos_url": "https://api.github.com/users/DeliciousHair/repos", "site_admin": false, "starred_url": "https://api.github.com/users/DeliciousHair/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/DeliciousHair/subscriptions", "type": "User", "url": "https://api.github.com/users/DeliciousHair" }
[ { "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
[]
null
5
2014-11-26T00:23:40Z
2015-03-25T23:51:50Z
2015-03-25T23:20:41Z
NONE
null
``` ENH I've made a number of alterations to this module to improve the usability of it. 1. A feature has been added to the 'filters' keyword, in that compound filters can now be created with AND and OR combinations as in the API, while still allowing the user to create the filters via lists of strings without the 'ga:' prefix. In particulare, compound filters can be formed as: filters = ['filter_00', 'and', 'filter_01', 'or', 'filter_02'] where no defuault behaviour has been created, thus ensuring that the compound item is formed the way the user intends it to be. The 'and' and 'or' separators are case-insensitive. 2. The 'sort' keyword is now passed to the query, and works as it should with the API. That is, the current 'sort' keyword only acts on the retrieved data when the parser is constructing the local DataFrame object. This behaviour is now changed, in that the 'sort' keyword is included in the query, as well as acting as previous on the parser. Reverse-ordering as in the API is maintained by simply including negaitve sign in front of the metric / dimension that is being sorted on. This is a sublte but important difference, in that the user can now include something like: sort = '-pageviews' to obtain the top N-many results in a query, which is currently not possible without obtaining all results and sorting them locally. Defualt behaviour has been altered, in that the defualt sort is now None (sent to query) while the local dataframe is still sorted on it's index. 3. I didn't like the combination of positional and named keyword arguments in the methods, so I have altered the bahaviour of the module to use only named keyword aguments. Thus, the user is now able to form a query as a single dictionary item and pass it to, say, the read_ga() method. ```
{ "+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/8895/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8895/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8895.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8895", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/8895.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8895" }
https://api.github.com/repos/pandas-dev/pandas/issues/8896
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8896/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8896/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8896/events
https://github.com/pandas-dev/pandas/pull/8896
50,107,461
MDExOlB1bGxSZXF1ZXN0MjUwNTUwNDE=
8,896
COMPAT: windows compat for tests for dtype inference in parser xref (GH8833)
{ "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": "fbca04", "default": false, "description": "Windows OS", "id": 57186974, "name": "Windows", "node_id": "MDU6TGFiZWw1NzE4Njk3NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Windows" }, { "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-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
0
2014-11-26T01:32:09Z
2016-02-12T17:40:26Z
2014-11-26T01:32:36Z
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/8896/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8896/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8896.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8896", "merged_at": "2014-11-26T01:32:36Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8896.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8896" }
https://api.github.com/repos/pandas-dev/pandas/issues/8897
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8897/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8897/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8897/events
https://github.com/pandas-dev/pandas/issues/8897
50,128,734
MDU6SXNzdWU1MDEyODczNA==
8,897
read_html can't parse the output of to_html() when index has name
{ "avatar_url": "https://avatars.githubusercontent.com/u/826871?v=4", "events_url": "https://api.github.com/users/ruoyu0088/events{/privacy}", "followers_url": "https://api.github.com/users/ruoyu0088/followers", "following_url": "https://api.github.com/users/ruoyu0088/following{/other_user}", "gists_url": "https://api.github.com/users/ruoyu0088/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ruoyu0088", "id": 826871, "login": "ruoyu0088", "node_id": "MDQ6VXNlcjgyNjg3MQ==", "organizations_url": "https://api.github.com/users/ruoyu0088/orgs", "received_events_url": "https://api.github.com/users/ruoyu0088/received_events", "repos_url": "https://api.github.com/users/ruoyu0088/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ruoyu0088/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ruoyu0088/subscriptions", "type": "User", "url": "https://api.github.com/users/ruoyu0088" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "006b75", "default": false, "description": "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" } ]
open
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" } ]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
2
2014-11-26T07:52:28Z
2015-03-06T00:05:24Z
null
NONE
null
Here is the code: ``` import pandas as pd import numpy as np import io df = pd.DataFrame(np.random.rand(6, 3), columns=list("ABC")) df.index = list("abcdef") df.index.name = "index" df2 = pd.read_html(df.to_html(), index_col=0) print df2[0] ``` Here is the output: ``` A B C index Unnamed: 5 Unnamed: 6 Unnamed: 7 a 0.759803 0.307306 0.348905 NaN NaN NaN NaN b 0.003259 0.400688 0.859137 NaN NaN NaN NaN c 0.824059 0.817198 0.308370 NaN NaN NaN NaN d 0.067031 0.517689 0.354966 NaN NaN NaN NaN e 0.043291 0.388853 0.342978 NaN NaN NaN NaN f 0.064113 0.707188 0.971005 NaN NaN NaN 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/8897/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8897/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8898
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8898/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8898/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8898/events
https://github.com/pandas-dev/pandas/pull/8898
50,186,806
MDExOlB1bGxSZXF1ZXN0MjUwODgzOTM=
8,898
WIP: add multi-multi index support to join
{ "avatar_url": "https://avatars.githubusercontent.com/u/1906276?v=4", "events_url": "https://api.github.com/users/thorwhalen/events{/privacy}", "followers_url": "https://api.github.com/users/thorwhalen/followers", "following_url": "https://api.github.com/users/thorwhalen/following{/other_user}", "gists_url": "https://api.github.com/users/thorwhalen/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/thorwhalen", "id": 1906276, "login": "thorwhalen", "node_id": "MDQ6VXNlcjE5MDYyNzY=", "organizations_url": "https://api.github.com/users/thorwhalen/orgs", "received_events_url": "https://api.github.com/users/thorwhalen/received_events", "repos_url": "https://api.github.com/users/thorwhalen/repos", "site_admin": false, "starred_url": "https://api.github.com/users/thorwhalen/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/thorwhalen/subscriptions", "type": "User", "url": "https://api.github.com/users/thorwhalen" }
[ { "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": "eb6420", "default": false, "description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff", "id": 57296398, "name": "Algos", "node_id": "MDU6TGFiZWw1NzI5NjM5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos" } ]
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" }
4
2014-11-26T14:45:41Z
2017-02-25T16:08:07Z
2015-05-09T16:06:08Z
NONE
null
closes #6360
{ "+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/8898/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8898/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8898.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8898", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/8898.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8898" }
https://api.github.com/repos/pandas-dev/pandas/issues/8899
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8899/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8899/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8899/events
https://github.com/pandas-dev/pandas/issues/8899
50,219,871
MDU6SXNzdWU1MDIxOTg3MQ==
8,899
DataFrame.describe() add number of missing values
{ "avatar_url": "https://avatars.githubusercontent.com/u/3391614?v=4", "events_url": "https://api.github.com/users/sorenwacker/events{/privacy}", "followers_url": "https://api.github.com/users/sorenwacker/followers", "following_url": "https://api.github.com/users/sorenwacker/following{/other_user}", "gists_url": "https://api.github.com/users/sorenwacker/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sorenwacker", "id": 3391614, "login": "sorenwacker", "node_id": "MDQ6VXNlcjMzOTE2MTQ=", "organizations_url": "https://api.github.com/users/sorenwacker/orgs", "received_events_url": "https://api.github.com/users/sorenwacker/received_events", "repos_url": "https://api.github.com/users/sorenwacker/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sorenwacker/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sorenwacker/subscriptions", "type": "User", "url": "https://api.github.com/users/sorenwacker" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" } ]
closed
false
null
[]
null
2
2014-11-26T19:46:57Z
2014-11-27T18:18:00Z
2014-11-26T20:45:54Z
CONTRIBUTOR
null
Hi, I suggest to add the number of missing values to pandas.DataFrame.describe() regards
{ "+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/8899/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8899/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8900
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8900/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8900/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8900/events
https://github.com/pandas-dev/pandas/issues/8900
50,220,554
MDU6SXNzdWU1MDIyMDU1NA==
8,900
pandas.DataFrame.is.na()
{ "avatar_url": "https://avatars.githubusercontent.com/u/3391614?v=4", "events_url": "https://api.github.com/users/sorenwacker/events{/privacy}", "followers_url": "https://api.github.com/users/sorenwacker/followers", "following_url": "https://api.github.com/users/sorenwacker/following{/other_user}", "gists_url": "https://api.github.com/users/sorenwacker/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sorenwacker", "id": 3391614, "login": "sorenwacker", "node_id": "MDQ6VXNlcjMzOTE2MTQ=", "organizations_url": "https://api.github.com/users/sorenwacker/orgs", "received_events_url": "https://api.github.com/users/sorenwacker/received_events", "repos_url": "https://api.github.com/users/sorenwacker/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sorenwacker/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sorenwacker/subscriptions", "type": "User", "url": "https://api.github.com/users/sorenwacker" }
[ { "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": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" } ]
closed
false
null
[]
null
3
2014-11-26T19:54:45Z
2014-11-27T18:12:58Z
2014-11-26T20:44:22Z
CONTRIBUTOR
null
Hi, I suggest a method is.na() for pandas.DataFrame that gives back an boolean array. If a value in the DataFrame is NaN the corresponding element is 1 otherwise 0. That would make it easy to determine the number of missing elements in a DataFrame. regards
{ "+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/8900/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8900/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8901
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8901/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8901/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8901/events
https://github.com/pandas-dev/pandas/issues/8901
50,222,941
MDU6SXNzdWU1MDIyMjk0MQ==
8,901
Subset of DataFrame should be a DataFrame?
{ "avatar_url": "https://avatars.githubusercontent.com/u/3391614?v=4", "events_url": "https://api.github.com/users/sorenwacker/events{/privacy}", "followers_url": "https://api.github.com/users/sorenwacker/followers", "following_url": "https://api.github.com/users/sorenwacker/following{/other_user}", "gists_url": "https://api.github.com/users/sorenwacker/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sorenwacker", "id": 3391614, "login": "sorenwacker", "node_id": "MDQ6VXNlcjMzOTE2MTQ=", "organizations_url": "https://api.github.com/users/sorenwacker/orgs", "received_events_url": "https://api.github.com/users/sorenwacker/received_events", "repos_url": "https://api.github.com/users/sorenwacker/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sorenwacker/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sorenwacker/subscriptions", "type": "User", "url": "https://api.github.com/users/sorenwacker" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" } ]
closed
false
null
[]
null
3
2014-11-26T20:19:50Z
2014-11-28T09:41:50Z
2014-11-26T20:48:08Z
CONTRIBUTOR
null
Hi, I realized that having a pandas.DataFame object DF with columns 'a','b','c' DF['a'] is not a DataFrame but a pandas.core.series.Series Is there a reason for that? I think, it would make the dealing with DataFrames more convenient when a DataFrame would be returned. With header and indexes. regards
{ "+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/8901/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8901/timeline
null
null
null