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/11804 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11804/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11804/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11804/events | https://github.com/pandas-dev/pandas/issues/11804 | 121,285,183 | MDU6SXNzdWUxMjEyODUxODM= | 11,804 | DatetimeIndex with closed='left' or 'right' drop dates at the boundaries | {
"avatar_url": "https://avatars.githubusercontent.com/u/494248?v=4",
"events_url": "https://api.github.com/users/thrasibule/events{/privacy}",
"followers_url": "https://api.github.com/users/thrasibule/followers",
"following_url": "https://api.github.com/users/thrasibule/following{/other_user}",
"gists_url": "https://api.github.com/users/thrasibule/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/thrasibule",
"id": 494248,
"login": "thrasibule",
"node_id": "MDQ6VXNlcjQ5NDI0OA==",
"organizations_url": "https://api.github.com/users/thrasibule/orgs",
"received_events_url": "https://api.github.com/users/thrasibule/received_events",
"repos_url": "https://api.github.com/users/thrasibule/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/thrasibule/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/thrasibule/subscriptions",
"type": "User",
"url": "https://api.github.com/users/thrasibule"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "0052cc",
"default": false,
"description": "DateOffsets",
"id": 53181044,
"name": "Frequency",
"node_id": "MDU6TGFiZWw1MzE4MTA0NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency"
}
]
| closed | false | null | []
| {
"closed_at": "2016-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"
} | 0 | 2015-12-09T16:28:35Z | 2015-12-17T22:43:13Z | 2015-12-17T22:43:13Z | CONTRIBUTOR | null | When either start or end is at the boundary of a date_range, they get dropped when they shouldn't if we specify the closed argument, see example below:
```
In [1]: pd.date_range('2015-09-12', '2015-10-30', freq='QS-MAR', closed='right')
Out[1]: DatetimeIndex([], dtype='datetime64[ns]', freq='QS-MAR')
In [2]: pd.date_range('2015-09-01', '2015-10-30', freq='QS-MAR', closed='left')
Out[2]: DatetimeInddex([], dtype='datetime64[ns]', freq='QS-MAR')
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11804/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11804/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11805 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11805/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11805/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11805/events | https://github.com/pandas-dev/pandas/issues/11805 | 121,285,204 | MDU6SXNzdWUxMjEyODUyMDQ= | 11,805 | BUG: groupby().plot(kind='scatter') broken | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
},
{
"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": "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"
} | 0 | 2015-12-09T16:28:43Z | 2015-12-28T10:08:29Z | 2015-12-28T10:08:29Z | MEMBER | null | From SO: http://stackoverflow.com/questions/34123075/pandas-scatterplot-not-working-as-intended
```
import pandas as pd
url = 'https://raw.githubusercontent.com/cs109/2014_data/master/diamonds.csv'
diamonds = pd.read_csv(url, sep = ',', index_col=0)
diamonds.groupby('color').plot(kind='scatter', x='carat', y='price')
```
does not give you a scatter plot anymore (as an illustration, notebook with [pandas 0.16.2](http://nbviewer.ipython.org/gist/jorisvandenbossche/db561cfcd767356c76c6) and [pandas 0.17.0](http://nbviewer.ipython.org/gist/jorisvandenbossche/606509ef281f28f97bc9) )
This worked fine in pandas 0.16.2, but not anymore in 0.17.0 (or master). With using the new accessor syntax: `diamonds.groupby('color').plot.scatter(x='carat', y='price')` it still works.
Possibly related to the accessor plotting? @shoyer
cc @TomAugspurger @sinhrks
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11805/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11805/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11806 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11806/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11806/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11806/events | https://github.com/pandas-dev/pandas/pull/11806 | 121,314,316 | MDExOlB1bGxSZXF1ZXN0NTMxNjE3NzA= | 11,806 | be more careful with half-opened date_range | {
"avatar_url": "https://avatars.githubusercontent.com/u/494248?v=4",
"events_url": "https://api.github.com/users/thrasibule/events{/privacy}",
"followers_url": "https://api.github.com/users/thrasibule/followers",
"following_url": "https://api.github.com/users/thrasibule/following{/other_user}",
"gists_url": "https://api.github.com/users/thrasibule/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/thrasibule",
"id": 494248,
"login": "thrasibule",
"node_id": "MDQ6VXNlcjQ5NDI0OA==",
"organizations_url": "https://api.github.com/users/thrasibule/orgs",
"received_events_url": "https://api.github.com/users/thrasibule/received_events",
"repos_url": "https://api.github.com/users/thrasibule/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/thrasibule/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/thrasibule/subscriptions",
"type": "User",
"url": "https://api.github.com/users/thrasibule"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "0052cc",
"default": false,
"description": "DateOffsets",
"id": 53181044,
"name": "Frequency",
"node_id": "MDU6TGFiZWw1MzE4MTA0NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency"
}
]
| closed | false | null | []
| {
"closed_at": "2016-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"
} | 5 | 2015-12-09T18:54:09Z | 2015-12-18T19:33:16Z | 2015-12-17T22:43:13Z | CONTRIBUTOR | null | closes #11804
This changes the definition of 'left' and 'right'. If the generated_dates are strictly within (start, end), then changing the value of closed has no impact. Before the code would always remove the leftmost date or rightmost date independently of the value of start and end.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11806/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11806/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11806.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11806",
"merged_at": "2015-12-17T22:43:13Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11806.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11806"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11807 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11807/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11807/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11807/events | https://github.com/pandas-dev/pandas/issues/11807 | 121,351,213 | MDU6SXNzdWUxMjEzNTEyMTM= | 11,807 | Series.hist() potential bug. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1490869?v=4",
"events_url": "https://api.github.com/users/mmitsui/events{/privacy}",
"followers_url": "https://api.github.com/users/mmitsui/followers",
"following_url": "https://api.github.com/users/mmitsui/following{/other_user}",
"gists_url": "https://api.github.com/users/mmitsui/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mmitsui",
"id": 1490869,
"login": "mmitsui",
"node_id": "MDQ6VXNlcjE0OTA4Njk=",
"organizations_url": "https://api.github.com/users/mmitsui/orgs",
"received_events_url": "https://api.github.com/users/mmitsui/received_events",
"repos_url": "https://api.github.com/users/mmitsui/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mmitsui/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mmitsui/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mmitsui"
} | [
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
]
| closed | false | null | []
| null | 5 | 2015-12-09T22:08:23Z | 2015-12-14T14:08:26Z | 2015-12-11T00:05:48Z | NONE | null | The following line of code prints the wrong distribution:
``` python
import matplotlib.pyplot as plt
import pandas as pd
# df is a pd.DataFrame object. Define df here...
plt.figure();
(df['x1'] - df['x2']).hist(normed=True)
plt.show();
```
It should print the green distribution, but it prints the blue instead (which is not even a proper distribution).
I'm including the exact lists I used, x1 and x2, below. These are ordered lists, so please insert them into your DataFrame accordingly.
(Pardon my presentation of the x-labels in the green figure. Just shift them 1/2-bar length to the right.)
``` python
x1 = [4, 4, 6, 4, 4, 4, 4, 5, 5, 6, 4, 4, 5, 6, 4, 4, 4, 4, 5, 5, 6, 5, 3, 6, 6, 7, 7, 7, 4, 6, 4, 5, 4, 5, 4, 3, 7, 7, 7, 5, 4, 5, 4, 3, 5, 4, 4, 5, 6, 5, 4, 4, 4, 5, 6, 4, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 6, 7, 6, 7, 7, 7, 7, 6, 7, 7, 7, 5, 7, 7, 7, 7, 7, 5, 7, 5, 5, 7, 6, 7, 6, 4, 6, 7, 6, 7, 1, 6, 7, 2, 7, 4, 6, 7, 6, 6, 4, 6, 7, 7, 7, 5, 7, 6, 7, 4, 6, 7, 7, 6, 5, 7, 6, 6, 6, 6, 5, 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 4, 7, 4, 5, 7, 6, 7, 4, 5, 7, 7, 7, 7, 7, 7, 7, 7, 4, 4, 5, 5, 7, 7, 7, 7, 6, 7]
x2 = [4, 4, 6, 3, 4, 4, 4, 5, 6, 6, 4, 4, 5, 6, 4, 4, 4, 4, 5, 5, 5, 5, 5, 6, 6, 7, 7, 7, 5, 7, 2, 4, 4, 4, 6, 7, 7, 7, 7, 4, 5, 4, 5, 3, 5, 4, 5, 5, 6, 5, 5, 5, 4, 5, 6, 4, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 4, 7, 7, 7, 7, 7, 7, 7, 5, 5, 7, 7, 7, 5, 5, 5, 7, 7, 7, 7, 7, 7, 7, 7, 7, 6, 5, 6, 6, 5, 6, 7, 7, 7, 5, 7, 7, 6, 5, 5, 6, 6, 6, 5, 7, 5, 5, 5, 5, 4, 4, 3, 4, 7, 4, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 6, 6, 4, 4, 6, 5, 6, 4, 5, 7, 5, 7, 7, 7, 7, 7, 7, 5, 5, 7, 7, 7, 7, 7, 7, 7, 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/11807/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11807/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11808 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11808/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11808/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11808/events | https://github.com/pandas-dev/pandas/issues/11808 | 121,352,916 | MDU6SXNzdWUxMjEzNTI5MTY= | 11,808 | AttributeError raised inside property of DataFrame hides error source. | {
"avatar_url": "https://avatars.githubusercontent.com/u/5177339?v=4",
"events_url": "https://api.github.com/users/benavente/events{/privacy}",
"followers_url": "https://api.github.com/users/benavente/followers",
"following_url": "https://api.github.com/users/benavente/following{/other_user}",
"gists_url": "https://api.github.com/users/benavente/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/benavente",
"id": 5177339,
"login": "benavente",
"node_id": "MDQ6VXNlcjUxNzczMzk=",
"organizations_url": "https://api.github.com/users/benavente/orgs",
"received_events_url": "https://api.github.com/users/benavente/received_events",
"repos_url": "https://api.github.com/users/benavente/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/benavente/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/benavente/subscriptions",
"type": "User",
"url": "https://api.github.com/users/benavente"
} | [
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
}
]
| closed | false | null | []
| {
"closed_at": "2016-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 | 2015-12-09T22:15:32Z | 2015-12-11T13:07:58Z | 2015-12-11T13:07:58Z | NONE | null | When an `AttributeError` is raised inside a property in DataFrame, regular attribute access fails and `__getattr__` in `NDFrame` is called.
Since the property's attribute name is neither in `_internal_names_set` nor `_info_axis`, a new exception is risen and the original stack trace is lost.
``` python
import pandas as pd
class A(pd.DataFrame):
@property
def foo(self):
return 1 / 0
@property
def bar(self):
return self.i_dont_exist
>>> a = A()
>>> a.foo
ZeroDivisionError
>>> a.bar
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-35-0eea75f4bdee> in <module>()
12 #a.foo # ZeroDivisionError
13
---> 14 a.bar # AttributeError: 'A' object has no attribute 'bar'
15
16 #a.i_dont_exist # AttributeError: 'str' object has no attribute 'isnull'
/usr/local/lib/python2.7/dist-packages/pandas/core/generic.pyc in __getattr__(self, name)
2148 return self[name]
2149 raise AttributeError("'%s' object has no attribute '%s'" %
-> 2150 (type(self).__name__, name))
2151
2152 def __setattr__(self, name, value):
AttributeError: 'A' object has no attribute 'bar'
>>> a.i_dont_exist # a.bar should include this in the stack trace:
AttributeError: 'A' object has no attribute 'i_dont_exist'
```
``` python
>>> pd.show_versions()
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.9.final.0
python-bits: 64
OS: Linux
OS-release: 3.19.0-39-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
pandas: 0.16.2
nose: 1.3.7
Cython: 0.23.4
numpy: 1.10.1
scipy: 0.16.0
statsmodels: None
IPython: 4.0.0
sphinx: None
patsy: None
dateutil: 2.4.2
pytz: 2015.6
bottleneck: None
tables: None
numexpr: None
matplotlib: 1.4.3
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: 4.3.2
html5lib: 0.999
httplib2: 0.9
apiclient: 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/11808/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11808/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11809 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11809/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11809/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11809/events | https://github.com/pandas-dev/pandas/pull/11809 | 121,363,870 | MDExOlB1bGxSZXF1ZXN0NTMxOTMzOTk= | 11,809 | ENH: Using built-in round on a series #11763 | {
"avatar_url": "https://avatars.githubusercontent.com/u/15113894?v=4",
"events_url": "https://api.github.com/users/Dr-Irv/events{/privacy}",
"followers_url": "https://api.github.com/users/Dr-Irv/followers",
"following_url": "https://api.github.com/users/Dr-Irv/following{/other_user}",
"gists_url": "https://api.github.com/users/Dr-Irv/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Dr-Irv",
"id": 15113894,
"login": "Dr-Irv",
"node_id": "MDQ6VXNlcjE1MTEzODk0",
"organizations_url": "https://api.github.com/users/Dr-Irv/orgs",
"received_events_url": "https://api.github.com/users/Dr-Irv/received_events",
"repos_url": "https://api.github.com/users/Dr-Irv/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Dr-Irv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Dr-Irv/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Dr-Irv"
} | [
{
"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": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
}
]
| closed | false | null | []
| {
"closed_at": "2016-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"
} | 8 | 2015-12-09T23:17:21Z | 2015-12-15T22:52:24Z | 2015-12-15T22:51:56Z | CONTRIBUTOR | null | closes #11763
This contains changes to support `round()` (works in Python 3 only) for DataFrame, Series and Panel. Also includes `Panel.round()`. Note on code changes - moved code from test_format.py to test_frame.py because it made more logical sense to put the testing code for `round()` into test_frame.py
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11809/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11809/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11809.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11809",
"merged_at": "2015-12-15T22:51:56Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11809.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11809"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11810 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11810/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11810/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11810/events | https://github.com/pandas-dev/pandas/issues/11810 | 121,407,305 | MDU6SXNzdWUxMjE0MDczMDU= | 11,810 | raise ValueError in DataFrame.groupby.apply when index is duplicated | {
"avatar_url": "https://avatars.githubusercontent.com/u/12823797?v=4",
"events_url": "https://api.github.com/users/quantchen/events{/privacy}",
"followers_url": "https://api.github.com/users/quantchen/followers",
"following_url": "https://api.github.com/users/quantchen/following{/other_user}",
"gists_url": "https://api.github.com/users/quantchen/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/quantchen",
"id": 12823797,
"login": "quantchen",
"node_id": "MDQ6VXNlcjEyODIzNzk3",
"organizations_url": "https://api.github.com/users/quantchen/orgs",
"received_events_url": "https://api.github.com/users/quantchen/received_events",
"repos_url": "https://api.github.com/users/quantchen/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/quantchen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/quantchen/subscriptions",
"type": "User",
"url": "https://api.github.com/users/quantchen"
} | [
{
"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": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
}
]
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 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 | 2015-12-10T05:51:39Z | 2021-03-27T13:19:34Z | 2021-03-27T13:19:34Z | NONE | null | Exception is raised when the index is duplicated
Fro example:
```
df = pd.DataFrame([['a',1],['b',1],['a',2],['b',2]],columns=['c1','c2'], index=list('ccdd'))
df.groupby('c1').apply(lambda x:x)
raise ValueError("cannot reindex from a duplicate axis")
ValueError: cannot reindex from a duplicate axis
```
This is a new issue affecting 0.17
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11810/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11810/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11811 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11811/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11811/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11811/events | https://github.com/pandas-dev/pandas/issues/11811 | 121,415,057 | MDU6SXNzdWUxMjE0MTUwNTc= | 11,811 | pct_change with freq on groupby broken | {
"avatar_url": "https://avatars.githubusercontent.com/u/707839?v=4",
"events_url": "https://api.github.com/users/bobobo1618/events{/privacy}",
"followers_url": "https://api.github.com/users/bobobo1618/followers",
"following_url": "https://api.github.com/users/bobobo1618/following{/other_user}",
"gists_url": "https://api.github.com/users/bobobo1618/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bobobo1618",
"id": 707839,
"login": "bobobo1618",
"node_id": "MDQ6VXNlcjcwNzgzOQ==",
"organizations_url": "https://api.github.com/users/bobobo1618/orgs",
"received_events_url": "https://api.github.com/users/bobobo1618/received_events",
"repos_url": "https://api.github.com/users/bobobo1618/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bobobo1618/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bobobo1618/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bobobo1618"
} | [
{
"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": "DateOffsets",
"id": 53181044,
"name": "Frequency",
"node_id": "MDU6TGFiZWw1MzE4MTA0NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
},
{
"color": "207de5",
"default": false,
"description": "resample method",
"id": 74975453,
"name": "Resample",
"node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample"
}
]
| closed | false | null | []
| null | 8 | 2015-12-10T06:27:05Z | 2018-06-05T15:24:27Z | 2018-05-30T11:11:29Z | NONE | null | ``` python
>>> pd.__version__
u'0.17.1'
# Column 1 is a date column, column 0 is a text column representing a stock symbol, column 12 is a price
>>> rawdat = pd.read_csv('./data.csv', parse_dates=[1], index_col=[0, 1], usecols=[0, 1, 12])
# Get monthly change in value for each stock symbol
>>> rawdat.groupby(level=0).pct_change(freq='M')
<Empty>
>>> rawdat.groupby(level=0).pct_change()
<Lots of data>
>>> rawdat.loc[['AAPL']].reset_index(level=0, drop=True).pct_change(freq='M')
<Lots of data>
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11811/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11811/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11812 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11812/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11812/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11812/events | https://github.com/pandas-dev/pandas/issues/11812 | 121,472,940 | MDU6SXNzdWUxMjE0NzI5NDA= | 11,812 | to_csv locale dependent float_format | {
"avatar_url": "https://avatars.githubusercontent.com/u/53390?v=4",
"events_url": "https://api.github.com/users/Winand/events{/privacy}",
"followers_url": "https://api.github.com/users/Winand/followers",
"following_url": "https://api.github.com/users/Winand/following{/other_user}",
"gists_url": "https://api.github.com/users/Winand/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Winand",
"id": 53390,
"login": "Winand",
"node_id": "MDQ6VXNlcjUzMzkw",
"organizations_url": "https://api.github.com/users/Winand/orgs",
"received_events_url": "https://api.github.com/users/Winand/received_events",
"repos_url": "https://api.github.com/users/Winand/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Winand/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Winand/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Winand"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
]
| open | false | null | []
| {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 6 | 2015-12-10T12:30:58Z | 2021-04-21T05:22:45Z | null | CONTRIBUTOR | null | Python (3.4) doesn't support `"%n"%9.0`, have to use `"{:n}".format(9.0)` instead.
But pandas (0.17.0) `to_native_types` uses 1st type of string formatting, so locale dependent format cannot be used with `to_csv` .
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11812/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11812/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11813 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11813/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11813/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11813/events | https://github.com/pandas-dev/pandas/pull/11813 | 121,529,549 | MDExOlB1bGxSZXF1ZXN0NTMyODQ1MTA= | 11,813 | ENH: GH11128 add weekday_name to DatetimeIndex and .dt | {
"avatar_url": "https://avatars.githubusercontent.com/u/2069852?v=4",
"events_url": "https://api.github.com/users/bahrunnur/events{/privacy}",
"followers_url": "https://api.github.com/users/bahrunnur/followers",
"following_url": "https://api.github.com/users/bahrunnur/following{/other_user}",
"gists_url": "https://api.github.com/users/bahrunnur/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bahrunnur",
"id": 2069852,
"login": "bahrunnur",
"node_id": "MDQ6VXNlcjIwNjk4NTI=",
"organizations_url": "https://api.github.com/users/bahrunnur/orgs",
"received_events_url": "https://api.github.com/users/bahrunnur/received_events",
"repos_url": "https://api.github.com/users/bahrunnur/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bahrunnur/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bahrunnur/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bahrunnur"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
}
]
| closed | false | null | []
| null | 12 | 2015-12-10T16:47:12Z | 2016-04-05T19:13:15Z | 2016-04-05T19:13:15Z | NONE | null | closes #11128
some examples:
```
In [5]: s2 = s.to_frame('value').assign(weekday=s.index.weekday_name)
In [6]: s2
Out[6]:
value weekday
2015-09-01 0 tuesday
2015-09-02 1 wednesday
2015-09-03 2 thursday
2015-09-04 3 friday
2015-09-05 4 saturday
2015-09-06 5 sunday
2015-09-07 6 monday
2015-09-08 7 tuesday
2015-09-09 8 wednesday
2015-09-10 9 thursday
```
and
```
In [7]: s3 = pd.Series(pd.date_range('2015-09-01', '2015-09-10'))
In [8]: s3.dt.weekday_name
Out[8]:
0 tuesday
1 wednesday
2 thursday
3 friday
4 saturday
5 sunday
6 monday
7 tuesday
8 wednesday
9 thursday
dtype: object
```
Please review my code :smile:
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11813/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11813/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11813.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11813",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/11813.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11813"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11814 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11814/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11814/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11814/events | https://github.com/pandas-dev/pandas/issues/11814 | 121,583,397 | MDU6SXNzdWUxMjE1ODMzOTc= | 11,814 | BUG?: `_is_view == False` for DataFrame from DataFrame | {
"avatar_url": "https://avatars.githubusercontent.com/u/9683693?v=4",
"events_url": "https://api.github.com/users/nickeubank/events{/privacy}",
"followers_url": "https://api.github.com/users/nickeubank/followers",
"following_url": "https://api.github.com/users/nickeubank/following{/other_user}",
"gists_url": "https://api.github.com/users/nickeubank/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/nickeubank",
"id": 9683693,
"login": "nickeubank",
"node_id": "MDQ6VXNlcjk2ODM2OTM=",
"organizations_url": "https://api.github.com/users/nickeubank/orgs",
"received_events_url": "https://api.github.com/users/nickeubank/received_events",
"repos_url": "https://api.github.com/users/nickeubank/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/nickeubank/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nickeubank/subscriptions",
"type": "User",
"url": "https://api.github.com/users/nickeubank"
} | [
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
},
{
"color": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
}
]
| closed | false | null | []
| null | 7 | 2015-12-10T21:40:35Z | 2020-05-11T19:44:44Z | 2015-12-11T00:38:02Z | CONTRIBUTOR | null | Constructing off a dataframe creates a _de facto_ view, but `._is_view` reports false. Seems like a bug.
```
In [1]:
df = pd.DataFrame({'col1':[1,2], 'col2':[3,4]})
df2 = pd.DataFrame(df)
df2._is_view
Out[1]:
False
In [2]:
df.loc[0,'col1'] = -88
df2
Out[2]:
col1 col2
0 -88 3
1 2 4
```
Suggestions on how best to fix?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11814/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11814/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11815 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11815/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11815/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11815/events | https://github.com/pandas-dev/pandas/issues/11815 | 121,601,831 | MDU6SXNzdWUxMjE2MDE4MzE= | 11,815 | BUG: Series.argsort with NaN | {
"avatar_url": "https://avatars.githubusercontent.com/u/296164?v=4",
"events_url": "https://api.github.com/users/jseabold/events{/privacy}",
"followers_url": "https://api.github.com/users/jseabold/followers",
"following_url": "https://api.github.com/users/jseabold/following{/other_user}",
"gists_url": "https://api.github.com/users/jseabold/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jseabold",
"id": 296164,
"login": "jseabold",
"node_id": "MDQ6VXNlcjI5NjE2NA==",
"organizations_url": "https://api.github.com/users/jseabold/orgs",
"received_events_url": "https://api.github.com/users/jseabold/received_events",
"repos_url": "https://api.github.com/users/jseabold/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jseabold/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jseabold/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jseabold"
} | [
{
"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 | 2015-12-10T23:28:32Z | 2015-12-11T00:31:23Z | 2015-12-11T00:31:23Z | CONTRIBUTOR | null | Am I missing something?
```
In [178]: z = pd.Series(np.random.randn(10), index=np.arange(2, 12))
In [179]: z
Out[179]:
2 0.130294
3 1.567679
4 0.912771
5 1.097172
6 -0.259776
7 -1.546187
8 0.449616
9 0.197778
10 0.055520
11 1.170821
dtype: float64
In [180]: z.iloc[z.argsort()]
Out[180]:
7 -1.546187
6 -0.259776
10 0.055520
2 0.130294
9 0.197778
8 0.449616
4 0.912771
5 1.097172
11 1.170821
3 1.567679
dtype: float64
In [181]: z[2] = np.nan
In [182]: z.iloc[z.argsort()]
Out[182]:
11 1.170821
6 -0.259776
5 1.097172
9 0.197778
8 0.449616
7 -1.546187
3 1.567679
4 0.912771
10 0.055520
2 NaN
dtype: float64
In [184]: pd.__version__
Out[184]: '0.17.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/11815/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11815/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11816 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11816/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11816/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11816/events | https://github.com/pandas-dev/pandas/pull/11816 | 121,602,407 | MDExOlB1bGxSZXF1ZXN0NTMzMzM4NDQ= | 11,816 | ENH: add 'asm8' to NaT | {
"avatar_url": "https://avatars.githubusercontent.com/u/3064397?v=4",
"events_url": "https://api.github.com/users/llllllllll/events{/privacy}",
"followers_url": "https://api.github.com/users/llllllllll/followers",
"following_url": "https://api.github.com/users/llllllllll/following{/other_user}",
"gists_url": "https://api.github.com/users/llllllllll/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/llllllllll",
"id": 3064397,
"login": "llllllllll",
"node_id": "MDQ6VXNlcjMwNjQzOTc=",
"organizations_url": "https://api.github.com/users/llllllllll/orgs",
"received_events_url": "https://api.github.com/users/llllllllll/received_events",
"repos_url": "https://api.github.com/users/llllllllll/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/llllllllll/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/llllllllll/subscriptions",
"type": "User",
"url": "https://api.github.com/users/llllllllll"
} | [
{
"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": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
}
]
| closed | false | null | []
| {
"closed_at": "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"
} | 8 | 2015-12-10T23:33:14Z | 2015-12-11T13:05:35Z | 2015-12-11T13:05:31Z | CONTRIBUTOR | null | I was suprised to find that `NaT.asm8` does not exist though there is a valid nat form for `numpy.datetime64`.
This also adds tests for the asm8 behavior for a random sample of times and `NaT`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11816/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11816/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11816.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11816",
"merged_at": "2015-12-11T13:05:31Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11816.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11816"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11817 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11817/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11817/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11817/events | https://github.com/pandas-dev/pandas/issues/11817 | 121,605,661 | MDU6SXNzdWUxMjE2MDU2NjE= | 11,817 | Specify column format by name | {
"avatar_url": "https://avatars.githubusercontent.com/u/7996484?v=4",
"events_url": "https://api.github.com/users/djchou/events{/privacy}",
"followers_url": "https://api.github.com/users/djchou/followers",
"following_url": "https://api.github.com/users/djchou/following{/other_user}",
"gists_url": "https://api.github.com/users/djchou/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/djchou",
"id": 7996484,
"login": "djchou",
"node_id": "MDQ6VXNlcjc5OTY0ODQ=",
"organizations_url": "https://api.github.com/users/djchou/orgs",
"received_events_url": "https://api.github.com/users/djchou/received_events",
"repos_url": "https://api.github.com/users/djchou/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/djchou/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/djchou/subscriptions",
"type": "User",
"url": "https://api.github.com/users/djchou"
} | [
{
"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": "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 | 2015-12-10T23:59:58Z | 2015-12-11T00:32:35Z | 2015-12-11T00:32:35Z | NONE | null | Is it possible to specify a column format by the column name?
i.e. Dataframe has two columns, both containing a array of integers. It would be great if the two columns could have different formats (i.e. one with commas, the other without, etc.)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11817/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11817/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11818 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11818/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11818/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11818/events | https://github.com/pandas-dev/pandas/issues/11818 | 121,611,194 | MDU6SXNzdWUxMjE2MTExOTQ= | 11,818 | ERR: between_time should raise on non-timelike objects | {
"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": "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"
}
]
| 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"
} | 1 | 2015-12-11T00:49:23Z | 2016-01-03T16:26:25Z | 2016-01-03T16:26:25Z | CONTRIBUTOR | null | from [SO](http://stackoverflow.com/questions/34207898/issue-selecting-data-between-time-from-dataframe-in-pandas-0-17-1/34214431#34214431)
so passing anything except `time` objects or strings should raise (might be a tad tricky as we don't have great time parsers, they all parse datetimelikes).
IIRC this was done for convenience at the time. But can lead to an unstatisfactory user experience.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11818/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11818/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11819 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11819/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11819/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11819/events | https://github.com/pandas-dev/pandas/pull/11819 | 121,639,504 | MDExOlB1bGxSZXF1ZXN0NTMzNTQ0OTA= | 11,819 | BUG: read_excel fails when empty sheets exist and sheetname=None #11711 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1084048?v=4",
"events_url": "https://api.github.com/users/sxwang/events{/privacy}",
"followers_url": "https://api.github.com/users/sxwang/followers",
"following_url": "https://api.github.com/users/sxwang/following{/other_user}",
"gists_url": "https://api.github.com/users/sxwang/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sxwang",
"id": 1084048,
"login": "sxwang",
"node_id": "MDQ6VXNlcjEwODQwNDg=",
"organizations_url": "https://api.github.com/users/sxwang/orgs",
"received_events_url": "https://api.github.com/users/sxwang/received_events",
"repos_url": "https://api.github.com/users/sxwang/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sxwang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sxwang/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sxwang"
} | [
{
"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": "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": "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"
} | 5 | 2015-12-11T05:13:19Z | 2015-12-15T04:34:56Z | 2015-12-12T13:49:39Z | CONTRIBUTOR | null | Fixes issue #11711.
Existing code prematurely returns an empty dataframe when an empty sheet in the source excel file is encountered.
Fix is to store an empty dataframe in the output dict and continue to the next sheet.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11819/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11819/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11819.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11819",
"merged_at": "2015-12-12T13:49:39Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11819.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11819"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11820 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11820/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11820/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11820/events | https://github.com/pandas-dev/pandas/issues/11820 | 121,640,874 | MDU6SXNzdWUxMjE2NDA4NzQ= | 11,820 | Pandas DataFrame.to_json() does a Segmentation fault with data datetime64[ns, TimeZone] | {
"avatar_url": "https://avatars.githubusercontent.com/u/476201?v=4",
"events_url": "https://api.github.com/users/shishirsharma/events{/privacy}",
"followers_url": "https://api.github.com/users/shishirsharma/followers",
"following_url": "https://api.github.com/users/shishirsharma/following{/other_user}",
"gists_url": "https://api.github.com/users/shishirsharma/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/shishirsharma",
"id": 476201,
"login": "shishirsharma",
"node_id": "MDQ6VXNlcjQ3NjIwMQ==",
"organizations_url": "https://api.github.com/users/shishirsharma/orgs",
"received_events_url": "https://api.github.com/users/shishirsharma/received_events",
"repos_url": "https://api.github.com/users/shishirsharma/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/shishirsharma/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/shishirsharma/subscriptions",
"type": "User",
"url": "https://api.github.com/users/shishirsharma"
} | [
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
},
{
"color": "207de5",
"default": false,
"description": "read_json, to_json, json_normalize",
"id": 49379259,
"name": "IO JSON",
"node_id": "MDU6TGFiZWw0OTM3OTI1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON"
},
{
"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 | 1 | 2015-12-11T05:30:17Z | 2015-12-11T13:44:30Z | 2015-12-11T13:44:15Z | NONE | null | This is the working example
```
(env)vagrant@app01:~/repos/peppertap_v1/shopper_bot$ uname -a
Linux app01 3.13.0-48-generic #80-Ubuntu SMP Thu Mar 12 11:16:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
(env)vagrant@app01:~/repos/peppertap_v1/shopper_bot$ python --version
Python 2.7.6
(env)vagrant@app01:~/repos/peppertap_v1/shopper_bot$ pip list | grep num
You are using pip version 7.0.3, however version 7.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
numpy (1.10.1)
phonenumbers (6.0.0a0)
(env)vagrant@app01:~/repos/peppertap_v1/shopper_bot$ pip list | grep pandas
You are using pip version 7.0.3, however version 7.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
pandas (0.17.1)
env)vagrant@app01:~/repos/peppertap_v1/shopper_bot$ python
Python 2.7.6 (default, Mar 22 2014, 22:59:56)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pandas as pd
>>> df = pd.DataFrame({'A' : pd.date_range('20130101',periods=3), 'B' : pd.date_range('20130101',periods=3,tz='US/Eastern'), 'C' : pd.date_range('20130101',periods=3,tz='CET')})
>>> df.dtypes
A datetime64[ns]
B datetime64[ns, US/Eastern]
C datetime64[ns, CET]
dtype: object
>>> df.to_json()
Segmentation fault (core dumped)
(env)vagrant@app01:~/repos/peppertap_v1/shopper_bot$
```
The only solution I found is to remove tz_localize(None)
```
(env)vagrant@app01:~/repos/peppertap_v1/shopper_bot$ python
Python 2.7.6 (default, Mar 22 2014, 22:59:56)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pandas as pd
>>> df = pd.DataFrame({'A' : pd.date_range('20130101',periods=3), 'B' : pd.date_range('20130101',periods=3), 'C' : pd.date_range('20130101',periods=3)})
>>> df.to_json()
'{"A":{"0":1356998400000,"1":1357084800000,"2":1357171200000},"B":{"0":1356998400000,"1":1357084800000,"2":1357171200000},"C":{"0":1356998400000,"1":1357084800000,"2":1357171200000}}'
>>>
(env)vagrant@app01:~/repos/peppertap_v1/shopper_bot$
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11820/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11820/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11821 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11821/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11821/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11821/events | https://github.com/pandas-dev/pandas/pull/11821 | 121,641,778 | MDExOlB1bGxSZXF1ZXN0NTMzNTU3MTE= | 11,821 | DOC: Fix typo in example for df.merge() | {
"avatar_url": "https://avatars.githubusercontent.com/u/2073530?v=4",
"events_url": "https://api.github.com/users/proinsias/events{/privacy}",
"followers_url": "https://api.github.com/users/proinsias/followers",
"following_url": "https://api.github.com/users/proinsias/following{/other_user}",
"gists_url": "https://api.github.com/users/proinsias/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/proinsias",
"id": 2073530,
"login": "proinsias",
"node_id": "MDQ6VXNlcjIwNzM1MzA=",
"organizations_url": "https://api.github.com/users/proinsias/orgs",
"received_events_url": "https://api.github.com/users/proinsias/received_events",
"repos_url": "https://api.github.com/users/proinsias/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/proinsias/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/proinsias/subscriptions",
"type": "User",
"url": "https://api.github.com/users/proinsias"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
]
| closed | false | null | []
| {
"closed_at": "2016-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 | 2015-12-11T05:41:31Z | 2015-12-15T19:45:57Z | 2015-12-11T15:37:53Z | CONTRIBUTOR | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11821/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11821/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11821.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11821",
"merged_at": "2015-12-11T15:37:53Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11821.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11821"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/11822 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11822/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11822/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11822/events | https://github.com/pandas-dev/pandas/pull/11822 | 121,651,068 | MDExOlB1bGxSZXF1ZXN0NTMzNTk4NzE= | 11,822 | BUG: GH11808 subclasses of DataFrame did not propagate AttributeError | {
"avatar_url": "https://avatars.githubusercontent.com/u/10709573?v=4",
"events_url": "https://api.github.com/users/kawochen/events{/privacy}",
"followers_url": "https://api.github.com/users/kawochen/followers",
"following_url": "https://api.github.com/users/kawochen/following{/other_user}",
"gists_url": "https://api.github.com/users/kawochen/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kawochen",
"id": 10709573,
"login": "kawochen",
"node_id": "MDQ6VXNlcjEwNzA5NTcz",
"organizations_url": "https://api.github.com/users/kawochen/orgs",
"received_events_url": "https://api.github.com/users/kawochen/received_events",
"repos_url": "https://api.github.com/users/kawochen/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kawochen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kawochen/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kawochen"
} | [
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
}
]
| closed | false | null | []
| {
"closed_at": "2016-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"
} | 1 | 2015-12-11T06:58:52Z | 2015-12-11T13:08:02Z | 2015-12-11T13:07:58Z | CONTRIBUTOR | null | closes #11808
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11822/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11822/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11822.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11822",
"merged_at": "2015-12-11T13:07:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11822.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11822"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11823 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11823/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11823/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11823/events | https://github.com/pandas-dev/pandas/issues/11823 | 121,691,738 | MDU6SXNzdWUxMjE2OTE3Mzg= | 11,823 | Dataframe loading with duplicated columns and usecols | {
"avatar_url": "https://avatars.githubusercontent.com/u/5559127?v=4",
"events_url": "https://api.github.com/users/thenx/events{/privacy}",
"followers_url": "https://api.github.com/users/thenx/followers",
"following_url": "https://api.github.com/users/thenx/following{/other_user}",
"gists_url": "https://api.github.com/users/thenx/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/thenx",
"id": 5559127,
"login": "thenx",
"node_id": "MDQ6VXNlcjU1NTkxMjc=",
"organizations_url": "https://api.github.com/users/thenx/orgs",
"received_events_url": "https://api.github.com/users/thenx/received_events",
"repos_url": "https://api.github.com/users/thenx/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/thenx/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/thenx/subscriptions",
"type": "User",
"url": "https://api.github.com/users/thenx"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
]
| 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"
} | 19 | 2015-12-11T11:35:17Z | 2021-04-21T05:25:57Z | null | NONE | null | I'm using pandas 0.17.1
``` python
import pandas as pd
pd.__version__
```
`Out:'0.17.1'`
When column names are duplicated
``` python
cols = ['A', 'A', 'B']
with open('pandas.csv', 'w') as f:
f.write('1,2,3')
```
we can still load dataframe
``` python
pd.read_csv('pandas.csv',
header=None,
names=cols,
)
```
with explainable behaviour
```
Out:
A A B
0 2 2 3
```
Then we might want to load some of the columns with python engine
``` python
pd.read_csv('pandas.csv',
engine='python',
header=None,
names=cols,
usecols=cols
)
```
and get different but still explainable result
```
Out:
A B
0 1 3
```
But then we switch back to c-engine
``` python
pd.read_csv('pandas.csv',
engine='c',
header=None,
names=cols,
usecols=cols
)
```
and get the following
```
Out:
A A B
0 2 2 NaN
```
which is:
(a) different (which is not good in my opinion)
(b) looks like bug
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11823/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11823/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11824 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11824/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11824/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11824/events | https://github.com/pandas-dev/pandas/pull/11824 | 121,730,576 | MDExOlB1bGxSZXF1ZXN0NTM0MDY0Nzc= | 11,824 | TST: avoid int conversions on windows, xref #11816 | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "fbca04",
"default": false,
"description": "Windows OS",
"id": 57186974,
"name": "Windows",
"node_id": "MDU6TGFiZWw1NzE4Njk3NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Windows"
}
]
| closed | false | null | []
| {
"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"
} | 0 | 2015-12-11T15:35:06Z | 2015-12-11T15:49:34Z | 2015-12-11T15:49:34Z | CONTRIBUTOR | null | xref #11816
cc @llllllllll
had to change the test as this numpy bug on window: https://github.com/numpy/numpy/issues/6812
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11824/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11824/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11824.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11824",
"merged_at": "2015-12-11T15:49:34Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11824.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11824"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11825 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11825/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11825/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11825/events | https://github.com/pandas-dev/pandas/pull/11825 | 121,786,402 | MDExOlB1bGxSZXF1ZXN0NTM0NDA2MDc= | 11,825 | ENH: Interpolate NaT (GH-11701) | {
"avatar_url": "https://avatars.githubusercontent.com/u/1760374?v=4",
"events_url": "https://api.github.com/users/rinoc/events{/privacy}",
"followers_url": "https://api.github.com/users/rinoc/followers",
"following_url": "https://api.github.com/users/rinoc/following{/other_user}",
"gists_url": "https://api.github.com/users/rinoc/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rinoc",
"id": 1760374,
"login": "rinoc",
"node_id": "MDQ6VXNlcjE3NjAzNzQ=",
"organizations_url": "https://api.github.com/users/rinoc/orgs",
"received_events_url": "https://api.github.com/users/rinoc/received_events",
"repos_url": "https://api.github.com/users/rinoc/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rinoc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rinoc/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rinoc"
} | []
| closed | false | null | []
| null | 0 | 2015-12-11T20:32:29Z | 2015-12-11T20:32:48Z | 2015-12-11T20:32:48Z | CONTRIBUTOR | null | Implemented using the method described in the StackOverflow answer (http://stackoverflow.com/questions/33921795/fill-timestamp-nat-with-a-linear-interpolation/33922824#33922824).
It does lead to precision issues when converting `to_numeric` and back `to_datetime`.
Wondering if there is a better way to do 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/11825/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11825/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11825.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11825",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/11825.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11825"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11826 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11826/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11826/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11826/events | https://github.com/pandas-dev/pandas/pull/11826 | 121,833,346 | MDExOlB1bGxSZXF1ZXN0NTM0NjgzNjU= | 11,826 | DOC: Add example to pandas.DataFrame.applymap | {
"avatar_url": "https://avatars.githubusercontent.com/u/2073530?v=4",
"events_url": "https://api.github.com/users/proinsias/events{/privacy}",
"followers_url": "https://api.github.com/users/proinsias/followers",
"following_url": "https://api.github.com/users/proinsias/following{/other_user}",
"gists_url": "https://api.github.com/users/proinsias/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/proinsias",
"id": 2073530,
"login": "proinsias",
"node_id": "MDQ6VXNlcjIwNzM1MzA=",
"organizations_url": "https://api.github.com/users/proinsias/orgs",
"received_events_url": "https://api.github.com/users/proinsias/received_events",
"repos_url": "https://api.github.com/users/proinsias/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/proinsias/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/proinsias/subscriptions",
"type": "User",
"url": "https://api.github.com/users/proinsias"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
]
| closed | false | null | []
| {
"closed_at": "2016-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"
} | 5 | 2015-12-12T04:40:36Z | 2015-12-23T15:29:42Z | 2015-12-23T14:24:16Z | 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/11826/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11826/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11826.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11826",
"merged_at": "2015-12-23T14:24:16Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11826.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11826"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/11827 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11827/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11827/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11827/events | https://github.com/pandas-dev/pandas/pull/11827 | 121,835,488 | MDExOlB1bGxSZXF1ZXN0NTM0NjkzNzc= | 11,827 | CLN: Use sentinel values instead of mutable default arguments | {
"avatar_url": "https://avatars.githubusercontent.com/u/2073530?v=4",
"events_url": "https://api.github.com/users/proinsias/events{/privacy}",
"followers_url": "https://api.github.com/users/proinsias/followers",
"following_url": "https://api.github.com/users/proinsias/following{/other_user}",
"gists_url": "https://api.github.com/users/proinsias/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/proinsias",
"id": 2073530,
"login": "proinsias",
"node_id": "MDQ6VXNlcjIwNzM1MzA=",
"organizations_url": "https://api.github.com/users/proinsias/orgs",
"received_events_url": "https://api.github.com/users/proinsias/received_events",
"repos_url": "https://api.github.com/users/proinsias/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/proinsias/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/proinsias/subscriptions",
"type": "User",
"url": "https://api.github.com/users/proinsias"
} | [
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
]
| closed | false | null | []
| {
"closed_at": "2016-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"
} | 5 | 2015-12-12T05:44:13Z | 2015-12-15T20:46:07Z | 2015-12-15T19:55:48Z | CONTRIBUTOR | null | From [Quantified Code](https://www.quantifiedcode.com/):
Mutable list or dictionary used as default argument to a method or function. Python creates a single persistent object and uses it for every subsequent call in which the argument is left empty. This can cause problems if the program was expecting the function to return a new list or dictionary after every call. Use a sentinel value to denote an empty list or dictionary.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11827/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11827/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11827.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11827",
"merged_at": "2015-12-15T19:55:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11827.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11827"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11828 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11828/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11828/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11828/events | https://github.com/pandas-dev/pandas/pull/11828 | 121,836,018 | MDExOlB1bGxSZXF1ZXN0NTM0Njk2Mzk= | 11,828 | CLN: Use `is` operator for comparing with `None` (Pep8) | {
"avatar_url": "https://avatars.githubusercontent.com/u/2073530?v=4",
"events_url": "https://api.github.com/users/proinsias/events{/privacy}",
"followers_url": "https://api.github.com/users/proinsias/followers",
"following_url": "https://api.github.com/users/proinsias/following{/other_user}",
"gists_url": "https://api.github.com/users/proinsias/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/proinsias",
"id": 2073530,
"login": "proinsias",
"node_id": "MDQ6VXNlcjIwNzM1MzA=",
"organizations_url": "https://api.github.com/users/proinsias/orgs",
"received_events_url": "https://api.github.com/users/proinsias/received_events",
"repos_url": "https://api.github.com/users/proinsias/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/proinsias/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/proinsias/subscriptions",
"type": "User",
"url": "https://api.github.com/users/proinsias"
} | [
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
]
| closed | false | null | []
| {
"closed_at": "2016-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"
} | 5 | 2015-12-12T06:01:47Z | 2015-12-15T17:58:42Z | 2015-12-15T16:37:26Z | 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/11828/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11828/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11828.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11828",
"merged_at": "2015-12-15T16:37:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11828.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11828"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/11829 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11829/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11829/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11829/events | https://github.com/pandas-dev/pandas/pull/11829 | 121,839,218 | MDExOlB1bGxSZXF1ZXN0NTM0NzA4NzU= | 11,829 | CLN: Fix import collisions and optimize imports | {
"avatar_url": "https://avatars.githubusercontent.com/u/2073530?v=4",
"events_url": "https://api.github.com/users/proinsias/events{/privacy}",
"followers_url": "https://api.github.com/users/proinsias/followers",
"following_url": "https://api.github.com/users/proinsias/following{/other_user}",
"gists_url": "https://api.github.com/users/proinsias/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/proinsias",
"id": 2073530,
"login": "proinsias",
"node_id": "MDQ6VXNlcjIwNzM1MzA=",
"organizations_url": "https://api.github.com/users/proinsias/orgs",
"received_events_url": "https://api.github.com/users/proinsias/received_events",
"repos_url": "https://api.github.com/users/proinsias/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/proinsias/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/proinsias/subscriptions",
"type": "User",
"url": "https://api.github.com/users/proinsias"
} | [
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
]
| closed | false | null | []
| null | 1 | 2015-12-12T07:29:13Z | 2015-12-15T19:44:41Z | 2015-12-15T19:44:41Z | 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/11829/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11829/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11829.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11829",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/11829.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11829"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/11830 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11830/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11830/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11830/events | https://github.com/pandas-dev/pandas/issues/11830 | 121,846,659 | MDU6SXNzdWUxMjE4NDY2NTk= | 11,830 | groupby.nth lost multiindex | {
"avatar_url": "https://avatars.githubusercontent.com/u/10682573?v=4",
"events_url": "https://api.github.com/users/jesrael/events{/privacy}",
"followers_url": "https://api.github.com/users/jesrael/followers",
"following_url": "https://api.github.com/users/jesrael/following{/other_user}",
"gists_url": "https://api.github.com/users/jesrael/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jesrael",
"id": 10682573,
"login": "jesrael",
"node_id": "MDQ6VXNlcjEwNjgyNTcz",
"organizations_url": "https://api.github.com/users/jesrael/orgs",
"received_events_url": "https://api.github.com/users/jesrael/received_events",
"repos_url": "https://api.github.com/users/jesrael/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jesrael/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jesrael/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jesrael"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
]
| closed | false | null | []
| {
"closed_at": "2016-10-03T08:52:13Z",
"closed_issues": 733,
"created_at": "2016-03-11T21:24:45Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2016-09-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/40",
"id": 1639795,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels",
"node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==",
"number": 40,
"open_issues": 0,
"state": "closed",
"title": "0.19.0",
"updated_at": "2017-11-06T02:01:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40"
} | 9 | 2015-12-12T10:04:38Z | 2016-05-24T13:30:48Z | 2016-05-24T13:30:45Z | NONE | null | It is bug or not? Because in function `mean` and `first` it is OK.
[link](http://stackoverflow.com/questions/34237462/selecting-column-before-nth-breaks-group-indices/)
```
df = pd.DataFrame({'a': [1, 1, 2, 2], 'b': ['b', 'b', 'b', 'a'], 'c': [1, 2, 3, 4]})
print df
# a b c
#0 1 b 1
#1 1 b 2
#2 2 b 3
#3 2 a 4
#lost multiindex
print df.groupby(['a', 'b']).c.nth(0)
#0 1
#2 3
#3 4
#Name: c, dtype: int64
print df.groupby(['a', 'b']).c.mean()
#a b
#1 b 1.5
#2 a 4.0
# b 3.0
#Name: c, dtype: float64
print df.groupby(['a', 'b']).c.first()
#a b
#1 b 1
#2 a 4
# b 3
#Name: c, dtype: int64
print df.groupby(['a', 'b']).nth(0).c
#a b
#1 b 1
#2 a 4
# b 3
#Name: c, dtype: int64
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11830/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11830/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11831 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11831/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11831/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11831/events | https://github.com/pandas-dev/pandas/issues/11831 | 121,861,273 | MDU6SXNzdWUxMjE4NjEyNzM= | 11,831 | Performance issue with timeseries plotting on py3? | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
},
{
"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": "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": "2016-05-05T00:34:40Z",
"closed_issues": 306,
"created_at": "2016-02-08T15:29:59Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.18.0 of course!",
"due_on": "2016-05-04T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/38",
"id": 1570594,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/38/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NA==",
"number": 38,
"open_issues": 0,
"state": "closed",
"title": "0.18.1",
"updated_at": "2017-08-10T09:01:26Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/38"
} | 14 | 2015-12-12T15:20:38Z | 2016-04-26T19:21:19Z | 2016-04-26T19:21:19Z | MEMBER | null | I noticed a performance issue with plotting timeseries. After some trying with different environments (different pandas, matplotlib and python versions), it seems there is a problem on python 3 -> up to 10 x slowdown compared to python 2.7:
Python 2 and pandas 0.16.2 and 0.17.1:
```
In [2]: sys.version
Out[2]: '2.7.10 |Anaconda 1.7.0 (64-bit)| (default, Oct 21 2015, 19:35:23) [MSC
v.1500 64 bit (AMD64)]'
In [3]: pd.__version__
Out[3]: '0.16.2'
In [4]: matplotlib.__version__
Out[4]: '1.4.3'
In [6]: N = 2000
In [7]: df = pd.DataFrame(np.random.randn(N, 5), index=pd.date_range('1/1/1975', periods=N))
In [8]: %timeit df.plot()
1 loops, best of 3: 228 ms per loop
In [10]: df = pd.DataFrame(np.random.randn(N, 5))
In [11]: %timeit df.plot()
10 loops, best of 3: 110 ms per loop
```
```
In [1]: import sys
In [2]: sys.version
Out[2]: '2.7.11 |Continuum Analytics, Inc.| (default, Dec 7 2015, 14:10:42) [MS
C v.1500 64 bit (AMD64)]'
In [3]: pd.__version__
Out[3]: u'0.17.1'
In [4]: matplotlib.__version__
Out[4]: '1.5.0'
In [5]: N = 2000
In [6]: df = pd.DataFrame(np.random.randn(N, 5), index=pd.date_range('1/1/1975', periods=N))
In [7]: %timeit df.plot()
1 loops, best of 3: 269 ms per loop
In [8]: df = pd.DataFrame(np.random.randn(N, 5))
In [9]: %timeit df.plot()
10 loops, best of 3: 139 ms per loop
```
With python 3, pandas 0.16.2 and 0.17.1:
```
In [2]: sys.version
Out[2]: '3.5.0 |Continuum Analytics, Inc.| (default, Dec 1 2015, 11:46:22) [MSC
v.1900 64 bit (AMD64)]'
In [3]: pd.__version__
Out[3]: '0.16.2'
In [4]: matplotlib.__version__
Out[4]: '1.5.0'
In [5]: N = 2000
In [6]: df = pd.DataFrame(np.random.randn(N, 5), index=pd.date_range('1/1/1975', periods=N))
In [7]: %timeit df.plot()
1 loops, best of 3: 1.02 s per loop
In [9]: df = pd.DataFrame(np.random.randn(N, 5))
In [10]: %timeit df.plot()
10 loops, best of 3: 143 ms per loop
```
```
In [1]: import sys
In [2]: sys.version
Out[2]: '3.5.0 |Anaconda 2.4.0 (64-bit)| (default, Nov 7 2015, 13:15:24) [MSC v
.1900 64 bit (AMD64)]'
In [3]: pd.__version__
Out[3]: '0.17.1'
In [4]: matplotlib.__version__
Out[4]: '1.5.0'
In [5]: N = 2000
In [6]: df = pd.DataFrame(np.random.randn(N, 5), index=pd.date_range('1/1/1975', periods=N))
In [7]: %timeit df.plot()
1 loops, best of 3: 2.37 s per loop <------------ !!!! 10x slower than on py2.7
In [8]: df = pd.DataFrame(np.random.randn(N, 5))
In [9]: %timeit df.plot()
10 loops, best of 3: 132 ms per loop
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11831/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11831/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11832 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11832/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11832/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11832/events | https://github.com/pandas-dev/pandas/pull/11832 | 121,884,802 | MDExOlB1bGxSZXF1ZXN0NTM0ODcyODE= | 11,832 | ERR: between_time now checks for argument types | {
"avatar_url": "https://avatars.githubusercontent.com/u/3195015?v=4",
"events_url": "https://api.github.com/users/rockg/events{/privacy}",
"followers_url": "https://api.github.com/users/rockg/followers",
"following_url": "https://api.github.com/users/rockg/following{/other_user}",
"gists_url": "https://api.github.com/users/rockg/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rockg",
"id": 3195015,
"login": "rockg",
"node_id": "MDQ6VXNlcjMxOTUwMTU=",
"organizations_url": "https://api.github.com/users/rockg/orgs",
"received_events_url": "https://api.github.com/users/rockg/received_events",
"repos_url": "https://api.github.com/users/rockg/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rockg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rockg/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rockg"
} | [
{
"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"
}
]
| 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"
} | 14 | 2015-12-12T22:27:36Z | 2016-01-03T16:26:10Z | 2016-01-03T16:26:10Z | CONTRIBUTOR | null | Closes #11818
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11832/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11832/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11832.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11832",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/11832.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11832"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11833 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11833/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11833/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11833/events | https://github.com/pandas-dev/pandas/issues/11833 | 121,889,066 | MDU6SXNzdWUxMjE4ODkwNjY= | 11,833 | Leading space in to_string(index=False) | {
"avatar_url": "https://avatars.githubusercontent.com/u/2503544?v=4",
"events_url": "https://api.github.com/users/varunkumar-dev/events{/privacy}",
"followers_url": "https://api.github.com/users/varunkumar-dev/followers",
"following_url": "https://api.github.com/users/varunkumar-dev/following{/other_user}",
"gists_url": "https://api.github.com/users/varunkumar-dev/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/varunkumar-dev",
"id": 2503544,
"login": "varunkumar-dev",
"node_id": "MDQ6VXNlcjI1MDM1NDQ=",
"organizations_url": "https://api.github.com/users/varunkumar-dev/orgs",
"received_events_url": "https://api.github.com/users/varunkumar-dev/received_events",
"repos_url": "https://api.github.com/users/varunkumar-dev/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/varunkumar-dev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/varunkumar-dev/subscriptions",
"type": "User",
"url": "https://api.github.com/users/varunkumar-dev"
} | [
{
"color": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
}
]
| closed | false | null | []
| {
"closed_at": "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"
} | 3 | 2015-12-13T00:24:25Z | 2016-01-03T16:36:26Z | 2016-01-03T16:36:26Z | CONTRIBUTOR | null | #11750
``` python
In [2]: df = pd.DataFrame({'a':range(5)})
In [3]: df.to_string()
Out[3]: ' a\n0 0\n1 1\n2 2\n3 3\n4 4'
In [4]: df.to_string(index=False)
Out[4]: ' a\n 0\n 1\n 2\n 3\n 4'
```
What is the use of a leading space when index = False ?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11833/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11833/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11834 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11834/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11834/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11834/events | https://github.com/pandas-dev/pandas/pull/11834 | 121,896,950 | MDExOlB1bGxSZXF1ZXN0NTM0OTIyODc= | 11,834 | CLN: frequency.get_offset always return copy | {
"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": "0052cc",
"default": false,
"description": "DateOffsets",
"id": 53181044,
"name": "Frequency",
"node_id": "MDU6TGFiZWw1MzE4MTA0NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
]
| closed | false | null | []
| {
"closed_at": "2016-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"
} | 3 | 2015-12-13T04:01:11Z | 2015-12-27T06:41:58Z | 2015-12-26T00:28:22Z | MEMBER | null | Closes #11192.
Fix 2 points which should not affect to normal users (thus no release note descriptions).
- get_offset (#11192): It returns cached offset, overwriting it may leads to unexpected results. `pandas` public methods doesn't use them as it is. Thus it should not affect to almost all users, except who explicitly uses `frequencies.get_offset`
- get_offset_name: This looks leagacy impl which raises `ValueError` for `BDay` with `n != 1` which is valid input. I've marked this as deprecated, but it can be removed immediately as non-public.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11834/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11834/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11834.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11834",
"merged_at": "2015-12-26T00:28:22Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11834.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11834"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11835 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11835/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11835/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11835/events | https://github.com/pandas-dev/pandas/issues/11835 | 121,939,147 | MDU6SXNzdWUxMjE5MzkxNDc= | 11,835 | ERR: Maximum recursion depth exceeded in comparision when comparing a TimeDelta to numpy object array of TimeDelta | {
"avatar_url": "https://avatars.githubusercontent.com/u/321463?v=4",
"events_url": "https://api.github.com/users/WarrenWeckesser/events{/privacy}",
"followers_url": "https://api.github.com/users/WarrenWeckesser/followers",
"following_url": "https://api.github.com/users/WarrenWeckesser/following{/other_user}",
"gists_url": "https://api.github.com/users/WarrenWeckesser/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/WarrenWeckesser",
"id": 321463,
"login": "WarrenWeckesser",
"node_id": "MDQ6VXNlcjMyMTQ2Mw==",
"organizations_url": "https://api.github.com/users/WarrenWeckesser/orgs",
"received_events_url": "https://api.github.com/users/WarrenWeckesser/received_events",
"repos_url": "https://api.github.com/users/WarrenWeckesser/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/WarrenWeckesser/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/WarrenWeckesser/subscriptions",
"type": "User",
"url": "https://api.github.com/users/WarrenWeckesser"
} | [
{
"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": "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"
} | 1 | 2015-12-13T19:46:54Z | 2016-01-05T00:39:03Z | 2016-01-05T00:39:03Z | NONE | null | See http://stackoverflow.com/questions/34251068/runtimeerror-from-scipy-stats-mode-on-array-of-timedelta-maximum-recursion-dept
Python 3.5.1, pandas 0.17.1, numpy 0.10.1:
```
Python 3.5.1 |Continuum Analytics, Inc.| (default, Dec 7 2015, 11:24:55)
Type "copyright", "credits" or "license" for more information.
IPython 4.0.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]: np.__version__
Out[2]: '1.10.1'
In [3]: import pandas as pd
In [4]: pd.__version__
Out[4]: '0.17.1'
```
Create a numpy array of `TimeDelta` objects, and do a comparison of the array to a `TimeDelta` instance:
```
In [5]: from pandas import Timedelta
In [6]: periods = [Timedelta('0 days 01:00:00'), Timedelta('0 days 01:00:00')]
In [7]: p = np.array(periods)
In [8]: periods[0] > p
---------------------------------------------------------------------------
RecursionError Traceback (most recent call last)
<ipython-input-8-1c05a376ecc2> in <module>()
----> 1 periods[0] > p
pandas/tslib.pyx in pandas.tslib._Timedelta.__richcmp__ (pandas/tslib.c:38155)()
<SNIP>
pandas/tslib.pyx in pandas.tslib._Timedelta.__richcmp__ (pandas/tslib.c:38155)()
pandas/tslib.pyx in pandas.tslib._Timedelta.__richcmp__ (pandas/tslib.c:38155)()
RecursionError: maximum recursion depth exceeded in comparison
In [9]:
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11835/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11835/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11836 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11836/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11836/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11836/events | https://github.com/pandas-dev/pandas/issues/11836 | 121,944,000 | MDU6SXNzdWUxMjE5NDQwMDA= | 11,836 | int64 Index in 0.17 typcasts '0' string to integer | {
"avatar_url": "https://avatars.githubusercontent.com/u/43654?v=4",
"events_url": "https://api.github.com/users/AlbertDeFusco/events{/privacy}",
"followers_url": "https://api.github.com/users/AlbertDeFusco/followers",
"following_url": "https://api.github.com/users/AlbertDeFusco/following{/other_user}",
"gists_url": "https://api.github.com/users/AlbertDeFusco/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/AlbertDeFusco",
"id": 43654,
"login": "AlbertDeFusco",
"node_id": "MDQ6VXNlcjQzNjU0",
"organizations_url": "https://api.github.com/users/AlbertDeFusco/orgs",
"received_events_url": "https://api.github.com/users/AlbertDeFusco/received_events",
"repos_url": "https://api.github.com/users/AlbertDeFusco/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/AlbertDeFusco/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AlbertDeFusco/subscriptions",
"type": "User",
"url": "https://api.github.com/users/AlbertDeFusco"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
}
]
| 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 | 2015-12-13T21:11:01Z | 2016-02-13T13:34:34Z | 2016-02-13T13:34:34Z | NONE | null | Here's what I got. Is this expected behavior? I could not find a reference for this functionality in the release notes.
## 0.16
`conda create -n pd pandas=0.16 python=3.4 ipython`
In 0.16 the dtype of the index changes to object when adding a row with '0'.
```
In [1]: import pandas as pd
In [2]: import numpy as np
In [3]: data = np.random.random(10)
In [4]: m=pd.Series(data)
In [5]: m[0]=0.4444
In [6]: m.index
Out[6]: Int64Index([0, 1, 2, 3, 4, 5, 6, 7, 8, 9], dtype='int64')
In [7]: m['0']=0.5555
In [8]: m.index
Out[8]: Index([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, '0'], dtype='object')
```
## 0.17.1
`conda create -n pd pandas=0.17 python=3.4 ipython`
In 0.17.1 The index dtype does not change, but typecasts to the integer 0. Repeated assignment at the integer 0 index appends more 0s to the index.
```
In [1]: import pandas as pd
In [2]: import numpy as np
In [3]: data = np.random.random(10)
In [4]: m=pd.Series(data)
In [5]: m[0]=0.4444
In [6]: m.index
Out[6]: Int64Index([0, 1, 2, 3, 4, 5, 6, 7, 8, 9], dtype='int64')
In [7]: m['0']=0.5555
In [8]: m.index
Out [8]: Int64Index([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0], dtype='int64')
In [9]: m['0']=0.6666
In [10]: m.index
Out[10]: Int64Index([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 0], dtype='int64')
In [11]: m[0]
Out[11]:
0 0.4444
0 0.5555
0 0.6666
dtype: float64
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11836/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11836/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11837 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11837/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11837/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11837/events | https://github.com/pandas-dev/pandas/pull/11837 | 121,970,841 | MDExOlB1bGxSZXF1ZXN0NTM1MjI3NzI= | 11,837 | Spelling fixes | {
"avatar_url": "https://avatars.githubusercontent.com/u/4783997?v=4",
"events_url": "https://api.github.com/users/seales/events{/privacy}",
"followers_url": "https://api.github.com/users/seales/followers",
"following_url": "https://api.github.com/users/seales/following{/other_user}",
"gists_url": "https://api.github.com/users/seales/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/seales",
"id": 4783997,
"login": "seales",
"node_id": "MDQ6VXNlcjQ3ODM5OTc=",
"organizations_url": "https://api.github.com/users/seales/orgs",
"received_events_url": "https://api.github.com/users/seales/received_events",
"repos_url": "https://api.github.com/users/seales/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/seales/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/seales/subscriptions",
"type": "User",
"url": "https://api.github.com/users/seales"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
]
| closed | false | null | []
| {
"closed_at": "2016-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"
} | 1 | 2015-12-14T04:04:27Z | 2015-12-14T08:38:11Z | 2015-12-14T08:38:03Z | 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/11837/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11837/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11837.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11837",
"merged_at": "2015-12-14T08:38:03Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11837.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11837"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/11838 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11838/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11838/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11838/events | https://github.com/pandas-dev/pandas/issues/11838 | 122,082,544 | MDU6SXNzdWUxMjIwODI1NDQ= | 11,838 | REGR: .clip and datetime w/timezone | {
"avatar_url": "https://avatars.githubusercontent.com/u/342294?v=4",
"events_url": "https://api.github.com/users/ciamac/events{/privacy}",
"followers_url": "https://api.github.com/users/ciamac/followers",
"following_url": "https://api.github.com/users/ciamac/following{/other_user}",
"gists_url": "https://api.github.com/users/ciamac/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ciamac",
"id": 342294,
"login": "ciamac",
"node_id": "MDQ6VXNlcjM0MjI5NA==",
"organizations_url": "https://api.github.com/users/ciamac/orgs",
"received_events_url": "https://api.github.com/users/ciamac/received_events",
"repos_url": "https://api.github.com/users/ciamac/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ciamac/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ciamac/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ciamac"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
]
| closed | false | null | []
| {
"closed_at": "2016-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"
} | 1 | 2015-12-14T16:48:38Z | 2015-12-16T13:13:06Z | 2015-12-16T13:13:06Z | NONE | null | There seem to be some incompatibilities with timezones and timestamps in 0.17.1.
For example, here I'm trying to clip a timezone-aware column with a timezone-aware timestamp:
```
In [224]: import pandas
In [225]: u = pandas.Timestamp('2015-12-01 09:30:30', tz='US/Eastern')
In [226]: print u
2015-12-01 09:30:30-05:00
In [227]: df = pandas.DataFrame({ 'foo' : [ pandas.Timestamp('2015-12-01 09:30:00', tz='US/Eastern'), pandas.Timestamp('2015-12-01 09:31:00', tz='US/Eastern') ] })
In [228]: print df
foo
0 2015-12-01 09:30:00-05:00
1 2015-12-01 09:31:00-05:00
In [229]: df['foo'].clip(upper=u)
TypeError: Could not compare [Timestamp('2015-12-01 09:30:30-0500', tz='US/Eastern')] with block values
```
This code used to work on 0.16.2.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11838/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11838/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11839 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11839/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11839/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11839/events | https://github.com/pandas-dev/pandas/issues/11839 | 122,127,917 | MDU6SXNzdWUxMjIxMjc5MTc= | 11,839 | "NA" value from Excel read by Pandas as nan | {
"avatar_url": "https://avatars.githubusercontent.com/u/5429957?v=4",
"events_url": "https://api.github.com/users/fitsoft/events{/privacy}",
"followers_url": "https://api.github.com/users/fitsoft/followers",
"following_url": "https://api.github.com/users/fitsoft/following{/other_user}",
"gists_url": "https://api.github.com/users/fitsoft/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fitsoft",
"id": 5429957,
"login": "fitsoft",
"node_id": "MDQ6VXNlcjU0Mjk5NTc=",
"organizations_url": "https://api.github.com/users/fitsoft/orgs",
"received_events_url": "https://api.github.com/users/fitsoft/received_events",
"repos_url": "https://api.github.com/users/fitsoft/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fitsoft/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fitsoft/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fitsoft"
} | [
{
"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"
},
{
"color": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
}
]
| closed | false | null | []
| null | 1 | 2015-12-14T20:47:59Z | 2015-12-14T22:39:51Z | 2015-12-14T22:39:01Z | NONE | null | When doing a:
df = pd.read_excel('cb2.xlsx') in the column 'Zone', in which there are strings like "APAC", "EUR", "NA"
Surprisingly, the value "NA" is interpreted by pandas as nan
[cb2.xlsx](https://github.com/pydata/pandas/files/61735/cb2.xlsx)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11839/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11839/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11840 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11840/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11840/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11840/events | https://github.com/pandas-dev/pandas/issues/11840 | 122,151,053 | MDU6SXNzdWUxMjIxNTEwNTM= | 11,840 | Unexpected difference between loc and ix | {
"avatar_url": "https://avatars.githubusercontent.com/u/723099?v=4",
"events_url": "https://api.github.com/users/ben519/events{/privacy}",
"followers_url": "https://api.github.com/users/ben519/followers",
"following_url": "https://api.github.com/users/ben519/following{/other_user}",
"gists_url": "https://api.github.com/users/ben519/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ben519",
"id": 723099,
"login": "ben519",
"node_id": "MDQ6VXNlcjcyMzA5OQ==",
"organizations_url": "https://api.github.com/users/ben519/orgs",
"received_events_url": "https://api.github.com/users/ben519/received_events",
"repos_url": "https://api.github.com/users/ben519/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ben519/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ben519/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ben519"
} | [
{
"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": 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 | 7 | 2015-12-14T22:55:06Z | 2015-12-15T17:03:54Z | 2015-12-14T23:17:24Z | NONE | null | See my [StackOverflow post](http://stackoverflow.com/questions/34259637/unexpected-difference-between-loc-and-ix) for details. I've come to the conclusion that this is a bug -
```
import pandas as pd
# Create a dataframe
df = pd.DataFrame({'id':[10,9,5,6,8], 'x1':[10.0,12.3,13.4,11.9,7.6], 'x2':['a','a','b','c','c']})
df.set_index('id', inplace=True)
df.loc[[10, 9, 7]] # 7 does not exist in the index so a NaN row is returned
df.loc[[7]] # KeyError: 'None of [[7]] are in the [index]'
df.ix[[7]] # 7 does not exist in the index so a NaN row is returned
```
I think `df.loc[[7]]` should not return an error, but should return a dataframe with 1 row for id=7 with NaN values.
| {
"+1": 3,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 3,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11840/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11840/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11841 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11841/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11841/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11841/events | https://github.com/pandas-dev/pandas/pull/11841 | 122,154,149 | MDExOlB1bGxSZXF1ZXN0NTM2MzcwMzE= | 11,841 | Refactored Resample API breaking change | {
"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": "207de5",
"default": false,
"description": "resample method",
"id": 74975453,
"name": "Resample",
"node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample"
}
]
| closed | false | null | []
| {
"closed_at": "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"
} | 53 | 2015-12-14T23:14:06Z | 2016-02-02T18:00:54Z | 2016-02-02T15:16:18Z | CONTRIBUTOR | null | ~~on top of #11603~~
closes #11732
closes #12072
closes #9052
closes #12140
ToDo:
- [x] rewrite/expand main docs
- [x] add aggregate section
New API
```
In [4]: np.random.seed(1234)
In [5]: df = pd.DataFrame(np.random.rand(10,4),
columns=list('ABCD'),
index=pd.date_range('2010-01-01 09:00:00', periods=10, freq='s'))
In [6]: df
Out[6]:
A B C D
2010-01-01 09:00:00 0.191519 0.622109 0.437728 0.785359
2010-01-01 09:00:01 0.779976 0.272593 0.276464 0.801872
2010-01-01 09:00:02 0.958139 0.875933 0.357817 0.500995
2010-01-01 09:00:03 0.683463 0.712702 0.370251 0.561196
2010-01-01 09:00:04 0.503083 0.013768 0.772827 0.882641
2010-01-01 09:00:05 0.364886 0.615396 0.075381 0.368824
2010-01-01 09:00:06 0.933140 0.651378 0.397203 0.788730
2010-01-01 09:00:07 0.316836 0.568099 0.869127 0.436173
2010-01-01 09:00:08 0.802148 0.143767 0.704261 0.704581
2010-01-01 09:00:09 0.218792 0.924868 0.442141 0.909316
In [7]: df.resample('2s')
Out[7]: DatetimeIndexResampler [freq=<2 * Seconds>,axis=0,closed=left,label=left,convention=start,base=0]
In [8]: r = df.resample('2s')
In [9]: r.sum()
Out[9]:
A B C D
2010-01-01 09:00:00 0.971495 0.894701 0.714192 1.587231
2010-01-01 09:00:02 1.641602 1.588635 0.728068 1.062191
2010-01-01 09:00:04 0.867969 0.629165 0.848208 1.251465
2010-01-01 09:00:06 1.249976 1.219477 1.266330 1.224904
2010-01-01 09:00:08 1.020940 1.068634 1.146402 1.613897
In [10]: r[['A','B']].agg(['mean','sum'])
Out[10]:
A B
mean sum mean sum
2010-01-01 09:00:00 0.485748 0.971495 0.447351 0.894701
2010-01-01 09:00:02 0.820801 1.641602 0.794317 1.588635
2010-01-01 09:00:04 0.433985 0.867969 0.314582 0.629165
2010-01-01 09:00:06 0.624988 1.249976 0.609738 1.219477
2010-01-01 09:00:08 0.510470 1.020940 0.534317 1.068634
```
Upsampling
```
In [11]: s = Series(np.arange(5,dtype='int64'),
....: index=date_range('2010-01-01', periods=5, freq='Q'))
In [12]: s
Out[12]:
2010-03-31 0
2010-06-30 1
2010-09-30 2
2010-12-31 3
2011-03-31 4
Freq: Q-DEC, dtype: int64
In [13]: s.resample('M').ffill()
Out[13]:
2010-03-31 0
2010-04-30 0
2010-05-31 0
2010-06-30 1
2010-07-31 1
2010-08-31 1
2010-09-30 2
2010-10-31 2
2010-11-30 2
2010-12-31 3
2011-01-31 3
2011-02-28 3
2011-03-31 4
Freq: M, dtype: int64
In [14]: s.resample('M').asfreq()
Out[14]:
2010-03-31 0
2010-04-30 NaN
2010-05-31 NaN
2010-06-30 1
2010-07-31 NaN
2010-08-31 NaN
2010-09-30 2
2010-10-31 NaN
2010-11-30 NaN
2010-12-31 3
2011-01-31 NaN
2011-02-28 NaN
2011-03-31 4
Freq: M, dtype: float64
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11841/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11841/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11841.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11841",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/11841.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11841"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11842 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11842/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11842/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11842/events | https://github.com/pandas-dev/pandas/pull/11842 | 122,198,293 | MDExOlB1bGxSZXF1ZXN0NTM2NjI4NjQ= | 11,842 | COMPAT: GH11769 Fix msgpack ExtType unpack errors on Windows in Python 3.5 | {
"avatar_url": "https://avatars.githubusercontent.com/u/10709573?v=4",
"events_url": "https://api.github.com/users/kawochen/events{/privacy}",
"followers_url": "https://api.github.com/users/kawochen/followers",
"following_url": "https://api.github.com/users/kawochen/following{/other_user}",
"gists_url": "https://api.github.com/users/kawochen/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kawochen",
"id": 10709573,
"login": "kawochen",
"node_id": "MDQ6VXNlcjEwNzA5NTcz",
"organizations_url": "https://api.github.com/users/kawochen/orgs",
"received_events_url": "https://api.github.com/users/kawochen/received_events",
"repos_url": "https://api.github.com/users/kawochen/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kawochen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kawochen/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kawochen"
} | [
{
"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": "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"
} | 1 | 2015-12-15T05:44:49Z | 2015-12-15T12:02:51Z | 2015-12-15T12:01:56Z | CONTRIBUTOR | null | closes #11769
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11842/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11842/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11842.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11842",
"merged_at": "2015-12-15T12:01:56Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11842.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11842"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11843 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11843/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11843/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11843/events | https://github.com/pandas-dev/pandas/issues/11843 | 122,244,095 | MDU6SXNzdWUxMjIyNDQwOTU= | 11,843 | Error storing cateogory values in HDFStore: NotImplementedError: cannot store a category dtype | {
"avatar_url": "https://avatars.githubusercontent.com/u/7330385?v=4",
"events_url": "https://api.github.com/users/esvhd/events{/privacy}",
"followers_url": "https://api.github.com/users/esvhd/followers",
"following_url": "https://api.github.com/users/esvhd/following{/other_user}",
"gists_url": "https://api.github.com/users/esvhd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/esvhd",
"id": 7330385,
"login": "esvhd",
"node_id": "MDQ6VXNlcjczMzAzODU=",
"organizations_url": "https://api.github.com/users/esvhd/orgs",
"received_events_url": "https://api.github.com/users/esvhd/received_events",
"repos_url": "https://api.github.com/users/esvhd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/esvhd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/esvhd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/esvhd"
} | [
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
},
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
},
{
"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 | 2 | 2015-12-15T10:46:14Z | 2015-12-15T14:39:05Z | 2015-12-15T11:46:29Z | NONE | null | Hi,
I'm having problems storing a dataframe with categorical columns as well some float64 and datetime64 columns into a HDFStore.
The docs seems to suggest that you can store category values in HDF5 since `pandas v0.15.2` [here](https://pandas-docs.github.io/pandas-docs-travis/io.html#io-hdf5-categorical), but I got a `NotImplementedError` with my data and the code below.
Did some googling but couldn't find much on this topic. Is this a bug or am I doing something wrong here? From the error message it seems to be related something that is not yet implemented?
Environment:
Anaconda 2.4.1, Python 2.7.11
Pandas 0.17.1
PyTables 3.2.2
My DataFrame looks like this:
```
quotes.info()
output:
<class 'pandas.core.frame.DataFrame'>
Int64Index: 6295150 entries, 0 to 1474363
Data columns (total 12 columns):
price float64
broker category
g_spread float64
date datetime64[ns]
```
When I tried to store it in a HDFStore I got a **`NotImplementedError: cannot store a category dtype`** error message. Here is what I did:
```
test_store = pd.HDFStore('z:/pydata/test.h5', mode='w', format='table')
test_store.put('quotes', quotes)
```
The error trace is as follows:
```
---------------------------------------------------------------------------
NotImplementedError Traceback (most recent call last)
<ipython-input-39-57832b6474fe> in <module>()
----> 1 test_store.put('quotes', quotes)
C:\Developer\Anaconda2\lib\site-packages\pandas\io\pytables.pyc in put(self, key, value, format, append, **kwargs)
812 format = get_option("io.hdf.default_format") or 'fixed'
813 kwargs = self._validate_format(format, kwargs)
--> 814 self._write_to_group(key, value, append=append, **kwargs)
815
816 def remove(self, key, where=None, start=None, stop=None):
C:\Developer\Anaconda2\lib\site-packages\pandas\io\pytables.pyc in _write_to_group(self, key, value, format, index, append, complib, encoding, **kwargs)
1250
1251 # write the object
-> 1252 s.write(obj=value, append=append, complib=complib, **kwargs)
1253
1254 if s.is_table and index:
C:\Developer\Anaconda2\lib\site-packages\pandas\io\pytables.pyc in write(self, obj, **kwargs)
2787 # I have no idea why, but writing values before items fixed #2299
2788 blk_items = data.items.take(blk.mgr_locs)
-> 2789 self.write_array('block%d_values' % i, blk.values, items=blk_items)
2790 self.write_index('block%d_items' % i, blk_items)
2791
C:\Developer\Anaconda2\lib\site-packages\pandas\io\pytables.pyc in write_array(self, key, value, items)
2498
2499 if com.is_categorical_dtype(value):
-> 2500 raise NotImplementedError("cannot store a category dtype")
2501
2502 if not empty_array:
NotImplementedError: cannot store a category 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/11843/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11843/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11844 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11844/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11844/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11844/events | https://github.com/pandas-dev/pandas/pull/11844 | 122,267,049 | MDExOlB1bGxSZXF1ZXN0NTM2OTk2NzQ= | 11,844 | Style source | {
"avatar_url": "https://avatars.githubusercontent.com/u/9845637?v=4",
"events_url": "https://api.github.com/users/joekane3/events{/privacy}",
"followers_url": "https://api.github.com/users/joekane3/followers",
"following_url": "https://api.github.com/users/joekane3/following{/other_user}",
"gists_url": "https://api.github.com/users/joekane3/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/joekane3",
"id": 9845637,
"login": "joekane3",
"node_id": "MDQ6VXNlcjk4NDU2Mzc=",
"organizations_url": "https://api.github.com/users/joekane3/orgs",
"received_events_url": "https://api.github.com/users/joekane3/received_events",
"repos_url": "https://api.github.com/users/joekane3/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/joekane3/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/joekane3/subscriptions",
"type": "User",
"url": "https://api.github.com/users/joekane3"
} | [
{
"color": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
}
]
| closed | false | null | []
| null | 5 | 2015-12-15T12:58:44Z | 2015-12-16T22:57:36Z | 2015-12-16T17:43:13Z | NONE | null | I am attempting to style a column based on another column's data, for example:
``` python
import pandas as pd
now = pd.datetime.now()
rng = now + pd.timedelta_range("1D","10D",freq='D')
df = pd.DataFrame(rng,columns=["ExactDate"])
df['Display Date'] = df['ExactDate'].dt.strftime("%m-%Y")
style = df.style.bar(subset='Display Date', source = rng)
html = style.render()
print html
```
Gives:

| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11844/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11844/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11844.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11844",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/11844.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11844"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11845 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11845/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11845/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11845/events | https://github.com/pandas-dev/pandas/issues/11845 | 122,311,416 | MDU6SXNzdWUxMjIzMTE0MTY= | 11,845 | SettingWithCopyWarning false positive when using .loc | {
"avatar_url": "https://avatars.githubusercontent.com/u/1502984?v=4",
"events_url": "https://api.github.com/users/blitzd/events{/privacy}",
"followers_url": "https://api.github.com/users/blitzd/followers",
"following_url": "https://api.github.com/users/blitzd/following{/other_user}",
"gists_url": "https://api.github.com/users/blitzd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/blitzd",
"id": 1502984,
"login": "blitzd",
"node_id": "MDQ6VXNlcjE1MDI5ODQ=",
"organizations_url": "https://api.github.com/users/blitzd/orgs",
"received_events_url": "https://api.github.com/users/blitzd/received_events",
"repos_url": "https://api.github.com/users/blitzd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/blitzd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/blitzd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/blitzd"
} | [
{
"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": 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 | 2015-12-15T16:29:39Z | 2015-12-15T16:44:08Z | 2015-12-15T16:36:40Z | NONE | null | I have the following code, which produces the SettingWithCopyWarning:
```
segments = df_source1.Code.unique().tolist()
for segment in segments:
seg = segment[-1]
df_source1.loc[df_source1.Code == segment, 'Seg'] = seg
```
```
C:\Anaconda3\envs\jupyter\lib\site-packages\pandas\core\indexing.py:266: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy
self.obj[key] = _infer_fill_value(value)
```
I wouldn't expect to receive this warning since I'm using .loc exactly as it suggests I should be. It did occur to me that I could probably find a much better way to do this via apply, but I still run into this warning popping up all over the place, and it always makes me think I'm doing something wrong (which in this case I may be, performance wise).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11845/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11845/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11846 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11846/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11846/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11846/events | https://github.com/pandas-dev/pandas/issues/11846 | 122,319,158 | MDU6SXNzdWUxMjIzMTkxNTg= | 11,846 | pd.DataFrame converts np.uint64 greater than 2**63-1 to objects | {
"avatar_url": "https://avatars.githubusercontent.com/u/2244843?v=4",
"events_url": "https://api.github.com/users/ily9000/events{/privacy}",
"followers_url": "https://api.github.com/users/ily9000/followers",
"following_url": "https://api.github.com/users/ily9000/following{/other_user}",
"gists_url": "https://api.github.com/users/ily9000/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ily9000",
"id": 2244843,
"login": "ily9000",
"node_id": "MDQ6VXNlcjIyNDQ4NDM=",
"organizations_url": "https://api.github.com/users/ily9000/orgs",
"received_events_url": "https://api.github.com/users/ily9000/received_events",
"repos_url": "https://api.github.com/users/ily9000/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ily9000/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ily9000/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ily9000"
} | [
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
}
]
| closed | false | null | []
| null | 3 | 2015-12-15T17:04:27Z | 2016-05-16T18:15:14Z | 2015-12-15T19:54:53Z | NONE | null | My question is based on this post I found:
http://stackoverflow.com/questions/34283319/pandas-converts-large-unsigned-integers-to-object-types
The maximum value for np.uint64 is (2^64)-1 so why does pandas convert np.uint64 types greater than 2^63-1 to objects when converting arrays to dataframes. pd.to_numeric() also fails to convert these values back to np.uint64.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11846/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11846/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11847 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11847/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11847/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11847/events | https://github.com/pandas-dev/pandas/issues/11847 | 122,331,452 | MDU6SXNzdWUxMjIzMzE0NTI= | 11,847 | Unstack with mixed dtypes coerces everything to object | {
"avatar_url": "https://avatars.githubusercontent.com/u/1166000?v=4",
"events_url": "https://api.github.com/users/potash/events{/privacy}",
"followers_url": "https://api.github.com/users/potash/followers",
"following_url": "https://api.github.com/users/potash/following{/other_user}",
"gists_url": "https://api.github.com/users/potash/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/potash",
"id": 1166000,
"login": "potash",
"node_id": "MDQ6VXNlcjExNjYwMDA=",
"organizations_url": "https://api.github.com/users/potash/orgs",
"received_events_url": "https://api.github.com/users/potash/received_events",
"repos_url": "https://api.github.com/users/potash/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/potash/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/potash/subscriptions",
"type": "User",
"url": "https://api.github.com/users/potash"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
}
]
| closed | false | null | []
| {
"closed_at": "2016-12-24T22:50:46Z",
"closed_issues": 107,
"created_at": "2016-11-12T15:44:46Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.1",
"due_on": "2016-12-24T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/45",
"id": 2131068,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/45/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzMTA2OA==",
"number": 45,
"open_issues": 0,
"state": "closed",
"title": "0.19.2",
"updated_at": "2017-01-29T09:53:52Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/45"
} | 6 | 2015-12-15T18:08:24Z | 2016-12-10T15:38:14Z | 2016-12-10T15:38:14Z | NONE | null | Related to #2929, if I unstack a dataframe with mixed dtypes they all get coerced to object and I have to recast to go back which is surprisingly slow (30 seconds for 400k rows and 400 np.float32 columns)
Is there any reason pandas doesn't keep the np.float32 dtype, especially since it supports missing values so even when there are missing index/column positions it shouldn't pose a problem?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11847/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11847/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11848 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11848/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11848/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11848/events | https://github.com/pandas-dev/pandas/issues/11848 | 122,345,820 | MDU6SXNzdWUxMjIzNDU4MjA= | 11,848 | Feature Request: Allow new column setting via attribute assignment | {
"avatar_url": "https://avatars.githubusercontent.com/u/9683693?v=4",
"events_url": "https://api.github.com/users/nickeubank/events{/privacy}",
"followers_url": "https://api.github.com/users/nickeubank/followers",
"following_url": "https://api.github.com/users/nickeubank/following{/other_user}",
"gists_url": "https://api.github.com/users/nickeubank/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/nickeubank",
"id": 9683693,
"login": "nickeubank",
"node_id": "MDQ6VXNlcjk2ODM2OTM=",
"organizations_url": "https://api.github.com/users/nickeubank/orgs",
"received_events_url": "https://api.github.com/users/nickeubank/received_events",
"repos_url": "https://api.github.com/users/nickeubank/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/nickeubank/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nickeubank/subscriptions",
"type": "User",
"url": "https://api.github.com/users/nickeubank"
} | [
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "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 | 2015-12-15T19:23:59Z | 2015-12-15T19:47:53Z | 2015-12-15T19:47:37Z | CONTRIBUTOR | null | One "gotcha" in pandas that's always bugged me is that you can generally access and change columns in a DataFrame by dot-messaging (attribute assignment) _except_ for adding new columns. For example, one can play with existing columns easily:
```
df = pd.DataFrame({'col1':range(10,14),
'col2':range(20,24)})
df.col1 = 3
df
Out[5]:
col1 col2
0 3 20
1 3 21
2 3 22
3 3 23
```
But you can't set new columns:
```
df.col3 = pd.Series(range(30,40))
df
Out[6]:
col1 col2
0 3 20
1 3 21
2 3 22
3 3 23
```
Seems like it wouldn't be hard to modify `__setattr__` so that if the setting value is a Series, NumPy Array, or scalar value, just call `df[key] = value`.
Seem reasonable?
(Still wrestling with copy-on-write PR, but happy to come back to this if others support and no on addresses till then)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11848/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11848/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11849 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11849/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11849/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11849/events | https://github.com/pandas-dev/pandas/issues/11849 | 122,394,469 | MDU6SXNzdWUxMjIzOTQ0Njk= | 11,849 | efficient read+concat of multiple HDF files? | {
"avatar_url": "https://avatars.githubusercontent.com/u/1166000?v=4",
"events_url": "https://api.github.com/users/potash/events{/privacy}",
"followers_url": "https://api.github.com/users/potash/followers",
"following_url": "https://api.github.com/users/potash/following{/other_user}",
"gists_url": "https://api.github.com/users/potash/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/potash",
"id": 1166000,
"login": "potash",
"node_id": "MDQ6VXNlcjExNjYwMDA=",
"organizations_url": "https://api.github.com/users/potash/orgs",
"received_events_url": "https://api.github.com/users/potash/received_events",
"repos_url": "https://api.github.com/users/potash/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/potash/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/potash/subscriptions",
"type": "User",
"url": "https://api.github.com/users/potash"
} | []
| closed | false | null | []
| null | 2 | 2015-12-15T23:44:48Z | 2018-06-14T15:48:05Z | 2015-12-15T23:54:27Z | NONE | null | I have several HDF files about 500k x 500 (same columns and dtypes, mostly floats and strings). Currently I loop through and read them and then concatenate:
```
dfs = [pd.read_hdf(filename, 'df') for filename in filenames]
df = pd.concat(dfs)
```
Each of the read operations takes about 15 seconds but the concatenation takes minutes! Is there any way to speed this up? Since I know the dimensions in advance, is there any way to preallocate `df` and read into it?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11849/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11849/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11850 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11850/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11850/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11850/events | https://github.com/pandas-dev/pandas/pull/11850 | 122,409,577 | MDExOlB1bGxSZXF1ZXN0NTM3ODkzMjY= | 11,850 | REGR: Regression in .clip with tz-aware datetimes #11838 | {
"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": "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": "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": "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"
} | 0 | 2015-12-16T01:51:21Z | 2015-12-16T13:13:06Z | 2015-12-16T13:13:06Z | CONTRIBUTOR | null | closes #11838
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11850/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11850/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11850.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11850",
"merged_at": "2015-12-16T13:13:06Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11850.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11850"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11851 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11851/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11851/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11851/events | https://github.com/pandas-dev/pandas/issues/11851 | 122,411,562 | MDU6SXNzdWUxMjI0MTE1NjI= | 11,851 | pandas import throws AttributeError: 'module' object has no attribute 'dtype' | {
"avatar_url": "https://avatars.githubusercontent.com/u/50109?v=4",
"events_url": "https://api.github.com/users/gliptak/events{/privacy}",
"followers_url": "https://api.github.com/users/gliptak/followers",
"following_url": "https://api.github.com/users/gliptak/following{/other_user}",
"gists_url": "https://api.github.com/users/gliptak/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gliptak",
"id": 50109,
"login": "gliptak",
"node_id": "MDQ6VXNlcjUwMTA5",
"organizations_url": "https://api.github.com/users/gliptak/orgs",
"received_events_url": "https://api.github.com/users/gliptak/received_events",
"repos_url": "https://api.github.com/users/gliptak/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gliptak/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gliptak/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gliptak"
} | []
| closed | false | null | []
| null | 8 | 2015-12-16T02:12:28Z | 2015-12-16T03:32:45Z | 2015-12-16T02:34:13Z | CONTRIBUTOR | null | In https://travis-ci.org/cloudera/spark-timeseries/jobs/97127307
Compiled `numpy-1.10.2` and `pandas-0.17.1`
```
======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'dtype')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/travis/build/cloudera/spark-timeseries/python/.eggs/nose-1.3.7-py2.7.egg/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/home/travis/build/cloudera/spark-timeseries/python/.eggs/nose-1.3.7-py2.7.egg/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/home/travis/build/cloudera/spark-timeseries/python/.eggs/nose-1.3.7-py2.7.egg/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/home/travis/build/cloudera/spark-timeseries/python/sparkts/test/test_datetimeindex.py", line 1, in <module>
from test_utils import PySparkTestCase
File "/home/travis/build/cloudera/spark-timeseries/python/sparkts/test/test_utils.py", line 2, in <module>
from sparkts.utils import add_pyspark_path, quiet_py4j
File "/home/travis/build/cloudera/spark-timeseries/python/sparkts/utils.py", line 4, in <module>
import pandas as pd
File "/home/travis/build/cloudera/spark-timeseries/python/.eggs/pandas-0.17.1-py2.7-linux-x86_64.egg/pandas/__init__.py", line 7, in <module>
from pandas import hashtable, tslib, lib
File "pandas/src/numpy.pxd", line 157, in init pandas.hashtable (pandas/hashtable.c:38262)
AttributeError: 'module' 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/11851/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11851/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11852 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11852/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11852/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11852/events | https://github.com/pandas-dev/pandas/issues/11852 | 122,463,164 | MDU6SXNzdWUxMjI0NjMxNjQ= | 11,852 | xz compression in to_csv() | {
"avatar_url": "https://avatars.githubusercontent.com/u/2196196?v=4",
"events_url": "https://api.github.com/users/ohadle/events{/privacy}",
"followers_url": "https://api.github.com/users/ohadle/followers",
"following_url": "https://api.github.com/users/ohadle/following{/other_user}",
"gists_url": "https://api.github.com/users/ohadle/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ohadle",
"id": 2196196,
"login": "ohadle",
"node_id": "MDQ6VXNlcjIxOTYxOTY=",
"organizations_url": "https://api.github.com/users/ohadle/orgs",
"received_events_url": "https://api.github.com/users/ohadle/received_events",
"repos_url": "https://api.github.com/users/ohadle/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ohadle/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ohadle/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ohadle"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
]
| closed | false | null | []
| {
"closed_at": "2016-05-05T00:34:40Z",
"closed_issues": 306,
"created_at": "2016-02-08T15:29:59Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.18.0 of course!",
"due_on": "2016-05-04T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/38",
"id": 1570594,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/38/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NA==",
"number": 38,
"open_issues": 0,
"state": "closed",
"title": "0.18.1",
"updated_at": "2017-08-10T09:01:26Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/38"
} | 4 | 2015-12-16T09:35:21Z | 2016-03-23T21:37:06Z | 2016-03-23T20:38:17Z | NONE | null | I use compression directly in DataFrame.to_csv() to save on disk space / IO. Would be nice to have support for xz compression there.
Similar to https://github.com/pydata/pandas/issues/8654, but I think in to_csv this has more added value.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11852/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11852/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11853 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11853/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11853/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11853/events | https://github.com/pandas-dev/pandas/issues/11853 | 122,479,523 | MDU6SXNzdWUxMjI0Nzk1MjM= | 11,853 | ERR: better exception for converting bool to datetime with 0.17 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1773553?v=4",
"events_url": "https://api.github.com/users/kaotika/events{/privacy}",
"followers_url": "https://api.github.com/users/kaotika/followers",
"following_url": "https://api.github.com/users/kaotika/following{/other_user}",
"gists_url": "https://api.github.com/users/kaotika/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kaotika",
"id": 1773553,
"login": "kaotika",
"node_id": "MDQ6VXNlcjE3NzM1NTM=",
"organizations_url": "https://api.github.com/users/kaotika/orgs",
"received_events_url": "https://api.github.com/users/kaotika/received_events",
"repos_url": "https://api.github.com/users/kaotika/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kaotika/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kaotika/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kaotika"
} | [
{
"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"
}
]
| 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 | 2015-12-16T11:08:03Z | 2016-05-26T12:43:40Z | 2016-05-26T12:43:40Z | NONE | null | While updating pandas-qt I stumbled about the following exception. Running the same with pandas 0.16 doesn't shows any exception. I think converting a bool to a datetime should raise some exception, but not the one shown. ;-)
```
import pandas as pd
import pytest
data = [
["text", 123, 12.3, True, "2015-12-16"]
]
df = pd.DataFrame(data, columns=["text", "int", "float", "bool", "date"])
with pytest.raises(ValueError) as err:
df["text"].apply(pd.to_datetime)
assert 'Unknown string format' in str(err.value)
df["int"].apply(pd.to_datetime)
df["float"].apply(pd.to_datetime)
df["date"].apply(pd.to_datetime)
df["bool"].apply(pd.to_datetime)
Traceback (most recent call last):
File "test.py", line 16, in <module>
df["bool"].apply(pd.to_datetime)
File "/home/kaotika/.virtualenvs/pandas-qt-test/local/lib/python2.7/site-packages/pandas/core/series.py", line 2169, in apply
mapped = lib.map_infer(values, f, convert=convert_dtype)
File "pandas/src/inference.pyx", line 1059, in pandas.lib.map_infer (pandas/lib.c:62578)
File "/home/kaotika/.virtualenvs/pandas-qt-test/local/lib/python2.7/site-packages/pandas/util/decorators.py", line 89, in wrapper
return func(*args, **kwargs)
File "/home/kaotika/.virtualenvs/pandas-qt-test/local/lib/python2.7/site-packages/pandas/tseries/tools.py", line 276, in to_datetime
unit=unit, infer_datetime_format=infer_datetime_format)
File "/home/kaotika/.virtualenvs/pandas-qt-test/local/lib/python2.7/site-packages/pandas/tseries/tools.py", line 397, in _to_datetime
return _convert_listlike(np.array([ arg ]), box, format)[0]
File "/home/kaotika/.virtualenvs/pandas-qt-test/local/lib/python2.7/site-packages/pandas/tseries/tools.py", line 372, in _convert_listlike
require_iso8601=require_iso8601)
File "pandas/tslib.pyx", line 1847, in pandas.tslib.array_to_datetime (pandas/tslib.c:37155)
File "pandas/tslib.pyx", line 2041, in pandas.tslib.array_to_datetime (pandas/tslib.c:36836)
File "pandas/tslib.pyx", line 1986, in pandas.tslib.array_to_datetime (pandas/tslib.c:35842)
File "pandas/tslib.pyx", line 1939, in pandas.tslib.array_to_datetime (pandas/tslib.c:34965)
TypeError: object of type 'bool' has no len()
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11853/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11853/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11854 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11854/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11854/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11854/events | https://github.com/pandas-dev/pandas/issues/11854 | 122,529,784 | MDU6SXNzdWUxMjI1Mjk3ODQ= | 11,854 | Can't get period code with frequency alias 'minute' or 'Minute' | {
"avatar_url": "https://avatars.githubusercontent.com/u/3892569?v=4",
"events_url": "https://api.github.com/users/JCalderan/events{/privacy}",
"followers_url": "https://api.github.com/users/JCalderan/followers",
"following_url": "https://api.github.com/users/JCalderan/following{/other_user}",
"gists_url": "https://api.github.com/users/JCalderan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/JCalderan",
"id": 3892569,
"login": "JCalderan",
"node_id": "MDQ6VXNlcjM4OTI1Njk=",
"organizations_url": "https://api.github.com/users/JCalderan/orgs",
"received_events_url": "https://api.github.com/users/JCalderan/received_events",
"repos_url": "https://api.github.com/users/JCalderan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/JCalderan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JCalderan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/JCalderan"
} | [
{
"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": "DateOffsets",
"id": 53181044,
"name": "Frequency",
"node_id": "MDU6TGFiZWw1MzE4MTA0NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency"
}
]
| closed | false | null | []
| {
"closed_at": "2016-05-05T00:34:40Z",
"closed_issues": 306,
"created_at": "2016-02-08T15:29:59Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.18.0 of course!",
"due_on": "2016-05-04T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/38",
"id": 1570594,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/38/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NA==",
"number": 38,
"open_issues": 0,
"state": "closed",
"title": "0.18.1",
"updated_at": "2017-08-10T09:01:26Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/38"
} | 3 | 2015-12-16T15:31:32Z | 2016-03-15T14:22:14Z | 2016-03-15T14:22:14Z | NONE | null | Hi,
While playing with the frequency module, I might have found a bug with the function __period_str_to_code_:
the function didn't return the code 8000 for the frequency string "minute", yet it works for frequency strings as 'T', 'Min', 'min'...
Here's the code to reproduce the 'bug':
```
>>> from pandas.tseries.frequencies import _period_str_to_code
>>> _period_str_to_code('Min')
8000
>>> _period_str_to_code('T')
8000
>>> _period_str_to_code('minute')
sys:1: FutureWarning: Freq "MINUTE" is deprecated, use "Min" as alternative.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "***/site-packages/pandas/tseries/frequencies.py", line 813, in _period_str_to_code
return _period_code_map[alias]
KeyError: 'Min'
```
(in pandas/tseries/frequencies.py line 783 to line 813)
It appears that 'minute' is converted into the alias 'Min' during the function **__period_str_to_code**_ (line 807).
'Min' is then used as a key in the dictionnary **__period_code_map**_, but this dictionnary doesn't hold any value for this key (line 813).
Indeed, the key 'Min' is stored in the dictionnary **__lite_rule_alias**_ where it indexes the value 'T' (the correct frequency string for minutes).
This particuliar situation could be solved by transforming the return of the function **__period_str_to_code**_ by using a recursive call which allows to 'safely' handle the converted frequency string (_period_str_to_code('minute') > 'Min' > _period_str_to_code('Min') > 8000).
The conversion from 'Min' to 'T' occures line 799, and the conversion from 'T' to 8000 occures line 804.
But I'm not sure of the implication of such a recursive call (performance impact, possibility of an 'infinite' recursive call in some situation, and so on).
Here is the function with a recursive call (change in pandas/tseries/frequencies.py line 813):
```
def _period_str_to_code(freqstr):
# hack
if freqstr in _rule_aliases:
new = _rule_aliases[freqstr]
warnings.warn(_LEGACY_FREQ_WARNING.format(freqstr, new),
FutureWarning, stacklevel=3)
freqstr = new
freqstr = _lite_rule_alias.get(freqstr, freqstr)
if freqstr not in _dont_uppercase:
lower = freqstr.lower()
if lower in _rule_aliases:
new = _rule_aliases[lower]
warnings.warn(_LEGACY_FREQ_WARNING.format(lower, new),
FutureWarning, stacklevel=3)
freqstr = new
freqstr = _lite_rule_alias.get(lower, freqstr)
try:
if freqstr not in _dont_uppercase:
freqstr = freqstr.upper()
return _period_code_map[freqstr]
except KeyError:
try:
alias = _period_alias_dict[freqstr]
warnings.warn(_LEGACY_FREQ_WARNING.format(freqstr, alias),
FutureWarning, stacklevel=3)
except KeyError:
raise ValueError("Unknown freqstr: %s" % freqstr)
return _period_str_to_code(alias)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11854/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11854/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11855 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11855/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11855/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11855/events | https://github.com/pandas-dev/pandas/pull/11855 | 122,583,058 | MDExOlB1bGxSZXF1ZXN0NTM4ODYxMzc= | 11,855 | Change pandas to never let objects share `_data`, create views instead | {
"avatar_url": "https://avatars.githubusercontent.com/u/9683693?v=4",
"events_url": "https://api.github.com/users/nickeubank/events{/privacy}",
"followers_url": "https://api.github.com/users/nickeubank/followers",
"following_url": "https://api.github.com/users/nickeubank/following{/other_user}",
"gists_url": "https://api.github.com/users/nickeubank/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/nickeubank",
"id": 9683693,
"login": "nickeubank",
"node_id": "MDQ6VXNlcjk2ODM2OTM=",
"organizations_url": "https://api.github.com/users/nickeubank/orgs",
"received_events_url": "https://api.github.com/users/nickeubank/received_events",
"repos_url": "https://api.github.com/users/nickeubank/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/nickeubank/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nickeubank/subscriptions",
"type": "User",
"url": "https://api.github.com/users/nickeubank"
} | [
{
"color": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
}
]
| closed | false | null | []
| null | 1 | 2015-12-16T19:25:50Z | 2016-01-13T19:29:57Z | 2016-01-11T13:48:57Z | CONTRIBUTOR | null | Closes Issue #11814
Several pandas operations create objects that share `_data` objects. In particular, all of the following result in `df_new`s and `df` sharing the same `_data` (i.e. `df_new._data is df._data` returns `True`).
```
df = DataFrame({'col1':[0,1,2], 'col2':[2,3,4]})
df_new = DataFrame(df)
df_new1 = df.loc[:,:]
df_new2 = df.iloc[:,:]
```
Needed for PR #11500
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11855/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11855/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11855.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11855",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/11855.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11855"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11856 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11856/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11856/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11856/events | https://github.com/pandas-dev/pandas/pull/11856 | 122,623,173 | MDExOlB1bGxSZXF1ZXN0NTM5MTE2NzU= | 11,856 | fixed conversion to sparse for non-numeric index | {
"avatar_url": "https://avatars.githubusercontent.com/u/8426290?v=4",
"events_url": "https://api.github.com/users/DSLituiev/events{/privacy}",
"followers_url": "https://api.github.com/users/DSLituiev/followers",
"following_url": "https://api.github.com/users/DSLituiev/following{/other_user}",
"gists_url": "https://api.github.com/users/DSLituiev/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/DSLituiev",
"id": 8426290,
"login": "DSLituiev",
"node_id": "MDQ6VXNlcjg0MjYyOTA=",
"organizations_url": "https://api.github.com/users/DSLituiev/orgs",
"received_events_url": "https://api.github.com/users/DSLituiev/received_events",
"repos_url": "https://api.github.com/users/DSLituiev/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/DSLituiev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DSLituiev/subscriptions",
"type": "User",
"url": "https://api.github.com/users/DSLituiev"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
},
{
"color": "009800",
"default": false,
"description": "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": "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"
} | 15 | 2015-12-16T23:00:23Z | 2016-05-17T13:25:14Z | 2016-05-17T13:25:14Z | NONE | null | this fixes #11633
this fix breaks some sparse tests,
stuck on `test_combine_first` : `ValueError: total size of new array must be unchanged`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11856/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11856/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11856.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11856",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/11856.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11856"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11857 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11857/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11857/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11857/events | https://github.com/pandas-dev/pandas/issues/11857 | 122,714,234 | MDU6SXNzdWUxMjI3MTQyMzQ= | 11,857 | Sum a panel along multiple dimensions | {
"avatar_url": "https://avatars.githubusercontent.com/u/6515379?v=4",
"events_url": "https://api.github.com/users/srintoul/events{/privacy}",
"followers_url": "https://api.github.com/users/srintoul/followers",
"following_url": "https://api.github.com/users/srintoul/following{/other_user}",
"gists_url": "https://api.github.com/users/srintoul/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/srintoul",
"id": 6515379,
"login": "srintoul",
"node_id": "MDQ6VXNlcjY1MTUzNzk=",
"organizations_url": "https://api.github.com/users/srintoul/orgs",
"received_events_url": "https://api.github.com/users/srintoul/received_events",
"repos_url": "https://api.github.com/users/srintoul/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/srintoul/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/srintoul/subscriptions",
"type": "User",
"url": "https://api.github.com/users/srintoul"
} | [
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "006b75",
"default": false,
"description": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
}
]
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 3 | 2015-12-17T11:11:41Z | 2018-07-06T20:21:08Z | 2017-07-10T21:08:10Z | NONE | null | numpy's `sum()` function allows specifying a tuple of axis values for higher-dimensional arrays, but when it is called this way on a Pandas `Panel` or `Panel4D` it raises a ValueError:
```
>>> import numpy as np
>>> import pandas as pd
>>> a = np.random.randn(3, 3, 3)
>>> a.sum(axis=(0, 1))
array([-1.91974326, 1.49781967, -1.29698099])
>>> pan = pd.Panel(a)
>>> pan.sum(axis=(0, 1)) # should return the same vector
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/pandas/core/generic.py", line 4554, in stat_func
skipna=skipna, numeric_only=numeric_only)
File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/pandas/core/panel.py", line 1084, in _reduce
axis_name = self._get_axis_name(axis)
File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/pandas/core/generic.py", line 327, in _get_axis_name
.format(axis, type(self)))
ValueError: No axis named (0, 2) for object type <class 'pandas.core.panel.Panel'>
>>> np.sum(pan, axis=(0, 1)) # try it another way
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/fromnumeric.py", line 1828, in sum
return sum(axis=axis, dtype=dtype, out=out)
File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/pandas/core/generic.py", line 4554, in stat_func
skipna=skipna, numeric_only=numeric_only)
File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/pandas/core/panel.py", line 1084, in _reduce
axis_name = self._get_axis_name(axis)
File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/pandas/core/generic.py", line 327, in _get_axis_name
.format(axis, type(self)))
ValueError: No axis named (0, 1) for object type <class 'pandas.core.panel.Panel'>
```
Right now the workaround is to call `np.asarray()` on the Pandas object first and then convert it back to `Series` (or `DataFrame`, I suppose) once the result is returned, being sure to apply the correct index to the resulting object.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11857/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11857/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11858 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11858/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11858/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11858/events | https://github.com/pandas-dev/pandas/issues/11858 | 122,749,741 | MDU6SXNzdWUxMjI3NDk3NDE= | 11,858 | Index without 0 in xerr/yerr causes KeyError | {
"avatar_url": "https://avatars.githubusercontent.com/u/615345?v=4",
"events_url": "https://api.github.com/users/diazona/events{/privacy}",
"followers_url": "https://api.github.com/users/diazona/followers",
"following_url": "https://api.github.com/users/diazona/following{/other_user}",
"gists_url": "https://api.github.com/users/diazona/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/diazona",
"id": 615345,
"login": "diazona",
"node_id": "MDQ6VXNlcjYxNTM0NQ==",
"organizations_url": "https://api.github.com/users/diazona/orgs",
"received_events_url": "https://api.github.com/users/diazona/received_events",
"repos_url": "https://api.github.com/users/diazona/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/diazona/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/diazona/subscriptions",
"type": "User",
"url": "https://api.github.com/users/diazona"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
]
| closed | false | null | []
| {
"closed_at": "2016-10-03T08:52:13Z",
"closed_issues": 733,
"created_at": "2016-03-11T21:24:45Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2016-09-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/40",
"id": 1639795,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels",
"node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==",
"number": 40,
"open_issues": 0,
"state": "closed",
"title": "0.19.0",
"updated_at": "2017-11-06T02:01:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40"
} | 6 | 2015-12-17T14:51:14Z | 2016-05-13T13:19:16Z | 2016-05-13T13:19:16Z | CONTRIBUTOR | null | When creating an errorbar plot, if the data object being used for the errors (`xerr` or `yerr`) doesn't have 0 in its index, it produces a `KeyError` from matplotlib code. I can produce this with the following code sample:
``` python
import pandas as pd, numpy as np
i = np.array([1,2,3])
a = pd.DataFrame(i, index=i)
a.plot(yerr=a)
```
The underlying bug (if it is a bug) in matplotlib is responsible for several other issues, including #4493 and #6127, but this case is different because it uses only Pandas API methods, rather than passing a Pandas object to a matplotlib method. So it's a little harder to justify passing this off on matplotlib to fix, as was done in e.g. #6127.
If the "proper" fix ever is implemented in matplotlib code, it should solve this as well as #4493 and #6127 and all the others of that nature, but until that point, Pandas can work around it by converting the error object (if it is a `Series` or `DataFrame`) to an `ndarray`. I'm working on this in 4b04f80c41684ba9ab05ce8c87b17b96fde87290 but I'm not sure if there's a better way to fix it, or if this breaks something. (If so, the tests don't indicate it.)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11858/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11858/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11859 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11859/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11859/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11859/events | https://github.com/pandas-dev/pandas/issues/11859 | 122,805,338 | MDU6SXNzdWUxMjI4MDUzMzg= | 11,859 | BUG: masking empty DataFrame | {
"avatar_url": "https://avatars.githubusercontent.com/u/4114154?v=4",
"events_url": "https://api.github.com/users/zhaoguixu/events{/privacy}",
"followers_url": "https://api.github.com/users/zhaoguixu/followers",
"following_url": "https://api.github.com/users/zhaoguixu/following{/other_user}",
"gists_url": "https://api.github.com/users/zhaoguixu/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/zhaoguixu",
"id": 4114154,
"login": "zhaoguixu",
"node_id": "MDQ6VXNlcjQxMTQxNTQ=",
"organizations_url": "https://api.github.com/users/zhaoguixu/orgs",
"received_events_url": "https://api.github.com/users/zhaoguixu/received_events",
"repos_url": "https://api.github.com/users/zhaoguixu/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/zhaoguixu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/zhaoguixu/subscriptions",
"type": "User",
"url": "https://api.github.com/users/zhaoguixu"
} | [
{
"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": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
]
| closed | false | null | []
| {
"closed_at": "2016-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"
} | 0 | 2015-12-17T19:28:02Z | 2015-12-26T00:29:36Z | 2015-12-26T00:29:36Z | NONE | null | Issue #10126 seems not fixed completely. I still get the same error when running the same example. I have looked up the code and found that _getitem_frame was not fixed yet. The fix is easy, just the same as _setitem_frame.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11859/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11859/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11860 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11860/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11860/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11860/events | https://github.com/pandas-dev/pandas/pull/11860 | 122,827,947 | MDExOlB1bGxSZXF1ZXN0NTQwMzQ4OTM= | 11,860 | DOC: typos in DataFrame.iterrows and itertuples docstrings | {
"avatar_url": "https://avatars.githubusercontent.com/u/1642081?v=4",
"events_url": "https://api.github.com/users/mortada/events{/privacy}",
"followers_url": "https://api.github.com/users/mortada/followers",
"following_url": "https://api.github.com/users/mortada/following{/other_user}",
"gists_url": "https://api.github.com/users/mortada/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mortada",
"id": 1642081,
"login": "mortada",
"node_id": "MDQ6VXNlcjE2NDIwODE=",
"organizations_url": "https://api.github.com/users/mortada/orgs",
"received_events_url": "https://api.github.com/users/mortada/received_events",
"repos_url": "https://api.github.com/users/mortada/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mortada/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mortada/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mortada"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
]
| closed | false | null | []
| {
"closed_at": "2016-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"
} | 1 | 2015-12-17T21:36:25Z | 2015-12-17T21:53:50Z | 2015-12-17T21:53:45Z | 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/11860/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11860/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11860.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11860",
"merged_at": "2015-12-17T21:53:45Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11860.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11860"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/11861 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11861/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11861/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11861/events | https://github.com/pandas-dev/pandas/pull/11861 | 122,840,922 | MDExOlB1bGxSZXF1ZXN0NTQwNDM1NTE= | 11,861 | BUG: force list type for tuples from chunked sql table reads #11522 | {
"avatar_url": "https://avatars.githubusercontent.com/u/2829866?v=4",
"events_url": "https://api.github.com/users/grahamjeffries/events{/privacy}",
"followers_url": "https://api.github.com/users/grahamjeffries/followers",
"following_url": "https://api.github.com/users/grahamjeffries/following{/other_user}",
"gists_url": "https://api.github.com/users/grahamjeffries/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/grahamjeffries",
"id": 2829866,
"login": "grahamjeffries",
"node_id": "MDQ6VXNlcjI4Mjk4NjY=",
"organizations_url": "https://api.github.com/users/grahamjeffries/orgs",
"received_events_url": "https://api.github.com/users/grahamjeffries/received_events",
"repos_url": "https://api.github.com/users/grahamjeffries/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/grahamjeffries/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/grahamjeffries/subscriptions",
"type": "User",
"url": "https://api.github.com/users/grahamjeffries"
} | [
{
"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": "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"
} | 5 | 2015-12-17T22:55:13Z | 2015-12-19T16:16:32Z | 2015-12-19T12:58:10Z | CONTRIBUTOR | null | Closes #11522.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11861/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11861/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11861.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11861",
"merged_at": "2015-12-19T12:58:09Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11861.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11861"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11862 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11862/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11862/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11862/events | https://github.com/pandas-dev/pandas/issues/11862 | 122,928,536 | MDU6SXNzdWUxMjI5Mjg1MzY= | 11,862 | Plot PeriodIndex data with steps | {
"avatar_url": "https://avatars.githubusercontent.com/u/6146598?v=4",
"events_url": "https://api.github.com/users/egpbos/events{/privacy}",
"followers_url": "https://api.github.com/users/egpbos/followers",
"following_url": "https://api.github.com/users/egpbos/following{/other_user}",
"gists_url": "https://api.github.com/users/egpbos/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/egpbos",
"id": 6146598,
"login": "egpbos",
"node_id": "MDQ6VXNlcjYxNDY1OTg=",
"organizations_url": "https://api.github.com/users/egpbos/orgs",
"received_events_url": "https://api.github.com/users/egpbos/received_events",
"repos_url": "https://api.github.com/users/egpbos/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/egpbos/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/egpbos/subscriptions",
"type": "User",
"url": "https://api.github.com/users/egpbos"
} | [
{
"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"
},
{
"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"
}
]
| open | false | null | []
| null | 3 | 2015-12-18T11:04:39Z | 2021-04-21T05:26:37Z | null | NONE | null | I would find it more natural for PeriodIndexed data to be plotted by default as a stepped line. A step better conveys the fact that the y-value one is plotting corresponds to that entire x-region, whereas a (linearly or otherwise) interpolated line suggests that one is using Timestamped data (since it suggests that the y-value is different at each point in time, which for periods is impossible to know).
It is, of course, possible to do this manually with `drawstyle=steps`, but this has the annoying problem that one of the Period "bins" will be missing (the one at the end). `steps-mid` is ugly, since it cuts off half of the steps at both edges.
It would be nice if the default would be changed to this `drawstyle`, but it would be even better if this style would be extended some way to fully handle Periods. Ideally, each Period step would be plotted between the edges of the Period and irregular Periods would be supported as well.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11862/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11862/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11863 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11863/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11863/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11863/events | https://github.com/pandas-dev/pandas/pull/11863 | 123,004,826 | MDExOlB1bGxSZXF1ZXN0NTQxMzU2NzI= | 11,863 | COMPAT: remove python 3.3. compat, #11273 | {
"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": "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"
} | 0 | 2015-12-18T18:43:53Z | 2015-12-18T19:17:37Z | 2015-12-18T19:17:37Z | CONTRIBUTOR | null | closes #11273
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11863/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11863/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11863.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11863",
"merged_at": "2015-12-18T19:17:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11863.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11863"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11864 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11864/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11864/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11864/events | https://github.com/pandas-dev/pandas/issues/11864 | 123,011,711 | MDU6SXNzdWUxMjMwMTE3MTE= | 11,864 | DataFrame .duplicated() / .drop_duplicates() flagging unique rows as duplicated in 0.17.1 | {
"avatar_url": "https://avatars.githubusercontent.com/u/2239771?v=4",
"events_url": "https://api.github.com/users/capelastegui/events{/privacy}",
"followers_url": "https://api.github.com/users/capelastegui/followers",
"following_url": "https://api.github.com/users/capelastegui/following{/other_user}",
"gists_url": "https://api.github.com/users/capelastegui/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/capelastegui",
"id": 2239771,
"login": "capelastegui",
"node_id": "MDQ6VXNlcjIyMzk3NzE=",
"organizations_url": "https://api.github.com/users/capelastegui/orgs",
"received_events_url": "https://api.github.com/users/capelastegui/received_events",
"repos_url": "https://api.github.com/users/capelastegui/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/capelastegui/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/capelastegui/subscriptions",
"type": "User",
"url": "https://api.github.com/users/capelastegui"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
]
| closed | false | null | []
| {
"closed_at": "2016-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"
} | 3 | 2015-12-18T19:30:22Z | 2016-01-07T15:15:15Z | 2016-01-07T15:15:15Z | NONE | null | Dataframe.duplicated() is flagging rows as duplicates when they are in fact distinct. This happens when using large dataframes, and duplicated(keep=False):
```
import pandas as pd, numpy as np
df = pd.DataFrame({'a': pd.Series(range(1,100000)),
'b': pd.Series(range(10,1000000)),
'c': pd.Series(3*range(2,200000,2))})
df.head()
np.sum(df.duplicated())
```
Out[]: 0
```
np.sum(df.duplicated(keep=False))
```
Out[]:110
Changing column order results in different (but still incorrect) behavior.
```
np.sum(df[['c','b','a']].duplicated(keep=False))
```
Out[]:2138
Tested on 0.17.1. Environment details are provided below:
>> pd.util.print_versions.show_versions()
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.11.final.0
python-bits: 64
OS: Darwin
OS-release: 14.5.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: None
LANG: en_GB.UTF-8
```
pandas: 0.17.1
nose: None
pip: 7.1.2
setuptools: 18.5
Cython: None
numpy: 1.10.1
scipy: 0.16.0
statsmodels: None
IPython: 4.0.0
sphinx: 1.3.3
patsy: None
dateutil: 2.4.2
pytz: 2015.7
blosc: None
bottleneck: None
tables: None
numexpr: None
matplotlib: 1.4.3
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: 1.0.9
pymysql: None
psycopg2: 2.6.1 (dt dec pq3 ext)
Jinja2: None
```
This looks like the same kind of problem described in #11668, though the specific examples provided in that issue work properly in 0.17.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/11864/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11864/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11865 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11865/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11865/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11865/events | https://github.com/pandas-dev/pandas/pull/11865 | 123,019,283 | MDExOlB1bGxSZXF1ZXN0NTQxNDUzMjI= | 11,865 | look for colormap in rcParams['axes.prop_cycle'] (mpl 1.5+) first | {
"avatar_url": "https://avatars.githubusercontent.com/u/1483534?v=4",
"events_url": "https://api.github.com/users/rcarneva/events{/privacy}",
"followers_url": "https://api.github.com/users/rcarneva/followers",
"following_url": "https://api.github.com/users/rcarneva/following{/other_user}",
"gists_url": "https://api.github.com/users/rcarneva/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rcarneva",
"id": 1483534,
"login": "rcarneva",
"node_id": "MDQ6VXNlcjE0ODM1MzQ=",
"organizations_url": "https://api.github.com/users/rcarneva/orgs",
"received_events_url": "https://api.github.com/users/rcarneva/received_events",
"repos_url": "https://api.github.com/users/rcarneva/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rcarneva/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rcarneva/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rcarneva"
} | [
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
]
| closed | false | null | []
| {
"closed_at": "2016-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"
} | 7 | 2015-12-18T20:17:02Z | 2015-12-25T21:47:39Z | 2015-12-25T21:47:39Z | CONTRIBUTOR | null | Fixes #11614
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11865/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11865/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11865.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11865",
"merged_at": "2015-12-25T21:47:39Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11865.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11865"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11866 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11866/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11866/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11866/events | https://github.com/pandas-dev/pandas/issues/11866 | 123,029,376 | MDU6SXNzdWUxMjMwMjkzNzY= | 11,866 | DataFrame.describe(percentiles=[]) still returns 50% percentile. | {
"avatar_url": "https://avatars.githubusercontent.com/u/2701562?v=4",
"events_url": "https://api.github.com/users/dragoljub/events{/privacy}",
"followers_url": "https://api.github.com/users/dragoljub/followers",
"following_url": "https://api.github.com/users/dragoljub/following{/other_user}",
"gists_url": "https://api.github.com/users/dragoljub/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dragoljub",
"id": 2701562,
"login": "dragoljub",
"node_id": "MDQ6VXNlcjI3MDE1NjI=",
"organizations_url": "https://api.github.com/users/dragoljub/orgs",
"received_events_url": "https://api.github.com/users/dragoljub/received_events",
"repos_url": "https://api.github.com/users/dragoljub/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dragoljub/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dragoljub/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dragoljub"
} | [
{
"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"
}
]
| 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"
} | 10 | 2015-12-18T21:28:42Z | 2021-04-21T05:28:04Z | null | NONE | null | The DataFrame.describe() method docs seem to indicate that you can pass percentiles=None to not compute any percentiles, however by default it still computes 25%, 50% and 75%. The best I can do is pass an empty list to only compute the 50% percentile. I would think that passing an empty list would return no percentile computations.
Should we allow passing an empty list to not compute any percentiles?
pandas 0.17.1
``` python
In [1]: import pandas as pd
In [2]: import numpy as np
In [3]: df = pd.DataFrame(np.random.randn(10,5))
In [4]: df.describe(percentiles=None)
Out[4]:
0 1 2 3 4 5
count 10.000000 10.000000 10.000000 10.000000 10.000000 10.000000
mean -0.116736 -0.160728 0.066763 -0.068867 -0.242050 0.390091
std 0.771704 0.837520 0.875747 0.955985 1.093919 0.923464
min -1.347786 -1.140541 -1.297533 -1.347824 -2.085290 -0.825807
25% -0.580527 -0.613640 -0.558291 -0.538433 -0.836046 -0.275567
50% -0.261526 -0.395307 0.007595 -0.248025 0.000515 0.314278
75% 0.329780 0.154053 0.708768 0.407732 0.366278 1.192338
max 1.285276 1.649528 1.485076 1.697162 1.551388 1.762939
In [15]: df.describe(percentiles=[])
Out[15]:
0 1 2 3 4 5
count 10.000000 10.000000 10.000000 10.000000 10.000000 10.000000
mean -0.116736 -0.160728 0.066763 -0.068867 -0.242050 0.390091
std 0.771704 0.837520 0.875747 0.955985 1.093919 0.923464
min -1.347786 -1.140541 -1.297533 -1.347824 -2.085290 -0.825807
50% -0.261526 -0.395307 0.007595 -0.248025 0.000515 0.314278
max 1.285276 1.649528 1.485076 1.697162 1.551388 1.762939
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11866/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11866/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11867 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11867/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11867/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11867/events | https://github.com/pandas-dev/pandas/pull/11867 | 123,067,987 | MDExOlB1bGxSZXF1ZXN0NTQxNzMyMTc= | 11,867 | index is included in memory usage by default | {
"avatar_url": "https://avatars.githubusercontent.com/u/5635139?v=4",
"events_url": "https://api.github.com/users/max-sixty/events{/privacy}",
"followers_url": "https://api.github.com/users/max-sixty/followers",
"following_url": "https://api.github.com/users/max-sixty/following{/other_user}",
"gists_url": "https://api.github.com/users/max-sixty/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/max-sixty",
"id": 5635139,
"login": "max-sixty",
"node_id": "MDQ6VXNlcjU2MzUxMzk=",
"organizations_url": "https://api.github.com/users/max-sixty/orgs",
"received_events_url": "https://api.github.com/users/max-sixty/received_events",
"repos_url": "https://api.github.com/users/max-sixty/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/max-sixty/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/max-sixty/subscriptions",
"type": "User",
"url": "https://api.github.com/users/max-sixty"
} | [
{
"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"
} | 8 | 2015-12-19T06:59:15Z | 2016-01-30T23:50:03Z | 2016-01-03T16:53:54Z | CONTRIBUTOR | null | ...and sys.getsizeof returns correct value. Closes https://github.com/pydata/pandas/issues/11597
Is this the best implementation for a common method across classes?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11867/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11867/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11867.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11867",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/11867.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11867"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11868 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11868/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11868/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11868/events | https://github.com/pandas-dev/pandas/issues/11868 | 123,073,606 | MDU6SXNzdWUxMjMwNzM2MDY= | 11,868 | replace function broken for Series with dtype: datetime64 | {
"avatar_url": "https://avatars.githubusercontent.com/u/8376142?v=4",
"events_url": "https://api.github.com/users/shanmuga-cv/events{/privacy}",
"followers_url": "https://api.github.com/users/shanmuga-cv/followers",
"following_url": "https://api.github.com/users/shanmuga-cv/following{/other_user}",
"gists_url": "https://api.github.com/users/shanmuga-cv/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/shanmuga-cv",
"id": 8376142,
"login": "shanmuga-cv",
"node_id": "MDQ6VXNlcjgzNzYxNDI=",
"organizations_url": "https://api.github.com/users/shanmuga-cv/orgs",
"received_events_url": "https://api.github.com/users/shanmuga-cv/received_events",
"repos_url": "https://api.github.com/users/shanmuga-cv/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/shanmuga-cv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/shanmuga-cv/subscriptions",
"type": "User",
"url": "https://api.github.com/users/shanmuga-cv"
} | [
{
"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": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
},
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
}
]
| closed | false | null | []
| null | 2 | 2015-12-19T09:35:29Z | 2015-12-19T13:27:09Z | 2015-12-19T13:26:55Z | NONE | null | This bug was introduced in v0.17.1
``` python
from datetime import datetime
import pandas as pd
ser = pd.Series([datetime.now()]*4, index=range(4))
ser.replace('a', 10)
```
This throws the following exception.
<pre>
Traceback (most recent call last):
File "/home/xxxx/anaconda/envs/py3/lib/python3.4/site-packages/pandas/core/internals.py", line 2061, in _try_coerce_args
other = other.astype('i8',copy=False).view('i8')
ValueError: invalid literal for int() with base 10: 'a'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/xxxx/anaconda/envs/py3/lib/python3.4/site-packages/pandas/core/internals.py", line 594, in replace
values, _, to_replace, _ = self._try_coerce_args(self.values, to_replace)
File "/home/xxxx/anaconda/envs/py3/lib/python3.4/site-packages/pandas/core/internals.py", line 2066, in _try_coerce_args
raise TypeError
TypeError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/xxxx/anaconda/envs/py3/lib/python3.4/site-packages/pandas/core/generic.py", line 3110, in replace
inplace=inplace, regex=regex)
File "/home/xxxx/anaconda/envs/py3/lib/python3.4/site-packages/pandas/core/internals.py", line 2870, in replace
return self.apply('replace', **kwargs)
File "/home/xxxx/anaconda/envs/py3/lib/python3.4/site-packages/pandas/core/internals.py", line 2823, in apply
applied = getattr(b, f)(**kwargs)
File "/home/xxxx/anaconda/envs/py3/lib/python3.4/site-packages/pandas/core/internals.py", line 607, in replace
if not mask.any():
UnboundLocalError: local variable 'mask' referenced before assignment
</pre>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11868/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11868/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11869 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11869/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11869/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11869/events | https://github.com/pandas-dev/pandas/pull/11869 | 123,081,543 | MDExOlB1bGxSZXF1ZXN0NTQxNzcyNjI= | 11,869 | DOC: paramaters -> parameters | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
]
| closed | false | null | []
| {
"closed_at": "2016-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"
} | 0 | 2015-12-19T11:52:32Z | 2015-12-19T11:52:56Z | 2015-12-19T11:52:55Z | MEMBER | null | Typo that generates sphinx warning
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11869/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11869/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11869.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11869",
"merged_at": "2015-12-19T11:52:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11869.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11869"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11870 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11870/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11870/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11870/events | https://github.com/pandas-dev/pandas/pull/11870 | 123,095,824 | MDExOlB1bGxSZXF1ZXN0NTQxODE0Mjk= | 11,870 | raise NotImplemented for date parsing args in read_excel #11544 | {
"avatar_url": "https://avatars.githubusercontent.com/u/2829866?v=4",
"events_url": "https://api.github.com/users/grahamjeffries/events{/privacy}",
"followers_url": "https://api.github.com/users/grahamjeffries/followers",
"following_url": "https://api.github.com/users/grahamjeffries/following{/other_user}",
"gists_url": "https://api.github.com/users/grahamjeffries/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/grahamjeffries",
"id": 2829866,
"login": "grahamjeffries",
"node_id": "MDQ6VXNlcjI4Mjk4NjY=",
"organizations_url": "https://api.github.com/users/grahamjeffries/orgs",
"received_events_url": "https://api.github.com/users/grahamjeffries/received_events",
"repos_url": "https://api.github.com/users/grahamjeffries/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/grahamjeffries/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/grahamjeffries/subscriptions",
"type": "User",
"url": "https://api.github.com/users/grahamjeffries"
} | [
{
"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": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
}
]
| closed | false | null | []
| {
"closed_at": "2016-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"
} | 8 | 2015-12-19T16:21:50Z | 2016-01-15T19:05:45Z | 2015-12-19T20:03:33Z | CONTRIBUTOR | null | Fixes #11544
The `parse_dates` and `date_parser` args are passed to `TextReader` and then to `TextFileReader` where they don't seem to have an effect. It was decided to raise the exception at the `_parse_excel` level however, following suit with the handling of `chunksize` args.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11870/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11870/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11870.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11870",
"merged_at": "2015-12-19T20:03:33Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11870.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11870"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11871 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11871/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11871/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11871/events | https://github.com/pandas-dev/pandas/issues/11871 | 123,118,514 | MDU6SXNzdWUxMjMxMTg1MTQ= | 11,871 | BUG: to_datetime issue parsing non-zero padded month in 0.17.1 | {
"avatar_url": "https://avatars.githubusercontent.com/u/538104?v=4",
"events_url": "https://api.github.com/users/dpinte/events{/privacy}",
"followers_url": "https://api.github.com/users/dpinte/followers",
"following_url": "https://api.github.com/users/dpinte/following{/other_user}",
"gists_url": "https://api.github.com/users/dpinte/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dpinte",
"id": 538104,
"login": "dpinte",
"node_id": "MDQ6VXNlcjUzODEwNA==",
"organizations_url": "https://api.github.com/users/dpinte/orgs",
"received_events_url": "https://api.github.com/users/dpinte/received_events",
"repos_url": "https://api.github.com/users/dpinte/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dpinte/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dpinte/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dpinte"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
}
]
| 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"
} | 5 | 2015-12-20T00:26:29Z | 2016-01-26T14:32:58Z | 2016-01-26T14:32:58Z | NONE | null | In pandas 0.16.2, the following date (non-zero padded month) was parsing correctly:
```
>>> import pandas
>>> pandas.__version__
'0.16.2'
>>> pandas.to_datetime('2005-1-13', format='%Y-%m-%d')
Timestamp('2005-01-13 00:00:00')
```
With 0.17.1, it raises a ValueError:
```
>>> import pandas
>>> pandas.__version__
u'0.17.1'
>>> pandas.to_datetime('2005-1-13', format='%Y-%m-%d')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/dpinte/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/pandas/util/decorators.py", line 89, in wrapper
return func(*args, **kwargs)
File "/Users/dpinte/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/pandas/tseries/tools.py", line 276, in to_datetime
unit=unit, infer_datetime_format=infer_datetime_format)
File "/Users/dpinte/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/pandas/tseries/tools.py", line 397, in _to_datetime
return _convert_listlike(np.array([ arg ]), box, format)[0]
File "/Users/dpinte/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/pandas/tseries/tools.py", line 383, in _convert_listlike
raise e
ValueError: time data '2005-1-13' does match format specified
```
Even if `%m` is supposed to be used for zero-padded month definitions, Python's strptime function parses them properly.
Is this a known issue?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11871/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11871/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11872 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11872/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11872/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11872/events | https://github.com/pandas-dev/pandas/pull/11872 | 123,139,983 | MDExOlB1bGxSZXF1ZXN0NTQxOTQ1MTk= | 11,872 | DOC: Added enhancement entry for to_datetime | {
"avatar_url": "https://avatars.githubusercontent.com/u/11199045?v=4",
"events_url": "https://api.github.com/users/sumitbinnani/events{/privacy}",
"followers_url": "https://api.github.com/users/sumitbinnani/followers",
"following_url": "https://api.github.com/users/sumitbinnani/following{/other_user}",
"gists_url": "https://api.github.com/users/sumitbinnani/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sumitbinnani",
"id": 11199045,
"login": "sumitbinnani",
"node_id": "MDQ6VXNlcjExMTk5MDQ1",
"organizations_url": "https://api.github.com/users/sumitbinnani/orgs",
"received_events_url": "https://api.github.com/users/sumitbinnani/received_events",
"repos_url": "https://api.github.com/users/sumitbinnani/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sumitbinnani/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sumitbinnani/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sumitbinnani"
} | []
| closed | false | null | []
| null | 1 | 2015-12-20T07:22:03Z | 2015-12-20T10:19:33Z | 2015-12-20T10:19:33Z | NONE | null | Supplementary Patch for pull request #11470
(Issues #11276, #11745)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11872/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11872/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11872.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11872",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/11872.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11872"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11873 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11873/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11873/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11873/events | https://github.com/pandas-dev/pandas/issues/11873 | 123,152,257 | MDU6SXNzdWUxMjMxNTIyNTc= | 11,873 | Code-of-Conduct? | {
"avatar_url": "https://avatars.githubusercontent.com/u/1840865?v=4",
"events_url": "https://api.github.com/users/alison985/events{/privacy}",
"followers_url": "https://api.github.com/users/alison985/followers",
"following_url": "https://api.github.com/users/alison985/following{/other_user}",
"gists_url": "https://api.github.com/users/alison985/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/alison985",
"id": 1840865,
"login": "alison985",
"node_id": "MDQ6VXNlcjE4NDA4NjU=",
"organizations_url": "https://api.github.com/users/alison985/orgs",
"received_events_url": "https://api.github.com/users/alison985/received_events",
"repos_url": "https://api.github.com/users/alison985/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/alison985/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alison985/subscriptions",
"type": "User",
"url": "https://api.github.com/users/alison985"
} | [
{
"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"
} | 13 | 2015-12-20T10:22:16Z | 2016-06-23T12:49:38Z | 2016-06-23T12:49:30Z | NONE | null | Hi,
I'm just wondering what your code of conduct is for this project?
Thanks,
Alison
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11873/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11873/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11874 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11874/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11874/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11874/events | https://github.com/pandas-dev/pandas/pull/11874 | 123,192,328 | MDExOlB1bGxSZXF1ZXN0NTQyMTIxMzA= | 11,874 | Doc: added names parameter in read_excel | {
"avatar_url": "https://avatars.githubusercontent.com/u/2503544?v=4",
"events_url": "https://api.github.com/users/varunkumar-dev/events{/privacy}",
"followers_url": "https://api.github.com/users/varunkumar-dev/followers",
"following_url": "https://api.github.com/users/varunkumar-dev/following{/other_user}",
"gists_url": "https://api.github.com/users/varunkumar-dev/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/varunkumar-dev",
"id": 2503544,
"login": "varunkumar-dev",
"node_id": "MDQ6VXNlcjI1MDM1NDQ=",
"organizations_url": "https://api.github.com/users/varunkumar-dev/orgs",
"received_events_url": "https://api.github.com/users/varunkumar-dev/received_events",
"repos_url": "https://api.github.com/users/varunkumar-dev/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/varunkumar-dev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/varunkumar-dev/subscriptions",
"type": "User",
"url": "https://api.github.com/users/varunkumar-dev"
} | [
{
"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": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
}
]
| closed | false | null | []
| {
"closed_at": "2016-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"
} | 1 | 2015-12-21T00:28:23Z | 2015-12-23T14:50:55Z | 2015-12-23T14:50:41Z | CONTRIBUTOR | null | closes #11468
Please Review.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11874/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11874/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11874.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11874",
"merged_at": "2015-12-23T14:50:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11874.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11874"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11875 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11875/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11875/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11875/events | https://github.com/pandas-dev/pandas/issues/11875 | 123,201,596 | MDU6SXNzdWUxMjMyMDE1OTY= | 11,875 | filtration chain for DataFrames | {
"avatar_url": "https://avatars.githubusercontent.com/u/616139?v=4",
"events_url": "https://api.github.com/users/danfrankj/events{/privacy}",
"followers_url": "https://api.github.com/users/danfrankj/followers",
"following_url": "https://api.github.com/users/danfrankj/following{/other_user}",
"gists_url": "https://api.github.com/users/danfrankj/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/danfrankj",
"id": 616139,
"login": "danfrankj",
"node_id": "MDQ6VXNlcjYxNjEzOQ==",
"organizations_url": "https://api.github.com/users/danfrankj/orgs",
"received_events_url": "https://api.github.com/users/danfrankj/received_events",
"repos_url": "https://api.github.com/users/danfrankj/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/danfrankj/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danfrankj/subscriptions",
"type": "User",
"url": "https://api.github.com/users/danfrankj"
} | []
| closed | false | null | []
| null | 7 | 2015-12-21T02:59:44Z | 2016-04-07T01:19:51Z | 2015-12-21T12:35:05Z | CONTRIBUTOR | null | Inspired by the R package dplyr I'd like to be able to chain together my data manipulation but can't find an elegant way to do a filter.
For example if I have a group -> aggregate -> filter sequence, I'd do something like this
```
In [13]: df
Out[13]:
A B C D
0 foo one -0.193 -0.900
1 bar one 1.505 0.223
2 foo two 0.646 -0.025
3 bar three -0.072 1.227
4 foo two -1.367 -0.873
5 bar two 1.176 2.317
6 foo one 0.424 0.858
7 foo three 2.129 0.038
In [14]: aggd = df.groupby('A').sum()
In [15]: final = aggd[aggd['C'] > 2]
In [16]: final
Out[16]:
C D
A
bar 2.608 3.767
```
What I'd like to be able to do is....
```
In [21]: df.groupby('A').sum().apply_filter(lambda row: row['C'] > 0, axis=1)
Out[21]:
C D
A
bar 2.608 3.767
```
This should be a pretty simple addition basically calling DataFrame.apply and happy to open a PR for it but wanted to see what you guys thought about 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/11875/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11875/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11876 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11876/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11876/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11876/events | https://github.com/pandas-dev/pandas/pull/11876 | 123,278,467 | MDExOlB1bGxSZXF1ZXN0NTQyNTUzNjY= | 11,876 | Gbq upgrade | {
"avatar_url": "https://avatars.githubusercontent.com/u/12720209?v=4",
"events_url": "https://api.github.com/users/tworec/events{/privacy}",
"followers_url": "https://api.github.com/users/tworec/followers",
"following_url": "https://api.github.com/users/tworec/following{/other_user}",
"gists_url": "https://api.github.com/users/tworec/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tworec",
"id": 12720209,
"login": "tworec",
"node_id": "MDQ6VXNlcjEyNzIwMjA5",
"organizations_url": "https://api.github.com/users/tworec/orgs",
"received_events_url": "https://api.github.com/users/tworec/received_events",
"repos_url": "https://api.github.com/users/tworec/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tworec/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tworec/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tworec"
} | []
| closed | false | null | []
| null | 4 | 2015-12-21T13:19:19Z | 2015-12-23T08:58:40Z | 2015-12-21T14:09:28Z | NONE | null | This adds support for service account authorization to Google Big Query API + some informative messages on std out.
GBQ can be used with Python 3. In RTBHouse we are doing this since may. It works perfectly with this pandas upgrade.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11876/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11876/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11876.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11876",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/11876.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11876"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11877 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11877/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11877/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11877/events | https://github.com/pandas-dev/pandas/issues/11877 | 123,288,742 | MDU6SXNzdWUxMjMyODg3NDI= | 11,877 | install pandas using pip3 not work | {
"avatar_url": "https://avatars.githubusercontent.com/u/7599207?v=4",
"events_url": "https://api.github.com/users/Alwerdani/events{/privacy}",
"followers_url": "https://api.github.com/users/Alwerdani/followers",
"following_url": "https://api.github.com/users/Alwerdani/following{/other_user}",
"gists_url": "https://api.github.com/users/Alwerdani/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Alwerdani",
"id": 7599207,
"login": "Alwerdani",
"node_id": "MDQ6VXNlcjc1OTkyMDc=",
"organizations_url": "https://api.github.com/users/Alwerdani/orgs",
"received_events_url": "https://api.github.com/users/Alwerdani/received_events",
"repos_url": "https://api.github.com/users/Alwerdani/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Alwerdani/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Alwerdani/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Alwerdani"
} | []
| closed | false | null | []
| null | 1 | 2015-12-21T14:28:37Z | 2015-12-21T18:53:56Z | 2015-12-21T18:53:56Z | NONE | null | Hello,
i am trying to install pandas last commit on virtualenv and this error is raise :
```
Traceback (most recent call last):
File "/usr/lib/python3.4/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.4/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.4/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/username/.virtualenvs/envname/local/lib/python3.4/site-packages/setuptools/command/bdist_egg.py", line 185, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "/home/username/.virtualenvs/envname/local/lib/python3.4/site-packages/setuptools/command/bdist_egg.py", line 171, in call_command
self.run_command(cmdname)
File "/usr/lib/python3.4/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.4/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/username/.virtualenvs/envname/local/lib/python3.4/site-packages/setuptools/command/install_lib.py", line 20, in run
self.build()
File "/usr/lib/python3.4/distutils/command/install_lib.py", line 109, in build
self.run_command('build_ext')
File "/usr/lib/python3.4/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.4/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/tmp/easy_install-856yra78/numpy-1.10.2/numpy/distutils/command/build_ext.py", line 257, in run
File "/usr/lib/python3.4/distutils/command/build_ext.py", line 448, in build_extensions
self.build_extension(ext)
File "/tmp/easy_install-856yra78/numpy-1.10.2/numpy/distutils/command/build_ext.py", line 355, in build_extension
File "/tmp/easy_install-856yra78/numpy-1.10.2/numpy/distutils/ccompiler.py", line 28, in <lambda>
File "/tmp/easy_install-856yra78/numpy-1.10.2/numpy/distutils/ccompiler.py", line 231, in CCompiler_compile
File "/tmp/easy_install-856yra78/numpy-1.10.2/numpy/distutils/ccompiler.py", line 195, in single_compile
File "/tmp/easy_install-856yra78/numpy-1.10.2/numpy/distutils/ccompiler.py", line 28, in <lambda>
File "/tmp/easy_install-856yra78/numpy-1.10.2/numpy/distutils/unixccompiler.py", line 52, in UnixCCompiler__compile
distutils.errors.CompileError: Command "x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -Ibuild/src.linux-x86_64-3.4/numpy/core/src/private -Inumpy/core/include -Ibuild/src.linux-x86_64-3.4/numpy/core/include/numpy -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.4m -I/home/username/.virtualenvs/envname/include/python3.4m -Ibuild/src.linux-x86_64-3.4/numpy/core/src/private -Ibuild/src.linux-x86_64-3.4/numpy/core/src/private -Ibuild/src.linux-x86_64-3.4/numpy/core/src/private -c build/src.linux-x86_64-3.4/numpy/core/src/multiarray/lowlevel_strided_loops.c -o build/temp.linux-x86_64-3.4/build/src.linux-x86_64-3.4/numpy/core/src/multiarray/lowlevel_strided_loops.o" failed with exit status 4
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/username/.virtualenvs/envname/local/lib/python3.4/site-packages/setuptools/command/easy_install.py", line 1000, in run_setup
run_setup(setup_script, args)
File "/home/username/.virtualenvs/envname/local/lib/python3.4/site-packages/setuptools/sandbox.py", line 50, in run_setup
lambda: execfile(
File "/home/username/.virtualenvs/envname/local/lib/python3.4/site-packages/setuptools/sandbox.py", line 100, in run
return func()
File "/home/username/.virtualenvs/envname/local/lib/python3.4/site-packages/setuptools/sandbox.py", line 52, in <lambda>
{'__file__':setup_script, '__name__':'__main__'}
File "/home/username/.virtualenvs/envname/local/lib/python3.4/site-packages/setuptools/compat.py", line 78, in execfile
exec(compile(source, fn, 'exec'), globs, locs)
File "setup.py", line 263, in <module>
'pandas/parser.pyx',
File "setup.py", line 255, in setup_package
class CheckSDist(sdist_class):
File "/tmp/easy_install-856yra78/numpy-1.10.2/numpy/distutils/core.py", line 169, in setup
File "/usr/lib/python3.4/distutils/core.py", line 163, in setup
raise SystemExit("error: " + str(msg))
SystemExit: error: Command "x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -Ibuild/src.linux-x86_64-3.4/numpy/core/src/private -Inumpy/core/include -Ibuild/src.linux-x86_64-3.4/numpy/core/include/numpy -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.4m -I/home/username/.virtualenvs/envname/include/python3.4m -Ibuild/src.linux-x86_64-3.4/numpy/core/src/private -Ibuild/src.linux-x86_64-3.4/numpy/core/src/private -Ibuild/src.linux-x86_64-3.4/numpy/core/src/private -c build/src.linux-x86_64-3.4/numpy/core/src/multiarray/lowlevel_strided_loops.c -o build/temp.linux-x86_64-3.4/build/src.linux-x86_64-3.4/numpy/core/src/multiarray/lowlevel_strided_loops.o" failed with exit status 4
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/tmp/pip-o23ozwi2-build/setup.py", line 596, in <module>
**setuptools_kwargs)
File "/usr/lib/python3.4/distutils/core.py", line 108, in setup
_setup_distribution = dist = klass(attrs)
File "/home/username/.virtualenvs/envname/local/lib/python3.4/site-packages/setuptools/dist.py", line 239, in __init__
self.fetch_build_eggs(attrs.pop('setup_requires'))
File "/home/username/.virtualenvs/envname/local/lib/python3.4/site-packages/setuptools/dist.py", line 264, in fetch_build_eggs
replace_conflicting=True
File "/home/username/.virtualenvs/envname/local/lib/python3.4/site-packages/pkg_resources.py", line 580, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File "/home/username/.virtualenvs/envname/local/lib/python3.4/site-packages/pkg_resources.py", line 818, in best_match
return self.obtain(req, installer) # try and download/install
File "/home/username/.virtualenvs/envname/local/lib/python3.4/site-packages/pkg_resources.py", line 830, in obtain
return installer(requirement)
File "/home/username/.virtualenvs/envname/local/lib/python3.4/site-packages/setuptools/dist.py", line 314, in fetch_build_egg
return cmd.easy_install(req)
File "/home/username/.virtualenvs/envname/local/lib/python3.4/site-packages/setuptools/command/easy_install.py", line 593, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/home/username/.virtualenvs/envname/local/lib/python3.4/site-packages/setuptools/command/easy_install.py", line 623, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/home/username/.virtualenvs/envname/local/lib/python3.4/site-packages/setuptools/command/easy_install.py", line 809, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/home/username/.virtualenvs/envname/local/lib/python3.4/site-packages/setuptools/command/easy_install.py", line 1015, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/home/username/.virtualenvs/envname/local/lib/python3.4/site-packages/setuptools/command/easy_install.py", line 1003, in run_setup
raise DistutilsError("Setup script exited with %s" % (v.args[0],))
distutils.errors.DistutilsError: Setup script exited with error: Command "x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -Ibuild/src.linux-x86_64-3.4/numpy/core/src/private -Inumpy/core/include -Ibuild/src.linux-x86_64-3.4/numpy/core/include/numpy -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.4m -I/home/username/.virtualenvs/envname/include/python3.4m -Ibuild/src.linux-x86_64-3.4/numpy/core/src/private -Ibuild/src.linux-x86_64-3.4/numpy/core/src/private -Ibuild/src.linux-x86_64-3.4/numpy/core/src/private -c build/src.linux-x86_64-3.4/numpy/core/src/multiarray/lowlevel_strided_loops.c -o build/temp.linux-x86_64-3.4/build/src.linux-x86_64-3.4/numpy/core/src/multiarray/lowlevel_strided_loops.o" failed with exit status 4
x86_64-linux-gnu-gcc: internal compiler error: Killed (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip-o23ozwi2-build
Storing debug log for failure in /home/username/.pip/pip.log
```
aslo try to `pip3 install pandas` and not work
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11877/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11877/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11878 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11878/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11878/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11878/events | https://github.com/pandas-dev/pandas/issues/11878 | 123,319,300 | MDU6SXNzdWUxMjMzMTkzMDA= | 11,878 | Fail to load a very large pickle data frame by read_pickle after dumping it by to_pickle | {
"avatar_url": "https://avatars.githubusercontent.com/u/4210638?v=4",
"events_url": "https://api.github.com/users/kelvict/events{/privacy}",
"followers_url": "https://api.github.com/users/kelvict/followers",
"following_url": "https://api.github.com/users/kelvict/following{/other_user}",
"gists_url": "https://api.github.com/users/kelvict/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kelvict",
"id": 4210638,
"login": "kelvict",
"node_id": "MDQ6VXNlcjQyMTA2Mzg=",
"organizations_url": "https://api.github.com/users/kelvict/orgs",
"received_events_url": "https://api.github.com/users/kelvict/received_events",
"repos_url": "https://api.github.com/users/kelvict/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kelvict/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kelvict/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kelvict"
} | [
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
},
{
"color": "207de5",
"default": false,
"description": "Clarification about behavior needed to assess issue",
"id": 307649777,
"name": "Needs Info",
"node_id": "MDU6TGFiZWwzMDc2NDk3Nzc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Info"
}
]
| closed | false | null | []
| null | 2 | 2015-12-21T17:11:29Z | 2019-02-20T04:35:16Z | 2019-02-20T04:35:16Z | NONE | null | Fail to load a very large pickle data frame by read_pickle after dumping it by to_pickle .
Error message below
```
In [2]: tr_fl = pd.read_pickle('dataset/train_selected_fl.pkl')
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-2-e2e904b8836b> in <module>()
----> 1 tr_fl = pd.read_pickle('dataset/train_selected_fl.pkl')
/usr/local/lib/python2.7/site-packages/pandas/io/pickle.pyc in read_pickle(path)
58
59 try:
---> 60 return try_read(path)
61 except:
62 if PY3:
/usr/local/lib/python2.7/site-packages/pandas/io/pickle.pyc in try_read(path, encoding)
55 except:
56 with open(path, 'rb') as fh:
---> 57 return pc.load(fh, encoding=encoding, compat=True)
58
59 try:
/usr/local/lib/python2.7/site-packages/pandas/compat/pickle_compat.pyc in load(fh, encoding, compat, is_verbose)
114 up.is_verbose = is_verbose
115
--> 116 return up.load()
117 except:
118 raise
/usr/local/lib/python2.7/pickle.pyc in load(self)
856 while 1:
857 key = read(1)
--> 858 dispatch[key](self)
859 except _Stop, stopinst:
860 return stopinst.value
/usr/local/lib/python2.7/pickle.pyc in load_build(self)
1215 setstate = getattr(inst, "__setstate__", None)
1216 if setstate:
-> 1217 setstate(state)
1218 return
1219 slotstate = None
ValueError: buffer size does not match array size
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11878/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11878/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11879 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11879/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11879/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11879/events | https://github.com/pandas-dev/pandas/issues/11879 | 123,328,769 | MDU6SXNzdWUxMjMzMjg3Njk= | 11,879 | UnicodeEncodeError from DataFrame.to_records | {
"avatar_url": "https://avatars.githubusercontent.com/u/1009428?v=4",
"events_url": "https://api.github.com/users/kynnjo/events{/privacy}",
"followers_url": "https://api.github.com/users/kynnjo/followers",
"following_url": "https://api.github.com/users/kynnjo/following{/other_user}",
"gists_url": "https://api.github.com/users/kynnjo/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kynnjo",
"id": 1009428,
"login": "kynnjo",
"node_id": "MDQ6VXNlcjEwMDk0Mjg=",
"organizations_url": "https://api.github.com/users/kynnjo/orgs",
"received_events_url": "https://api.github.com/users/kynnjo/received_events",
"repos_url": "https://api.github.com/users/kynnjo/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kynnjo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kynnjo/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kynnjo"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "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 | []
| {
"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"
} | 7 | 2015-12-21T18:06:24Z | 2017-02-27T19:44:37Z | 2017-02-27T19:44:37Z | NONE | null | The `DataFrame.to_records` method fails with a `UnicodeEncodeError` for some unicode column names.
(This issue is related to https://github.com/pydata/pandas/issues/680. The example below extends the example given in that issue.)
```
In [322]: df = pandas.DataFrame({u'c/\u03c3':[1,2,3]})
In [323]: df
Out[323]:
c/σ
0 1
1 2
2 3
In [324]: df.to_records()
---------------------------------------------------------------------------
UnicodeEncodeError Traceback (most recent call last)
<ipython-input-324-6d3142e97d2d> in <module>()
----> 1 df.to_records()
/redacted/python2.7/site-packages/pandas/core/frame.pyc in to_records(self, index, convert_datetime64)
1013 elif index_names[0] is None:
1014 index_names = ['index']
-> 1015 names = index_names + lmap(str, self.columns)
1016 else:
1017 arrays = [self[c].get_values() for c in self.columns]
UnicodeEncodeError: 'ascii' codec can't encode character u'\u03c3' in position 2: 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/11879/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11879/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11880 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11880/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11880/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11880/events | https://github.com/pandas-dev/pandas/issues/11880 | 123,347,417 | MDU6SXNzdWUxMjMzNDc0MTc= | 11,880 | Msgpack - ValueError: buffer source array is read-only | {
"avatar_url": "https://avatars.githubusercontent.com/u/2135985?v=4",
"events_url": "https://api.github.com/users/dakaitbakait/events{/privacy}",
"followers_url": "https://api.github.com/users/dakaitbakait/followers",
"following_url": "https://api.github.com/users/dakaitbakait/following{/other_user}",
"gists_url": "https://api.github.com/users/dakaitbakait/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dakaitbakait",
"id": 2135985,
"login": "dakaitbakait",
"node_id": "MDQ6VXNlcjIxMzU5ODU=",
"organizations_url": "https://api.github.com/users/dakaitbakait/orgs",
"received_events_url": "https://api.github.com/users/dakaitbakait/received_events",
"repos_url": "https://api.github.com/users/dakaitbakait/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dakaitbakait/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dakaitbakait/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dakaitbakait"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
]
| closed | false | null | []
| {
"closed_at": "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"
} | 5 | 2015-12-21T20:00:16Z | 2016-01-15T13:46:42Z | 2016-01-15T13:46:42Z | CONTRIBUTOR | null | I get the Value error when processing data using pandas. I followed the following steps:
1. convert to msgpack format with compress flag
2. subsequently read file into a dataframe
3. push to sql table with to_sql
On the third step i get ValueError: buffer source array is read-only.
This problem does not arise if I wrap the read_msgpack call inside a pandas.concat
Example
``` python
import pandas as pd
import numpy as np
from sqlalchemy import create_engine
eng = create_engine("sqlite:///:memory:")
df1 = pd.DataFrame({ 'A' : 1.,
'B' : pd.Timestamp('20130102'),
'C' : pd.Series(1,index=list(range(4)),dtype='float32'),
'D' : np.array([3] * 4,dtype='int32'),
'E' : 'foo' })
df1.to_msgpack('test.msgpack', compress='zlib')
df2 = pd.read_msgpack('test.msgpack')
df2.to_sql('test', eng, if_exists='append', chunksize=1000) # throws value error
df2 = pd.cooncat([pd.read_msgpack('test.msgpack')])
df2.to_sql('test', eng, if_exists='append', chunksize=1000) # works
```
This happens with both blosc and zlib compression. While I have found a solution, this behaviour seems very odd and for very large files there is a small performance hit.
edit: @TomAugspurger changed the sql engine to sqlite
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11880/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11880/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11881 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11881/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11881/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11881/events | https://github.com/pandas-dev/pandas/pull/11881 | 123,373,436 | MDExOlB1bGxSZXF1ZXN0NTQzMTE1MjU= | 11,881 | Gbq service account | {
"avatar_url": "https://avatars.githubusercontent.com/u/12720209?v=4",
"events_url": "https://api.github.com/users/tworec/events{/privacy}",
"followers_url": "https://api.github.com/users/tworec/followers",
"following_url": "https://api.github.com/users/tworec/following{/other_user}",
"gists_url": "https://api.github.com/users/tworec/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tworec",
"id": 12720209,
"login": "tworec",
"node_id": "MDQ6VXNlcjEyNzIwMjA5",
"organizations_url": "https://api.github.com/users/tworec/orgs",
"received_events_url": "https://api.github.com/users/tworec/received_events",
"repos_url": "https://api.github.com/users/tworec/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tworec/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tworec/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tworec"
} | [
{
"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": "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"
} | 32 | 2015-12-21T22:36:41Z | 2016-02-16T12:09:33Z | 2016-02-01T23:39:27Z | NONE | null | This adds service account authentication while still supports standard web auth method.
It also adds some useful std out messages: progress with elapsed time and percentage ~~\+ price calculation~~.
In RTBHouse we're using this service account auth since may. It works perfectly with remote jupyter server (iPython notebooks).
fixes #8489
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11881/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11881/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11881.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11881",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/11881.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11881"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11882 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11882/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11882/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11882/events | https://github.com/pandas-dev/pandas/pull/11882 | 123,408,845 | MDExOlB1bGxSZXF1ZXN0NTQzMzEwNzE= | 11,882 | BUG: dataframe loading with duplicated columns and usecols #11823 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1084048?v=4",
"events_url": "https://api.github.com/users/sxwang/events{/privacy}",
"followers_url": "https://api.github.com/users/sxwang/followers",
"following_url": "https://api.github.com/users/sxwang/following{/other_user}",
"gists_url": "https://api.github.com/users/sxwang/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sxwang",
"id": 1084048,
"login": "sxwang",
"node_id": "MDQ6VXNlcjEwODQwNDg=",
"organizations_url": "https://api.github.com/users/sxwang/orgs",
"received_events_url": "https://api.github.com/users/sxwang/received_events",
"repos_url": "https://api.github.com/users/sxwang/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sxwang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sxwang/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sxwang"
} | [
{
"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 | []
| null | 24 | 2015-12-22T04:08:07Z | 2016-05-03T05:08:11Z | 2016-05-03T05:08:11Z | CONTRIBUTOR | null | Fixes #11823 .
changed `usecols` from set to list in the C parser to handle duplicated columns and `usecols`. Update python parser to be consistent with C parser.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11882/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11882/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11882.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11882",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/11882.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11882"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11883 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11883/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11883/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11883/events | https://github.com/pandas-dev/pandas/pull/11883 | 123,418,888 | MDExOlB1bGxSZXF1ZXN0NTQzMzU1NDY= | 11,883 | Add examples for pandas.*.sample | {
"avatar_url": "https://avatars.githubusercontent.com/u/2073530?v=4",
"events_url": "https://api.github.com/users/proinsias/events{/privacy}",
"followers_url": "https://api.github.com/users/proinsias/followers",
"following_url": "https://api.github.com/users/proinsias/following{/other_user}",
"gists_url": "https://api.github.com/users/proinsias/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/proinsias",
"id": 2073530,
"login": "proinsias",
"node_id": "MDQ6VXNlcjIwNzM1MzA=",
"organizations_url": "https://api.github.com/users/proinsias/orgs",
"received_events_url": "https://api.github.com/users/proinsias/received_events",
"repos_url": "https://api.github.com/users/proinsias/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/proinsias/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/proinsias/subscriptions",
"type": "User",
"url": "https://api.github.com/users/proinsias"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
]
| closed | false | null | []
| {
"closed_at": "2016-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"
} | 4 | 2015-12-22T05:54:01Z | 2015-12-23T15:29:25Z | 2015-12-23T14:27:42Z | CONTRIBUTOR | null | The following doc files are generated from the sample() function from
pandas/core/generic.py:
pandas.DataFrame.sample.html
pandas.Panel.sample.html
pandas.Panel4D.sample.html
pandas.Series.sample.html
Examples for each have been added to the sample() function 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/11883/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11883/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11883.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11883",
"merged_at": "2015-12-23T14:27:42Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11883.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11883"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11884 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11884/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11884/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11884/events | https://github.com/pandas-dev/pandas/issues/11884 | 123,450,781 | MDU6SXNzdWUxMjM0NTA3ODE= | 11,884 | no "stacked" option in Series.plot | {
"avatar_url": "https://avatars.githubusercontent.com/u/6593035?v=4",
"events_url": "https://api.github.com/users/cfblaeb/events{/privacy}",
"followers_url": "https://api.github.com/users/cfblaeb/followers",
"following_url": "https://api.github.com/users/cfblaeb/following{/other_user}",
"gists_url": "https://api.github.com/users/cfblaeb/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cfblaeb",
"id": 6593035,
"login": "cfblaeb",
"node_id": "MDQ6VXNlcjY1OTMwMzU=",
"organizations_url": "https://api.github.com/users/cfblaeb/orgs",
"received_events_url": "https://api.github.com/users/cfblaeb/received_events",
"repos_url": "https://api.github.com/users/cfblaeb/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cfblaeb/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cfblaeb/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cfblaeb"
} | [
{
"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": 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"
} | 7 | 2015-12-22T09:59:36Z | 2015-12-24T08:55:25Z | 2015-12-24T02:03:10Z | NONE | null | It would be nice if there was a "stacked" option for Series.plot like there is for DataFrame.plot.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11884/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11884/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11885 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11885/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11885/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11885/events | https://github.com/pandas-dev/pandas/issues/11885 | 123,498,233 | MDU6SXNzdWUxMjM0OTgyMzM= | 11,885 | API: round() method to ignore non-numerical columns? | {
"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": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
]
| closed | false | null | []
| {
"closed_at": "2016-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"
} | 3 | 2015-12-22T15:11:50Z | 2015-12-29T21:12:56Z | 2015-12-29T21:12:56Z | MEMBER | null | If you call the new `round` method on a mixed dataframe (not only numerical columns), you get an error:
```
In [1]: df = pd.DataFrame({'floats':[0.123, 0.156, 5.687], 'strings': ['a', 'b', 'c']})
In [2]: df.round(2)
TypeError: can't multiply sequence by non-int of type 'float'
In [3]: df.round()
AttributeError: 'str' object has no attribute 'rint'
```
Would it be better to ignore these non-numerical columns instead of raising an error?
Another option would be to drop these columns (like numerical aggregations like `df.mean()` do).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11885/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11885/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11886 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11886/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11886/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11886/events | https://github.com/pandas-dev/pandas/issues/11886 | 123,499,119 | MDU6SXNzdWUxMjM0OTkxMTk= | 11,886 | ENH/SQL: provide single value to 'dtype' argument in to_sql as dtype for all columns | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "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": "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 | 2015-12-22T15:16:25Z | 2019-05-26T12:56:30Z | 2016-07-23T19:28:48Z | MEMBER | null | Idea from http://stackoverflow.com/questions/34383000/pandas-to-sql-all-columns-as-nvarchar
You can specify the sql type using the `dtype` argument in `to_sql`. Now, this argument has to be a dict (mapping of column name -> type).
Letting `to_sql` recognize a single value as the sql type for all columns is not that difficult to add.
So instead of this:
```
df.to_sql(...., dtype={col_name: sqlalchemy.types.NVARCHAR for col_name in df})
```
you can do this:
```
df.to_sql(...., dtype=sqlalchemy.types.NVARCHAR)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11886/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11886/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11887 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11887/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11887/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11887/events | https://github.com/pandas-dev/pandas/issues/11887 | 123,559,480 | MDU6SXNzdWUxMjM1NTk0ODA= | 11,887 | Bug tz and object series concatenation | {
"avatar_url": "https://avatars.githubusercontent.com/u/2503544?v=4",
"events_url": "https://api.github.com/users/varunkumar-dev/events{/privacy}",
"followers_url": "https://api.github.com/users/varunkumar-dev/followers",
"following_url": "https://api.github.com/users/varunkumar-dev/following{/other_user}",
"gists_url": "https://api.github.com/users/varunkumar-dev/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/varunkumar-dev",
"id": 2503544,
"login": "varunkumar-dev",
"node_id": "MDQ6VXNlcjI1MDM1NDQ=",
"organizations_url": "https://api.github.com/users/varunkumar-dev/orgs",
"received_events_url": "https://api.github.com/users/varunkumar-dev/received_events",
"repos_url": "https://api.github.com/users/varunkumar-dev/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/varunkumar-dev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/varunkumar-dev/subscriptions",
"type": "User",
"url": "https://api.github.com/users/varunkumar-dev"
} | []
| closed | false | null | []
| null | 1 | 2015-12-22T21:29:10Z | 2015-12-22T21:43:10Z | 2015-12-22T21:43:10Z | CONTRIBUTOR | null | Related to #11755 ,#11693. Will be fixed in #11705
``` python
In [1]: import pandas as pd
In [2]: x = pd.Series(pd.date_range('20151124 10:00', '20151124 11:00', freq = '1h', tz = "UTC") )
In [3]: y = pd.Series(['a','b'])
In [4]: print(pd.concat([x,y]))
```
AttributeError: 'numpy.ndarray' object has no attribute 'tz_localize'
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11887/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11887/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11888 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11888/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11888/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11888/events | https://github.com/pandas-dev/pandas/pull/11888 | 123,662,435 | MDExOlB1bGxSZXF1ZXN0NTQ0NzA1MDY= | 11,888 | DOC: add examples of database drivers (GH11686) | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
]
| closed | false | null | []
| {
"closed_at": "2016-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"
} | 5 | 2015-12-23T13:45:23Z | 2015-12-23T19:09:01Z | 2015-12-23T19:09:00Z | MEMBER | null | Closes #11686
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11888/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11888/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11888.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11888",
"merged_at": "2015-12-23T19:09:00Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11888.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11888"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11889 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11889/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11889/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11889/events | https://github.com/pandas-dev/pandas/issues/11889 | 123,673,222 | MDU6SXNzdWUxMjM2NzMyMjI= | 11,889 | API: different default for `header` kwarg in read_csv vs read_excel | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "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": "207de5",
"default": false,
"description": "Requires discussion from core team before further action",
"id": 219960758,
"name": "Needs Discussion",
"node_id": "MDU6TGFiZWwyMTk5NjA3NTg=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion"
},
{
"color": "b60205",
"default": false,
"description": "Internal Consistency of API/Behavior",
"id": 1741841389,
"name": "API - Consistency",
"node_id": "MDU6TGFiZWwxNzQxODQxMzg5",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20-%20Consistency"
}
]
| open | false | null | []
| null | 1 | 2015-12-23T14:59:11Z | 2020-05-07T03:42:18Z | null | MEMBER | null | From https://github.com/pydata/pandas/pull/11874#issuecomment-166915826
The default for `hader` in `read_csv` is `'infer'`, while for `read_excel` this is `0`. In most cases this does not matter I think (as the infer will use 0 as the default). But, in the case of specifying the `names` explicitly, this makes a difference:
For `read_csv`, you need to explicitly pass header=0 to replace header existing in file:
```
In [35]: s = """a,b,c
....: 1,2,3
....: 4,5,6"""
In [48]: pd.read_csv(StringIO(s), names=list('ABC'))
Out[48]:
A B C
0 a b c
1 1 2 3
2 4 5 6
In [49]: pd.read_csv(StringIO(s), header=None, names=list('ABC'))
Out[49]:
A B C
0 a b c
1 1 2 3
2 4 5 6
In [51]: pd.read_csv(StringIO(s), header=0, names=list('ABC'))
Out[51]:
A B C
0 1 2 3
1 4 5 6
```
while for `read_excel`, you need to explicitly pass header=None if the file contains no header row:
```
In [31]: pd.read_excel('test_names.xlsx')
Out[31]:
a b c
0 1 2 3
1 4 5 6
In [46]: pd.read_excel('test_names.xlsx', names=['A', 'B', 'C']) <--- ignoring the data of the first row
Out[46]:
A B C
0 1 2 3
1 4 5 6
In [45]: pd.read_excel('test_names.xlsx', header=False, names=['A', 'B', 'C'])
Out[45]:
A B C
0 1 2 3
1 4 5 6
In [47]: pd.read_excel('test_names.xlsx', header=None, names=['A', 'B', 'C'])
Out[47]:
A B C
0 a b c
1 1 2 3
2 4 5 6
```
Would it make sense to change the `read_excel` behaviour to make it more consistent to the `read_csv` one?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11889/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11889/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11890 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11890/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11890/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11890/events | https://github.com/pandas-dev/pandas/issues/11890 | 123,713,119 | MDU6SXNzdWUxMjM3MTMxMTk= | 11,890 | MultiIndex methods not listed in API reference | {
"avatar_url": "https://avatars.githubusercontent.com/u/15113894?v=4",
"events_url": "https://api.github.com/users/Dr-Irv/events{/privacy}",
"followers_url": "https://api.github.com/users/Dr-Irv/followers",
"following_url": "https://api.github.com/users/Dr-Irv/following{/other_user}",
"gists_url": "https://api.github.com/users/Dr-Irv/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Dr-Irv",
"id": 15113894,
"login": "Dr-Irv",
"node_id": "MDQ6VXNlcjE1MTEzODk0",
"organizations_url": "https://api.github.com/users/Dr-Irv/orgs",
"received_events_url": "https://api.github.com/users/Dr-Irv/received_events",
"repos_url": "https://api.github.com/users/Dr-Irv/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Dr-Irv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Dr-Irv/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Dr-Irv"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
]
| closed | false | null | []
| {
"closed_at": "2016-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"
} | 3 | 2015-12-23T19:39:21Z | 2016-01-11T13:39:53Z | 2016-01-11T13:39:53Z | CONTRIBUTOR | null | It would be really useful to have the documentation for the methods specific to `MultiIndex` such as `.from_product()` and `.from_tuples()` to be listed with links in the API reference (http://pandas.pydata.org/pandas-docs/stable/api.html).
I'm willing to edit the api.rst file, but when I build the docs from scratch (using `python make.py html`), the resulting api.html file is incomplete. Before I make changes, I'd like to make sure the build of the docs works right. Maybe the build issue should be a different issue?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11890/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11890/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11891 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11891/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11891/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11891/events | https://github.com/pandas-dev/pandas/pull/11891 | 123,723,910 | MDExOlB1bGxSZXF1ZXN0NTQ1MDc2MDE= | 11,891 | Fix passing args in groupby plot (GH11805) | {
"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": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
]
| closed | false | null | []
| {
"closed_at": "2016-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"
} | 3 | 2015-12-23T21:18:33Z | 2015-12-28T10:08:29Z | 2015-12-28T10:08:29Z | MEMBER | null | Closes https://github.com/pydata/pandas/issues/11805
So probably all groupby plot calls that use kwargs are broken in 0.17.x.
@shoyer it was only a very small change actually!
Still need to add tests.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11891/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11891/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11891.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11891",
"merged_at": "2015-12-28T10:08:29Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11891.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11891"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11892 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11892/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11892/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11892/events | https://github.com/pandas-dev/pandas/pull/11892 | 123,729,850 | MDExOlB1bGxSZXF1ZXN0NTQ1MTEwNzY= | 11,892 | ENH: RangeIndex redux | {
"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": "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"
}
]
| 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"
} | 85 | 2015-12-23T22:10:54Z | 2016-01-17T01:56:47Z | 2016-01-16T17:36:53Z | CONTRIBUTOR | null | closes #939
replaces #9977
ToDo:
- [x] test for packers.py
- [x] more code review
Much commentary on the original issue #9977
but in essence `RangeIndex` is a complete replacement for `Int64Index`, which all indexing semantics and interop. This is now the default indexer upon construction. It should be completely transparent to the end user.
It provides a constant memory footprint for any size of index. Their is a tiny penalty for < about 10 elements (which is actually trivial to fix, e.g. we could simply instantiate an `Int64Index` for these cases). But I think it is more natural to _always_ get a `RangeIndex`.
One other change here is to `assert_index_equal` the `exact` kw now takes `equiv` as the default (in addition to a boolean) to allow for exact comparisions except for `Int64Index`/`RangeIndex` are considered equivalent (as are string/unicode as inferred types, this was pre-existing).
```
In [1]: s = Series(range(5))
In [2]: s.index
Out[2]: RangeIndex(start=0, stop=5, step=1)
In [3]: s.nbytes
Out[3]: 40
In [4]: s.index.nbytes
Out[4]: 72
In [5]: s.index.astype(int).nbytes
Out[5]: 40
In [6]: s = Series(range(100))
In [7]: s.index.astype(int).nbytes
Out[7]: 800
In [8]: s.index.nbytes
Out[8]: 72
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11892/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11892/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11892.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11892",
"merged_at": "2016-01-16T17:36:53Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11892.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11892"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11893 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11893/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11893/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11893/events | https://github.com/pandas-dev/pandas/pull/11893 | 123,734,891 | MDExOlB1bGxSZXF1ZXN0NTQ1MTQ0NTQ= | 11,893 | DOC: Put MultiIndex into the main API Reference | {
"avatar_url": "https://avatars.githubusercontent.com/u/15113894?v=4",
"events_url": "https://api.github.com/users/Dr-Irv/events{/privacy}",
"followers_url": "https://api.github.com/users/Dr-Irv/followers",
"following_url": "https://api.github.com/users/Dr-Irv/following{/other_user}",
"gists_url": "https://api.github.com/users/Dr-Irv/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Dr-Irv",
"id": 15113894,
"login": "Dr-Irv",
"node_id": "MDQ6VXNlcjE1MTEzODk0",
"organizations_url": "https://api.github.com/users/Dr-Irv/orgs",
"received_events_url": "https://api.github.com/users/Dr-Irv/received_events",
"repos_url": "https://api.github.com/users/Dr-Irv/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Dr-Irv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Dr-Irv/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Dr-Irv"
} | [
{
"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": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
]
| closed | false | null | []
| {
"closed_at": "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 | 2015-12-23T23:09:32Z | 2016-01-22T19:08:24Z | 2016-01-11T13:39:53Z | CONTRIBUTOR | null | Doc changes only.
closes #11890
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11893/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11893/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11893.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11893",
"merged_at": "2016-01-11T13:39:53Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11893.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11893"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11894 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11894/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11894/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11894/events | https://github.com/pandas-dev/pandas/pull/11894 | 123,743,400 | MDExOlB1bGxSZXF1ZXN0NTQ1MTk3Mzk= | 11,894 | BUG: Spurious matches in DataFrame.duplicated when keep=False | {
"avatar_url": "https://avatars.githubusercontent.com/u/1621449?v=4",
"events_url": "https://api.github.com/users/evanpw/events{/privacy}",
"followers_url": "https://api.github.com/users/evanpw/followers",
"following_url": "https://api.github.com/users/evanpw/following{/other_user}",
"gists_url": "https://api.github.com/users/evanpw/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/evanpw",
"id": 1621449,
"login": "evanpw",
"node_id": "MDQ6VXNlcjE2MjE0NDk=",
"organizations_url": "https://api.github.com/users/evanpw/orgs",
"received_events_url": "https://api.github.com/users/evanpw/received_events",
"repos_url": "https://api.github.com/users/evanpw/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/evanpw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/evanpw/subscriptions",
"type": "User",
"url": "https://api.github.com/users/evanpw"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
]
| closed | false | null | []
| {
"closed_at": "2016-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"
} | 4 | 2015-12-24T01:23:09Z | 2018-05-04T12:19:59Z | 2016-01-07T15:15:02Z | CONTRIBUTOR | null | Fixes GH #11864
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11894/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11894/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11894.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11894",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/11894.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11894"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11895 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11895/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11895/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11895/events | https://github.com/pandas-dev/pandas/pull/11895 | 123,796,320 | MDExOlB1bGxSZXF1ZXN0NTQ1NDcyMzU= | 11,895 | BUG: masking empty DataFrame | {
"avatar_url": "https://avatars.githubusercontent.com/u/4025968?v=4",
"events_url": "https://api.github.com/users/IamGianluca/events{/privacy}",
"followers_url": "https://api.github.com/users/IamGianluca/followers",
"following_url": "https://api.github.com/users/IamGianluca/following{/other_user}",
"gists_url": "https://api.github.com/users/IamGianluca/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/IamGianluca",
"id": 4025968,
"login": "IamGianluca",
"node_id": "MDQ6VXNlcjQwMjU5Njg=",
"organizations_url": "https://api.github.com/users/IamGianluca/orgs",
"received_events_url": "https://api.github.com/users/IamGianluca/received_events",
"repos_url": "https://api.github.com/users/IamGianluca/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/IamGianluca/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/IamGianluca/subscriptions",
"type": "User",
"url": "https://api.github.com/users/IamGianluca"
} | [
{
"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": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
]
| closed | false | null | []
| {
"closed_at": "2016-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 | 2015-12-24T12:00:53Z | 2015-12-26T00:29:40Z | 2015-12-26T00:29:36Z | CONTRIBUTOR | null | closes #11859
A `ValueError` was raised when trying to mask an empty DataFrame. In addition to solve the bug I've also added a simple new unit test in `test_frame.py`. I didn't add a line in `whatsnew` because this was already done in #10126
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11895/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11895/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11895.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11895",
"merged_at": "2015-12-26T00:29:36Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11895.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11895"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11896 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11896/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11896/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11896/events | https://github.com/pandas-dev/pandas/issues/11896 | 123,817,107 | MDU6SXNzdWUxMjM4MTcxMDc= | 11,896 | DataFrame to_sql fails with percentage symbol `%` in column name with SQLAlchemy and PostgreSQL | {
"avatar_url": "https://avatars.githubusercontent.com/u/2424933?v=4",
"events_url": "https://api.github.com/users/LeeMendelowitz/events{/privacy}",
"followers_url": "https://api.github.com/users/LeeMendelowitz/followers",
"following_url": "https://api.github.com/users/LeeMendelowitz/following{/other_user}",
"gists_url": "https://api.github.com/users/LeeMendelowitz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/LeeMendelowitz",
"id": 2424933,
"login": "LeeMendelowitz",
"node_id": "MDQ6VXNlcjI0MjQ5MzM=",
"organizations_url": "https://api.github.com/users/LeeMendelowitz/orgs",
"received_events_url": "https://api.github.com/users/LeeMendelowitz/received_events",
"repos_url": "https://api.github.com/users/LeeMendelowitz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/LeeMendelowitz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/LeeMendelowitz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/LeeMendelowitz"
} | [
{
"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 | []
| null | 4 | 2015-12-24T16:04:40Z | 2020-12-09T22:50:13Z | null | NONE | null | The following call to `to_sql` fails due to the percentage (%) symbol in the column names in pandas 0.17.1.
``` python
import pandas as pd
from sqlalchemy import create_engine
connect_str = "mysql://{USER}:{PASSWORD}@{HOST}/{DBNAME}".format(
USER = 'root',
PASSWORD = '',
HOST = '127.0.0.1',
DBNAME = 'test'
)
engine = create_engine(connect_str, echo = False)
# Create a dataframe with '%' in column name
df = pd.DataFrame()
df['A%'] = [0.1, 0.2, 0.3]
df['B%'] = [0.1, 0.2, 0.3]
# Save to database
df.to_sql('test_table', engine, if_exists = 'replace', index = False)
# Throws error:
# OperationalError: (_mysql_exceptions.OperationalError) (1054, "Unknown column 'A%%' in 'field list'") [SQL: u'INSERT INTO test_table (`index`, `A%%`, `B%%`) VALUES (%s, %s, %s)'] [parameters: ((0, 0.1, 0.1), (1, 0.2, 0.2), (2, 0.3, 0.3))]
```
Backtrace:
```
Traceback (most recent call last):
File "test_pandas_error.py", line 20, in <module>
df.to_sql('test_table', engine, if_exists = 'replace', index = False)
File "/usr/local/lib/python2.7/site-packages/pandas/core/generic.py", line 1003, in to_sql
dtype=dtype)
File "/usr/local/lib/python2.7/site-packages/pandas/io/sql.py", line 569, in to_sql
chunksize=chunksize, dtype=dtype)
File "/usr/local/lib/python2.7/site-packages/pandas/io/sql.py", line 1241, in to_sql
table.insert(chunksize)
File "/usr/local/lib/python2.7/site-packages/pandas/io/sql.py", line 765, in insert
self._execute_insert(conn, keys, chunk_iter)
File "/usr/local/lib/python2.7/site-packages/pandas/io/sql.py", line 740, in _execute_insert
conn.execute(self.insert_statement(), data)
File "/usr/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 914, in execute
return meth(self, multiparams, params)
File "/usr/local/lib/python2.7/site-packages/sqlalchemy/sql/elements.py", line 323, in _execute_on_connection
return connection._execute_clauseelement(self, multiparams, params)
File "/usr/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1010, in _execute_clauseelement
compiled_sql, distilled_params
File "/usr/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1146, in _execute_context
context)
File "/usr/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1341, in _handle_dbapi_exception
exc_info
File "/usr/local/lib/python2.7/site-packages/sqlalchemy/util/compat.py", line 199, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb)
File "/usr/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1116, in _execute_context
context)
File "/usr/local/lib/python2.7/site-packages/sqlalchemy/dialects/mysql/mysqldb.py", line 95, in do_executemany
rowcount = cursor.executemany(statement, parameters)
File "/usr/local/lib/python2.7/site-packages/MySQLdb/cursors.py", line 262, in executemany
r = self._query('\n'.join([query[:p], ',\n'.join(q), query[e:]]))
File "/usr/local/lib/python2.7/site-packages/MySQLdb/cursors.py", line 354, in _query
rowcount = self._do_query(q)
File "/usr/local/lib/python2.7/site-packages/MySQLdb/cursors.py", line 318, in _do_query
db.query(q)
sqlalchemy.exc.OperationalError: (_mysql_exceptions.OperationalError) (1054, "Unknown column 'A%%' in 'field list'") [SQL: u'INSERT INTO test_table (`A%%`, `B
%%`) VALUES (%s, %s)'] [parameters: ((0.1, 0.1), (0.2, 0.2), (0.3, 0.3))]
```
Versions:
```
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.10.final.0
python-bits: 64
OS: Darwin
OS-release: 15.2.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
pandas: 0.17.1
nose: 1.3.7
pip: 7.1.2
setuptools: 18.0.1
Cython: None
numpy: 1.10.2
scipy: 0.16.0
statsmodels: None
IPython: 4.0.0
sphinx: None
patsy: None
dateutil: 2.4.2
pytz: 2015.7
blosc: None
bottleneck: None
tables: None
numexpr: None
matplotlib: 1.4.3
openpyxl: 2.2.0-b1
xlrd: 0.9.4
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: 1.0.8
pymysql: None
psycopg2: None
Jinja2: None
```
| {
"+1": 2,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 2,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11896/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11896/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11897 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11897/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11897/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11897/events | https://github.com/pandas-dev/pandas/issues/11897 | 123,827,309 | MDU6SXNzdWUxMjM4MjczMDk= | 11,897 | API: Use different exception type when MultiIndex indexing fails due to index not being lexsorted | {
"avatar_url": "https://avatars.githubusercontent.com/u/15113894?v=4",
"events_url": "https://api.github.com/users/Dr-Irv/events{/privacy}",
"followers_url": "https://api.github.com/users/Dr-Irv/followers",
"following_url": "https://api.github.com/users/Dr-Irv/following{/other_user}",
"gists_url": "https://api.github.com/users/Dr-Irv/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Dr-Irv",
"id": 15113894,
"login": "Dr-Irv",
"node_id": "MDQ6VXNlcjE1MTEzODk0",
"organizations_url": "https://api.github.com/users/Dr-Irv/orgs",
"received_events_url": "https://api.github.com/users/Dr-Irv/received_events",
"repos_url": "https://api.github.com/users/Dr-Irv/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Dr-Irv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Dr-Irv/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Dr-Irv"
} | [
{
"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": "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"
} | 7 | 2015-12-24T18:35:21Z | 2016-12-09T16:36:29Z | 2016-12-09T16:36:29Z | CONTRIBUTOR | null | I'd like to be able to separately trap errors in indexing that are due to the lack of the `MultiIndex` being lexsorted. Right now, a `KeyError` is raised, and the only way to tell if the error was due to the lack of a lexsort versus a missing key is to look at the text of the message.
So I'd like to avoid code like this:
``` python
try:
subdf = df.loc['A':'D','Vals']
except KeyError as ker:
if ker.args[0].startswith("MultiIndex Slicing requires the index to be fully lexsorted"):
print ("Need to handle fact index not sorted")
else:
print ("Need to handle fact that key was missing")
```
I'd rather write something like:
``` python
try:
subdf = df.loc['A':'D','Vals']
except UnsortedIndexError:
print ("Need to handle fact index not sorted")
except KeyError:
print ("Need to handle fact that key was missing")
```
So could the designers accept a change where a different error is raised in case the index is not lexsorted? If so, I'll implement it.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11897/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11897/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11898 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11898/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11898/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11898/events | https://github.com/pandas-dev/pandas/pull/11898 | 123,835,217 | MDExOlB1bGxSZXF1ZXN0NTQ1NjY2NDM= | 11,898 | DEPR: pandas.stats.var, pandas.stats.plm, pandas.stats.ols, pandas.stats.fama_macbeth | {
"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": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
]
| 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"
} | 4 | 2015-12-24T21:29:09Z | 2015-12-26T13:08:42Z | 2015-12-26T13:08:42Z | CONTRIBUTOR | null | closes #6077
this cleans ups the remainder of the `pandas.stats` modules
we are directing:
- `OLS` -> `http://statsmodels.sourceforge.net/stable/regression.html`
- `PanelOLS/MovingOLS/PooledOLS` to `http://statsmodels.sourceforge.net/stable/mixed_linear.html`
- `VAR` to `http://statsmodels.sourceforge.net/stable/vector_ar.html#var`
- `fama_macbeth` to `http://statsmodels.sourceforge.net/stable/index.html` (as not implemented in statsmodell, but good place to start)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11898/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11898/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11898.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11898",
"merged_at": "2015-12-26T13:08:42Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11898.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11898"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11899 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11899/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11899/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11899/events | https://github.com/pandas-dev/pandas/issues/11899 | 123,868,089 | MDU6SXNzdWUxMjM4NjgwODk= | 11,899 | PERF: allow even more flexible ISO 8601 datetime parsing | {
"avatar_url": "https://avatars.githubusercontent.com/u/5049737?v=4",
"events_url": "https://api.github.com/users/femtotrader/events{/privacy}",
"followers_url": "https://api.github.com/users/femtotrader/followers",
"following_url": "https://api.github.com/users/femtotrader/following{/other_user}",
"gists_url": "https://api.github.com/users/femtotrader/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/femtotrader",
"id": 5049737,
"login": "femtotrader",
"node_id": "MDQ6VXNlcjUwNDk3Mzc=",
"organizations_url": "https://api.github.com/users/femtotrader/orgs",
"received_events_url": "https://api.github.com/users/femtotrader/received_events",
"repos_url": "https://api.github.com/users/femtotrader/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/femtotrader/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/femtotrader/subscriptions",
"type": "User",
"url": "https://api.github.com/users/femtotrader"
} | [
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
}
]
| closed | false | null | []
| {
"closed_at": "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"
} | 5 | 2015-12-25T09:31:41Z | 2016-01-26T14:32:58Z | 2016-01-26T14:32:58Z | NONE | null | Hello,
I noticed that there is a huge code speed difference with `to_datetime` execution when format is not given and when it's given.
I wonder if there is not some room for improvements here!
```
In [1]: %time df=pd.read_csv("AUDUSD-2014-01.csv", names=['Symbol', 'Date', 'Bid', 'Ask'])
CPU times: user 3.31 s, sys: 481 ms, total: 3.79 s
Wall time: 4.13 s
In [2]: df
Out[274]:
Symbol Date Bid Ask
0 AUD/USD 20140101 21:55:34.404 0.88796 0.88922
1 AUD/USD 20140101 21:55:34.444 0.88805 0.88914
2 AUD/USD 20140101 21:55:34.475 0.88809 0.88910
3 AUD/USD 20140101 21:55:48.962 0.88811 0.88908
4 AUD/USD 20140101 21:56:38.293 0.88808 0.88887
... ... ... ... ...
1947101 AUD/USD 20140131 21:59:48.048 0.87525 0.87589
1947102 AUD/USD 20140131 21:59:54.599 0.87527 0.87589
1947103 AUD/USD 20140131 21:59:56.927 0.87531 0.87588
1947104 AUD/USD 20140131 21:59:59.365 0.87531 0.87574
1947105 AUD/USD 20140131 22:00:00.038 0.87531 0.87574
[1947106 rows x 4 columns]
In [3]: %time pd.to_datetime(df['Date'])
CPU times: user 11min 44s, sys: 19.4 s, total: 12min 4s
Wall time: 12min 46s
Out[3]:
0 2014-01-01 21:55:34.404
1 2014-01-01 21:55:34.444
2 2014-01-01 21:55:34.475
3 2014-01-01 21:55:48.962
4 2014-01-01 21:56:38.293
...
1947101 2014-01-31 21:59:48.048
1947102 2014-01-31 21:59:54.599
1947103 2014-01-31 21:59:56.927
1947104 2014-01-31 21:59:59.365
1947105 2014-01-31 22:00:00.038
Name: Date, dtype: datetime64[ns]
In [4]: fmt='%Y%m%d %H:%M:%S.%f'
In [5]: %time pd.to_datetime(df['Date'], format=fmt)
CPU times: user 37.3 s, sys: 1.31 s, total: 38.6 s
Wall time: 40 s
In [6]: timedelta(minutes=12, seconds=46) / timedelta(seconds=40)
Out[6]: 19.15
```
There is x19.15 factor!!!
Sample data can be found here
https://drive.google.com/file/d/0B8iUtWjZOTqla3ZZTC1FS0pkZXc/view?usp=sharing
See also https://github.com/pydata/pandas-datareader/issues/153
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11899/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11899/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11900 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11900/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11900/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11900/events | https://github.com/pandas-dev/pandas/pull/11900 | 123,884,174 | MDExOlB1bGxSZXF1ZXN0NTQ1ODgzMjY= | 11,900 | Sql | {
"avatar_url": "https://avatars.githubusercontent.com/u/15742628?v=4",
"events_url": "https://api.github.com/users/hasa0017/events{/privacy}",
"followers_url": "https://api.github.com/users/hasa0017/followers",
"following_url": "https://api.github.com/users/hasa0017/following{/other_user}",
"gists_url": "https://api.github.com/users/hasa0017/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hasa0017",
"id": 15742628,
"login": "hasa0017",
"node_id": "MDQ6VXNlcjE1NzQyNjI4",
"organizations_url": "https://api.github.com/users/hasa0017/orgs",
"received_events_url": "https://api.github.com/users/hasa0017/received_events",
"repos_url": "https://api.github.com/users/hasa0017/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hasa0017/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hasa0017/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hasa0017"
} | []
| closed | false | null | []
| null | 0 | 2015-12-25T14:23:47Z | 2016-02-12T17:40:29Z | 2015-12-25T14:24:09Z | 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/11900/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11900/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11900.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11900",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/11900.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11900"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/11901 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11901/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11901/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11901/events | https://github.com/pandas-dev/pandas/issues/11901 | 123,887,645 | MDU6SXNzdWUxMjM4ODc2NDU= | 11,901 | DOC/DEV: update windows instructions for setting up dev environment for py3 | {
"avatar_url": "https://avatars.githubusercontent.com/u/10365536?v=4",
"events_url": "https://api.github.com/users/Vutsuak16/events{/privacy}",
"followers_url": "https://api.github.com/users/Vutsuak16/followers",
"following_url": "https://api.github.com/users/Vutsuak16/following{/other_user}",
"gists_url": "https://api.github.com/users/Vutsuak16/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Vutsuak16",
"id": 10365536,
"login": "Vutsuak16",
"node_id": "MDQ6VXNlcjEwMzY1NTM2",
"organizations_url": "https://api.github.com/users/Vutsuak16/orgs",
"received_events_url": "https://api.github.com/users/Vutsuak16/received_events",
"repos_url": "https://api.github.com/users/Vutsuak16/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Vutsuak16/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Vutsuak16/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Vutsuak16"
} | [
{
"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": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 10 | 2015-12-25T15:59:46Z | 2016-05-12T13:05:52Z | 2016-05-12T13:05:52Z | CONTRIBUTOR | null | I am trying to set up a development environment for pandas in anaconda.
But I get the following error, while installing dependencies for windows:-
on running "conda install -n pandas_dev libpython"
Error: Unsatisfiable package specifications.
Hint: the following packages conflict with each other:
- libpython
- python 3.5*
is conda not compatible with python 3.5??
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11901/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11901/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11902 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11902/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11902/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11902/events | https://github.com/pandas-dev/pandas/issues/11902 | 123,888,673 | MDU6SXNzdWUxMjM4ODg2NzM= | 11,902 | problem setting up the pandas development environment | {
"avatar_url": "https://avatars.githubusercontent.com/u/10365536?v=4",
"events_url": "https://api.github.com/users/Vutsuak16/events{/privacy}",
"followers_url": "https://api.github.com/users/Vutsuak16/followers",
"following_url": "https://api.github.com/users/Vutsuak16/following{/other_user}",
"gists_url": "https://api.github.com/users/Vutsuak16/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Vutsuak16",
"id": 10365536,
"login": "Vutsuak16",
"node_id": "MDQ6VXNlcjEwMzY1NTM2",
"organizations_url": "https://api.github.com/users/Vutsuak16/orgs",
"received_events_url": "https://api.github.com/users/Vutsuak16/received_events",
"repos_url": "https://api.github.com/users/Vutsuak16/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Vutsuak16/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Vutsuak16/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Vutsuak16"
} | []
| 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"
} | 0 | 2015-12-25T16:20:58Z | 2015-12-26T11:21:32Z | 2015-12-25T16:21:46Z | CONTRIBUTOR | null | I am trying to set up a development environment for pandas in anaconda.
But I get the following error, while installing dependencies for windows:-
on running "conda install -n pandas_dev libpython"
Error: Unsatisfiable package specifications.
Hint: the following packages conflict with each other:
- libpython
- python 3.5*
is conda not compatible with python 3.5??
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11902/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11902/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11903 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11903/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11903/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11903/events | https://github.com/pandas-dev/pandas/pull/11903 | 123,898,708 | MDExOlB1bGxSZXF1ZXN0NTQ1OTM3MTI= | 11,903 | fix for the issue-11833 | {
"avatar_url": "https://avatars.githubusercontent.com/u/10365536?v=4",
"events_url": "https://api.github.com/users/Vutsuak16/events{/privacy}",
"followers_url": "https://api.github.com/users/Vutsuak16/followers",
"following_url": "https://api.github.com/users/Vutsuak16/following{/other_user}",
"gists_url": "https://api.github.com/users/Vutsuak16/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Vutsuak16",
"id": 10365536,
"login": "Vutsuak16",
"node_id": "MDQ6VXNlcjEwMzY1NTM2",
"organizations_url": "https://api.github.com/users/Vutsuak16/orgs",
"received_events_url": "https://api.github.com/users/Vutsuak16/received_events",
"repos_url": "https://api.github.com/users/Vutsuak16/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Vutsuak16/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Vutsuak16/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Vutsuak16"
} | [
{
"color": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
}
]
| closed | false | null | []
| null | 6 | 2015-12-25T21:49:01Z | 2015-12-26T19:26:50Z | 2015-12-26T19:26:50Z | CONTRIBUTOR | null | updated the to_string() function of DataFrameFormatter(TableFormatter) class ,in format.py file, of the core directory
Closes https://github.com/pydata/pandas/issues/11833
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11903/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11903/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11903.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11903",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/11903.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11903"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.