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/10203 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10203/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10203/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10203/events | https://github.com/pandas-dev/pandas/issues/10203 | 79,859,046 | MDU6SXNzdWU3OTg1OTA0Ng== | 10,203 | Panel.apply (2d) doesn't return a result of Series in 0.16.1 | {
"avatar_url": "https://avatars.githubusercontent.com/u/12573919?v=4",
"events_url": "https://api.github.com/users/iriyaasagao/events{/privacy}",
"followers_url": "https://api.github.com/users/iriyaasagao/followers",
"following_url": "https://api.github.com/users/iriyaasagao/following{/other_user}",
"gists_url": "https://api.github.com/users/iriyaasagao/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/iriyaasagao",
"id": 12573919,
"login": "iriyaasagao",
"node_id": "MDQ6VXNlcjEyNTczOTE5",
"organizations_url": "https://api.github.com/users/iriyaasagao/orgs",
"received_events_url": "https://api.github.com/users/iriyaasagao/received_events",
"repos_url": "https://api.github.com/users/iriyaasagao/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/iriyaasagao/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/iriyaasagao/subscriptions",
"type": "User",
"url": "https://api.github.com/users/iriyaasagao"
} | [
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
]
| closed | false | null | []
| null | 2 | 2015-05-23T14:18:07Z | 2015-06-11T17:24:22Z | 2015-06-11T17:24:22Z | NONE | null | Panel.apply (2d) doesn't return a result of Series in 0.16.1
y = panel.apply(lambda df: df + 1, axis=[1, 2])
--> Returns Panel. OK.
y = panel.apply(lambda df: df['Column'] + 1, axis=[1, 2])
--> Returns DataFrame. OK.
y = panel.apply(lambda df: df['Column'].mean(), axis=[1, 2])
--> Returns Series is expected. but got error as follows.
> File "test.py", line 28, in <module>
> y = panel.apply(lambda df: df['Column'].mean(), axis=[1, 2])
> File "C:\Anaconda3\lib\site-packages\pandas\core\panel.py", line 969, in apply
> return self._apply_2d(f, axis=axis)
> File "C:\Anaconda3\lib\site-packages\pandas\core\panel.py", line 1068, in _apply_2d
> return self._construct_return_type(dict(results))
> File "C:\Anaconda3\lib\site-packages\pandas\core\panel.py", line 1124, in _construct_return_type
> '[result->%s]' % (self, result))
> pandas.core.common.PandasError: invalid _construct_return_type [self-><class 'pandas.core.panel.Panel'>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10203/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10203/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10204 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10204/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10204/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10204/events | https://github.com/pandas-dev/pandas/pull/10204 | 80,299,971 | MDExOlB1bGxSZXF1ZXN0MzYxMDk5Mjc= | 10,204 | Issue #10174. Add 'interpolation' keyword in DataFrame.quantile and Series.quantile | {
"avatar_url": "https://avatars.githubusercontent.com/u/2264215?v=4",
"events_url": "https://api.github.com/users/mayankasthana/events{/privacy}",
"followers_url": "https://api.github.com/users/mayankasthana/followers",
"following_url": "https://api.github.com/users/mayankasthana/following{/other_user}",
"gists_url": "https://api.github.com/users/mayankasthana/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mayankasthana",
"id": 2264215,
"login": "mayankasthana",
"node_id": "MDQ6VXNlcjIyNjQyMTU=",
"organizations_url": "https://api.github.com/users/mayankasthana/orgs",
"received_events_url": "https://api.github.com/users/mayankasthana/received_events",
"repos_url": "https://api.github.com/users/mayankasthana/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mayankasthana/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mayankasthana/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mayankasthana"
} | [
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "006b75",
"default": false,
"description": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
}
]
| closed | false | null | []
| {
"closed_at": "2016-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"
} | 39 | 2015-05-24T23:06:36Z | 2016-01-07T05:46:05Z | 2016-01-07T00:20:49Z | CONTRIBUTOR | null | Closes #10174.
I have added the new argument to the doc too.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10204/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10204/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10204.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10204",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/10204.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10204"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10205 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10205/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10205/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10205/events | https://github.com/pandas-dev/pandas/issues/10205 | 80,372,256 | MDU6SXNzdWU4MDM3MjI1Ng== | 10,205 | read_csv() fills empty string with nan | {
"avatar_url": "https://avatars.githubusercontent.com/u/7624997?v=4",
"events_url": "https://api.github.com/users/ronanpaixao/events{/privacy}",
"followers_url": "https://api.github.com/users/ronanpaixao/followers",
"following_url": "https://api.github.com/users/ronanpaixao/following{/other_user}",
"gists_url": "https://api.github.com/users/ronanpaixao/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ronanpaixao",
"id": 7624997,
"login": "ronanpaixao",
"node_id": "MDQ6VXNlcjc2MjQ5OTc=",
"organizations_url": "https://api.github.com/users/ronanpaixao/orgs",
"received_events_url": "https://api.github.com/users/ronanpaixao/received_events",
"repos_url": "https://api.github.com/users/ronanpaixao/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ronanpaixao/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ronanpaixao/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ronanpaixao"
} | [
{
"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": "5319e7",
"default": false,
"description": "String extension data type and string data",
"id": 57522093,
"name": "Strings",
"node_id": "MDU6TGFiZWw1NzUyMjA5Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings"
}
]
| closed | false | null | []
| null | 1 | 2015-05-25T03:46:27Z | 2015-05-26T10:29:25Z | 2015-05-26T10:29:12Z | NONE | null | Pandas stores strings (str and unicode) with dtype=object. As such, some unexpected things happen, like empty fields being filled with nan, which is a float. Expected behavior should fill with empty string "" or at least None.
```
>>> import pandas as pd
>>> from StringIO import StringIO
>>> pd.read_csv(StringIO('col1,col2,col3\nfoo,,bar'),dtype=str)
col1 col2 col3
0 foo NaN bar
>>> type(pd.read_csv(StringIO('col1,col2,col3\nfoo,,bar'),dtype=str).iloc[0,1])
float
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10205/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10205/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10206 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10206/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10206/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10206/events | https://github.com/pandas-dev/pandas/pull/10206 | 80,617,384 | MDExOlB1bGxSZXF1ZXN0MzYxNTE4NDg= | 10,206 | DOC: Added nlargest/nsmallest to API docs | {
"avatar_url": "https://avatars.githubusercontent.com/u/296686?v=4",
"events_url": "https://api.github.com/users/robintw/events{/privacy}",
"followers_url": "https://api.github.com/users/robintw/followers",
"following_url": "https://api.github.com/users/robintw/following{/other_user}",
"gists_url": "https://api.github.com/users/robintw/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/robintw",
"id": 296686,
"login": "robintw",
"node_id": "MDQ6VXNlcjI5NjY4Ng==",
"organizations_url": "https://api.github.com/users/robintw/orgs",
"received_events_url": "https://api.github.com/users/robintw/received_events",
"repos_url": "https://api.github.com/users/robintw/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/robintw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/robintw/subscriptions",
"type": "User",
"url": "https://api.github.com/users/robintw"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
]
| closed | false | null | []
| {
"closed_at": "2015-06-13T17:49:05Z",
"closed_issues": 119,
"created_at": "2015-06-02T19:23:30Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "",
"due_on": "2015-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/35",
"id": 1145853,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35/labels",
"node_id": "MDk6TWlsZXN0b25lMTE0NTg1Mw==",
"number": 35,
"open_issues": 0,
"state": "closed",
"title": "0.16.2",
"updated_at": "2016-07-22T08:55:52Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35"
} | 1 | 2015-05-25T18:00:24Z | 2015-06-02T19:26:12Z | 2015-05-26T10:32:56Z | CONTRIBUTOR | null | Fixes #10145
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10206/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10206/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10206.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10206",
"merged_at": "2015-05-26T10:32:56Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10206.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10206"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10207 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10207/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10207/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10207/events | https://github.com/pandas-dev/pandas/issues/10207 | 80,907,925 | MDU6SXNzdWU4MDkwNzkyNQ== | 10,207 | CLN: consolidate Series.quantile / DataFrame.quantile | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
}
]
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 2 | 2015-05-26T10:49:13Z | 2019-06-24T15:11:42Z | 2019-06-24T15:11:41Z | CONTRIBUTOR | null | these can be moved to `core.generic.NDFrame.quantile` (leave disabled for ndim > 2 though)
xref #10174
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10207/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10207/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10208 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10208/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10208/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10208/events | https://github.com/pandas-dev/pandas/issues/10208 | 80,979,444 | MDU6SXNzdWU4MDk3OTQ0NA== | 10,208 | Regex C Engine Warning | {
"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": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
]
| closed | false | null | []
| {
"closed_at": "2016-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"
} | 9 | 2015-05-26T14:12:06Z | 2019-10-14T23:37:49Z | 2016-04-03T15:41:14Z | CONTRIBUTOR | null | Using `pd.read_csv(..., sep=", ", ...)` I'm now getting a warning about falling back to the C engine because regex parsing isn't supported in the C engine. That's fine, but this isn't actually using regex.
I don't have an idea for a good transition strategy, and maybe the ship has sailed, but perhaps there should be a separate `read_regex` or a `regex` keyword instead of emitting this warning for any string greater than length 1.
Pandas 0.16.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/10208/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10208/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10209 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10209/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10209/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10209/events | https://github.com/pandas-dev/pandas/issues/10209 | 80,990,484 | MDU6SXNzdWU4MDk5MDQ4NA== | 10,209 | to_csv date_format including hh:mm:ss | {
"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": "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": "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": "2015-06-13T17:49:05Z",
"closed_issues": 119,
"created_at": "2015-06-02T19:23:30Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "",
"due_on": "2015-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/35",
"id": 1145853,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35/labels",
"node_id": "MDk6TWlsZXN0b25lMTE0NTg1Mw==",
"number": 35,
"open_issues": 0,
"state": "closed",
"title": "0.16.2",
"updated_at": "2016-07-22T08:55:52Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35"
} | 5 | 2015-05-26T14:35:19Z | 2015-06-05T21:45:56Z | 2015-06-05T21:45:56Z | NONE | null | Since 0.16.1 the to_csv output of a dataframe has started including hh:mm:ss with date_format strings like:
date_format='%d-%m-%Y'
Reverting back to 0.16.0 the date output was then formatted properly (without time).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10209/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10209/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10210 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10210/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10210/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10210/events | https://github.com/pandas-dev/pandas/pull/10210 | 81,039,699 | MDExOlB1bGxSZXF1ZXN0MzYyMjA5Mzk= | 10,210 | Update bq link | {
"avatar_url": "https://avatars.githubusercontent.com/u/495892?v=4",
"events_url": "https://api.github.com/users/mortonfox/events{/privacy}",
"followers_url": "https://api.github.com/users/mortonfox/followers",
"following_url": "https://api.github.com/users/mortonfox/following{/other_user}",
"gists_url": "https://api.github.com/users/mortonfox/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mortonfox",
"id": 495892,
"login": "mortonfox",
"node_id": "MDQ6VXNlcjQ5NTg5Mg==",
"organizations_url": "https://api.github.com/users/mortonfox/orgs",
"received_events_url": "https://api.github.com/users/mortonfox/received_events",
"repos_url": "https://api.github.com/users/mortonfox/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mortonfox/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mortonfox/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mortonfox"
} | []
| closed | false | null | []
| null | 1 | 2015-05-26T16:32:54Z | 2015-05-26T17:28:26Z | 2015-05-26T17:28:24Z | 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/10210/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10210/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10210.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10210",
"merged_at": "2015-05-26T17:28:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10210.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10210"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/10211 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10211/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10211/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10211/events | https://github.com/pandas-dev/pandas/pull/10211 | 81,114,201 | MDExOlB1bGxSZXF1ZXN0MzYyNDAwMTY= | 10,211 | ENH: less verbose merging on index | {
"avatar_url": "https://avatars.githubusercontent.com/u/781659?v=4",
"events_url": "https://api.github.com/users/jakevdp/events{/privacy}",
"followers_url": "https://api.github.com/users/jakevdp/followers",
"following_url": "https://api.github.com/users/jakevdp/following{/other_user}",
"gists_url": "https://api.github.com/users/jakevdp/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jakevdp",
"id": 781659,
"login": "jakevdp",
"node_id": "MDQ6VXNlcjc4MTY1OQ==",
"organizations_url": "https://api.github.com/users/jakevdp/orgs",
"received_events_url": "https://api.github.com/users/jakevdp/received_events",
"repos_url": "https://api.github.com/users/jakevdp/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jakevdp/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jakevdp/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jakevdp"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
]
| closed | false | null | []
| null | 5 | 2015-05-26T20:04:53Z | 2015-07-28T22:04:14Z | 2015-07-28T22:04:14Z | CONTRIBUTOR | null | This is a proposal for a simple API enhancement that would make merging on indices much more convenient. I've put in an initial commit to show the change needed in the library. Here's the old way of merging on indices:
``` python
In [1]: from pandas import Index, DataFrame, merge
In [2]: df1 = DataFrame({'data1':[0, 1, 2]})
In [3]: df2 = DataFrame({'data2':[3, 4, 5]})
In [4]: merge(df1, df2, left_index=True, right_index=True)
Out[4]:
data1 data2
0 0 3
1 1 4
2 2 5
```
Here is the new behavior enabled by this PR:
``` python
In [5]: merge(df1, df2, on=Index)
Out[5]:
data1 data2
0 0 3
1 1 4
2 2 5
```
This is a bit hackish, I admit, but I find myself wanting to do this often and the alternatives (using `left_index` and `right_index`, or using `concat([df1, df2], axis='cols')`) are inconvenient and less clear to the reader of the code. That said, I completely understand if folks think this is not a good fit for the pandas API.
Any thoughts on this idea?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10211/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10211/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10211.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10211",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/10211.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10211"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10212 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10212/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10212/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10212/events | https://github.com/pandas-dev/pandas/pull/10212 | 81,176,820 | MDExOlB1bGxSZXF1ZXN0MzYyNTQ5MTI= | 10,212 | BUG: plot doesnt default to matplotlib axes.grid setting (#9792) | {
"avatar_url": "https://avatars.githubusercontent.com/u/833768?v=4",
"events_url": "https://api.github.com/users/artemyk/events{/privacy}",
"followers_url": "https://api.github.com/users/artemyk/followers",
"following_url": "https://api.github.com/users/artemyk/following{/other_user}",
"gists_url": "https://api.github.com/users/artemyk/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/artemyk",
"id": 833768,
"login": "artemyk",
"node_id": "MDQ6VXNlcjgzMzc2OA==",
"organizations_url": "https://api.github.com/users/artemyk/orgs",
"received_events_url": "https://api.github.com/users/artemyk/received_events",
"repos_url": "https://api.github.com/users/artemyk/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/artemyk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/artemyk/subscriptions",
"type": "User",
"url": "https://api.github.com/users/artemyk"
} | [
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
]
| closed | false | null | []
| {
"closed_at": "2015-06-13T17:49:05Z",
"closed_issues": 119,
"created_at": "2015-06-02T19:23:30Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "",
"due_on": "2015-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/35",
"id": 1145853,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35/labels",
"node_id": "MDk6TWlsZXN0b25lMTE0NTg1Mw==",
"number": 35,
"open_issues": 0,
"state": "closed",
"title": "0.16.2",
"updated_at": "2016-07-22T08:55:52Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35"
} | 1 | 2015-05-26T23:08:37Z | 2015-06-02T19:26:12Z | 2015-05-27T02:48:47Z | CONTRIBUTOR | null | Closes #9792 .
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10212/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10212/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10212.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10212",
"merged_at": "2015-05-27T02:48:47Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10212.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10212"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10213 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10213/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10213/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10213/events | https://github.com/pandas-dev/pandas/issues/10213 | 81,213,512 | MDU6SXNzdWU4MTIxMzUxMg== | 10,213 | PERF: additonal GIL releasing | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "be21f2",
"default": false,
"description": "May be closeable, needs more eyeballs",
"id": 2365504893,
"name": "Closing Candidate",
"node_id": "MDU6TGFiZWwyMzY1NTA0ODkz",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Closing%20Candidate"
}
]
| 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-05-27T01:20:42Z | 2021-04-18T06:54:24Z | 2021-04-18T06:54:24Z | CONTRIBUTOR | null | after #10199 (all of the groupbys)
these require slightly different templates as the object cannot have the `with nogil:`. These are all in `pandas/src/generate_code.py`
~~\- [ ] `groupby_count`~~
~~\- [ ] `is_monotonic`~~
- [ ] `take_1d`
- [ ] `take_2d`
- [ ] `take_2d_multi`
- [ ] `pad`
- [ ] `backfill`
- [x] `diff`
- [x] `join_indexer` (outer/inner/left)
in `algos.pyx`
- [x] `kthsmallest/kthlargest`
- [x] `group_median`
- [x] `roll_*`
- [ ] drop_duplicates machinery
- [x] `nancorr`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10213/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10213/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10214 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10214/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10214/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10214/events | https://github.com/pandas-dev/pandas/issues/10214 | 81,423,486 | MDU6SXNzdWU4MTQyMzQ4Ng== | 10,214 | hist raises AttributeError: 'AxesSubplot' object has no attribute 'ndim' with a one row DataFrame | {
"avatar_url": "https://avatars.githubusercontent.com/u/109167?v=4",
"events_url": "https://api.github.com/users/scls19fr/events{/privacy}",
"followers_url": "https://api.github.com/users/scls19fr/followers",
"following_url": "https://api.github.com/users/scls19fr/following{/other_user}",
"gists_url": "https://api.github.com/users/scls19fr/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/scls19fr",
"id": 109167,
"login": "scls19fr",
"node_id": "MDQ6VXNlcjEwOTE2Nw==",
"organizations_url": "https://api.github.com/users/scls19fr/orgs",
"received_events_url": "https://api.github.com/users/scls19fr/received_events",
"repos_url": "https://api.github.com/users/scls19fr/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/scls19fr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/scls19fr/subscriptions",
"type": "User",
"url": "https://api.github.com/users/scls19fr"
} | [
{
"color": "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": "2015-06-13T17:49:05Z",
"closed_issues": 119,
"created_at": "2015-06-02T19:23:30Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "",
"due_on": "2015-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/35",
"id": 1145853,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35/labels",
"node_id": "MDk6TWlsZXN0b25lMTE0NTg1Mw==",
"number": 35,
"open_issues": 0,
"state": "closed",
"title": "0.16.2",
"updated_at": "2016-07-22T08:55:52Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35"
} | 6 | 2015-05-27T12:12:06Z | 2015-06-09T11:54:20Z | 2015-06-09T11:54:19Z | CONTRIBUTOR | null | Hello,
this code works fine:
```
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
bins = np.arange(80, 100 + 2, 1)
df = pd.DataFrame({"Name": ["AAA", "BBB"], "ByCol": [1, 2], "Mark": [85, 89]})
df
ByCol Mark Name
0 1 85 AAA
1 2 89 BBB
df["Mark"].hist(by=df["ByCol"], bins=bins)
plt.show()
```
but same code with a one row DataFrame such as
```
df = pd.DataFrame({"Name": ["AAA"], "ByCol": [1], "Mark": [85]})
df
ByCol Mark Name
0 1 85 AAA
```
raises:
```
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-35-93bcd47d24f2> in <module>()
----> 1 df["Mark"].hist(by=df["Mark"], bins=bins)
//anaconda/lib/python2.7/site-packages/pandas/tools/plotting.pyc in hist_series(self, by, ax, grid, xlabelsize, xrot, ylabelsize, yrot, figsize, bins, **kwds)
2847 **kwds)
2848
-> 2849 if axes.ndim == 1 and len(axes) == 1:
2850 return axes[0]
2851 return axes
AttributeError: 'AxesSubplot' object has no attribute 'ndim'
```
Kind regards
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10214/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10214/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10215 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10215/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10215/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10215/events | https://github.com/pandas-dev/pandas/issues/10215 | 81,431,085 | MDU6SXNzdWU4MTQzMTA4NQ== | 10,215 | DOC: add versionadded specifications to docstrings | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 5 | 2015-05-27T12:38:30Z | 2015-08-12T11:37:32Z | 2015-08-12T11:37:32Z | MEMBER | null | We already use the `.. versionadded::` directive in the tutorial docs to indicate that a certain feature is only present starting from a specific pandas version.
But I propose that we also start to do this in the docstrings, when adding a new function/method or adding a new keyword to an existing function/method:
- When developing a package depending on pandas, you typically are using latest pandas but want to support also certain older versions. When using a certain method/function/keyword functionality, the easiest place to see if this is available is the docstring.
- Or, you also typically look at the stable docs even when using a maybe older pandas version and see functions/keywords that don't yet exist for your version.
- This is also how it is done in numpy:
- example of new method: http://docs.scipy.org/doc/numpy-dev/reference/generated/numpy.nanmean.html
- example of new keyword: http://docs.scipy.org/doc/numpy-dev/reference/generated/numpy.percentile.html
So if we agree on this, some todo's:
- [ ] add guidelines to the developer docs on how to add this (and start asking for this when reviewing PRs)
- [ ] - optional - add this retrospectively to eg the new features of 0.16.0/1 (#10339 for 0.16.0/0.16.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/10215/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10215/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10216 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10216/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10216/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10216/events | https://github.com/pandas-dev/pandas/pull/10216 | 81,435,635 | MDExOlB1bGxSZXF1ZXN0MzYzMDExODk= | 10,216 | add try / except to address issue #10154 to_datetime, Inconsistent be… | {
"avatar_url": "https://avatars.githubusercontent.com/u/232564?v=4",
"events_url": "https://api.github.com/users/vincentdavis/events{/privacy}",
"followers_url": "https://api.github.com/users/vincentdavis/followers",
"following_url": "https://api.github.com/users/vincentdavis/following{/other_user}",
"gists_url": "https://api.github.com/users/vincentdavis/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/vincentdavis",
"id": 232564,
"login": "vincentdavis",
"node_id": "MDQ6VXNlcjIzMjU2NA==",
"organizations_url": "https://api.github.com/users/vincentdavis/orgs",
"received_events_url": "https://api.github.com/users/vincentdavis/received_events",
"repos_url": "https://api.github.com/users/vincentdavis/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/vincentdavis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vincentdavis/subscriptions",
"type": "User",
"url": "https://api.github.com/users/vincentdavis"
} | [
{
"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": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 3 | 2015-05-27T13:04:55Z | 2015-07-06T17:41:14Z | 2015-07-06T17:41:14Z | CONTRIBUTOR | null | closes #10154 to_datetime, Inconsistent behavior with invalid dates.
results are now
```
In [2]: pd.to_datetime('2015-02-29', format="%Y-%m-%d", coerce=True)
Out[2]: NaT
In [3]: pd.to_datetime('2015-03-32', format="%Y-%m-%d", coerce=True)
Out[3]: NaT
In [4]: pd.to_datetime('2015-02-32', format="%Y-%m-%d", coerce=True)
Out[4]: NaT
In [5]: pd.to_datetime('2015-04-31', format="%Y-%m-%d", coerce=True)
Out[5]: 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/10216/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10216/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10216.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10216",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/10216.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10216"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10217 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10217/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10217/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10217/events | https://github.com/pandas-dev/pandas/issues/10217 | 81,514,832 | MDU6SXNzdWU4MTUxNDgzMg== | 10,217 | Holidays Offset not Returning Correct Date | {
"avatar_url": "https://avatars.githubusercontent.com/u/1027357?v=4",
"events_url": "https://api.github.com/users/robbyki/events{/privacy}",
"followers_url": "https://api.github.com/users/robbyki/followers",
"following_url": "https://api.github.com/users/robbyki/following{/other_user}",
"gists_url": "https://api.github.com/users/robbyki/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/robbyki",
"id": 1027357,
"login": "robbyki",
"node_id": "MDQ6VXNlcjEwMjczNTc=",
"organizations_url": "https://api.github.com/users/robbyki/orgs",
"received_events_url": "https://api.github.com/users/robbyki/received_events",
"repos_url": "https://api.github.com/users/robbyki/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/robbyki/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/robbyki/subscriptions",
"type": "User",
"url": "https://api.github.com/users/robbyki"
} | [
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
}
]
| closed | false | null | []
| {
"closed_at": "2015-06-13T17:49:05Z",
"closed_issues": 119,
"created_at": "2015-06-02T19:23:30Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "",
"due_on": "2015-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/35",
"id": 1145853,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35/labels",
"node_id": "MDk6TWlsZXN0b25lMTE0NTg1Mw==",
"number": 35,
"open_issues": 0,
"state": "closed",
"title": "0.16.2",
"updated_at": "2016-07-22T08:55:52Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35"
} | 4 | 2015-05-27T16:09:38Z | 2015-06-02T19:25:20Z | 2015-06-01T11:05:05Z | NONE | null | Why would the below return 11/2/2015 as opposed to 11/30/2015 if 11/30 would be considered the next Monday from the 4th Saturday?
```
Holiday("Cyber Monday", month=11, day=1, offset=pd.DateOffset(weekday=SA(4)), observance=next_monday)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10217/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10217/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10218 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10218/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10218/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10218/events | https://github.com/pandas-dev/pandas/issues/10218 | 81,519,720 | MDU6SXNzdWU4MTUxOTcyMA== | 10,218 | DataFrame#where broken in latest 0.16.1 release | {
"avatar_url": "https://avatars.githubusercontent.com/u/2288752?v=4",
"events_url": "https://api.github.com/users/dunpyl/events{/privacy}",
"followers_url": "https://api.github.com/users/dunpyl/followers",
"following_url": "https://api.github.com/users/dunpyl/following{/other_user}",
"gists_url": "https://api.github.com/users/dunpyl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dunpyl",
"id": 2288752,
"login": "dunpyl",
"node_id": "MDQ6VXNlcjIyODg3NTI=",
"organizations_url": "https://api.github.com/users/dunpyl/orgs",
"received_events_url": "https://api.github.com/users/dunpyl/received_events",
"repos_url": "https://api.github.com/users/dunpyl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dunpyl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dunpyl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dunpyl"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 1 | 2015-05-27T16:28:14Z | 2015-08-26T01:41:14Z | 2015-08-26T01:41:14Z | NONE | null | Simple usecase of `DataFrame#where` fails on a freshly installed latest Pandas release:
```
In [1]: df = DataFrame([1, 2]); df
Out[1]:
0
0 1
1 2
In [2]: df.where(df[0]==1)
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-2-7b64bb424f7b> in <module>()
----> 1 df.where(df[0]==1)
/home/dunpeal/.env/lib/python3.4/site-packages/pandas/core/generic.py in where(self, cond, other, inplace, axis, level, try_cast, raise_on_error)
3445
3446 if isinstance(cond, NDFrame):
-> 3447 cond = cond.reindex(**self._construct_axes_dict())
3448 else:
3449 if not hasattr(cond, 'shape'):
/home/dunpeal/.env/lib/python3.4/site-packages/pandas/core/series.py in reindex(self, index, **kwargs)
2142 @Appender(generic._shared_docs['reindex'] % _shared_doc_kwargs)
2143 def reindex(self, index=None, **kwargs):
-> 2144 return super(Series, self).reindex(index=index, **kwargs)
2145
2146 @Appender(generic._shared_docs['fillna'] % _shared_doc_kwargs)
/home/dunpeal/.env/lib/python3.4/site-packages/pandas/core/generic.py in reindex(self, *args, **kwargs)
1747 if kwargs:
1748 raise TypeError('reindex() got an unexpected keyword '
-> 1749 'argument "{0}"'.format(list(kwargs.keys())[0]))
1750
1751 self._consolidate_inplace()
TypeError: reindex() got an unexpected keyword argument "columns"
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10218/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10218/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10219 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10219/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10219/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10219/events | https://github.com/pandas-dev/pandas/issues/10219 | 81,609,836 | MDU6SXNzdWU4MTYwOTgzNg== | 10,219 | REGR: indexing with dictionary elements | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
]
| open | false | null | []
| {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 5 | 2015-05-27T20:26:27Z | 2021-04-18T06:55:07Z | null | CONTRIBUTOR | null | xref #9877
regression from 0.16.0
```
df = pd.DataFrame(columns=['A','B'])
df.ix['test1', 'A'] = dict({'1':'test2'})
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10219/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10219/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10220 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10220/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10220/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10220/events | https://github.com/pandas-dev/pandas/pull/10220 | 82,019,885 | MDExOlB1bGxSZXF1ZXN0MzY0MjY1NDI= | 10,220 | Update plotting.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/109167?v=4",
"events_url": "https://api.github.com/users/scls19fr/events{/privacy}",
"followers_url": "https://api.github.com/users/scls19fr/followers",
"following_url": "https://api.github.com/users/scls19fr/following{/other_user}",
"gists_url": "https://api.github.com/users/scls19fr/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/scls19fr",
"id": 109167,
"login": "scls19fr",
"node_id": "MDQ6VXNlcjEwOTE2Nw==",
"organizations_url": "https://api.github.com/users/scls19fr/orgs",
"received_events_url": "https://api.github.com/users/scls19fr/received_events",
"repos_url": "https://api.github.com/users/scls19fr/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/scls19fr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/scls19fr/subscriptions",
"type": "User",
"url": "https://api.github.com/users/scls19fr"
} | [
{
"color": "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": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 4 | 2015-05-28T16:39:33Z | 2015-06-02T19:29:23Z | 2015-05-29T17:10:25Z | CONTRIBUTOR | null | Should fix https://github.com/pydata/pandas/issues/10214#issuecomment-106091734
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10220/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10220/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10220.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10220",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/10220.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10220"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10221 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10221/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10221/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10221/events | https://github.com/pandas-dev/pandas/issues/10221 | 82,047,061 | MDU6SXNzdWU4MjA0NzA2MQ== | 10,221 | weakrefs on ix objects? | {
"avatar_url": "https://avatars.githubusercontent.com/u/249407?v=4",
"events_url": "https://api.github.com/users/hhuuggoo/events{/privacy}",
"followers_url": "https://api.github.com/users/hhuuggoo/followers",
"following_url": "https://api.github.com/users/hhuuggoo/following{/other_user}",
"gists_url": "https://api.github.com/users/hhuuggoo/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hhuuggoo",
"id": 249407,
"login": "hhuuggoo",
"node_id": "MDQ6VXNlcjI0OTQwNw==",
"organizations_url": "https://api.github.com/users/hhuuggoo/orgs",
"received_events_url": "https://api.github.com/users/hhuuggoo/received_events",
"repos_url": "https://api.github.com/users/hhuuggoo/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hhuuggoo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hhuuggoo/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hhuuggoo"
} | [
{
"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"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
]
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 6 | 2015-05-28T17:42:12Z | 2017-03-29T01:07:27Z | 2017-03-29T01:07:27Z | NONE | null | Would it make sense to make the backref from ix objects to the dataframe be weakrefs (and presumably, loc/iloc) The reason I ask is that it seems that the refcount is incremented once you use ix, and as a result the dataframe won't get garbage collected until the cycle detection runs
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10221/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10221/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10222 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10222/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10222/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10222/events | https://github.com/pandas-dev/pandas/issues/10222 | 82,095,104 | MDU6SXNzdWU4MjA5NTEwNA== | 10,222 | current implementation of DataFrame.apply where passed function has side effects is a real "gotcha" | {
"avatar_url": "https://avatars.githubusercontent.com/u/1393288?v=4",
"events_url": "https://api.github.com/users/jrenner/events{/privacy}",
"followers_url": "https://api.github.com/users/jrenner/followers",
"following_url": "https://api.github.com/users/jrenner/following{/other_user}",
"gists_url": "https://api.github.com/users/jrenner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jrenner",
"id": 1393288,
"login": "jrenner",
"node_id": "MDQ6VXNlcjEzOTMyODg=",
"organizations_url": "https://api.github.com/users/jrenner/orgs",
"received_events_url": "https://api.github.com/users/jrenner/received_events",
"repos_url": "https://api.github.com/users/jrenner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jrenner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jrenner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jrenner"
} | [
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
]
| closed | false | null | []
| null | 6 | 2015-05-28T19:42:34Z | 2017-02-09T18:28:39Z | 2016-01-27T15:15:19Z | NONE | null | From the documentation for DataFrame.apply:
`
In the current implementation apply calls func twice on the first column/row to decide whether it can take a fast or slow code path. This can lead to unexpected behavior if func has side-effects, as they will take effect twice for the first column/row.
`
I am sure there are well-thought out reasons why it is currently implemented this way, but this behavior can be a real "gotcha". I grant that having side effects inside an apply function is not good standard practice, but I would argue that there are times when it is a good solution to a problem. ( I can elaborate on this if needed). Thankfully this behavior is documented, but I think it is reasonable to expect that most users will not always be mindful of secondary notes that exist throughout the documentation, and the source of problems caused by this behavior is not at all obvious.
While I don't understand the engineering issues regarding the fast/slow path, I would suggest that some better solution to the problem be introduced.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10222/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10222/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10223 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10223/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10223/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10223/events | https://github.com/pandas-dev/pandas/issues/10223 | 82,112,818 | MDU6SXNzdWU4MjExMjgxOA== | 10,223 | read_csv does not apply dtype=str correctly to NA values | {
"avatar_url": "https://avatars.githubusercontent.com/u/12618397?v=4",
"events_url": "https://api.github.com/users/alirezahkb/events{/privacy}",
"followers_url": "https://api.github.com/users/alirezahkb/followers",
"following_url": "https://api.github.com/users/alirezahkb/following{/other_user}",
"gists_url": "https://api.github.com/users/alirezahkb/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/alirezahkb",
"id": 12618397,
"login": "alirezahkb",
"node_id": "MDQ6VXNlcjEyNjE4Mzk3",
"organizations_url": "https://api.github.com/users/alirezahkb/orgs",
"received_events_url": "https://api.github.com/users/alirezahkb/received_events",
"repos_url": "https://api.github.com/users/alirezahkb/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/alirezahkb/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alirezahkb/subscriptions",
"type": "User",
"url": "https://api.github.com/users/alirezahkb"
} | [
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
]
| closed | false | null | []
| null | 1 | 2015-05-28T20:33:56Z | 2015-05-28T20:39:10Z | 2015-05-28T20:38:51Z | NONE | null | Hi,
It seems that read_csv() ignores the dtype=str when encountering NA values. For instance if the contents of file.csv is:
```
id,symbol
1,NA
NA,g2
3,g3
4,g4
```
Then `df=pandas.read_csv('file.csv', dtype={'id':float, 'symbol':str})` will return the following data frame:
```
id symbol
0 1 NaN
1 NaN g2
2 3 g3
3 4 g4
```
which means it casts NA value in the symbol column as a float. Is this a bug or part of the read_csv design? It would make sense that when dtype=str is specified all the values will be treated as string. Note that in the above example using 'keep_default_na=False' in read_csv will cause an error.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10223/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10223/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10224 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10224/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10224/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10224/events | https://github.com/pandas-dev/pandas/issues/10224 | 82,113,817 | MDU6SXNzdWU4MjExMzgxNw== | 10,224 | read_csv does not apply dtype=str correctly to NA values | {
"avatar_url": "https://avatars.githubusercontent.com/u/12618397?v=4",
"events_url": "https://api.github.com/users/alirezahkb/events{/privacy}",
"followers_url": "https://api.github.com/users/alirezahkb/followers",
"following_url": "https://api.github.com/users/alirezahkb/following{/other_user}",
"gists_url": "https://api.github.com/users/alirezahkb/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/alirezahkb",
"id": 12618397,
"login": "alirezahkb",
"node_id": "MDQ6VXNlcjEyNjE4Mzk3",
"organizations_url": "https://api.github.com/users/alirezahkb/orgs",
"received_events_url": "https://api.github.com/users/alirezahkb/received_events",
"repos_url": "https://api.github.com/users/alirezahkb/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/alirezahkb/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alirezahkb/subscriptions",
"type": "User",
"url": "https://api.github.com/users/alirezahkb"
} | []
| closed | false | null | []
| null | 1 | 2015-05-28T20:36:25Z | 2015-05-28T20:39:39Z | 2015-05-28T20:39:39Z | NONE | null | Hi,
It seems that read_csv() ignores the dtype=str when encountering NA values. For instance if the contents of file.csv is:
id,symbol
1,NA
NA,g2
3,g3
4,g4
Then df=pandas.read_csv('file.csv', dtype={'id':float, 'symbol':str}) will return the following data frame:
id symbol
0 1 NaN
1 NaN g2
2 3 g3
3 4 g4
which means it casts NA value in the symbol column as a float. Is this a bug or part of the read_csv design? It would make sense that when dtype=str is specified all the values will be treated as string. Note that in the above example using 'keep_default_na=False' in read_csv will cause an error.
Thanks,
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10224/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10224/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10225 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10225/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10225/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10225/events | https://github.com/pandas-dev/pandas/pull/10225 | 82,122,574 | MDExOlB1bGxSZXF1ZXN0MzY0NTAyOTE= | 10,225 | Fix float formatting edge case | {
"avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4",
"events_url": "https://api.github.com/users/cpcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/cpcloud/followers",
"following_url": "https://api.github.com/users/cpcloud/following{/other_user}",
"gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpcloud",
"id": 417981,
"login": "cpcloud",
"node_id": "MDQ6VXNlcjQxNzk4MQ==",
"organizations_url": "https://api.github.com/users/cpcloud/orgs",
"received_events_url": "https://api.github.com/users/cpcloud/received_events",
"repos_url": "https://api.github.com/users/cpcloud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpcloud"
} | [
{
"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": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
]
| closed | false | null | []
| {
"closed_at": 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"
} | 5 | 2015-05-28T21:00:20Z | 2016-07-21T16:01:51Z | 2015-10-11T16:05:47Z | MEMBER | null | 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/10225/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10225/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10225.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10225",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/10225.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10225"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10226 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10226/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10226/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10226/events | https://github.com/pandas-dev/pandas/pull/10226 | 82,200,173 | MDExOlB1bGxSZXF1ZXN0MzY0NjYzMDc= | 10,226 | BUG: Holiday(..) with both offset and observance raises | {
"avatar_url": "https://avatars.githubusercontent.com/u/4094953?v=4",
"events_url": "https://api.github.com/users/bwillers/events{/privacy}",
"followers_url": "https://api.github.com/users/bwillers/followers",
"following_url": "https://api.github.com/users/bwillers/following{/other_user}",
"gists_url": "https://api.github.com/users/bwillers/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bwillers",
"id": 4094953,
"login": "bwillers",
"node_id": "MDQ6VXNlcjQwOTQ5NTM=",
"organizations_url": "https://api.github.com/users/bwillers/orgs",
"received_events_url": "https://api.github.com/users/bwillers/received_events",
"repos_url": "https://api.github.com/users/bwillers/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bwillers/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bwillers/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bwillers"
} | [
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
}
]
| closed | false | null | []
| {
"closed_at": "2015-06-13T17:49:05Z",
"closed_issues": 119,
"created_at": "2015-06-02T19:23:30Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "",
"due_on": "2015-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/35",
"id": 1145853,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35/labels",
"node_id": "MDk6TWlsZXN0b25lMTE0NTg1Mw==",
"number": 35,
"open_issues": 0,
"state": "closed",
"title": "0.16.2",
"updated_at": "2016-07-22T08:55:52Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35"
} | 6 | 2015-05-29T01:16:42Z | 2015-06-02T19:26:12Z | 2015-06-01T11:04:48Z | CONTRIBUTOR | null | Resolves #10217
Doesn't fix the underlying issue yet, but at least raises on the unsupported behavior.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10226/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10226/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10226.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10226",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/10226.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10226"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10227 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10227/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10227/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10227/events | https://github.com/pandas-dev/pandas/issues/10227 | 82,202,847 | MDU6SXNzdWU4MjIwMjg0Nw== | 10,227 | 0.16.1 No columns to parse from file | {
"avatar_url": "https://avatars.githubusercontent.com/u/1223112?v=4",
"events_url": "https://api.github.com/users/shadow-identity/events{/privacy}",
"followers_url": "https://api.github.com/users/shadow-identity/followers",
"following_url": "https://api.github.com/users/shadow-identity/following{/other_user}",
"gists_url": "https://api.github.com/users/shadow-identity/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/shadow-identity",
"id": 1223112,
"login": "shadow-identity",
"node_id": "MDQ6VXNlcjEyMjMxMTI=",
"organizations_url": "https://api.github.com/users/shadow-identity/orgs",
"received_events_url": "https://api.github.com/users/shadow-identity/received_events",
"repos_url": "https://api.github.com/users/shadow-identity/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/shadow-identity/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/shadow-identity/subscriptions",
"type": "User",
"url": "https://api.github.com/users/shadow-identity"
} | [
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
]
| closed | false | null | []
| null | 6 | 2015-05-29T01:26:55Z | 2015-09-30T16:52:04Z | 2015-05-29T23:30:39Z | NONE | null | I've updated Pandas from 0.14.1 (all was good) to 0.16.1 and now I have that exception:
```
Error
Traceback (most recent call last):
File "/home/nedr/progs/MEA-FormBuilder/formbuilder_core/tests/test_reports.py", line 618, in test_no_reports
response = self.request(request)
File "/home/nedr/progs/MEA-FormBuilder/formbuilder_core/tests/test_common.py", line 56, in request
HTTP_COOKIE={})
File "/home/nedr/progs/env/mea-formbuilder/lib/python2.7/site-packages/django/test/client.py", line 479, in post
secure=secure, **extra)
File "/home/nedr/progs/env/mea-formbuilder/lib/python2.7/site-packages/django/test/client.py", line 294, in post
secure=secure, **extra)
File "/home/nedr/progs/env/mea-formbuilder/lib/python2.7/site-packages/django/test/client.py", line 355, in generic
return self.request(**r)
File "/home/nedr/progs/env/mea-formbuilder/lib/python2.7/site-packages/django/test/client.py", line 437, in request
six.reraise(*exc_info)
File "/home/nedr/progs/env/mea-formbuilder/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/nedr/progs/env/mea-formbuilder/lib/python2.7/site-packages/django/views/generic/base.py", line 69, in view
return self.dispatch(request, *args, **kwargs)
File "/home/nedr/progs/MEA-FormBuilder/formbuilder_core/views.py", line 160, in dispatch
result = self.view(request)
File "/home/nedr/progs/MEA-FormBuilder/formbuilder_core/views.py", line 236, in view
return getattr(handler, action)(**args)
File "/home/nedr/progs/MEA-FormBuilder/formbuilder_core/utils.py", line 74, in inner
result = func(*args, **kwargs)
File "/home/nedr/progs/MEA-FormBuilder/formbuilder_core/utils.py", line 102, in inner
return func(*args, **kwargs)
File "/home/nedr/progs/MEA-FormBuilder/formbuilder_core/utils.py", line 120, in inner
return F(*args, **kwargs)
File "/home/nedr/progs/MEA-FormBuilder/formbuilder_core/utils.py", line 902, in get_stat
self._get_pandas_dataframe()
File "/home/nedr/progs/MEA-FormBuilder/formbuilder_core/utils.py", line 881, in _get_pandas_dataframe
self.data = pandas.read_csv(cStringIO.StringIO(self.report.body))
File "/home/nedr/progs/env/mea-formbuilder/lib/python2.7/site-packages/pandas/io/parsers.py", line 474, in parser_f
return _read(filepath_or_buffer, kwds)
File "/home/nedr/progs/env/mea-formbuilder/lib/python2.7/site-packages/pandas/io/parsers.py", line 250, in _read
parser = TextFileReader(filepath_or_buffer, **kwds)
File "/home/nedr/progs/env/mea-formbuilder/lib/python2.7/site-packages/pandas/io/parsers.py", line 566, in __init__
self._make_engine(self.engine)
File "/home/nedr/progs/env/mea-formbuilder/lib/python2.7/site-packages/pandas/io/parsers.py", line 705, in _make_engine
self._engine = CParserWrapper(self.f, **self.options)
File "/home/nedr/progs/env/mea-formbuilder/lib/python2.7/site-packages/pandas/io/parsers.py", line 1072, in __init__
self._reader = _parser.TextReader(src, **kwds)
File "pandas/parser.pyx", line 512, in pandas.parser.TextReader.__cinit__ (pandas/parser.c:4814)
ValueError: No columns to parse from file
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10227/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10227/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10228 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10228/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10228/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10228/events | https://github.com/pandas-dev/pandas/issues/10228 | 82,271,589 | MDU6SXNzdWU4MjI3MTU4OQ== | 10,228 | resample() with how=count causes Segmentation Fault | {
"avatar_url": "https://avatars.githubusercontent.com/u/1570054?v=4",
"events_url": "https://api.github.com/users/kelvin22/events{/privacy}",
"followers_url": "https://api.github.com/users/kelvin22/followers",
"following_url": "https://api.github.com/users/kelvin22/following{/other_user}",
"gists_url": "https://api.github.com/users/kelvin22/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kelvin22",
"id": 1570054,
"login": "kelvin22",
"node_id": "MDQ6VXNlcjE1NzAwNTQ=",
"organizations_url": "https://api.github.com/users/kelvin22/orgs",
"received_events_url": "https://api.github.com/users/kelvin22/received_events",
"repos_url": "https://api.github.com/users/kelvin22/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kelvin22/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kelvin22/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kelvin22"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "207de5",
"default": false,
"description": "resample method",
"id": 74975453,
"name": "Resample",
"node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 4 | 2015-05-29T05:29:41Z | 2015-06-26T23:24:40Z | 2015-06-26T23:24:40Z | NONE | null | Runing the code as is below results in a segmentation fault when it gets to resample()
The first pass runs, and then either the 2nd or 3rd run produces:
Segmentation fault: 11
It happens on:
- Python 2.7.9 and Pandas 0.16.1
- Python 3.4.3 and Pandas 0.16.1
It does not happen on:
- Python 2.7.9 with Pandas 0.12.0
Those are the only ones I've tested
```
import pandas as pd
frame = pd.DataFrame({'delay_category': {pd.Timestamp('2014-05-18 08:50:00'): 'yes',
pd.Timestamp('2014-05-19 14:35:00'): 'yes',
pd.Timestamp('2014-05-22 08:45:00'): 'yes',
pd.Timestamp('2014-05-27 10:00:00'): 'no',
pd.Timestamp('2014-05-28 11:05:00'): 'no'}})
frame_filter = frame[frame['delay_category'] == 'da']['delay_category']
for i in range(1,10):
frame_filter.resample('d', how='count')
```
Setting how=sum also does not result in the issue.
It only happens after the frame has been selected with a parameter that doesn't work, resulting in an empty series.
Eg. this works fine:
```
frame_filter = frame[frame['delay_category'] == 'yes']['delay_category']
for i in range(1,10):
frame_filter.resample('d', how='count')
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10228/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10228/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10229 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10229/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10229/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10229/events | https://github.com/pandas-dev/pandas/pull/10229 | 82,334,398 | MDExOlB1bGxSZXF1ZXN0MzY0ODQ1OTY= | 10,229 | CLN: Remove redundant self.unique_check and self._do_unique_check | {
"avatar_url": "https://avatars.githubusercontent.com/u/1224492?v=4",
"events_url": "https://api.github.com/users/toobaz/events{/privacy}",
"followers_url": "https://api.github.com/users/toobaz/followers",
"following_url": "https://api.github.com/users/toobaz/following{/other_user}",
"gists_url": "https://api.github.com/users/toobaz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/toobaz",
"id": 1224492,
"login": "toobaz",
"node_id": "MDQ6VXNlcjEyMjQ0OTI=",
"organizations_url": "https://api.github.com/users/toobaz/orgs",
"received_events_url": "https://api.github.com/users/toobaz/received_events",
"repos_url": "https://api.github.com/users/toobaz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/toobaz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/toobaz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/toobaz"
} | []
| closed | false | null | []
| null | 1 | 2015-05-29T08:39:44Z | 2017-11-23T16:23:55Z | 2015-08-15T23:56:31Z | MEMBER | null | New version of https://github.com/pydata/pandas/pull/10139 , which now completely removes unused attribute and method, avoiding a couple of useless checks.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10229/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10229/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10229.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10229",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/10229.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10229"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10230 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10230/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10230/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10230/events | https://github.com/pandas-dev/pandas/pull/10230 | 82,344,961 | MDExOlB1bGxSZXF1ZXN0MzY0ODY5Nzc= | 10,230 | Close mysql connection in TestXMySQL to prevent tests freezing | {
"avatar_url": "https://avatars.githubusercontent.com/u/413772?v=4",
"events_url": "https://api.github.com/users/graingert/events{/privacy}",
"followers_url": "https://api.github.com/users/graingert/followers",
"following_url": "https://api.github.com/users/graingert/following{/other_user}",
"gists_url": "https://api.github.com/users/graingert/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/graingert",
"id": 413772,
"login": "graingert",
"node_id": "MDQ6VXNlcjQxMzc3Mg==",
"organizations_url": "https://api.github.com/users/graingert/orgs",
"received_events_url": "https://api.github.com/users/graingert/received_events",
"repos_url": "https://api.github.com/users/graingert/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/graingert/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/graingert/subscriptions",
"type": "User",
"url": "https://api.github.com/users/graingert"
} | [
{
"color": "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": "2015-06-13T17:49:05Z",
"closed_issues": 119,
"created_at": "2015-06-02T19:23:30Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "",
"due_on": "2015-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/35",
"id": 1145853,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35/labels",
"node_id": "MDk6TWlsZXN0b25lMTE0NTg1Mw==",
"number": 35,
"open_issues": 0,
"state": "closed",
"title": "0.16.2",
"updated_at": "2016-07-22T08:55:52Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35"
} | 4 | 2015-05-29T09:14:01Z | 2015-06-02T19:26:12Z | 2015-05-29T12:21:07Z | CONTRIBUTOR | null | The unit tests freeze on my machine without this change because you can't drop a table until other connections that are using that table disconnect.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10230/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10230/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10230.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10230",
"merged_at": "2015-05-29T12:21:07Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10230.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10230"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10231 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10231/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10231/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10231/events | https://github.com/pandas-dev/pandas/issues/10231 | 82,502,153 | MDU6SXNzdWU4MjUwMjE1Mw== | 10,231 | Undesired UX behavior of DataFrame output in IPython Notebook | {
"avatar_url": "https://avatars.githubusercontent.com/u/1947204?v=4",
"events_url": "https://api.github.com/users/danieljl/events{/privacy}",
"followers_url": "https://api.github.com/users/danieljl/followers",
"following_url": "https://api.github.com/users/danieljl/following{/other_user}",
"gists_url": "https://api.github.com/users/danieljl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/danieljl",
"id": 1947204,
"login": "danieljl",
"node_id": "MDQ6VXNlcjE5NDcyMDQ=",
"organizations_url": "https://api.github.com/users/danieljl/orgs",
"received_events_url": "https://api.github.com/users/danieljl/received_events",
"repos_url": "https://api.github.com/users/danieljl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/danieljl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danieljl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/danieljl"
} | [
{
"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": "2015-06-13T17:49:05Z",
"closed_issues": 119,
"created_at": "2015-06-02T19:23:30Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "",
"due_on": "2015-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/35",
"id": 1145853,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35/labels",
"node_id": "MDk6TWlsZXN0b25lMTE0NTg1Mw==",
"number": 35,
"open_issues": 0,
"state": "closed",
"title": "0.16.2",
"updated_at": "2016-07-22T08:55:52Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35"
} | 15 | 2015-05-29T16:50:51Z | 2020-01-28T18:05:16Z | 2015-06-11T15:39:35Z | CONTRIBUTOR | null | From my previous line comment at https://github.com/pydata/pandas/commit/be80898920eab8f740cf61019327621a75d73947#commitcomment-11338872. cc @takluyver @jorisvandenbossche
Because DataFrame's `_repr_html_` returns hardcoded `div` tag with style `max-height:1000px`, if the height of DataFrame's output exceeds 1000px, it will generate a scroll bar.
First, it is unnecessary because IPython Notebook has "toggle output scrolling" feature. Second, it causes UX problem if the height of browser resolution is below 1000px (user must scroll twice: the whole page and the generated div). Third, it can't make use of "toggle output scrolling" feature (if user turn it on, it will generate nested scroll bars (worse UX)). For more detailed explanations and examples, see the steps to reproduce below.
Pandas version: 0.16.1.
Steps to reproduce:
1. Open an IPython Notebook and paste this code. It will generate an inner scroll bar because the output's height exceeds 1000px.
``` python
import pandas as pd
pd.DataFrame(list(range(100)))
```
2. If you want to see all rows, first you should scroll the page.

3. After you reach the bottom of the generated ouput's `div`, you should scroll again the inner scroll bar.

4. If you want to toggle the IPython Notebook's "toggle output scrolling" feature, you get this.

Desired behaviors:
- When "output scrolling" feature is off

- When "output scrolling" feature is on

Solution:
Remove style property from `div` tag that DataFrame's `_repr_html_` returns.
Old: `<div style="max-height:1000px;max-width:1500px;overflow:auto;">\n`
New: `<div>\n`
Why should `max-width` be removed as well? Because it also generates _far_ worse UX. If you have so many columns that the horizontal scroll bar generated, you cannot scroll it. You must refresh the page to be able to scroll 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/10231/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10231/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10232 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10232/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10232/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10232/events | https://github.com/pandas-dev/pandas/pull/10232 | 82,507,469 | MDExOlB1bGxSZXF1ZXN0MzY1MjU1Njg= | 10,232 | Fix undesired UX behavior of DataFrame output in IPython Notebook | {
"avatar_url": "https://avatars.githubusercontent.com/u/1947204?v=4",
"events_url": "https://api.github.com/users/danieljl/events{/privacy}",
"followers_url": "https://api.github.com/users/danieljl/followers",
"following_url": "https://api.github.com/users/danieljl/following{/other_user}",
"gists_url": "https://api.github.com/users/danieljl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/danieljl",
"id": 1947204,
"login": "danieljl",
"node_id": "MDQ6VXNlcjE5NDcyMDQ=",
"organizations_url": "https://api.github.com/users/danieljl/orgs",
"received_events_url": "https://api.github.com/users/danieljl/received_events",
"repos_url": "https://api.github.com/users/danieljl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/danieljl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danieljl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/danieljl"
} | [
{
"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": "006b75",
"default": false,
"description": "read_html, to_html, Styler.apply, Styler.applymap",
"id": 57395487,
"name": "IO HTML",
"node_id": "MDU6TGFiZWw1NzM5NTQ4Nw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HTML"
}
]
| closed | false | null | []
| {
"closed_at": "2015-06-13T17:49:05Z",
"closed_issues": 119,
"created_at": "2015-06-02T19:23:30Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "",
"due_on": "2015-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/35",
"id": 1145853,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35/labels",
"node_id": "MDk6TWlsZXN0b25lMTE0NTg1Mw==",
"number": 35,
"open_issues": 0,
"state": "closed",
"title": "0.16.2",
"updated_at": "2016-07-22T08:55:52Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35"
} | 33 | 2015-05-29T17:09:03Z | 2015-08-03T12:33:05Z | 2015-06-11T15:39:21Z | CONTRIBUTOR | null | Closes #10231
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10232/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10232/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10232.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10232",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/10232.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10232"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10233 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10233/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10233/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10233/events | https://github.com/pandas-dev/pandas/pull/10233 | 82,507,495 | MDExOlB1bGxSZXF1ZXN0MzY1MjU1NzY= | 10,233 | BUG: plotting grouped_hist with a single row frame #10214 | {
"avatar_url": "https://avatars.githubusercontent.com/u/109167?v=4",
"events_url": "https://api.github.com/users/scls19fr/events{/privacy}",
"followers_url": "https://api.github.com/users/scls19fr/followers",
"following_url": "https://api.github.com/users/scls19fr/following{/other_user}",
"gists_url": "https://api.github.com/users/scls19fr/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/scls19fr",
"id": 109167,
"login": "scls19fr",
"node_id": "MDQ6VXNlcjEwOTE2Nw==",
"organizations_url": "https://api.github.com/users/scls19fr/orgs",
"received_events_url": "https://api.github.com/users/scls19fr/received_events",
"repos_url": "https://api.github.com/users/scls19fr/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/scls19fr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/scls19fr/subscriptions",
"type": "User",
"url": "https://api.github.com/users/scls19fr"
} | [
{
"color": "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": "2015-06-13T17:49:05Z",
"closed_issues": 119,
"created_at": "2015-06-02T19:23:30Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "",
"due_on": "2015-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/35",
"id": 1145853,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35/labels",
"node_id": "MDk6TWlsZXN0b25lMTE0NTg1Mw==",
"number": 35,
"open_issues": 0,
"state": "closed",
"title": "0.16.2",
"updated_at": "2016-07-22T08:55:52Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35"
} | 4 | 2015-05-29T17:09:10Z | 2015-06-07T06:12:25Z | 2015-06-07T06:12:25Z | CONTRIBUTOR | null | Should closes https://github.com/pydata/pandas/issues/10214
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10233/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10233/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10233.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10233",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/10233.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10233"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10234 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10234/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10234/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10234/events | https://github.com/pandas-dev/pandas/issues/10234 | 82,608,133 | MDU6SXNzdWU4MjYwODEzMw== | 10,234 | to_excel function unable to subtract offset-naive and offset-aware datetimes | {
"avatar_url": "https://avatars.githubusercontent.com/u/4164048?v=4",
"events_url": "https://api.github.com/users/cshjin/events{/privacy}",
"followers_url": "https://api.github.com/users/cshjin/followers",
"following_url": "https://api.github.com/users/cshjin/following{/other_user}",
"gists_url": "https://api.github.com/users/cshjin/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cshjin",
"id": 4164048,
"login": "cshjin",
"node_id": "MDQ6VXNlcjQxNjQwNDg=",
"organizations_url": "https://api.github.com/users/cshjin/orgs",
"received_events_url": "https://api.github.com/users/cshjin/received_events",
"repos_url": "https://api.github.com/users/cshjin/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cshjin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cshjin/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cshjin"
} | [
{
"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": "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 | 3 | 2015-05-29T22:13:53Z | 2019-01-21T04:18:15Z | 2019-01-21T04:18:00Z | NONE | null | Pandas version: **0.15.2**
I have a dataframe object with one column of timestamps:
```
ts value
2012-01-01 00:10:00 100
2012-01-01 00:20:00 200
...
```
And when I dumped them into csv file using to_csv, they are stored properly.
While when I dumped them into xlsx file using to_excel. the data in file are miss detailed timestamps. like:
```
ts value
2012-01-01 00:00:00 100
2012-01-01 00:00:00 200
...
```
Another error message would is:
```
File "C:\Anaconda\lib\site-packages\pandas\util\decorators.py", line 60, in wrapper
return func(*args, **kwargs)
File "C:\Anaconda\lib\site-packages\pandas\core\frame.py", line 1230, in to_excel
startrow=startrow, startcol=startcol)
File "C:\Anaconda\lib\site-packages\pandas\io\excel.py", line 813, in write_cells
cell.val, style)
File "C:\Anaconda\lib\site-packages\xlsxwriter\worksheet.py", line 62, in cell_wrapper
return method(self, *args, **kwargs)
File "C:\Anaconda\lib\site-packages\xlsxwriter\worksheet.py", line 381, in write
return self.write_datetime(row, col, *args)
File "C:\Anaconda\lib\site-packages\xlsxwriter\worksheet.py", line 62, in cell_wrapper
return method(self, *args, **kwargs)
File "C:\Anaconda\lib\site-packages\xlsxwriter\worksheet.py", line 675, in write_datetime
number = self._convert_date_time(date)
File "C:\Anaconda\lib\site-packages\xlsxwriter\worksheet.py", line 3454, in _convert_date_time
return datetime_to_excel_datetime(dt_obj, self.date_1904)
File "C:\Anaconda\lib\site-packages\xlsxwriter\utility.py", line 617, in datetime_to_excel_datetime
delta = dt_obj - epoch
File "tslib.pyx", line 752, in pandas.tslib._Timestamp.__sub__ (pandas\tslib.c:14192)
TypeError: can't subtract offset-naive and offset-aware datetimes
```
A quick fix is to downgrade the version from **0.15.2** to **0.14.0**. It will dump the data correctly.
If it already fixed in the later version, just ignore that.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10234/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10234/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10235 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10235/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10235/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10235/events | https://github.com/pandas-dev/pandas/issues/10235 | 82,645,722 | MDU6SXNzdWU4MjY0NTcyMg== | 10,235 | PERF: core/base/IndexOpsMixin duplicated should be changed to use same impl as frame.duplicated | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
}
]
| 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-05-30T00:40:14Z | 2016-07-25T12:03:19Z | 2016-07-25T12:03:19Z | CONTRIBUTOR | null | `DataFrame.duplicated` correctly uses `hashtable.duplicated_int64` a specialized routine, while `core.series.IndexOpsMixin.duplicated` uses `lib.duplicated` an object based one.
as its almost always better to factorize then use the fast routine, than to do object comparisons.
but YMMV, so needs a couple of perf tests.
```
In [3]: s = Series(np.random.randint(0,10000,size=100000))
In [4]: %timeit s.duplicated()
100 loops, best of 3: 5.75 ms per loop
In [6]: df = s.to_frame()
In [8]: %timeit df.duplicated()
1000 loops, best of 3: 1.86 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/10235/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10235/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10236 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10236/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10236/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10236/events | https://github.com/pandas-dev/pandas/pull/10236 | 82,808,102 | MDExOlB1bGxSZXF1ZXN0MzY1NjUyMDY= | 10,236 | ENH: duplicated and drop_duplicates now accept keep kw | {
"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": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "eb6420",
"default": false,
"description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff",
"id": 57296398,
"name": "Algos",
"node_id": "MDU6TGFiZWw1NzI5NjM5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 14 | 2015-05-30T13:00:05Z | 2015-08-11T01:23:04Z | 2015-08-08T19:46:01Z | MEMBER | null | Closes #6511, Closes #8505.
Introduce `keep` kw to handle first / last / all duplicates based on the discussion above. If there is better API/kw, please lmk.
### `duplicated`
- `keep='first'` (default): mark duplicates as `True` except for the first occurrence.
- `keep='last'`: mark duplicates as `True` except for the last occurrence.
- `keep=False`: mark all duplicates as `True`.
### `drop_duplicates`
- `keep='first'` (default): drop duplicates except for the first occurrence.
- `keep='last'`: drop duplicates except for the last occurrence.
- `keep=False`: drop all duplicates.
``` python
import pandas as pd
s = pd.Series(['A', 'B', 'C', 'A', 'B', 'D'])
# mark duplicates except for the first occurrence
s.duplicated()
#0 False
#1 False
#2 False
#3 True
#4 True
#5 False
# dtype: bool
# mark duplicates except for the last occurrence
s.duplicated(keep='last')
#0 True
#1 True
#2 False
#3 False
#4 False
#5 False
# dtype: bool
# mark all duplicates
s.duplicated(keep=False)
#0 True
#1 True
#2 False
#3 True
#4 True
#5 False
# dtype: bool
# drop duplicates except for the first occurrence
s.drop_duplicates()
#0 A
#1 B
#2 C
#5 D
# dtype: object
# drop duplicates except for the last occurrence
s.drop_duplicates(keep='last')
#2 C
#3 A
#4 B
#5 D
# dtype: object
# drop all duplicates
s.drop_duplicates(keep=False)
#2 C
#5 D
# dtype: object
```
CC @shoyer, @wikiped, @socheon
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10236/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10236/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10236.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10236",
"merged_at": "2015-08-08T19:46:01Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10236.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10236"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10237 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10237/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10237/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10237/events | https://github.com/pandas-dev/pandas/issues/10237 | 82,865,098 | MDU6SXNzdWU4Mjg2NTA5OA== | 10,237 | series round ? | {
"avatar_url": "https://avatars.githubusercontent.com/u/1430861?v=4",
"events_url": "https://api.github.com/users/apiszcz/events{/privacy}",
"followers_url": "https://api.github.com/users/apiszcz/followers",
"following_url": "https://api.github.com/users/apiszcz/following{/other_user}",
"gists_url": "https://api.github.com/users/apiszcz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/apiszcz",
"id": 1430861,
"login": "apiszcz",
"node_id": "MDQ6VXNlcjE0MzA4NjE=",
"organizations_url": "https://api.github.com/users/apiszcz/orgs",
"received_events_url": "https://api.github.com/users/apiszcz/received_events",
"repos_url": "https://api.github.com/users/apiszcz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/apiszcz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/apiszcz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/apiszcz"
} | [
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
},
{
"color": "006b75",
"default": false,
"description": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
}
]
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 2 | 2015-05-30T17:18:51Z | 2015-05-31T09:06:30Z | 2015-05-30T20:14:03Z | NONE | null | Does .round support arbitrary precision rounding in Python 3.4.3/Pandas 0.16.1?
(Pdb) data['h'].round()
0 0
1 54
2 20
3 793
4 72
5 43
6 51
Name: h, dtype: float64
(Pdb) data['h'].round(1)
0 0.00000000000000000000000
1 54.10000000000000142108547
2 19.69999999999999928945726
3 793.00000000000000000000000
4 72.40000000000000568434189
5 42.79999999999999715782906
6 51.10000000000000142108547
Name: h, dtype: float64
(Pdb) data['h'].round(2)
0 0.00000000000000000000000
1 54.07999999999999829469743
2 19.67000000000000170530257
3 793.03999999999996362021193
4 72.39000000000000056843419
5 42.84000000000000341060513
6 51.06000000000000227373675
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10237/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10237/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10238 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10238/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10238/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10238/events | https://github.com/pandas-dev/pandas/issues/10238 | 82,895,976 | MDU6SXNzdWU4Mjg5NTk3Ng== | 10,238 | Disable networking in tests? | {
"avatar_url": "https://avatars.githubusercontent.com/u/5091511?v=4",
"events_url": "https://api.github.com/users/adnelson/events{/privacy}",
"followers_url": "https://api.github.com/users/adnelson/followers",
"following_url": "https://api.github.com/users/adnelson/following{/other_user}",
"gists_url": "https://api.github.com/users/adnelson/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/adnelson",
"id": 5091511,
"login": "adnelson",
"node_id": "MDQ6VXNlcjUwOTE1MTE=",
"organizations_url": "https://api.github.com/users/adnelson/orgs",
"received_events_url": "https://api.github.com/users/adnelson/received_events",
"repos_url": "https://api.github.com/users/adnelson/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/adnelson/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/adnelson/subscriptions",
"type": "User",
"url": "https://api.github.com/users/adnelson"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
]
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 1 | 2015-05-30T19:47:19Z | 2015-05-31T09:07:38Z | 2015-05-30T20:11:59Z | NONE | null | I'd like to run pandas tests but not have it do any tests that require networking. I can get the tests to pass if I disconnect from the internet on my machine, but otherwise I'm getting SSL errors. This might be because am building pandas with nix, but presumably there are other reasons why one might want to disable any tests that require networking -- regardless of whether networking is actually available.
Poking around through the tests code, it looks like there's a check [here](https://github.com/pydata/pandas/blob/d5fdbc6beb81ed2aa76bac9bb1c7dd2b7330617c/pandas/util/testing.py#L1451) which attempts to connect to google and skips the test if it's unable to do so. This, therefore, is _nearly_ there. All that would be needed is to add an additional condition which would read a configuration option. For example an environment variable `PANDAS_NO_NET_TESTS` or something:
``` python
if check_before_test and not raise_on_error:
if 'PANDAS_NO_NET_TESTS' in os.environ or not can_connect(url, error_classes):
raise SkipTest
```
The particulars are relatively unimportant but the point is, is such a thing undesirable for some reason? Or should I perhaps make a pull request?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10238/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10238/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10239 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10239/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10239/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10239/events | https://github.com/pandas-dev/pandas/issues/10239 | 82,911,926 | MDU6SXNzdWU4MjkxMTkyNg== | 10,239 | BUG: numexpr eval doesn't hold column name via single column selection | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4",
"events_url": "https://api.github.com/users/sinhrks/events{/privacy}",
"followers_url": "https://api.github.com/users/sinhrks/followers",
"following_url": "https://api.github.com/users/sinhrks/following{/other_user}",
"gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sinhrks",
"id": 1696302,
"login": "sinhrks",
"node_id": "MDQ6VXNlcjE2OTYzMDI=",
"organizations_url": "https://api.github.com/users/sinhrks/orgs",
"received_events_url": "https://api.github.com/users/sinhrks/received_events",
"repos_url": "https://api.github.com/users/sinhrks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sinhrks"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "f3afff",
"default": false,
"description": "pd.eval, query",
"id": 1631985267,
"name": "expressions",
"node_id": "MDU6TGFiZWwxNjMxOTg1MjY3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/expressions"
}
]
| open | false | null | []
| null | 1 | 2015-05-30T20:58:58Z | 2019-12-01T17:57:23Z | null | MEMBER | null | ``` python
df = pd.DataFrame(np.random.randn(2, 3), columns=['A', 'B', 'C'])
numexpr.__version__
# '2.4'
# all resets column name
pd.eval('df.A')
#0 -0.312782
#1 1.204993
# dtype: float64
pd.eval('df["A"]')
#0 -0.312782
#1 1.204993
# dtype: float64
df.eval('A')
#0 -0.312782
#1 1.204993
# dtype: float64
# python engine looks OK
pd.eval('df["A"]', engine='python')
#0 -0.312782
#1 1.204993
# Name: A, dtype: float64
pd.eval('df.A', engine='python')
#0 -0.312782
#1 1.204993
# Name: A, dtype: float64
df.eval('A', engine='python')
#0 -0.312782
#1 1.204993
# Name: A, 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/10239/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10239/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10240 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10240/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10240/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10240/events | https://github.com/pandas-dev/pandas/pull/10240 | 82,914,553 | MDExOlB1bGxSZXF1ZXN0MzY1NzIxNTM= | 10,240 | BUG: Series arithmetic methods incorrectly hold name | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4",
"events_url": "https://api.github.com/users/sinhrks/events{/privacy}",
"followers_url": "https://api.github.com/users/sinhrks/followers",
"following_url": "https://api.github.com/users/sinhrks/following{/other_user}",
"gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sinhrks",
"id": 1696302,
"login": "sinhrks",
"node_id": "MDQ6VXNlcjE2OTYzMDI=",
"organizations_url": "https://api.github.com/users/sinhrks/orgs",
"received_events_url": "https://api.github.com/users/sinhrks/received_events",
"repos_url": "https://api.github.com/users/sinhrks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sinhrks"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
]
| closed | false | null | []
| {
"closed_at": "2015-06-13T17:49:05Z",
"closed_issues": 119,
"created_at": "2015-06-02T19:23:30Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "",
"due_on": "2015-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/35",
"id": 1145853,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35/labels",
"node_id": "MDk6TWlsZXN0b25lMTE0NTg1Mw==",
"number": 35,
"open_issues": 0,
"state": "closed",
"title": "0.16.2",
"updated_at": "2016-07-22T08:55:52Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35"
} | 1 | 2015-05-30T21:14:49Z | 2015-06-02T19:26:12Z | 2015-06-02T10:38:48Z | MEMBER | null | Closes #10068.
Should handle the case `_maybe_match_name` is `None`, because of continuous `__finalize__`.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10240/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10240/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10240.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10240",
"merged_at": "2015-06-02T10:38:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10240.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10240"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10241 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10241/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10241/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10241/events | https://github.com/pandas-dev/pandas/pull/10241 | 82,922,347 | MDExOlB1bGxSZXF1ZXN0MzY1NzI2MDA= | 10,241 | BUG: SparseSeries.abs() resets name | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4",
"events_url": "https://api.github.com/users/sinhrks/events{/privacy}",
"followers_url": "https://api.github.com/users/sinhrks/followers",
"following_url": "https://api.github.com/users/sinhrks/following{/other_user}",
"gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sinhrks",
"id": 1696302,
"login": "sinhrks",
"node_id": "MDQ6VXNlcjE2OTYzMDI=",
"organizations_url": "https://api.github.com/users/sinhrks/orgs",
"received_events_url": "https://api.github.com/users/sinhrks/received_events",
"repos_url": "https://api.github.com/users/sinhrks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sinhrks"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
]
| closed | false | null | []
| {
"closed_at": "2015-06-13T17:49:05Z",
"closed_issues": 119,
"created_at": "2015-06-02T19:23:30Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "",
"due_on": "2015-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/35",
"id": 1145853,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35/labels",
"node_id": "MDk6TWlsZXN0b25lMTE0NTg1Mw==",
"number": 35,
"open_issues": 0,
"state": "closed",
"title": "0.16.2",
"updated_at": "2016-07-22T08:55:52Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35"
} | 4 | 2015-05-30T21:47:52Z | 2015-06-02T19:26:12Z | 2015-06-02T10:39:04Z | MEMBER | null | ```
# OK: name is preserved
s = pd.Series([1, 2, -3], name='a')
s.abs()
#0 1
#1 2
#2 3
# Name: a, dtype: int64
# NG: name is reset
s = pd.SparseSeries([1, 0, -3], name='a')
s.name
# 'a'
s.abs()
#0 1
#1 0
#2 3
# dtype: int64
# BlockIndex
# Block locations: array([0], dtype=int32)
# Block lengths: array([3], dtype=int32)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10241/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10241/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10241.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10241",
"merged_at": "2015-06-02T10:39:04Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10241.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10241"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10242 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10242/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10242/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10242/events | https://github.com/pandas-dev/pandas/issues/10242 | 82,933,958 | MDU6SXNzdWU4MjkzMzk1OA== | 10,242 | Variance is not calculated correctly in some cases + inconsistent definition | {
"avatar_url": "https://avatars.githubusercontent.com/u/12677513?v=4",
"events_url": "https://api.github.com/users/nleehone/events{/privacy}",
"followers_url": "https://api.github.com/users/nleehone/followers",
"following_url": "https://api.github.com/users/nleehone/following{/other_user}",
"gists_url": "https://api.github.com/users/nleehone/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/nleehone",
"id": 12677513,
"login": "nleehone",
"node_id": "MDQ6VXNlcjEyNjc3NTEz",
"organizations_url": "https://api.github.com/users/nleehone/orgs",
"received_events_url": "https://api.github.com/users/nleehone/received_events",
"repos_url": "https://api.github.com/users/nleehone/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/nleehone/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nleehone/subscriptions",
"type": "User",
"url": "https://api.github.com/users/nleehone"
} | [
{
"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": "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"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 14 | 2015-05-30T22:37:57Z | 2015-09-04T12:15:33Z | 2015-09-04T12:15:33Z | NONE | null | The var method acts inconsistently when used on the Series vs the numpy array returned from values:
``` python
dat = pd.DataFrame({'x': [1,2,3,4,0,0,0]})
print(dat['x'].values.var())
print(dat['x'].var())
```
```
Prints:
2.24489795918
2.61904761905
```
This is due to numpy using ddof=0 as its default (calculates the biased variance), whereas pandas calculates the unbiased variance by default. These two should be consistent, so either pandas should adapt or numpy should (maybe it should be numpy since we should calculate unbiased by default?).
The other problem is that pandas does not calculate the variance of this DataFrame properly.
Inconsistent definition aside, the variance should clearly not be zero when calculated from pandas.
``` python
dat = pd.DataFrame({'x': [9.0692124699,9.0692124692,9.0692124702,9.0692124686,
9.0692124687,9.0692124707,9.0692124679,9.0692124685,
9.0692124698,9.0692124719,9.0692124698,9.0692124692,
9.0692124689,9.0692124673,9.0692124707,9.0692124714,
9.0692124714,9.0692124734,9.0692124719,9.0692124710,
9.0692124694,9.0692124705,9.0692124713,9.0692124717
]})
print(dat['x'].values.var())
print(dat['x'].var())
```
```
Prints:
2.06817742558e-18
0.0
```
Here is the system information:
INSTALLED VERSIONS:
commit: None
python: 3.4.0.final.0
python-bits: 64
OS: Linux
OS-release: 3.13.0-52-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_CA.UTF-8
pandas: 0.16.1
numpy: 1.9.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/10242/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10242/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10243 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10243/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10243/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10243/events | https://github.com/pandas-dev/pandas/pull/10243 | 83,105,158 | MDExOlB1bGxSZXF1ZXN0MzY1ODM0ODg= | 10,243 | wide table support | {
"avatar_url": "https://avatars.githubusercontent.com/u/249407?v=4",
"events_url": "https://api.github.com/users/hhuuggoo/events{/privacy}",
"followers_url": "https://api.github.com/users/hhuuggoo/followers",
"following_url": "https://api.github.com/users/hhuuggoo/following{/other_user}",
"gists_url": "https://api.github.com/users/hhuuggoo/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hhuuggoo",
"id": 249407,
"login": "hhuuggoo",
"node_id": "MDQ6VXNlcjI0OTQwNw==",
"organizations_url": "https://api.github.com/users/hhuuggoo/orgs",
"received_events_url": "https://api.github.com/users/hhuuggoo/received_events",
"repos_url": "https://api.github.com/users/hhuuggoo/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hhuuggoo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hhuuggoo/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hhuuggoo"
} | [
{
"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_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
}
]
| closed | false | null | []
| null | 25 | 2015-05-31T14:55:02Z | 2015-12-07T17:40:51Z | 2015-11-25T15:44:00Z | NONE | null | addresses #6245
@jreback this isn't quite working yet for older arrays - the reason is because I have to address values_block_kind_0 and things like that. Currently what I'm doing is creating a group under `self.group` of the Table class, named 'attr', which has all the attributes as CArrays. However the issue is that values_block_kind_0 is actually written as an attr of the table dataset, not the group. I can definitely setup the code to read that stuff for backwards compatability, but is it ok if I put all carray attrs as datasets under the attr group, or is there some namespace collisioning that I'm not aware of?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10243/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10243/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10243.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10243",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/10243.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10243"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10244 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10244/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10244/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10244/events | https://github.com/pandas-dev/pandas/issues/10244 | 83,278,915 | MDU6SXNzdWU4MzI3ODkxNQ== | 10,244 | new feature/enhancement request: new JSON string option for pandas.DataFrame.to_json() | {
"avatar_url": "https://avatars.githubusercontent.com/u/595909?v=4",
"events_url": "https://api.github.com/users/gregrahn/events{/privacy}",
"followers_url": "https://api.github.com/users/gregrahn/followers",
"following_url": "https://api.github.com/users/gregrahn/following{/other_user}",
"gists_url": "https://api.github.com/users/gregrahn/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gregrahn",
"id": 595909,
"login": "gregrahn",
"node_id": "MDQ6VXNlcjU5NTkwOQ==",
"organizations_url": "https://api.github.com/users/gregrahn/orgs",
"received_events_url": "https://api.github.com/users/gregrahn/received_events",
"repos_url": "https://api.github.com/users/gregrahn/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gregrahn/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gregrahn/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gregrahn"
} | [
{
"color": "207de5",
"default": false,
"description": "read_json, to_json, json_normalize",
"id": 49379259,
"name": "IO JSON",
"node_id": "MDU6TGFiZWw0OTM3OTI1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON"
}
]
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 4 | 2015-06-01T02:48:35Z | 2019-08-27T19:01:46Z | 2019-08-27T18:43:41Z | NONE | null | Currently `pandas.DataFrame.to_json` supports `orient=records` which yields a file of `[{column -> value}, ... , {column -> value}]` (as a single line). I'd like to request a slight variation of this format which is a single `{column -> value}` per line. This yields a similar format as PostgreSQL's `row_to_json()` function.
Example of the TPC-H `region` table using `orient=records`
```
[{"r_regionkey":0,"r_name":"AFRICA","r_comment":"lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to "},{"r_regionkey":1,"r_name":"AMERICA","r_comment":"hs use ironic, even requests. s"},{"r_regionkey":2,"r_name":"ASIA","r_comment":"ges. thinly even pinto beans ca"},{"r_regionkey":3,"r_name":"EUROPE","r_comment":"ly final courts cajole furiously final excuse"},{"r_regionkey":4,"r_name":"MIDDLE EAST","r_comment":"uickly special accounts cajole carefully blithely close requests. carefully final asymptotes haggle furiousl"}]
```
desired new format:
```
{"r_regionkey":0,"r_name":"AFRICA","r_comment":"lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to "}
{"r_regionkey":1,"r_name":"AMERICA","r_comment":"hs use ironic, even requests. s"}
{"r_regionkey":2,"r_name":"ASIA","r_comment":"ges. thinly even pinto beans ca"}
{"r_regionkey":3,"r_name":"EUROPE","r_comment":"ly final courts cajole furiously final excuse"}
{"r_regionkey":4,"r_name":"MIDDLE EAST","r_comment":"uickly special accounts cajole carefully blithely close requests. carefully final asymptotes haggle furiousl"}
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10244/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10244/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10245 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10245/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10245/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10245/events | https://github.com/pandas-dev/pandas/issues/10245 | 83,373,915 | MDU6SXNzdWU4MzM3MzkxNQ== | 10,245 | numpy error using read_csv with parse_dates=[...] and index_col=[...] | {
"avatar_url": "https://avatars.githubusercontent.com/u/7766733?v=4",
"events_url": "https://api.github.com/users/cmeeren/events{/privacy}",
"followers_url": "https://api.github.com/users/cmeeren/followers",
"following_url": "https://api.github.com/users/cmeeren/following{/other_user}",
"gists_url": "https://api.github.com/users/cmeeren/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cmeeren",
"id": 7766733,
"login": "cmeeren",
"node_id": "MDQ6VXNlcjc3NjY3MzM=",
"organizations_url": "https://api.github.com/users/cmeeren/orgs",
"received_events_url": "https://api.github.com/users/cmeeren/received_events",
"repos_url": "https://api.github.com/users/cmeeren/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cmeeren/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cmeeren/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cmeeren"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "5319e7",
"default": false,
"description": "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": "2015-06-13T17:49:05Z",
"closed_issues": 119,
"created_at": "2015-06-02T19:23:30Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "",
"due_on": "2015-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/35",
"id": 1145853,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35/labels",
"node_id": "MDk6TWlsZXN0b25lMTE0NTg1Mw==",
"number": 35,
"open_issues": 0,
"state": "closed",
"title": "0.16.2",
"updated_at": "2016-07-22T08:55:52Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35"
} | 31 | 2015-06-01T08:05:39Z | 2015-06-08T13:28:39Z | 2015-06-08T13:28:39Z | CONTRIBUTOR | null | Consider a file of the following format:
```
week,sow,prn,rxstatus,az,elv,l1_cno,s4,s4_cor,secsigma1,secsigma3,secsigma10,secsigma30,secsigma60,code_carrier,c_cstdev,tec45,tecrate45,tec30,tecrate30,tec15,tecrate15,tec00,tecrate00,l1_loctime,chanstatus,l2_locktime,l2_cno
1765,68460.00,126,00E80000,0.00,0.00,39.38,0.118447,0.107595,0.252663,0.532384,0.600540,0.603073,0.603309,-13.255543,0.114,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1692.182,8C023D84,0.000,0.00
1765,68460.00,23,00E80000,0.00,0.00,53.48,0.034255,0.021177,0.035187,0.042985,0.061142,0.061738,0.061801,-22.760003,0.015,24.955111,0.112239,25.115330,-0.119774,25.146603,-0.065852,24.747576,-0.243804,10426.426,08109CC4,10409.660,44.52
1765,68460.00,13,00E80000,0.00,0.00,54.28,0.046218,0.019314,0.037818,0.056421,0.060602,0.060698,0.060735,-20.679035,0.090,25.670250,-0.070761,25.752224,-0.055089,26.045048,-0.180056,25.360369,-0.062119,7553.020,18109CA4,7202.660,47.27
```
I try to read that with the following code
``` python
data = pd.read_csv(FILE, date_parser=GPStime2datetime,
parse_dates={'datetime': ['week', 'sow']},
index_col=['datetime', 'prn'])
```
Here I'm parsing `week` and `sow` into a `datetime` column using a custom function (this works properly) and using `datetime` and the `prn` column as a `MultiIndex`. The file is read successfully when `index_col='datetime'`, but not when trying to create the `MultiIndex` using `index_col=['datetime', 'prn']` (or when using column numbers instead of names). I get the following traceback:
```
File "C:\Anaconda\lib\site-packages\pandas\io\parsers.py", line 474, in parser_f
return _read(filepath_or_buffer, kwds)
File "C:\Anaconda\lib\site-packages\pandas\io\parsers.py", line 260, in _read
return parser.read()
File "C:\Anaconda\lib\site-packages\pandas\io\parsers.py", line 721, in read
ret = self._engine.read(nrows)
File "C:\Anaconda\lib\site-packages\pandas\io\parsers.py", line 1223, in read
index, names = self._make_index(data, alldata, names)
File "C:\Anaconda\lib\site-packages\pandas\io\parsers.py", line 898, in _make_index
index = self._agg_index(index, try_parse_dates=False)
File "C:\Anaconda\lib\site-packages\pandas\io\parsers.py", line 984, in _agg_index
index = MultiIndex.from_arrays(arrays, names=self.index_names)
File "C:\Anaconda\lib\site-packages\pandas\core\index.py", line 4410, in from_arrays
cats = [Categorical.from_array(arr, ordered=True) for arr in arrays]
File "C:\Anaconda\lib\site-packages\pandas\core\categorical.py", line 355, in from_array
return Categorical(data, **kwargs)
File "C:\Anaconda\lib\site-packages\pandas\core\categorical.py", line 271, in __init__
codes, categories = factorize(values, sort=False)
File "C:\Anaconda\lib\site-packages\pandas\core\algorithms.py", line 131, in factorize
(hash_klass, vec_klass), vals = _get_data_algo(vals, _hashtables)
File "C:\Anaconda\lib\site-packages\pandas\core\algorithms.py", line 412, in _get_data_algo
mask = com.isnull(values)
File "C:\Anaconda\lib\site-packages\pandas\core\common.py", line 230, in isnull
return _isnull(obj)
File "C:\Anaconda\lib\site-packages\pandas\core\common.py", line 240, in _isnull_new
return _isnull_ndarraylike(obj)
File "C:\Anaconda\lib\site-packages\pandas\core\common.py", line 330, in _isnull_ndarraylike
result = np.isnan(values)
TypeError: ufunc 'isnan' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
```
I am using Python 2.7, Pandas 0.16.1 and numpy 1.9.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/10245/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10245/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10246 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10246/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10246/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10246/events | https://github.com/pandas-dev/pandas/pull/10246 | 83,658,128 | MDExOlB1bGxSZXF1ZXN0MzY2NjI1NjI= | 10,246 | ENH: GH9746 DataFrame.unstack and Series.unstack now take fill_value … | {
"avatar_url": "https://avatars.githubusercontent.com/u/1170234?v=4",
"events_url": "https://api.github.com/users/amcpherson/events{/privacy}",
"followers_url": "https://api.github.com/users/amcpherson/followers",
"following_url": "https://api.github.com/users/amcpherson/following{/other_user}",
"gists_url": "https://api.github.com/users/amcpherson/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/amcpherson",
"id": 1170234,
"login": "amcpherson",
"node_id": "MDQ6VXNlcjExNzAyMzQ=",
"organizations_url": "https://api.github.com/users/amcpherson/orgs",
"received_events_url": "https://api.github.com/users/amcpherson/received_events",
"repos_url": "https://api.github.com/users/amcpherson/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/amcpherson/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/amcpherson/subscriptions",
"type": "User",
"url": "https://api.github.com/users/amcpherson"
} | [
{
"color": "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": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
]
| closed | false | null | []
| {
"closed_at": "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"
} | 12 | 2015-06-01T19:36:24Z | 2016-01-30T19:29:48Z | 2016-01-30T19:27:56Z | CONTRIBUTOR | null | …kw for filling NaN when unstack results in a sparse DataFrame
closes #9746
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10246/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10246/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10246.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10246",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/10246.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10246"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10247 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10247/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10247/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10247/events | https://github.com/pandas-dev/pandas/pull/10247 | 83,863,735 | MDExOlB1bGxSZXF1ZXN0MzY2OTc0NjY= | 10,247 | BUG: GH10209 fix bug where date_format in to_csv is sometimes ignored | {
"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": "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": "2015-06-13T17:49:05Z",
"closed_issues": 119,
"created_at": "2015-06-02T19:23:30Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "",
"due_on": "2015-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/35",
"id": 1145853,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35/labels",
"node_id": "MDk6TWlsZXN0b25lMTE0NTg1Mw==",
"number": 35,
"open_issues": 0,
"state": "closed",
"title": "0.16.2",
"updated_at": "2016-07-22T08:55:52Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35"
} | 4 | 2015-06-02T06:13:50Z | 2015-06-05T21:45:43Z | 2015-06-05T21:45:43Z | CONTRIBUTOR | null | closes #10209
When datetimes are not dates only i.e. have fractional day values, date_format passed to to_csv is ignored.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10247/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10247/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10247.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10247",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/10247.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10247"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10248 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10248/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10248/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10248/events | https://github.com/pandas-dev/pandas/pull/10248 | 83,947,782 | MDExOlB1bGxSZXF1ZXN0MzY3MTEzMjY= | 10,248 | Added link to aggregation and plotting time series | {
"avatar_url": "https://avatars.githubusercontent.com/u/60985?v=4",
"events_url": "https://api.github.com/users/nipunbatra/events{/privacy}",
"followers_url": "https://api.github.com/users/nipunbatra/followers",
"following_url": "https://api.github.com/users/nipunbatra/following{/other_user}",
"gists_url": "https://api.github.com/users/nipunbatra/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/nipunbatra",
"id": 60985,
"login": "nipunbatra",
"node_id": "MDQ6VXNlcjYwOTg1",
"organizations_url": "https://api.github.com/users/nipunbatra/orgs",
"received_events_url": "https://api.github.com/users/nipunbatra/received_events",
"repos_url": "https://api.github.com/users/nipunbatra/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/nipunbatra/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nipunbatra/subscriptions",
"type": "User",
"url": "https://api.github.com/users/nipunbatra"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 1 | 2015-06-02T09:52:26Z | 2015-07-28T21:59:23Z | 2015-07-28T21:59:19Z | 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/10248/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10248/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10248.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10248",
"merged_at": "2015-07-28T21:59:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10248.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10248"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/10249 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10249/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10249/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10249/events | https://github.com/pandas-dev/pandas/pull/10249 | 83,990,269 | MDExOlB1bGxSZXF1ZXN0MzY3MjA2ODM= | 10,249 | Datetime resolution coercion | {
"avatar_url": "https://avatars.githubusercontent.com/u/7766733?v=4",
"events_url": "https://api.github.com/users/cmeeren/events{/privacy}",
"followers_url": "https://api.github.com/users/cmeeren/followers",
"following_url": "https://api.github.com/users/cmeeren/following{/other_user}",
"gists_url": "https://api.github.com/users/cmeeren/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cmeeren",
"id": 7766733,
"login": "cmeeren",
"node_id": "MDQ6VXNlcjc3NjY3MzM=",
"organizations_url": "https://api.github.com/users/cmeeren/orgs",
"received_events_url": "https://api.github.com/users/cmeeren/received_events",
"repos_url": "https://api.github.com/users/cmeeren/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cmeeren/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cmeeren/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cmeeren"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "5319e7",
"default": false,
"description": "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": "2015-06-13T17:49:05Z",
"closed_issues": 119,
"created_at": "2015-06-02T19:23:30Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "",
"due_on": "2015-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/35",
"id": 1145853,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35/labels",
"node_id": "MDk6TWlsZXN0b25lMTE0NTg1Mw==",
"number": 35,
"open_issues": 0,
"state": "closed",
"title": "0.16.2",
"updated_at": "2016-07-22T08:55:52Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35"
} | 15 | 2015-06-02T12:00:16Z | 2015-06-08T13:50:57Z | 2015-06-08T13:28:39Z | CONTRIBUTOR | null | Fixes #10245
Without this fix, if the `date_parse` function passed to e.g. `read_csv` outputs a `np.datetime64` array, then it must be of `ns` resolution. With this fix, all time resolutions may be used.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10249/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10249/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10249.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10249",
"merged_at": "2015-06-08T13:28:39Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10249.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10249"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10250 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10250/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10250/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10250/events | https://github.com/pandas-dev/pandas/pull/10250 | 84,005,251 | MDExOlB1bGxSZXF1ZXN0MzY3MjM3NTk= | 10,250 | ENH: Conditional HTML Formatting | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "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": "006b75",
"default": false,
"description": "read_html, to_html, Styler.apply, Styler.applymap",
"id": 57395487,
"name": "IO HTML",
"node_id": "MDU6TGFiZWw1NzM5NTQ4Nw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HTML"
}
]
| closed | false | null | []
| {
"closed_at": "2015-11-21T13:47:07Z",
"closed_issues": 216,
"created_at": "2015-09-10T14:30:44Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.17.0 of course!",
"due_on": "2015-11-21T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/37",
"id": 1299459,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/37/labels",
"node_id": "MDk6TWlsZXN0b25lMTI5OTQ1OQ==",
"number": 37,
"open_issues": 0,
"state": "closed",
"title": "0.17.1",
"updated_at": "2016-07-21T16:02:53Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/37"
} | 89 | 2015-06-02T12:41:28Z | 2020-06-24T18:30:57Z | 2015-11-16T00:02:02Z | CONTRIBUTOR | null | closes https://github.com/pydata/pandas/issues/3190
closes #4315
Not close to being done, but I wanted to put this here before the meeting. Maybe someone will have a chance to check it out.
~~http://nbviewer.ipython.org/github/TomAugspurger/pandas/blob/638bd3e361633a4c446ee02534e07b8a9332258a/style.ipynb~~
~~https://github.com/TomAugspurger/pandas/blob/stylely/style.ipynb~~
[latest example notebook](http://nbviewer.ipython.org/gist/TomAugspurger/82a53e11993469cb29a1)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10250/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10250/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10250.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10250",
"merged_at": "2015-11-16T00:02:02Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10250.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10250"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10251 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10251/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10251/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10251/events | https://github.com/pandas-dev/pandas/pull/10251 | 84,119,177 | MDExOlB1bGxSZXF1ZXN0MzY3NTM4NjA= | 10,251 | ENH: make sure return dtypes for nan funcs are consistent | {
"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": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "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": "2015-06-13T17:49:05Z",
"closed_issues": 119,
"created_at": "2015-06-02T19:23:30Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "",
"due_on": "2015-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/35",
"id": 1145853,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35/labels",
"node_id": "MDk6TWlsZXN0b25lMTE0NTg1Mw==",
"number": 35,
"open_issues": 0,
"state": "closed",
"title": "0.16.2",
"updated_at": "2016-07-22T08:55:52Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35"
} | 2 | 2015-06-02T17:32:47Z | 2015-06-05T21:29:03Z | 2015-06-05T21:28:59Z | CONTRIBUTOR | null | this is a follow-up to https://github.com/pydata/pandas/pull/10172
In addition to `mean()`, this PR also makes sure the returned dtype is consistent for `std()`, `var()`, `skew()`, and `kurt()`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10251/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10251/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10251.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10251",
"merged_at": "2015-06-05T21:28:59Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10251.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10251"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10252 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10252/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10252/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10252/events | https://github.com/pandas-dev/pandas/pull/10252 | 84,242,075 | MDExOlB1bGxSZXF1ZXN0MzY3ODE3NzM= | 10,252 | REGR: ensure passed binlabels to pd.cut have a compat dtype on output (#10140) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
},
{
"color": "207de5",
"default": false,
"description": "Requires discussion from core team before further action",
"id": 219960758,
"name": "Needs Discussion",
"node_id": "MDU6TGFiZWwyMTk5NjA3NTg=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 14 | 2015-06-02T22:33:49Z | 2015-06-20T12:47:00Z | 2015-06-20T12:47:00Z | CONTRIBUTOR | null | From the original issue, closes #10140
```
In [1]: df = pd.DataFrame()
In [2]: df['x'] = 100 * np.random.random(100)
In [3]: df['y'] = df.x**2
In [4]: binedges = np.arange(0,110,10)
In [5]: binlabels = np.arange(5,105,10)
```
This now yields an `Int64Index`
```
In [6]: df.groupby(pd.cut(df.x,bins=binedges ,labels=binlabels )).y.mean()
Out[6]:
5 43.485680
15 227.648305
25 680.165208
35 1244.704812
45 1977.675209
55 3159.067969
65 4435.735803
75 5649.164598
85 7027.956570
95 8997.975423
Name: y, dtype: float64
In [7]: df.groupby(pd.cut(df.x,bins=binedges ,labels=binlabels )).y.mean().index
Out[7]: Int64Index([5, 15, 25, 35, 45, 55, 65, 75, 85, 95], dtype='int64')
```
If you pass an index in, then you will get that out, specifically a `Categorical` will preserve the categories (note the 2nd example has reversed labels - why anyone would do this, don't know.......)
```
In [8]: df.groupby(pd.cut(df.x,bins=binedges ,labels=pd.Categorical(binlabels) )).y.mean().index
Out[8]: CategoricalIndex([5, 15, 25, 35, 45, 55, 65, 75, 85, 95], categories=[5, 15, 25, 35, 45, 55, 65, 75, ...], ordered=True, name=u'x', dtype='category')
In [9]: df.groupby(pd.cut(df.x,bins=binedges ,labels=pd.Categorical(binlabels,categories=binlabels[::-1]) )).y.mean().index
Out[9]: CategoricalIndex([95, 85, 75, 65, 55, 45, 35, 25, 15, 5], categories=[95, 85, 75, 65, 55, 45, 35, 25, ...], ordered=True, name=u'x', dtype='category')
In [10]: df.groupby(pd.cut(df.x,bins=binedges ,labels=pd.Categorical(binlabels,categories=binlabels[::-1]) )).y.mean()
Out[10]:
x
95 43.485680
85 227.648305
75 680.165208
65 1244.704812
55 1977.675209
45 3159.067969
35 4435.735803
25 5649.164598
15 7027.956570
5 8997.975423
Name: y, 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/10252/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10252/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10252.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10252",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/10252.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10252"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10253 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10253/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10253/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10253/events | https://github.com/pandas-dev/pandas/pull/10253 | 84,315,734 | MDExOlB1bGxSZXF1ZXN0MzY3OTMzMjY= | 10,253 | ENH: Add pipe method | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
]
| closed | false | null | []
| {
"closed_at": "2015-06-13T17:49:05Z",
"closed_issues": 119,
"created_at": "2015-06-02T19:23:30Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "",
"due_on": "2015-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/35",
"id": 1145853,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35/labels",
"node_id": "MDk6TWlsZXN0b25lMTE0NTg1Mw==",
"number": 35,
"open_issues": 0,
"state": "closed",
"title": "0.16.2",
"updated_at": "2016-07-22T08:55:52Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35"
} | 18 | 2015-06-03T02:26:03Z | 2015-08-19T17:19:06Z | 2015-06-06T03:14:27Z | CONTRIBUTOR | null | Closes https://github.com/pydata/pandas/issues/10129
In the dev meeting, we settled on the following:
- `.pipe` will **not** include a check for `__pipe_func__` on the function passed in.
- To avoid messiness with lambdas when a function takes the DataFrame other than in the first position, users can pass in a `(callable, data_keyword)` argument to `.pipe` (thanks @mwaskom)
``` python
import statsmodels.formula.api as sm
bb = pd.read_csv('data/baseball.csv', index_col='id')
(bb.query('h > 0')
.assign(ln_h = lambda df: np.log(df.h))
# sm.possion expects `formula, data`
.pipe((sm.poisson, 'data'), 'hr ~ ln_h + year + g + C(lg)')
.fit()
.summary()
)
## -- End pasted text --
Optimization terminated successfully.
Current function value: 2.116284
Iterations 24
Out[1]:
<class 'statsmodels.iolib.summary.Summary'>
"""
Poisson Regression Results
==============================================================================
Dep. Variable: hr No. Observations: 68
Model: Poisson Df Residuals: 63
Method: MLE Df Model: 4
Date: Tue, 02 Jun 2015 Pseudo R-squ.: 0.6878
Time: 20:57:27 Log-Likelihood: -143.91
converged: True LL-Null: -460.91
LLR p-value: 6.774e-136
===============================================================================
coef std err z P>|z| [95.0% Conf. Int.]
-------------------------------------------------------------------------------
Intercept -1267.3636 457.867 -2.768 0.006 -2164.767 -369.960
C(lg)[T.NL] -0.2057 0.101 -2.044 0.041 -0.403 -0.008
ln_h 0.9280 0.191 4.866 0.000 0.554 1.302
year 0.6301 0.228 2.762 0.006 0.183 1.077
g 0.0099 0.004 2.754 0.006 0.003 0.017
===============================================================================
"""
```
Thanks everyone for the input in the issue.
---
This is mostly ready. What's a good name for the argument to `pipe`? I have `func` right now, @shoyer you had `target` in the issue thread. I've been using `target` as the keyword expecting the data, i.e. where the DataFrame should be pipe to.
The tests are extremely minimal... but so is the implementation. Am I missing any obvious edge-cases?
We'll see how this goes. I don't think I push `.pipe` as a protocol at all in the documentation, though we can change that in the future. We should be forwards-compatible if we do ever go down the `__pipe_func__` route.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10253/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10253/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10253.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10253",
"merged_at": "2015-06-06T03:14:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10253.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10253"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10254 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10254/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10254/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10254/events | https://github.com/pandas-dev/pandas/issues/10254 | 84,424,689 | MDU6SXNzdWU4NDQyNDY4OQ== | 10,254 | API/BUG: inconsistent plotting of new CategoricalIndex | {
"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"
},
{
"color": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
]
| open | false | null | []
| {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 26 | 2015-06-03T08:06:49Z | 2021-04-18T06:56:40Z | null | MEMBER | null | To record the issue we discussed yesterday, to be solved for 0.16.2
Plotting of categorical:
- y-axis: the 'values' itself are used
- x-axis: they are not regarded as values, but as all unique items that just gets represented by a `range(len(cat))` x data
Overview: http://nbviewer.ipython.org/gist/jorisvandenbossche/992d9d34dbfcfd8bc326
Disclaimer: didn't yet look into the code to see why this is like this.
Way forward:
- for now: handle CategoricalIndex the same as column with Categorical values (so use the values itself)
- this will also mean that a CategoricalIndex with string categories will raise now (in 0.16.1 it did not but plotted all values just in order, also discarding the fact the values with the same category should be regarded as equal)
- later, we can try to implement more fancy / intelligent categorical plotting (there are already #9069 and #8712 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/10254/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10254/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10255 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10255/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10255/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10255/events | https://github.com/pandas-dev/pandas/issues/10255 | 84,427,618 | MDU6SXNzdWU4NDQyNzYxOA== | 10,255 | to_sql : MySQL identifier cannot be entirely numeric | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "5319e7",
"default": false,
"description": "to_sql, read_sql, read_sql_query",
"id": 47232590,
"name": "IO SQL",
"node_id": "MDU6TGFiZWw0NzIzMjU5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL"
}
]
| closed | false | null | []
| {
"closed_at": "2015-06-13T17:49:05Z",
"closed_issues": 119,
"created_at": "2015-06-02T19:23:30Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "",
"due_on": "2015-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/35",
"id": 1145853,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35/labels",
"node_id": "MDk6TWlsZXN0b25lMTE0NTg1Mw==",
"number": 35,
"open_issues": 0,
"state": "closed",
"title": "0.16.2",
"updated_at": "2016-07-22T08:55:52Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35"
} | 1 | 2015-06-03T08:14:50Z | 2015-06-05T09:11:25Z | 2015-06-05T09:11:25Z | MEMBER | null | Reported at StackOverflow: http://stackoverflow.com/questions/30586292/valueerror-mysql-identifier-cannot-be-entirely-numeric-with-pandas-to-sql
MySQL supports numeric identifiers (if quoted) (http://dev.mysql.com/doc/refman/5.0/en/identifiers.html)
@artemyk Was there a reason we explicitely disallowed this? (https://github.com/pydata/pandas/blob/v0.16.1/pandas/io/sql.py#L1287)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10255/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10255/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10256 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10256/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10256/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10256/events | https://github.com/pandas-dev/pandas/issues/10256 | 84,495,367 | MDU6SXNzdWU4NDQ5NTM2Nw== | 10,256 | Error in indexing Series and DataFrames with a list: valid index cannot be found | {
"avatar_url": "https://avatars.githubusercontent.com/u/12729550?v=4",
"events_url": "https://api.github.com/users/cousin333/events{/privacy}",
"followers_url": "https://api.github.com/users/cousin333/followers",
"following_url": "https://api.github.com/users/cousin333/following{/other_user}",
"gists_url": "https://api.github.com/users/cousin333/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cousin333",
"id": 12729550,
"login": "cousin333",
"node_id": "MDQ6VXNlcjEyNzI5NTUw",
"organizations_url": "https://api.github.com/users/cousin333/orgs",
"received_events_url": "https://api.github.com/users/cousin333/received_events",
"repos_url": "https://api.github.com/users/cousin333/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cousin333/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cousin333/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cousin333"
} | [
{
"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": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
}
]
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 3 | 2015-06-03T11:00:38Z | 2015-06-03T16:39:31Z | 2015-06-03T11:33:18Z | NONE | null | (Hopefully I did not find this issue in the list, because there was none...) I have experienced the following issue for a while (wonder if it ever worked actually):
I create a Series or a DataFrame with well-defined, floating-point indices. Then I try to slice some rows using a list. For some valid index values I get NaN instead of the value itself. An example:
``` python
>>> import numpy as np
>>> import pandas as pd
>>> i = np.linspace(0, 10, 101) # create a floating-point (i)ndex-range
>>> d = np.random.random(101) # add some random numbers as (d)ata
>>> s = pd.Series(d, index=i) # create a Series from the generated data
>>> type(s)
<class 'pandas.core.series.Series'>
>>> s.head()
0.0 0.969683
0.1 0.463655
0.2 0.879788
0.3 0.122202
0.4 0.466166
dtype: float64
>>> xs = [0.8, 1.1, 1.9, 2.2, 3.3] # we make a list with a few indexes of interest
>>> s[xs] # try to list Series-values for those indices, but for some we see only NaN!
0.8 0.996011
1.1 0.699921
1.9 NaN
2.2 0.919059
3.3 NaN
dtype: float64
R:\WinPython\python-3.4.3.amd64\lib\site-packages\pandas\core\format.py:2012: RuntimeWarning: invalid value encountered in greater
has_large_values = (abs_vals > 1e8).any()
R:\WinPython\python-3.4.3.amd64\lib\site-packages\pandas\core\format.py:2013: RuntimeWarning: invalid value encountered in less
has_small_values = ((abs_vals < 10 ** (-self.digits+1)) &
R:\WinPython\python-3.4.3.amd64\lib\site-packages\pandas\core\format.py:2014: RuntimeWarning: invalid value encountered in greater
(abs_vals > 0)).any()
>>> s[1:2] # we can see, that the values are really there, also at index 1.9
1.0 0.905714
1.1 0.699921
1.2 0.105968
1.3 0.809368
1.4 0.227002
1.5 0.825698
1.6 0.911150
1.7 0.027182
1.8 0.046001
1.9 0.456927
2.0 0.592820
dtype: float64
>>>
```
The warnings are actually came from the console, the IPython Notebook that I normally use does not even issue them. Same result using e.g. _s.loc[xs]_. The problem also exists for DataFrames, which can be reproduced in the same manner.
I'm using the latest 64-bit WinPython with Python 3.4.3 and Pandas 0.16.1:
``` python
>>> pd.show_versions()
INSTALLED VERSIONS
------------------
commit: None
python: 3.4.3.final.0
python-bits: 64
OS: Windows
OS-release: 7
machine: AMD64
processor: Intel64 Family 6 Model 42 Stepping 7, GenuineIntel
byteorder: little
LC_ALL: None
LANG: hu_HU
pandas: 0.16.1
nose: 1.3.6
Cython: 0.22
numpy: 1.9.2
scipy: 0.15.1
statsmodels: 0.6.1
IPython: 3.1.0
sphinx: 1.3.1
patsy: 0.3.0
dateutil: 2.4.2
pytz: 2015.2
bottleneck: None
tables: 3.2.0
numexpr: 2.4.3
matplotlib: 1.4.3
openpyxl: None
xlrd: 0.9.3
xlwt: None
xlsxwriter: 0.7.2
lxml: None
bs4: 4.3.2
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: 1.0.4
pymysql: None
psycopg2: None
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10256/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10256/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10257 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10257/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10257/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10257/events | https://github.com/pandas-dev/pandas/pull/10257 | 84,520,381 | MDExOlB1bGxSZXF1ZXN0MzY4MjQ2MjQ= | 10,257 | add numba example to enhancingperf.rst | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"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": "2015-06-13T17:49:05Z",
"closed_issues": 119,
"created_at": "2015-06-02T19:23:30Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "",
"due_on": "2015-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/35",
"id": 1145853,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35/labels",
"node_id": "MDk6TWlsZXN0b25lMTE0NTg1Mw==",
"number": 35,
"open_issues": 0,
"state": "closed",
"title": "0.16.2",
"updated_at": "2016-07-22T08:55:52Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35"
} | 9 | 2015-06-03T11:57:09Z | 2015-06-03T19:10:23Z | 2015-06-03T19:10:10Z | 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/10257/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10257/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10257.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10257",
"merged_at": "2015-06-03T19:10:10Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10257.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10257"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10258 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10258/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10258/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10258/events | https://github.com/pandas-dev/pandas/pull/10258 | 84,524,831 | MDExOlB1bGxSZXF1ZXN0MzY4MjUzNTg= | 10,258 | BUG: SparseSeries constructor ignores input data name | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4",
"events_url": "https://api.github.com/users/sinhrks/events{/privacy}",
"followers_url": "https://api.github.com/users/sinhrks/followers",
"following_url": "https://api.github.com/users/sinhrks/following{/other_user}",
"gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sinhrks",
"id": 1696302,
"login": "sinhrks",
"node_id": "MDQ6VXNlcjE2OTYzMDI=",
"organizations_url": "https://api.github.com/users/sinhrks/orgs",
"received_events_url": "https://api.github.com/users/sinhrks/received_events",
"repos_url": "https://api.github.com/users/sinhrks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sinhrks"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "009800",
"default": false,
"description": "Sparse Data Type",
"id": 49182326,
"name": "Sparse",
"node_id": "MDU6TGFiZWw0OTE4MjMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Sparse"
}
]
| closed | false | null | []
| {
"closed_at": "2015-06-13T17:49:05Z",
"closed_issues": 119,
"created_at": "2015-06-02T19:23:30Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "",
"due_on": "2015-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/35",
"id": 1145853,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35/labels",
"node_id": "MDk6TWlsZXN0b25lMTE0NTg1Mw==",
"number": 35,
"open_issues": 0,
"state": "closed",
"title": "0.16.2",
"updated_at": "2016-07-22T08:55:52Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35"
} | 2 | 2015-06-03T12:07:26Z | 2015-06-04T13:16:14Z | 2015-06-03T21:21:22Z | MEMBER | null | When constructing `Series` from `Series`, name attribute is preserved otherwise specified.
```
import pandas as pd
s = pd.Series([1, 2, 3], name='a')
pd.Series(s)
#0 1
#1 2
#2 3
# Name: a, dtype: int64
pd.Series(s, name='x')
#0 1
#1 2
#2 3
# Name: x, dtype: int64
```
But `SparseSeries` doesn't preserve its name.
```
s = pd.SparseSeries([1, 2, 3], name='a')
pd.SparseSeries(s)
#0 1
#1 2
#2 3
# dtype: int64
# BlockIndex
# Block locations: array([0], dtype=int32)
# Block lengths: array([3], dtype=int32)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10258/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10258/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10258.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10258",
"merged_at": "2015-06-03T21:21:22Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10258.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10258"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10259 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10259/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10259/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10259/events | https://github.com/pandas-dev/pandas/issues/10259 | 84,569,878 | MDU6SXNzdWU4NDU2OTg3OA== | 10,259 | API: Support Matrix Multiplication Ops (@) | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4",
"events_url": "https://api.github.com/users/sinhrks/events{/privacy}",
"followers_url": "https://api.github.com/users/sinhrks/followers",
"following_url": "https://api.github.com/users/sinhrks/following{/other_user}",
"gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sinhrks",
"id": 1696302,
"login": "sinhrks",
"node_id": "MDQ6VXNlcjE2OTYzMDI=",
"organizations_url": "https://api.github.com/users/sinhrks/orgs",
"received_events_url": "https://api.github.com/users/sinhrks/received_events",
"repos_url": "https://api.github.com/users/sinhrks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sinhrks"
} | [
{
"color": "006b75",
"default": false,
"description": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
]
| closed | false | null | []
| {
"closed_at": "2018-05-16T03:09:58Z",
"closed_issues": 1645,
"created_at": "2017-10-20T10:17:09Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.22",
"due_on": "2018-05-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/53",
"id": 2853937,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/53/labels",
"node_id": "MDk6TWlsZXN0b25lMjg1MzkzNw==",
"number": 53,
"open_issues": 0,
"state": "closed",
"title": "0.23.0",
"updated_at": "2018-08-20T06:48:57Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/53"
} | 7 | 2015-06-03T13:39:51Z | 2018-03-30T21:56:37Z | 2018-03-30T21:56:37Z | MEMBER | null | Python 3.5 is being released on Sep.13. Maybe we can wait for v0.17?
- http://legacy.python.org/dev/peps/pep-0465/
- numpy fix: https://github.com/numpy/numpy/pull/5878/
| {
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10259/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10259/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10260 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10260/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10260/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10260/events | https://github.com/pandas-dev/pandas/issues/10260 | 84,606,346 | MDU6SXNzdWU4NDYwNjM0Ng== | 10,260 | Convert 1 dimensional iterables returned to .apply() columns to pd.Series | {
"avatar_url": "https://avatars.githubusercontent.com/u/167164?v=4",
"events_url": "https://api.github.com/users/naught101/events{/privacy}",
"followers_url": "https://api.github.com/users/naught101/followers",
"following_url": "https://api.github.com/users/naught101/following{/other_user}",
"gists_url": "https://api.github.com/users/naught101/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/naught101",
"id": 167164,
"login": "naught101",
"node_id": "MDQ6VXNlcjE2NzE2NA==",
"organizations_url": "https://api.github.com/users/naught101/orgs",
"received_events_url": "https://api.github.com/users/naught101/received_events",
"repos_url": "https://api.github.com/users/naught101/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/naught101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/naught101/subscriptions",
"type": "User",
"url": "https://api.github.com/users/naught101"
} | [
{
"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 | 6 | 2015-06-03T14:54:47Z | 2015-06-04T12:39:01Z | 2015-06-03T17:00:34Z | NONE | null | As per http://stackoverflow.com/questions/30621887/return-a-column-vector-in-pandas-apply-with-different-length/30622209#30622209
It would be nice if an apply function automatically converted lists to pd.Series when they are returned to .apply(), in other words,
``` python
import numpy as np
import pandas as pd
df = pd.DataFrame({'a':[0,10], 'b':[0,30]})
df.apply(lambda x: pd.Series(np.percentile(x, q=[10,20,30,40,50,75,100])), axis=0)
```
could become
``` python
df.apply(np.percentile, axis=0, q=[10,20,30,40,50,75,100])
```
(np.percentile currently returns a list, unless `axis=` is supplied, and then it returns a list of arrays o_O )
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10260/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10260/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10261 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10261/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10261/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10261/events | https://github.com/pandas-dev/pandas/issues/10261 | 84,673,227 | MDU6SXNzdWU4NDY3MzIyNw== | 10,261 | read_fwf() doesn't work properly when both skiprows and iterator options are used. | {
"avatar_url": "https://avatars.githubusercontent.com/u/9289235?v=4",
"events_url": "https://api.github.com/users/arenius/events{/privacy}",
"followers_url": "https://api.github.com/users/arenius/followers",
"following_url": "https://api.github.com/users/arenius/following{/other_user}",
"gists_url": "https://api.github.com/users/arenius/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/arenius",
"id": 9289235,
"login": "arenius",
"node_id": "MDQ6VXNlcjkyODkyMzU=",
"organizations_url": "https://api.github.com/users/arenius/orgs",
"received_events_url": "https://api.github.com/users/arenius/received_events",
"repos_url": "https://api.github.com/users/arenius/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/arenius/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arenius/subscriptions",
"type": "User",
"url": "https://api.github.com/users/arenius"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
},
{
"color": "5319e7",
"default": false,
"description": "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 | []
| null | 4 | 2015-06-03T17:21:38Z | 2021-04-18T06:57:04Z | null | NONE | null | When read_fwf is used with iterator = True and skiprows = [list] arguments it doesn't properly skip all the rows in the skiprows list. Things work properly when either of those arguments is used in isolation.
Here is a simple bit of code to reproduce:
``` python
import pandas as pd
#Create a fixed width file to test with.
df = pd.DataFrame({'a': range(10)})
with open('testfwf.txt', 'w') as f:
f.write(df.to_string(index = False, header = False))
rows_to_skip = [0,1,2,6,9]
df_iter = pd.read_fwf('testfwf.txt', colspecs = [(0,2)], names = ['a'], iterator = True,
chunksize = 2, skiprows = rows_to_skip)
print('The fixed width file in chunks with rows [0,1,2,6,9] skipped: ')
for df in df_iter:
print(df)
print('Notice how row 6 of the fixed width file has not been skipped even though it should')
print('have been.')
```
It seems that all rows are skipped until there are rows that aren't skipped. For example, the leading rows 0,1,2 are skipped. But since there are then rows that aren't skipped the skipping stops for all rows until then end, when row 9 IS skipped.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10261/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10261/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10262 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10262/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10262/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10262/events | https://github.com/pandas-dev/pandas/pull/10262 | 84,738,293 | MDExOlB1bGxSZXF1ZXN0MzY4Njk1ODQ= | 10,262 | TST: test_sql: properly drop tables with names that need to be quoted | {
"avatar_url": "https://avatars.githubusercontent.com/u/833768?v=4",
"events_url": "https://api.github.com/users/artemyk/events{/privacy}",
"followers_url": "https://api.github.com/users/artemyk/followers",
"following_url": "https://api.github.com/users/artemyk/following{/other_user}",
"gists_url": "https://api.github.com/users/artemyk/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/artemyk",
"id": 833768,
"login": "artemyk",
"node_id": "MDQ6VXNlcjgzMzc2OA==",
"organizations_url": "https://api.github.com/users/artemyk/orgs",
"received_events_url": "https://api.github.com/users/artemyk/received_events",
"repos_url": "https://api.github.com/users/artemyk/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/artemyk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/artemyk/subscriptions",
"type": "User",
"url": "https://api.github.com/users/artemyk"
} | [
{
"color": "5319e7",
"default": false,
"description": "to_sql, read_sql, read_sql_query",
"id": 47232590,
"name": "IO SQL",
"node_id": "MDU6TGFiZWw0NzIzMjU5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 5 | 2015-06-03T19:38:14Z | 2015-07-10T23:17:58Z | 2015-07-10T23:17:52Z | CONTRIBUTOR | null | Closes #10255 .
Rewrote some of the code in `test_sql.py` so that it now properly drops tables with names that need to be quoted.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10262/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10262/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10262.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10262",
"merged_at": "2015-07-10T23:17:52Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10262.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10262"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10263 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10263/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10263/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10263/events | https://github.com/pandas-dev/pandas/pull/10263 | 84,768,554 | MDExOlB1bGxSZXF1ZXN0MzY4NzcxMTI= | 10,263 | BUG: Should allow numeric mysql table/column names | {
"avatar_url": "https://avatars.githubusercontent.com/u/833768?v=4",
"events_url": "https://api.github.com/users/artemyk/events{/privacy}",
"followers_url": "https://api.github.com/users/artemyk/followers",
"following_url": "https://api.github.com/users/artemyk/following{/other_user}",
"gists_url": "https://api.github.com/users/artemyk/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/artemyk",
"id": 833768,
"login": "artemyk",
"node_id": "MDQ6VXNlcjgzMzc2OA==",
"organizations_url": "https://api.github.com/users/artemyk/orgs",
"received_events_url": "https://api.github.com/users/artemyk/received_events",
"repos_url": "https://api.github.com/users/artemyk/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/artemyk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/artemyk/subscriptions",
"type": "User",
"url": "https://api.github.com/users/artemyk"
} | [
{
"color": "5319e7",
"default": false,
"description": "to_sql, read_sql, read_sql_query",
"id": 47232590,
"name": "IO SQL",
"node_id": "MDU6TGFiZWw0NzIzMjU5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL"
}
]
| closed | false | null | []
| {
"closed_at": "2015-06-13T17:49:05Z",
"closed_issues": 119,
"created_at": "2015-06-02T19:23:30Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "",
"due_on": "2015-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/35",
"id": 1145853,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35/labels",
"node_id": "MDk6TWlsZXN0b25lMTE0NTg1Mw==",
"number": 35,
"open_issues": 0,
"state": "closed",
"title": "0.16.2",
"updated_at": "2016-07-22T08:55:52Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35"
} | 4 | 2015-06-03T20:57:06Z | 2015-06-05T09:11:32Z | 2015-06-05T09:11:25Z | CONTRIBUTOR | null | Closes #10255 , alternative to #10262 .
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10263/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10263/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10263.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10263",
"merged_at": "2015-06-05T09:11:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10263.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10263"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10264 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10264/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10264/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10264/events | https://github.com/pandas-dev/pandas/issues/10264 | 84,771,124 | MDU6SXNzdWU4NDc3MTEyNA== | 10,264 | view into modified dataframe of ints causes subsequent set_value to not work properly | {
"avatar_url": "https://avatars.githubusercontent.com/u/6933145?v=4",
"events_url": "https://api.github.com/users/jbezaire/events{/privacy}",
"followers_url": "https://api.github.com/users/jbezaire/followers",
"following_url": "https://api.github.com/users/jbezaire/following{/other_user}",
"gists_url": "https://api.github.com/users/jbezaire/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbezaire",
"id": 6933145,
"login": "jbezaire",
"node_id": "MDQ6VXNlcjY5MzMxNDU=",
"organizations_url": "https://api.github.com/users/jbezaire/orgs",
"received_events_url": "https://api.github.com/users/jbezaire/received_events",
"repos_url": "https://api.github.com/users/jbezaire/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbezaire/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbezaire/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbezaire"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
]
| closed | false | null | []
| {
"closed_at": "2015-06-13T17:49:05Z",
"closed_issues": 119,
"created_at": "2015-06-02T19:23:30Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "",
"due_on": "2015-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/35",
"id": 1145853,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35/labels",
"node_id": "MDk6TWlsZXN0b25lMTE0NTg1Mw==",
"number": 35,
"open_issues": 0,
"state": "closed",
"title": "0.16.2",
"updated_at": "2016-07-22T08:55:52Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35"
} | 15 | 2015-06-03T21:05:16Z | 2015-06-05T21:41:05Z | 2015-06-05T21:41:05Z | NONE | null | The following code snippet produces unexpected output:
``` python
import pandas as pd
import numpy as np
x = pd.DataFrame(data=np.zeros((5,5),dtype=np.int),columns=['a','b','c','d','e'])
x['f'] = 0
x.f.values[3]=1
y = x.iloc[np.arange(2,len(x))]
x.f.values[3]=2
print x
print x.f.values
```
```
Out[130]:
a b c d e f
0 0 0 0 0 0 0
1 0 0 0 0 0 0
2 0 0 0 0 0 0
3 0 0 0 0 0 1
4 0 0 0 0 0 0
[0 0 0 2 0]
```
The expected output is:
```
Out[131]:
a b c d e f
0 0 0 0 0 0 0
1 0 0 0 0 0 0
2 0 0 0 0 0 0
3 0 0 0 0 0 2
4 0 0 0 0 0 0
[0 0 0 2 0]
```
The behavior only manifests if the dataframe has had a column added to it (f in this case), if the columns are ints, and if the view is constructed with certain kinds of indexing (y=x.iloc[2:] works fine for instance).
Here is my version info:
## INSTALLED VERSIONS
commit: None
python: 2.7.7.final.0
python-bits: 64
OS: Linux
OS-release: 3.10.0-229.4.2.el7.jump.x86_64
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
pandas: 0.15.2.dev
nose: 1.3.4
Cython: 0.20.2
numpy: 1.9.0
scipy: 0.14.1rc1.dev-Unknown
statsmodels: None
IPython: 3.1.0
sphinx: 1.3b1
patsy: 0.3.0
dateutil: 2.2
pytz: 2014.10
bottleneck: 0.8.0
tables: 3.1.1
numexpr: 2.3.1
matplotlib: 1.4.0
openpyxl: 2.1.4
xlrd: None
xlwt: None
xlsxwriter: None
lxml: 3.4.2
bs4: 4.3.2
html5lib: None
httplib2: None
apiclient: None
rpy2: 2.4.3
sqlalchemy: None
pymysql: 0.6.2.None
psycopg2: 2.5.4 (dt dec pq3 ext)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10264/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10264/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10265 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10265/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10265/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10265/events | https://github.com/pandas-dev/pandas/pull/10265 | 84,787,632 | MDExOlB1bGxSZXF1ZXN0MzY4ODIzNDY= | 10,265 | BUG: Ensure 'coerce' actually coerces datatypes | {
"avatar_url": "https://avatars.githubusercontent.com/u/5585221?v=4",
"events_url": "https://api.github.com/users/bashtage/events{/privacy}",
"followers_url": "https://api.github.com/users/bashtage/followers",
"following_url": "https://api.github.com/users/bashtage/following{/other_user}",
"gists_url": "https://api.github.com/users/bashtage/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bashtage",
"id": 5585221,
"login": "bashtage",
"node_id": "MDQ6VXNlcjU1ODUyMjE=",
"organizations_url": "https://api.github.com/users/bashtage/orgs",
"received_events_url": "https://api.github.com/users/bashtage/received_events",
"repos_url": "https://api.github.com/users/bashtage/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bashtage/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bashtage/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bashtage"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "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": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 40 | 2015-06-03T21:53:02Z | 2015-07-15T21:14:39Z | 2015-07-14T12:47:25Z | CONTRIBUTOR | null | Changes behavior of convert objects so that passing 'coerce' will
ensure that data of the correct type is returned, even if all
values are null-types (NaN or NaT).
closes #9589
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10265/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10265/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10265.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10265",
"merged_at": "2015-07-14T12:47:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10265.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10265"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10266 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10266/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10266/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10266/events | https://github.com/pandas-dev/pandas/pull/10266 | 84,872,285 | MDExOlB1bGxSZXF1ZXN0MzY4OTc1NDU= | 10,266 | ENH: Initial pass at implementing DataFrame.asof, GH 2941 | {
"avatar_url": "https://avatars.githubusercontent.com/u/4094953?v=4",
"events_url": "https://api.github.com/users/bwillers/events{/privacy}",
"followers_url": "https://api.github.com/users/bwillers/followers",
"following_url": "https://api.github.com/users/bwillers/following{/other_user}",
"gists_url": "https://api.github.com/users/bwillers/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bwillers",
"id": 4094953,
"login": "bwillers",
"node_id": "MDQ6VXNlcjQwOTQ5NTM=",
"organizations_url": "https://api.github.com/users/bwillers/orgs",
"received_events_url": "https://api.github.com/users/bwillers/received_events",
"repos_url": "https://api.github.com/users/bwillers/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bwillers/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bwillers/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bwillers"
} | [
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 11 | 2015-06-04T02:37:01Z | 2015-06-12T23:39:57Z | 2015-06-12T22:23:59Z | CONTRIBUTOR | null | Fixes #2941
This can almost certainly be made quicker, still digging into the
internals to understand the various underlying indexers.
There are 4 distinct logics you can apply to how to deal with the
missings (as opposed to the Series asof, wheres theres just two,
either skipna or dont skipna). The default is to be equivalent to
`df.apply(lambda s: s.asof(where))`.
Likely not ready to actually be merged, but at a stage where I could
use some feedback on both the logic and implementation.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10266/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10266/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10266.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10266",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/10266.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10266"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10267 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10267/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10267/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10267/events | https://github.com/pandas-dev/pandas/pull/10267 | 84,874,076 | MDExOlB1bGxSZXF1ZXN0MzY4OTc2NjM= | 10,267 | BUG: GH10160 DataFrame construction from nested dict | {
"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"
} | []
| closed | false | null | []
| null | 0 | 2015-06-04T02:40:26Z | 2015-06-04T02:52:25Z | 2015-06-04T02:52:25Z | CONTRIBUTOR | null | This is to fix #10160, where `DataFrame` construction from nested `dict` with `datetime64` index returns a `DataFrame` of `NaN`s or `None`s.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10267/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10267/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10267.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10267",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/10267.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10267"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10268 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10268/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10268/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10268/events | https://github.com/pandas-dev/pandas/pull/10268 | 84,889,773 | MDExOlB1bGxSZXF1ZXN0MzY4OTk2OTY= | 10,268 | ENH: allow as_blocks to take a copy argument (#9607) | {
"avatar_url": "https://avatars.githubusercontent.com/u/842982?v=4",
"events_url": "https://api.github.com/users/tzinckgraf/events{/privacy}",
"followers_url": "https://api.github.com/users/tzinckgraf/followers",
"following_url": "https://api.github.com/users/tzinckgraf/following{/other_user}",
"gists_url": "https://api.github.com/users/tzinckgraf/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tzinckgraf",
"id": 842982,
"login": "tzinckgraf",
"node_id": "MDQ6VXNlcjg0Mjk4Mg==",
"organizations_url": "https://api.github.com/users/tzinckgraf/orgs",
"received_events_url": "https://api.github.com/users/tzinckgraf/received_events",
"repos_url": "https://api.github.com/users/tzinckgraf/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tzinckgraf/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tzinckgraf/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tzinckgraf"
} | [
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 3 | 2015-06-04T03:36:08Z | 2015-06-26T23:29:38Z | 2015-06-26T23:27:14Z | CONTRIBUTOR | null | closes #9607
Added copy argument in as_blocks. Defaults to True as per the original code.
Wrote test cases to check the copy=True and copy=False cases 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/10268/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10268/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10268.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10268",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/10268.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10268"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10269 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10269/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10269/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10269/events | https://github.com/pandas-dev/pandas/pull/10269 | 84,899,304 | MDExOlB1bGxSZXF1ZXN0MzY5MDA3OTQ= | 10,269 | BUG: GH10160 in DataFrame construction from dict with datetime64 index | {
"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": "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": "2015-06-13T17:49:05Z",
"closed_issues": 119,
"created_at": "2015-06-02T19:23:30Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "",
"due_on": "2015-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/35",
"id": 1145853,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35/labels",
"node_id": "MDk6TWlsZXN0b25lMTE0NTg1Mw==",
"number": 35,
"open_issues": 0,
"state": "closed",
"title": "0.16.2",
"updated_at": "2016-07-22T08:55:52Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35"
} | 8 | 2015-06-04T04:06:49Z | 2015-06-10T20:01:05Z | 2015-06-10T20:01:04Z | CONTRIBUTOR | null | closes #10160
closes #9456
where `DataFrame/Series` construction from nested `dict` with `datetime64` index returns a `DataFrame\Series` of `NaN`s.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10269/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10269/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10269.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10269",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/10269.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10269"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10270 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10270/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10270/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10270/events | https://github.com/pandas-dev/pandas/pull/10270 | 85,040,584 | MDExOlB1bGxSZXF1ZXN0MzY5MjMzMDk= | 10,270 | TST: fix for bottleneck >= 1.0 nansum behavior, xref #9422 | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "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": "2015-06-13T17:49:05Z",
"closed_issues": 119,
"created_at": "2015-06-02T19:23:30Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "",
"due_on": "2015-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/35",
"id": 1145853,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35/labels",
"node_id": "MDk6TWlsZXN0b25lMTE0NTg1Mw==",
"number": 35,
"open_issues": 0,
"state": "closed",
"title": "0.16.2",
"updated_at": "2016-07-22T08:55:52Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35"
} | 1 | 2015-06-04T10:57:29Z | 2015-06-04T12:06:05Z | 2015-06-04T12:06:05Z | 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/10270/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10270/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10270.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10270",
"merged_at": "2015-06-04T12:06:05Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10270.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10270"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/10271 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10271/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10271/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10271/events | https://github.com/pandas-dev/pandas/pull/10271 | 85,067,000 | MDExOlB1bGxSZXF1ZXN0MzY5Mjc4Nzc= | 10,271 | PERF: write basic datetimes faster | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "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": "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": "2015-06-13T17:49:05Z",
"closed_issues": 119,
"created_at": "2015-06-02T19:23:30Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "",
"due_on": "2015-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/35",
"id": 1145853,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35/labels",
"node_id": "MDk6TWlsZXN0b25lMTE0NTg1Mw==",
"number": 35,
"open_issues": 0,
"state": "closed",
"title": "0.16.2",
"updated_at": "2016-07-22T08:55:52Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35"
} | 0 | 2015-06-04T12:08:35Z | 2015-06-04T13:27:51Z | 2015-06-04T13:27:51Z | CONTRIBUTOR | null | with PR
```
In [2]: df = DataFrame({'A' : pd.date_range('20130101',periods=100000,freq='s')})
In [3]: %timeit df.to_csv('test.csv',mode='w')
1 loops, best of 3: 282 ms per loop
```
0.16.1
```
In [2]: %timeit df.to_csv('test.csv',mode='w')
1 loops, best of 3: 352 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/10271/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10271/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10271.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10271",
"merged_at": "2015-06-04T13:27:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10271.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10271"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10272 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10272/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10272/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10272/events | https://github.com/pandas-dev/pandas/pull/10272 | 85,067,673 | MDExOlB1bGxSZXF1ZXN0MzY5Mjc5NzY= | 10,272 | BUG: bug in cache updating when consolidating #10264 | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
]
| closed | false | null | []
| {
"closed_at": "2015-06-13T17:49:05Z",
"closed_issues": 119,
"created_at": "2015-06-02T19:23:30Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "",
"due_on": "2015-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/35",
"id": 1145853,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35/labels",
"node_id": "MDk6TWlsZXN0b25lMTE0NTg1Mw==",
"number": 35,
"open_issues": 0,
"state": "closed",
"title": "0.16.2",
"updated_at": "2016-07-22T08:55:52Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35"
} | 0 | 2015-06-04T12:10:26Z | 2015-06-05T21:41:05Z | 2015-06-05T21:41:05Z | CONTRIBUTOR | null | closes #10264
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10272/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10272/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10272.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10272",
"merged_at": "2015-06-05T21:41:05Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10272.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10272"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10273 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10273/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10273/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10273/events | https://github.com/pandas-dev/pandas/issues/10273 | 85,117,597 | MDU6SXNzdWU4NTExNzU5Nw== | 10,273 | BUG: Unhandled ValueError when Bigquery called through io.gbq returns zero rows | {
"avatar_url": "https://avatars.githubusercontent.com/u/7361305?v=4",
"events_url": "https://api.github.com/users/ssaumitra/events{/privacy}",
"followers_url": "https://api.github.com/users/ssaumitra/followers",
"following_url": "https://api.github.com/users/ssaumitra/following{/other_user}",
"gists_url": "https://api.github.com/users/ssaumitra/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ssaumitra",
"id": 7361305,
"login": "ssaumitra",
"node_id": "MDQ6VXNlcjczNjEzMDU=",
"organizations_url": "https://api.github.com/users/ssaumitra/orgs",
"received_events_url": "https://api.github.com/users/ssaumitra/received_events",
"repos_url": "https://api.github.com/users/ssaumitra/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ssaumitra/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ssaumitra/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ssaumitra"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0052cc",
"default": false,
"description": "pandas-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": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 3 | 2015-06-04T14:14:22Z | 2015-08-29T00:08:29Z | 2015-08-29T00:08:29Z | NONE | null | Sample code below throws ValueError. Ideally it should return a DataFrame with zero rows.
``` python
import pandas as pd
#This query returns zero rows
query = "SELECT * FROM [publicdata:samples.wikipedia] where timestamp=-9999999"
df = pd.io.gbq.read_gbq(query, project_id="my_bigquery_project_id")
```
```
Job not yet complete...
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pandas/io/gbq.py", line 341, in read_gbq
final_df = concat(dataframe_list, ignore_index = True)
File "pandas/tools/merge.py", line 754, in concat
copy=copy)
File "pandas/tools/merge.py", line 799, in __init__
raise ValueError('All objects passed were None')
ValueError: All objects passed were None
```
```
INSTALLED VERSIONS
------------------
commit: b144cc1285e8f353112075b3d4eff75a68ad1699
python: 2.7.9.final.0
python-bits: 64
OS: Darwin
OS-release: 14.3.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: None
LANG: None
pandas: 0.16.1-64-gb144cc1
nose: 1.3.6
Cython: 0.22
numpy: 1.9.2
scipy: None
statsmodels: None
IPython: None
sphinx: None
patsy: None
dateutil: 2.4.1
pytz: 2015.4
bottleneck: None
tables: None
numexpr: None
matplotlib: None
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
httplib2: 0.9.1
apiclient: 1.4.0
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/10273/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10273/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10274 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10274/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10274/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10274/events | https://github.com/pandas-dev/pandas/pull/10274 | 85,123,584 | MDExOlB1bGxSZXF1ZXN0MzY5Mzk3NDA= | 10,274 | BUG: Unhandled ValueError when Bigquery called through io.gbq returns zero rows #10273 | {
"avatar_url": "https://avatars.githubusercontent.com/u/7361305?v=4",
"events_url": "https://api.github.com/users/ssaumitra/events{/privacy}",
"followers_url": "https://api.github.com/users/ssaumitra/followers",
"following_url": "https://api.github.com/users/ssaumitra/following{/other_user}",
"gists_url": "https://api.github.com/users/ssaumitra/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ssaumitra",
"id": 7361305,
"login": "ssaumitra",
"node_id": "MDQ6VXNlcjczNjEzMDU=",
"organizations_url": "https://api.github.com/users/ssaumitra/orgs",
"received_events_url": "https://api.github.com/users/ssaumitra/received_events",
"repos_url": "https://api.github.com/users/ssaumitra/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ssaumitra/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ssaumitra/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ssaumitra"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0052cc",
"default": false,
"description": "pandas-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": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 25 | 2015-06-04T14:30:17Z | 2015-09-02T10:41:49Z | 2015-08-29T00:08:16Z | NONE | null | closes #10273
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10274/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10274/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10274.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10274",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/10274.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10274"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10275 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10275/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10275/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10275/events | https://github.com/pandas-dev/pandas/pull/10275 | 85,128,780 | MDExOlB1bGxSZXF1ZXN0MzY5NDExNzk= | 10,275 | Fix meantim typo | {
"avatar_url": "https://avatars.githubusercontent.com/u/413772?v=4",
"events_url": "https://api.github.com/users/graingert/events{/privacy}",
"followers_url": "https://api.github.com/users/graingert/followers",
"following_url": "https://api.github.com/users/graingert/following{/other_user}",
"gists_url": "https://api.github.com/users/graingert/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/graingert",
"id": 413772,
"login": "graingert",
"node_id": "MDQ6VXNlcjQxMzc3Mg==",
"organizations_url": "https://api.github.com/users/graingert/orgs",
"received_events_url": "https://api.github.com/users/graingert/received_events",
"repos_url": "https://api.github.com/users/graingert/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/graingert/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/graingert/subscriptions",
"type": "User",
"url": "https://api.github.com/users/graingert"
} | [
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
]
| closed | false | null | []
| null | 2 | 2015-06-04T14:43:50Z | 2015-06-04T14:50:01Z | 2015-06-04T14:49:25Z | 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/10275/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10275/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10275.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10275",
"merged_at": "2015-06-04T14:49:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10275.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10275"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/10276 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10276/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10276/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10276/events | https://github.com/pandas-dev/pandas/pull/10276 | 85,142,528 | MDExOlB1bGxSZXF1ZXN0MzY5NDQ3ODk= | 10,276 | TST: Check series names | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4",
"events_url": "https://api.github.com/users/sinhrks/events{/privacy}",
"followers_url": "https://api.github.com/users/sinhrks/followers",
"following_url": "https://api.github.com/users/sinhrks/following{/other_user}",
"gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sinhrks",
"id": 1696302,
"login": "sinhrks",
"node_id": "MDQ6VXNlcjE2OTYzMDI=",
"organizations_url": "https://api.github.com/users/sinhrks/orgs",
"received_events_url": "https://api.github.com/users/sinhrks/received_events",
"repos_url": "https://api.github.com/users/sinhrks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sinhrks"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
]
| closed | false | null | []
| {
"closed_at": "2015-06-13T17:49:05Z",
"closed_issues": 119,
"created_at": "2015-06-02T19:23:30Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "",
"due_on": "2015-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/35",
"id": 1145853,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35/labels",
"node_id": "MDk6TWlsZXN0b25lMTE0NTg1Mw==",
"number": 35,
"open_issues": 0,
"state": "closed",
"title": "0.16.2",
"updated_at": "2016-07-22T08:55:52Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35"
} | 5 | 2015-06-04T15:16:12Z | 2015-06-05T22:48:55Z | 2015-06-05T22:16:57Z | MEMBER | null | Related to #9972. Made `assert_series_equal` to check name attribute.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10276/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10276/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10276.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10276",
"merged_at": "2015-06-05T22:16:57Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10276.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10276"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10277 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10277/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10277/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10277/events | https://github.com/pandas-dev/pandas/pull/10277 | 85,143,558 | MDExOlB1bGxSZXF1ZXN0MzY5NDUxMDA= | 10,277 | PERF/CLN: Improve datetime-like index ops perf | {
"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": "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": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
}
]
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 14 | 2015-06-04T15:19:00Z | 2015-12-10T12:46:09Z | 2015-12-10T12:22:48Z | MEMBER | null | Add `_isnan` to `DatetimeIndexOpsMixin` to cache `NaT` mask.
This leads to some perf improvement which is noticeable in larger data.
### after fix
```
import pandas as pd
import numpy as np
np.random.seed(1)
idx = pd.DatetimeIndex(np.append(np.array([pd.tslib.iNaT]),
np.random.randint(500, 1000, size=100000000)))
%timeit idx.max()
1 loops, best of 3: 599 ms per loop
%timeit idx.min()
1 loops, best of 3: 608 ms per loop
```
### before fix:
```
%timeit idx.max()
1 loops, best of 3: 940 ms per loop
%timeit idx.min()
1 loops, best of 3: 883 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/10277/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10277/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10277.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10277",
"merged_at": "2015-12-10T12:22:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10277.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10277"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10278 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10278/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10278/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10278/events | https://github.com/pandas-dev/pandas/issues/10278 | 85,194,661 | MDU6SXNzdWU4NTE5NDY2MQ== | 10,278 | The use of USFederalHolidayCalendar will result in incorrect behavior | {
"avatar_url": "https://avatars.githubusercontent.com/u/1944486?v=4",
"events_url": "https://api.github.com/users/clearf/events{/privacy}",
"followers_url": "https://api.github.com/users/clearf/followers",
"following_url": "https://api.github.com/users/clearf/following{/other_user}",
"gists_url": "https://api.github.com/users/clearf/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/clearf",
"id": 1944486,
"login": "clearf",
"node_id": "MDQ6VXNlcjE5NDQ0ODY=",
"organizations_url": "https://api.github.com/users/clearf/orgs",
"received_events_url": "https://api.github.com/users/clearf/received_events",
"repos_url": "https://api.github.com/users/clearf/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/clearf/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/clearf/subscriptions",
"type": "User",
"url": "https://api.github.com/users/clearf"
} | [
{
"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"
}
]
| open | false | null | []
| null | 3 | 2015-06-04T17:24:41Z | 2020-03-31T04:52:59Z | null | CONTRIBUTOR | null | The definition of the USFederalHolidayCalendar is not correct.
```
from pandas.tseries.holiday import USFederalHolidayCalendar
print(USFederalHolidayCalendar.rules)
```
> [Holiday: New Years Day (month=1, day=1, observance=<function nearest_workday at 0x10d17dcf8>), Holiday: Dr. Martin Luther King Jr. (month=1, day=1, offset=<DateOffset: kwds={'weekday': MO(+3)}>), Holiday: Presidents Day (month=2, day=1, offset=<DateOffset: kwds={'weekday': MO(+3)}>), Holiday: MemorialDay (month=5, day=24, offset=<DateOffset: kwds={'weekday': MO(+1)}>), Holiday: July 4th (month=7, day=4, observance=<function nearest_workday at 0x10d17dcf8>), Holiday: Labor Day (month=9, day=1, offset=<DateOffset: kwds={'weekday': MO(+1)}>), Holiday: Columbus Day (month=10, day=1, offset=<DateOffset: kwds={'weekday': MO(+2)}>), Holiday: Veterans Day (month=11, day=11, observance=<function nearest_workday at 0x10d17dcf8>), Holiday: Thanksgiving (month=11, day=1, offset=<DateOffset: kwds={'weekday': TH(+4)}>), Holiday: Christmas (month=12, day=25, observance=<function nearest_workday at 0x10d17dcf8>)]
```
print(USFederalHolidayCalendar.start_date)
```
> 1970-01-01 00:00:00
But Martin Luther King Day was first observed in 1986, so the holiday is being applied inappropriately before then. I am going to work on a snippet for a correct US holiday calendar.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10278/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10278/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10279 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10279/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10279/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10279/events | https://github.com/pandas-dev/pandas/issues/10279 | 85,232,191 | MDU6SXNzdWU4NTIzMjE5MQ== | 10,279 | read_sql_table bug on columns with dots | {
"avatar_url": "https://avatars.githubusercontent.com/u/3168512?v=4",
"events_url": "https://api.github.com/users/Gerenuk/events{/privacy}",
"followers_url": "https://api.github.com/users/Gerenuk/followers",
"following_url": "https://api.github.com/users/Gerenuk/following{/other_user}",
"gists_url": "https://api.github.com/users/Gerenuk/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Gerenuk",
"id": 3168512,
"login": "Gerenuk",
"node_id": "MDQ6VXNlcjMxNjg1MTI=",
"organizations_url": "https://api.github.com/users/Gerenuk/orgs",
"received_events_url": "https://api.github.com/users/Gerenuk/received_events",
"repos_url": "https://api.github.com/users/Gerenuk/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Gerenuk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Gerenuk/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Gerenuk"
} | [
{
"color": "5319e7",
"default": false,
"description": "to_sql, read_sql, read_sql_query",
"id": 47232590,
"name": "IO SQL",
"node_id": "MDU6TGFiZWw0NzIzMjU5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL"
}
]
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 9 | 2015-06-04T19:03:41Z | 2018-09-05T11:58:27Z | 2018-09-05T11:58:19Z | NONE | null | read_sql_table handles columns with dots in the name incorrectly (removes name before dot)
```
from sqlalchemy import create_engine
import pandas as pd
engine = create_engine('sqlite://')
conn = engine.connect()
conn.execute("create table test (a int, `b.c` int)")
conn.execute("insert into test values (1,2)")
df = pd.read_sql_table("test", engine)
print(df)
```
->
```
a c
0 1 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/10279/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10279/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10280 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10280/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10280/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10280/events | https://github.com/pandas-dev/pandas/issues/10280 | 85,240,315 | MDU6SXNzdWU4NTI0MDMxNQ== | 10,280 | BUG: indexers coerce partial assignment of float->int | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
}
]
| closed | false | null | []
| {
"closed_at": "2015-06-13T17:49:05Z",
"closed_issues": 119,
"created_at": "2015-06-02T19:23:30Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "",
"due_on": "2015-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/35",
"id": 1145853,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35/labels",
"node_id": "MDk6TWlsZXN0b25lMTE0NTg1Mw==",
"number": 35,
"open_issues": 0,
"state": "closed",
"title": "0.16.2",
"updated_at": "2016-07-22T08:55:52Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35"
} | 0 | 2015-06-04T19:25:04Z | 2015-06-09T14:43:27Z | 2015-06-09T14:43:27Z | CONTRIBUTOR | null | xref #10264
converts int -> floats for the entire block.
```
In [1]: x = pd.DataFrame(data=np.zeros((5,5),dtype=np.int),columns=['a','b','c','d','e'], index=['one','two','three','four','five'])
In [3]: x.loc['three','e'] = 3.1
In [4]: x
Out[4]:
a b c d e
one 0 0 0 0 0.0
two 0 0 0 0 0.0
three 0 0 0 0 3.1
four 0 0 0 0 0.0
five 0 0 0 0 0.0
In [5]: x.dtypes
Out[5]:
a float64
b float64
c float64
d float64
e float64
dtype: object
```
ok for other kinds of assignments
```
In [6]: x = pd.DataFrame(data=np.zeros((5,5),dtype=np.int),columns=['a','b','c','d','e'], index=['one','two','three','four','five'])
[8]: x.loc['three','e'] = 'foo'
In [9]: x
Out[9]:
a b c d e
one 0 0 0 0 0
two 0 0 0 0 0
three 0 0 0 0 foo
four 0 0 0 0 0
five 0 0 0 0 0
In [10]: x.dtypes
Out[10]:
a int64
b int64
c int64
d int64
e object
dtype: 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/10280/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10280/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10281 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10281/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10281/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10281/events | https://github.com/pandas-dev/pandas/issues/10281 | 85,262,978 | MDU6SXNzdWU4NTI2Mjk3OA== | 10,281 | CLN: remove scikit-timeseries migration docs from FAQ | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"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": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 3 | 2015-06-04T20:28:26Z | 2015-06-24T10:55:34Z | 2015-06-24T10:55:34Z | CONTRIBUTOR | null | this is really really old.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10281/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10281/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10282 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10282/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10282/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10282/events | https://github.com/pandas-dev/pandas/pull/10282 | 85,265,367 | MDExOlB1bGxSZXF1ZXN0MzY5NzUyNTY= | 10,282 | Update holiday.py to reflect that MLK Jr. Day was first observed in 1986. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1944486?v=4",
"events_url": "https://api.github.com/users/clearf/events{/privacy}",
"followers_url": "https://api.github.com/users/clearf/followers",
"following_url": "https://api.github.com/users/clearf/following{/other_user}",
"gists_url": "https://api.github.com/users/clearf/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/clearf",
"id": 1944486,
"login": "clearf",
"node_id": "MDQ6VXNlcjE5NDQ0ODY=",
"organizations_url": "https://api.github.com/users/clearf/orgs",
"received_events_url": "https://api.github.com/users/clearf/received_events",
"repos_url": "https://api.github.com/users/clearf/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/clearf/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/clearf/subscriptions",
"type": "User",
"url": "https://api.github.com/users/clearf"
} | [
{
"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": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 18 | 2015-06-04T20:34:51Z | 2015-08-18T16:58:13Z | 2015-08-18T11:09:17Z | CONTRIBUTOR | null | closes #9760
Fixing MLK day not observed before 1986, per https://github.com/pydata/pandas/issues/10278#issuecomment-109002244
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10282/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10282/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10282.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10282",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/10282.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10282"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10283 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10283/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10283/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10283/events | https://github.com/pandas-dev/pandas/pull/10283 | 85,395,767 | MDExOlB1bGxSZXF1ZXN0MzY5OTczMzk= | 10,283 | BUG: DataFrame.where does not handle Series slice correctly (#10218) | {
"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": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "207de5",
"default": false,
"description": "Requires discussion from core team before further action",
"id": 219960758,
"name": "Needs Discussion",
"node_id": "MDU6TGFiZWwyMTk5NjA3NTg=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 36 | 2015-06-05T03:00:16Z | 2015-08-30T18:08:39Z | 2015-08-26T01:41:14Z | CONTRIBUTOR | null | closes #10218
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10283/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10283/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10283.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10283",
"merged_at": "2015-08-26T01:41:14Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10283.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10283"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10284 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10284/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10284/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10284/events | https://github.com/pandas-dev/pandas/issues/10284 | 85,446,951 | MDU6SXNzdWU4NTQ0Njk1MQ== | 10,284 | How To Filter Pandas DataFrames Using Dynamic URL Query String | {
"avatar_url": "https://avatars.githubusercontent.com/u/3523655?v=4",
"events_url": "https://api.github.com/users/BastinRobin/events{/privacy}",
"followers_url": "https://api.github.com/users/BastinRobin/followers",
"following_url": "https://api.github.com/users/BastinRobin/following{/other_user}",
"gists_url": "https://api.github.com/users/BastinRobin/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/BastinRobin",
"id": 3523655,
"login": "BastinRobin",
"node_id": "MDQ6VXNlcjM1MjM2NTU=",
"organizations_url": "https://api.github.com/users/BastinRobin/orgs",
"received_events_url": "https://api.github.com/users/BastinRobin/received_events",
"repos_url": "https://api.github.com/users/BastinRobin/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/BastinRobin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/BastinRobin/subscriptions",
"type": "User",
"url": "https://api.github.com/users/BastinRobin"
} | [
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
]
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 1 | 2015-06-05T06:14:49Z | 2015-06-05T08:44:39Z | 2015-06-05T07:34:35Z | NONE | null | Currently i am having an question in python pandas. I want to filter a dataframe using url query string dynamically.
Detailed question:
http://stackoverflow.com/questions/30658017/filter-pandas-dataframes-using-dynamic-url-query-string
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10284/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10284/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10285 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10285/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10285/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10285/events | https://github.com/pandas-dev/pandas/issues/10285 | 85,463,961 | MDU6SXNzdWU4NTQ2Mzk2MQ== | 10,285 | Add dtype keyword to read_sql_query to control per column dtypes. | {
"avatar_url": "https://avatars.githubusercontent.com/u/3168512?v=4",
"events_url": "https://api.github.com/users/Gerenuk/events{/privacy}",
"followers_url": "https://api.github.com/users/Gerenuk/followers",
"following_url": "https://api.github.com/users/Gerenuk/following{/other_user}",
"gists_url": "https://api.github.com/users/Gerenuk/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Gerenuk",
"id": 3168512,
"login": "Gerenuk",
"node_id": "MDQ6VXNlcjMxNjg1MTI=",
"organizations_url": "https://api.github.com/users/Gerenuk/orgs",
"received_events_url": "https://api.github.com/users/Gerenuk/received_events",
"repos_url": "https://api.github.com/users/Gerenuk/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Gerenuk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Gerenuk/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Gerenuk"
} | [
{
"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 | {
"avatar_url": "https://avatars.githubusercontent.com/u/44933366?v=4",
"events_url": "https://api.github.com/users/avinashpancham/events{/privacy}",
"followers_url": "https://api.github.com/users/avinashpancham/followers",
"following_url": "https://api.github.com/users/avinashpancham/following{/other_user}",
"gists_url": "https://api.github.com/users/avinashpancham/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/avinashpancham",
"id": 44933366,
"login": "avinashpancham",
"node_id": "MDQ6VXNlcjQ0OTMzMzY2",
"organizations_url": "https://api.github.com/users/avinashpancham/orgs",
"received_events_url": "https://api.github.com/users/avinashpancham/received_events",
"repos_url": "https://api.github.com/users/avinashpancham/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/avinashpancham/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/avinashpancham/subscriptions",
"type": "User",
"url": "https://api.github.com/users/avinashpancham"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/44933366?v=4",
"events_url": "https://api.github.com/users/avinashpancham/events{/privacy}",
"followers_url": "https://api.github.com/users/avinashpancham/followers",
"following_url": "https://api.github.com/users/avinashpancham/following{/other_user}",
"gists_url": "https://api.github.com/users/avinashpancham/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/avinashpancham",
"id": 44933366,
"login": "avinashpancham",
"node_id": "MDQ6VXNlcjQ0OTMzMzY2",
"organizations_url": "https://api.github.com/users/avinashpancham/orgs",
"received_events_url": "https://api.github.com/users/avinashpancham/received_events",
"repos_url": "https://api.github.com/users/avinashpancham/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/avinashpancham/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/avinashpancham/subscriptions",
"type": "User",
"url": "https://api.github.com/users/avinashpancham"
}
]
| {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 3 | 2015-06-05T07:45:39Z | 2021-09-03T10:15:55Z | 2020-12-23T23:28:23Z | NONE | null | When reading from SQL queries - especially when reading chunk-wise - issues with type conversion can occur.
It would be ideal if one could specify the types of the columns, so that type conversions go right.
A very common case is reading pure float results chunk-wise from a large table. The nuisance comes in when and chunk contains NULL values only in a column. In such cases these NULL values are stored as `None` rather than `float("nan")`. I see that this is an issue with inconsistent NULL types in pandas and missing type information in read_sql_query.
Another case could be when text columns happen to contain numbers only in a chunk.
Specifying types for a query manually could resolve these issues.
| {
"+1": 4,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 4,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10285/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10285/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10286 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10286/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10286/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10286/events | https://github.com/pandas-dev/pandas/pull/10286 | 85,477,555 | MDExOlB1bGxSZXF1ZXN0MzcwMTI5MjM= | 10,286 | Update v0.16.2.txt | {
"avatar_url": "https://avatars.githubusercontent.com/u/697622?v=4",
"events_url": "https://api.github.com/users/fbrundu/events{/privacy}",
"followers_url": "https://api.github.com/users/fbrundu/followers",
"following_url": "https://api.github.com/users/fbrundu/following{/other_user}",
"gists_url": "https://api.github.com/users/fbrundu/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fbrundu",
"id": 697622,
"login": "fbrundu",
"node_id": "MDQ6VXNlcjY5NzYyMg==",
"organizations_url": "https://api.github.com/users/fbrundu/orgs",
"received_events_url": "https://api.github.com/users/fbrundu/received_events",
"repos_url": "https://api.github.com/users/fbrundu/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fbrundu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fbrundu/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fbrundu"
} | []
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 4 | 2015-06-05T09:04:00Z | 2015-06-05T09:16:44Z | 2015-06-05T09:16:00Z | CONTRIBUTOR | null | Added description of Pull Request 9544
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10286/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10286/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10286.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10286",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/10286.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10286"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10287 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10287/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10287/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10287/events | https://github.com/pandas-dev/pandas/issues/10287 | 85,530,491 | MDU6SXNzdWU4NTUzMDQ5MQ== | 10,287 | PERF: mutli-index selection vs repeated selections | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "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": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 0 | 2015-06-05T13:12:06Z | 2015-06-24T20:59:59Z | 2015-06-24T20:59:59Z | CONTRIBUTOR | null | from [SO](http://stackoverflow.com/questions/30657115/optimize-pandas-query-on-multiple-columns-multiindex/30667394#30667394)
```
idx = pd.IndexSlice
n=10000000
np.random.seed(1234)
mdt = pandas.DataFrame()
mdt['A'] = np.random.choice(range(10000,45000,1000), n)
mdt['B'] = np.random.choice(range(10,400), n)
mdt['C'] = np.random.choice(range(1,150), n)
mdt['D'] = np.random.choice(range(10000,45000), n)
mdt['x'] = np.random.choice(range(400), n)
mdt['y'] = np.random.choice(range(25), n)
test_A = 25000
test_B = 25
test_C = 40
test_D = 35000
eps_A = 5000
eps_B = 5
eps_C = 5
eps_D = 5000
mdt2 = mdt.set_index(['A','B','C','D']).sortlevel()
```
selection
```
In [106]: %timeit mdt2.loc[idx[test_A-eps_A:test_A+eps_A,test_B-eps_B:test_B+eps_B,test_C-eps_C:test_C+eps_C,test_D-eps_D:test_D+eps_D],:]
1 loops, best of 3: 4.34 s per loop
```
Repeated selection
```
In [105]: %timeit mdt2.loc[idx[test_A-eps_A:test_A+eps_A],:].loc[idx[:,test_B-eps_B:test_B+eps_B],:].loc[idx[:,:,test_C-eps_C:test_C+eps_C],:].loc[idx[:,:,:,test_D-eps_D:test_D+eps_D],:]
10 loops, best of 3: 140 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/10287/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10287/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10288 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10288/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10288/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10288/events | https://github.com/pandas-dev/pandas/issues/10288 | 85,534,978 | MDU6SXNzdWU4NTUzNDk3OA== | 10,288 | SettingWithCopyWarning: possible spurious warning after dropna() call | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | []
| closed | false | null | []
| {
"closed_at": 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"
} | 5 | 2015-06-05T13:36:36Z | 2015-06-05T14:12:57Z | 2015-06-05T14:00:38Z | MEMBER | null | I get a SettingWithCopyWarning after the use of `dropna`, which does not really seem logical:
```
In [102]: df = pd.DataFrame({'a':[1,2,np.nan], 'b':['A', 'B', 'C']})
In [103]: df
Out[103]:
a b
0 1 A
1 2 B
2 NaN C
In [104]: df = df.dropna(subset=['a'])
In [105]: df
Out[105]:
a b
0 1 A
1 2 B
In [106]: df['new_col'] = 2
C:\Anaconda\envs\devel\Scripts\ipython-script.py:1: 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 the caveats in the documentation: http://pandas.pydata.org/pandas-docs/s
table/indexing.html#indexing-view-versus-copy
if __name__ == '__main__':
In [107]: df.loc[:,'new_col'] = 2
c:\users\vdbosscj\scipy\pandas-joris\pandas\core\indexing.py:404: SettingWithCop
yWarning:
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 the caveats in the documentation: http://pandas.pydata.org/pandas-docs/s
table/indexing.html#indexing-view-versus-copy
self.obj[item] = s
```
Further, also the indication were the warning occurred is not correct I think.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10288/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10288/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10289 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10289/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10289/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10289/events | https://github.com/pandas-dev/pandas/issues/10289 | 85,583,919 | MDU6SXNzdWU4NTU4MzkxOQ== | 10,289 | mixed data type to_json(orient='index') repeats only the first index value | {
"avatar_url": "https://avatars.githubusercontent.com/u/1043542?v=4",
"events_url": "https://api.github.com/users/sborgeson/events{/privacy}",
"followers_url": "https://api.github.com/users/sborgeson/followers",
"following_url": "https://api.github.com/users/sborgeson/following{/other_user}",
"gists_url": "https://api.github.com/users/sborgeson/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sborgeson",
"id": 1043542,
"login": "sborgeson",
"node_id": "MDQ6VXNlcjEwNDM1NDI=",
"organizations_url": "https://api.github.com/users/sborgeson/orgs",
"received_events_url": "https://api.github.com/users/sborgeson/received_events",
"repos_url": "https://api.github.com/users/sborgeson/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sborgeson/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sborgeson/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sborgeson"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "207de5",
"default": false,
"description": "read_json, to_json, json_normalize",
"id": 49379259,
"name": "IO JSON",
"node_id": "MDU6TGFiZWw0OTM3OTI1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON"
}
]
| closed | false | null | []
| {
"closed_at": "2015-06-13T17:49:05Z",
"closed_issues": 119,
"created_at": "2015-06-02T19:23:30Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "",
"due_on": "2015-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/35",
"id": 1145853,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35/labels",
"node_id": "MDk6TWlsZXN0b25lMTE0NTg1Mw==",
"number": 35,
"open_issues": 0,
"state": "closed",
"title": "0.16.2",
"updated_at": "2016-07-22T08:55:52Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35"
} | 3 | 2015-06-05T17:09:53Z | 2015-07-02T19:04:02Z | 2015-06-07T23:05:24Z | NONE | null | ``` python
from pandas import DataFrame
df = DataFrame({
'one' : pandas.Series(['foo','bar','bee'],index=['a','b','c']),
'two' : pandas.Series([1,2,3],index=['a','b','c']) } )
df.to_json(orient='index')
```
Observe that the first index value 'a' is used for all the record returned, rather than for just the first one. I've reproduced this issue on a linux machine with the config below, but it was first observed on OSX and can reproduce it on Windows, all with pandas 0.16.1.
This issue was not present in pandas version 0.14.x
> > > pandas.show_versions()
## INSTALLED VERSIONS
commit: None
python: 2.6.8.final.0
python-bits: 64
OS: Linux
OS-release: 2.6.18-274.el5
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
pandas: 0.16.1
nose: None
Cython: None
numpy: 1.9.2
scipy: None
statsmodels: None
IPython: None
sphinx: None
patsy: None
dateutil: 2.4.2
pytz: 2015.4
bottleneck: None
tables: 3.2.0
numexpr: 2.4.3
matplotlib: None
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: None
pymysql: None
psycopg2: None
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10289/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10289/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10290 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10290/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10290/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10290/events | https://github.com/pandas-dev/pandas/pull/10290 | 85,611,800 | MDExOlB1bGxSZXF1ZXN0MzcwNjE0MzY= | 10,290 | PERF: improved performance of multiindex slicing | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "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": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 2 | 2015-06-05T19:16:08Z | 2015-06-24T20:59:59Z | 2015-06-24T20:59:59Z | CONTRIBUTOR | null | closes #10287
master
```
In [22]: %timeit mdt2.loc[idx[test_A-eps_A:test_A+eps_A],:].loc[idx[:,test_B-eps_B:test_B+eps_B],:].loc[idx[:,:,test_C-eps_C:test_C+eps_C],:].loc[idx[:,:,:,test_D-eps_D:test_D+eps_D],:]
10 loops, best of 3: 141 ms per loop
In [23]: %timeit mdt2.loc[idx[test_A-eps_A:test_A+eps_A,test_B-eps_B:test_B+eps_B,test_C-eps_C:test_C+eps_C,test_D-eps_D:test_D+eps_D],:]
1 loops, best of 3: 4.23 s per loop
```
PR
```
# this actually is a bit faster in master. but this repeated chain indexing is frowned upon anyhow
In [22]: %timeit mdt2.loc[idx[test_A-eps_A:test_A+eps_A],:].loc[idx[:,test_B-eps_B:test_B+eps_B],:].loc[idx[:,:,test_C-eps_C:test_C+eps_C],:].loc[idx[:,:,:,test_D-eps_D:test_D+eps_D],:]
1 loops, best of 3: 210 ms per loop
# this is the prefered method (as you can set with this and such), and such a huge diff.
In [23]: %timeit mdt2.loc[idx[test_A-eps_A:test_A+eps_A,test_B-eps_B:test_B+eps_B,test_C-eps_C:test_C+eps_C,test_D-eps_D:test_D+eps_D],:]
1 loops, best of 3: 425 ms per loop
```
master
```
In [10]: %timeit s3.isin([1,2])
100 loops, best of 3: 8.83 ms per loop
```
PR
```
In [2]: s3 = Series(np.random.randint(1, 10, 100000)).astype('int64')
In [5]: %timeit s3.isin([1,2])
100 loops, best of 3: 2.47 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/10290/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10290/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10290.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10290",
"merged_at": "2015-06-24T20:59:59Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10290.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10290"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10291 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10291/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10291/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10291/events | https://github.com/pandas-dev/pandas/issues/10291 | 85,655,291 | MDU6SXNzdWU4NTY1NTI5MQ== | 10,291 | KeyError: '__dummy__' for pd.crosstab in pandas | {
"avatar_url": "https://avatars.githubusercontent.com/u/1667488?v=4",
"events_url": "https://api.github.com/users/songhuiming/events{/privacy}",
"followers_url": "https://api.github.com/users/songhuiming/followers",
"following_url": "https://api.github.com/users/songhuiming/following{/other_user}",
"gists_url": "https://api.github.com/users/songhuiming/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/songhuiming",
"id": 1667488,
"login": "songhuiming",
"node_id": "MDQ6VXNlcjE2Njc0ODg=",
"organizations_url": "https://api.github.com/users/songhuiming/orgs",
"received_events_url": "https://api.github.com/users/songhuiming/received_events",
"repos_url": "https://api.github.com/users/songhuiming/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/songhuiming/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/songhuiming/subscriptions",
"type": "User",
"url": "https://api.github.com/users/songhuiming"
} | [
{
"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"
} | 12 | 2015-06-05T23:20:24Z | 2016-02-12T03:02:26Z | 2016-02-12T03:02:26Z | NONE | null | get ~~ KeyError: '**dummy**' ~~ when I run the following:
```
np.random.seed(seed = 99)
s = np.random.randint(1,10,200)
s = pd.Series(np.where(s > 9, np.nan, s))
s1 = s[:100]
s2 = s[100:]
pd.crosstab(s1, s2)
KeyError: '__dummy__
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10291/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10291/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10292 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10292/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10292/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10292/events | https://github.com/pandas-dev/pandas/pull/10292 | 85,656,615 | MDExOlB1bGxSZXF1ZXN0MzcwNzg4NzI= | 10,292 | BUG: TimedeltaIndex slicing may reset freq | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4",
"events_url": "https://api.github.com/users/sinhrks/events{/privacy}",
"followers_url": "https://api.github.com/users/sinhrks/followers",
"following_url": "https://api.github.com/users/sinhrks/following{/other_user}",
"gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sinhrks",
"id": 1696302,
"login": "sinhrks",
"node_id": "MDQ6VXNlcjE2OTYzMDI=",
"organizations_url": "https://api.github.com/users/sinhrks/orgs",
"received_events_url": "https://api.github.com/users/sinhrks/received_events",
"repos_url": "https://api.github.com/users/sinhrks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sinhrks"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "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"
},
{
"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": "2015-06-13T17:49:05Z",
"closed_issues": 119,
"created_at": "2015-06-02T19:23:30Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "",
"due_on": "2015-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/35",
"id": 1145853,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35/labels",
"node_id": "MDk6TWlsZXN0b25lMTE0NTg1Mw==",
"number": 35,
"open_issues": 0,
"state": "closed",
"title": "0.16.2",
"updated_at": "2016-07-22T08:55:52Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35"
} | 1 | 2015-06-05T23:31:04Z | 2015-06-08T13:20:31Z | 2015-06-07T23:02:54Z | MEMBER | null | `DatetimeIndex` preserve freq after slicing.
```
di = pd.date_range('2001', '2005', freq='D')
di[1:5:2]
# DatetimeIndex(['2001-01-02', '2001-01-04'], dtype='datetime64[ns]', freq='2D', tz=None)
```
But `TimedeltaIndex` doesn't.
```
tdi = pd.timedelta_range('1day', '5day', freq='D')
tdi[1:5:2]
# TimedeltaIndex(['2 days', '4 days'], dtype='timedelta64[ns]', freq=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/10292/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10292/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10292.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10292",
"merged_at": "2015-06-07T23:02:54Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10292.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10292"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10293 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10293/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10293/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10293/events | https://github.com/pandas-dev/pandas/issues/10293 | 85,664,591 | MDU6SXNzdWU4NTY2NDU5MQ== | 10,293 | Python quit unexpectedly while using the lib.so plug-in. | {
"avatar_url": "https://avatars.githubusercontent.com/u/6980874?v=4",
"events_url": "https://api.github.com/users/Jeeva-G/events{/privacy}",
"followers_url": "https://api.github.com/users/Jeeva-G/followers",
"following_url": "https://api.github.com/users/Jeeva-G/following{/other_user}",
"gists_url": "https://api.github.com/users/Jeeva-G/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Jeeva-G",
"id": 6980874,
"login": "Jeeva-G",
"node_id": "MDQ6VXNlcjY5ODA4NzQ=",
"organizations_url": "https://api.github.com/users/Jeeva-G/orgs",
"received_events_url": "https://api.github.com/users/Jeeva-G/received_events",
"repos_url": "https://api.github.com/users/Jeeva-G/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Jeeva-G/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Jeeva-G/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Jeeva-G"
} | [
{
"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 | 3 | 2015-06-06T00:36:29Z | 2015-06-06T13:51:49Z | 2015-06-06T13:51:35Z | NONE | null | Hello All,
I am trying to replace certain pattern with empty value in my dataframe, this my snippet,
``` python
mydfv2['Values used'].replace(to_replace= r"\[.*?\].", value="",inplace = True, regex=True)
```
This column --> "Values used" will have a list of strings or list of list of strings in each cell. Every time I run this, my python app crashes. I tried with Ipython, sublimetext2 and eclipse. Here is the error log..
Process: Python [25441]
Path: /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
Identifier: Python
Version: 2.7.6 (2.7.6)
Code Type: X86-64 (Native)
Parent Process: Sublime Text 2 [25001]
Responsible: Sublime Text 2 [25001]
User ID: 502
PlugIn Path: /Library/Python/2.7/site-packages/pandas/lib.so
PlugIn Identifier: lib.so
PlugIn Version: ??? (???)
Date/Time: 2015-06-06 12:23:26.847 +1200
OS Version: Mac OS X 10.10.3 (14D136)
Report Version: 11
Anonymous UUID: 2647067B-A02E-E9D9-B3EB-45A40988D449
Sleep/Wake UUID: A3B7949F-5AF1-4FCE-8B29-A26DCE9BE8F7
Time Awake Since Boot: 650000 seconds
Time Since Wake: 13000 seconds
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
VM Regions Near 0:
-->
__TEXT 0000000100e37000-0000000100e38000 [ 4K] r-x/rwx SM=COW /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 lib.so 0x0000000101ef2148 __pyx_pw_6pandas_3lib_25isnullobj + 1320
1 org.python.python 0x0000000100ec6d2c PyEval_EvalFrameEx + 15766
2 org.python.python 0x0000000100ec960e 0x100e3f000 + 566798
3 org.python.python 0x0000000100ec63e3 PyEval_EvalFrameEx + 13389
4 org.python.python 0x0000000100ec960e 0x100e3f000 + 566798
5 org.python.python 0x0000000100ec63e3 PyEval_EvalFrameEx + 13389
6 org.python.python 0x0000000100ec960e 0x100e3f000 + 566798
7 org.python.python 0x0000000100ec63e3 PyEval_EvalFrameEx + 13389
8 org.python.python 0x0000000100ec2d62 PyEval_EvalCodeEx + 1413
9 org.python.python 0x0000000100ec957d 0x100e3f000 + 566653
10 org.python.python 0x0000000100ec63e3 PyEval_EvalFrameEx + 13389
11 org.python.python 0x0000000100ec2d62 PyEval_EvalCodeEx + 1413
12 org.python.python 0x0000000100ec957d 0x100e3f000 + 566653
13 org.python.python 0x0000000100ec63e3 PyEval_EvalFrameEx + 13389
14 org.python.python 0x0000000100ec2d62 PyEval_EvalCodeEx + 1413
15 org.python.python 0x0000000100ec957d 0x100e3f000 + 566653
16 org.python.python 0x0000000100ec63e3 PyEval_EvalFrameEx + 13389
17 org.python.python 0x0000000100ec2d62 PyEval_EvalCodeEx + 1413
18 org.python.python 0x0000000100ec957d 0x100e3f000 + 566653
19 org.python.python 0x0000000100ec63e3 PyEval_EvalFrameEx + 13389
20 org.python.python 0x0000000100ec2d62 PyEval_EvalCodeEx + 1413
21 org.python.python 0x0000000100e6730a 0x100e3f000 + 164618
22 org.python.python 0x0000000100e492ac PyObject_Call + 99
23 org.python.python 0x0000000100ec59ba PyEval_EvalFrameEx + 10788
24 org.python.python 0x0000000100ec2d62 PyEval_EvalCodeEx + 1413
25 org.python.python 0x0000000100ec957d 0x100e3f000 + 566653
26 org.python.python 0x0000000100ec63e3 PyEval_EvalFrameEx + 13389
27 org.python.python 0x0000000100ec2d62 PyEval_EvalCodeEx + 1413
28 org.python.python 0x0000000100ec27d7 PyEval_EvalCode + 54
29 org.python.python 0x0000000100ee27bd 0x100e3f000 + 669629
30 org.python.python 0x0000000100ee2860 PyRun_FileExFlags + 133
31 org.python.python 0x0000000100ee23fd PyRun_SimpleFileExFlags + 769
32 org.python.python 0x0000000100ef3b23 Py_Main + 3051
33 libdyld.dylib 0x00007fff8d9c35c9 start + 1
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000000 rcx: 0x0000000100fd5cf8 rdx: 0x0000000000000000
rdi: 0x0000000103402368 rsi: 0x0000000100f3f1b8 rbp: 0x00007fff5edc73f0 rsp: 0x00007fff5edc7220
r8: 0x00000000000001ff r9: 0x00007f8af29e1200 r10: 0x0000000000000002 r11: 0x00007f8af1c00000
r12: 0x0000000000000416 r13: 0x00000000000020b0 r14: 0x0000000000000416 r15: 0x0000000000000001
rip: 0x0000000101ef2148 rfl: 0x0000000000010297 cr2: 0x0000000000000000
Logical CPU: 1
Error Code: 0x00000006
Trap Number: 14
Binary Images:
0x100e37000 - 0x100e37fff org.python.python (2.7.6 - 2.7.6) <A7B51404-B996-3FDF-A40F-0CCE1837F1F4> /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
0x100e3f000 - 0x100f30ff7 org.python.python (2.7.6 - 2.7.6) <A5C1B694-31A0-3966-B6BC-C40694DC707F> /System/Library/Frameworks/Python.framework/Versions/2.7/Python
0x1011b6000 - 0x1011b7fff _functools.so (89) <687C0F91-739D-3658-A815-C1CA87A0F4D3> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_functools.so
0x1011bb000 - 0x1011bdfff _csv.so (89) <6E3A3BD3-22EC-3CD0-ACB3-DF7FAF1FCE74> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_csv.so
0x1011c3000 - 0x1011c4fff cStringIO.so (89) <A2B6CB97-BCA1-3D64-BFC0-F5F9ED139A2C> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/cStringIO.so
0x1011c9000 - 0x101209fff +hashtable.so (???) <EBE9E47D-3CED-38C5-B935-B3469B1EEEA3> /Library/Python/2.7/site-packages/pandas/hashtable.so
0x10121e000 - 0x101221ff7 math.so (89) <9B5C733C-9EEA-364B-B83E-E0D130F74CEA> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/math.so
0x101227000 - 0x1012fbff7 multiarray.so (40) <0570008A-8931-384B-BBA5-F5275E2283C1> /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/core/multiarray.so
0x101319000 - 0x101322fff datetime.so (89) <17581299-8DE2-3A9E-80A4-CF0F0A79CE13> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/datetime.so
0x10132b000 - 0x10136cff7 umath.so (40) <EF95A5E6-42B9-3254-B0C8-5C9C96C27188> /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/core/umath.so
0x10137b000 - 0x10137dfff _collections.so (89) <4B0EB2CA-18E0-3F3A-B04B-94246814AF0F> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_collections.so
0x101383000 - 0x101386fff operator.so (89) <049C4902-93FF-3453-BFEA-99F6461E63C1> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/operator.so
0x10138c000 - 0x101390fff itertools.so (89) <76FA3C45-95A0-3627-A5D9-F6E43D7FE09A> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/itertools.so
0x101399000 - 0x10139afff _heapq.so (89) <DC500847-4C9E-3782-9F26-388082125F57> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_heapq.so
0x10139f000 - 0x1013aafff cPickle.so (89) <69D3AA38-D029-302C-8E8F-C8F2016C554B> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/cPickle.so
0x1013b0000 - 0x1013b3fff _dotblas.so (40) <37A1AA7D-BA3C-31A4-B616-3BD869D90BBE> /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/core/_dotblas.so
0x1013b7000 - 0x1013d1ff7 scalarmath.so (40) <AD6A2E6F-DFB1-369A-BB04-3DA0309FBC11> /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/core/scalarmath.so
0x101517000 - 0x101518fff time.so (89) <42DAC34B-013C-36E7-89A4-AE26FFBFD90E> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/time.so
0x10155e000 - 0x101562fff _compiled_base.so (40) <8863A4C1-F6B4-3F43-9E70-F8C146C6B227> /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/lib/_compiled_base.so
0x101567000 - 0x10156afff lapack_lite.so (40) <133F0CEA-23E3-3F77-BD5A-8C83D331C8BA> /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/linalg/lapack_lite.so
0x10156f000 - 0x1016b0fff _umath_linalg.so (40) <EE9E2DD6-AC55-3EFC-9C70-A2738FF9CDE4> /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/linalg/_umath_linalg.so
0x10179a000 - 0x10179afff grp.so (89) <DF55B2CB-E86C-3384-AB53-E183CE4B62A6> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/grp.so
0x10179e000 - 0x10179efff future_builtins.so (89) <6F6B59EB-EBE9-30B6-9F03-9A1FC527D47C> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/future_builtins.so
0x1017a2000 - 0x1017a9ff7 fftpack_lite.so (40) <01EBEEB2-680F-379C-888E-F290FD7D24DC> /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/fft/fftpack_lite.so
0x1017ed000 - 0x1017f0fff strop.so (89) <EF7B9ADA-CB8F-350F-87CB-413F1E8398D7> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/strop.so
0x1018f5000 - 0x10192aff7 mtrand.so (40) <C2052172-3E51-313D-9E68-BB3717769774> /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/random/mtrand.so
0x101967000 - 0x101975fff _ctypes.so (89) <8BF6FB14-BF96-3CB3-BD44-39A5F402FF97> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_ctypes.so
0x101980000 - 0x101983fff _struct.so (89) <015BD869-7103-3735-A10A-70E4C15C9AB8> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_struct.so
0x1019c1000 - 0x101afffe7 +tslib.so (???) <5C0F2704-1ECF-3A4D-9595-2916B492D91F> /Library/Python/2.7/site-packages/pandas/tslib.so
0x101b9e000 - 0x101b9ffff _locale.so (89) <0519FCE4-72BD-34E2-A241-276F6A2BA217> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_locale.so
0x101be3000 - 0x101bf2fff _io.so (89) <6FFCBD14-A18A-3F75-B926-CAFC02F58490> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so
0x101c01000 - 0x101c03fff binascii.so (89) <CB8E5D83-F54B-3570-8667-06B951C38DB0> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/binascii.so
0x101c07000 - 0x101c09fff zlib.so (89) <F97B3749-1056-38F6-AF93-BB59D3510D4B> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/zlib.so
0x101c4e000 - 0x101c4ffff _hashlib.so (89) <706C58CB-4213-3845-B316-69D937257673> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_hashlib.so
0x101c53000 - 0x101c89ff7 libssl.0.9.8.dylib (52.20.2) <CF2F5CC1-A72E-3ECF-8F98-330ABABBAFD1> /usr/lib/libssl.0.9.8.dylib
0x101c9f000 - 0x101ca0ff7 _random.so (89) <0A7C79BC-D77F-3049-82B9-4ADF13CF1825> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_random.so
0x101ca4000 - 0x101cabff7 _socket.so (89) <F7E0FFD6-78FC-3F79-A0D2-8AF7266FEB93> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_socket.so
0x101cb5000 - 0x101cb8fff _ssl.so (89) <67507A0A-090E-3201-86BE-BE72B4CDFB47> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_ssl.so
0x101d3e000 - 0x101d3efff _scproxy.so (89) <81735983-586E-3D32-8F57-95F8F860A8EB> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_scproxy.so
0x101d42000 - 0x101d43fff fcntl.so (89) <794692D1-C684-376C-AA4B-C1DBBD7C7A09> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/fcntl.so
0x101d47000 - 0x101d4ffff parser.so (89) <6C2C8F46-40B0-32F0-8AF6-A37573BFD022> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/parser.so
0x101d94000 - 0x101d99ff7 pyexpat.so (89) <9E8F2EC0-5765-39E9-B250-67B886BC9518> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/pyexpat.so
0x101de0000 - 0x101de0fff _bisect.so (89) <F77B1379-C078-3BE0-8D7B-A66011BEF7A2> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_bisect.so
0x101de4000 - 0x101de8fff array.so (89) <80A6114A-394E-3817-BB38-677B513536CE> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/array.so
0x101e6e000 - 0x101f5cfff +lib.so (???) <71D38B3A-FE96-3740-8335-53990318139B> /Library/Python/2.7/site-packages/pandas/lib.so
0x101fe6000 - 0x1021f6ff7 +algos.so (???) <C045B3E0-6A90-3D49-A725-28558A5DC57C> /Library/Python/2.7/site-packages/pandas/algos.so
0x1022e0000 - 0x102318ff7 +index.so (???) <08B8E2DB-3282-365E-9042-4E1637ECEF83> /Library/Python/2.7/site-packages/pandas/index.so
0x1024ad000 - 0x1024ecfff +_sparse.so (???) <BB147DB6-8B79-3861-98B1-EF02CDF17541> /Library/Python/2.7/site-packages/pandas/_sparse.so
0x10263f000 - 0x102641fff select.so (89) <6BC94C09-A797-3AE2-8294-EF46CACBC254> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/select.so
0x102749000 - 0x102773fff _path.so (40) <AEA66812-111C-332E-BA12-99FCC6669010> /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/_path.so
0x102bc8000 - 0x102c28fef +parser.so (???) <B8795847-9BEF-3A80-9C28-831FC16EC4B7> /Library/Python/2.7/site-packages/pandas/parser.so
0x102c48000 - 0x102c5aff7 +json.so (???) <E86548D7-7562-3ED7-973D-84DD7B9D7EF6> /Library/Python/2.7/site-packages/pandas/json.so
0x102d64000 - 0x102e65fff +etree.so (0) <8056C546-375B-3740-B49D-6D35896B7631> /Library/Python/2.7/site-packages/lxml/etree.so
0x102fae000 - 0x102fc9fff +msgpack.so (???) <824BC8F3-8F89-3D14-A87E-A236700F5E51> /Library/Python/2.7/site-packages/pandas/msgpack.so
0x10301c000 - 0x103026fff +_testing.so (???) <F61FEDF2-6FC9-3BF9-B1FB-9F044E21978C> /Library/Python/2.7/site-packages/pandas/_testing.so
0x7fff65fc5000 - 0x7fff65ffb837 dyld (353.2.1) <65DCCB06-339C-3E25-9702-600A28291D0E> /usr/lib/dyld
0x7fff83f9c000 - 0x7fff83fa1ff7 libmacho.dylib (862) <126CA2ED-DE91-308F-8881-B9DAEC3C63B6> /usr/lib/system/libmacho.dylib
0x7fff83fa2000 - 0x7fff83fb8ff7 libsystem_asl.dylib (267) <F153AC5B-0542-356E-88C8-20A62CA704E2> /usr/lib/system/libsystem_asl.dylib
0x7fff84056000 - 0x7fff8405cff7 libsystem_networkextension.dylib (167.1.10) <29AB225B-D7FB-30ED-9600-65D44B9A9442> /usr/lib/system/libsystem_networkextension.dylib
0x7fff84242000 - 0x7fff842f1fe7 libvMisc.dylib (516) <6739E390-46E7-3BFA-9B69-B278562326E6> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x7fff84a06000 - 0x7fff84d9eff7 com.apple.CoreFoundation (6.9 - 1153.18) <5C0892B8-9691-341F-9279-CA3A74D59AA0> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff84da0000 - 0x7fff84da1fff libsystem_secinit.dylib (18) <581DAD0F-6B63-3A48-B63B-917AF799ABAA> /usr/lib/system/libsystem_secinit.dylib
0x7fff84e52000 - 0x7fff84fe0fff libBLAS.dylib (1128) <497912C1-A98E-3281-BED7-E9C751552F61> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x7fff85077000 - 0x7fff8509ffff libsystem_info.dylib (459.20.1) <AEB3FE62-4763-3050-8352-D6F9AF961AE6> /usr/lib/system/libsystem_info.dylib
0x7fff851bd000 - 0x7fff853b746f libobjc.A.dylib (647) <759E155D-BC42-3D4E-869B-6F57D477177C> /usr/lib/libobjc.A.dylib
0x7fff86cbc000 - 0x7fff86cd4ff7 libexpat.1.dylib (12) <C5FE8836-E277-3162-9D15-6735321CB2C6> /usr/lib/libexpat.1.dylib
0x7fff87479000 - 0x7fff874f1ff7 com.apple.SystemConfiguration (1.14 - 1.14) <06A8405D-53BA-30A9-BA8A-222099176091> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x7fff878aa000 - 0x7fff878b6ff7 libexslt.0.dylib (13) <9197981D-B0E9-39EB-9958-D4B181FB0B0E> /usr/lib/libexslt.0.dylib
0x7fff878b7000 - 0x7fff878bdfff libsystem_trace.dylib (72.20.1) <840F5301-B55A-3078-90B9-FEFFD6CD741A> /usr/lib/system/libsystem_trace.dylib
0x7fff878be000 - 0x7fff878c6fff libsystem_platform.dylib (63) <64E34079-D712-3D66-9CE2-418624A5C040> /usr/lib/system/libsystem_platform.dylib
0x7fff87e3c000 - 0x7fff87e3cfff com.apple.Accelerate (1.10 - Accelerate 1.10) <2C8AF258-4F11-3BEC-A826-22D7199B3975> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x7fff87f5a000 - 0x7fff88367ff7 libLAPACK.dylib (1128) <F9201AE7-B031-36DB-BCF8-971E994EF7C1> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0x7fff889d2000 - 0x7fff889fbffb libxslt.1.dylib (13) <AED1143F-B848-3E73-81ED-71356F25F084> /usr/lib/libxslt.1.dylib
0x7fff889fc000 - 0x7fff889fdfff libffi.dylib (18.1) <0F6C6A4D-1210-3585-8DA1-B8A94B9924A5> /usr/lib/libffi.dylib
0x7fff893fd000 - 0x7fff89435fff libsystem_network.dylib (412.20.3) <589A5F67-BE2A-3245-A181-0ECC9B53EB00> /usr/lib/system/libsystem_network.dylib
0x7fff89643000 - 0x7fff8966dff7 libdispatch.dylib (442.1.4) <502CF32B-669B-3709-8862-08188225E4F0> /usr/lib/system/libdispatch.dylib
0x7fff89a96000 - 0x7fff89a97ff7 libsystem_blocks.dylib (65) <9615D10A-FCA7-3BE4-AA1A-1B195DACE1A1> /usr/lib/system/libsystem_blocks.dylib
0x7fff89b3f000 - 0x7fff89b50fff libsystem_coretls.dylib (35.20.2) <6084A531-2523-39F8-B030-811FA1A32FB5> /usr/lib/system/libsystem_coretls.dylib
0x7fff8a0dc000 - 0x7fff8a0e4ffb libcopyfile.dylib (118.1.2) <0C68D3A6-ACDD-3EF3-991A-CC82C32AB836> /usr/lib/system/libcopyfile.dylib
0x7fff8a0e5000 - 0x7fff8a1c9fff libcrypto.0.9.8.dylib (52.20.2) <977DA067-2588-3BF8-A7B2-F08FC6E9088F> /usr/lib/libcrypto.0.9.8.dylib
0x7fff8b61f000 - 0x7fff8b695fe7 libcorecrypto.dylib (233.1.2) <E1789801-3985-3949-B736-6B3378873301> /usr/lib/system/libcorecrypto.dylib
0x7fff8bad4000 - 0x7fff8bad9fff libsystem_stats.dylib (163.20.16) <FBC3F80F-A0FB-3BD6-9A7E-800DE45F092E> /usr/lib/system/libsystem_stats.dylib
0x7fff8bc6e000 - 0x7fff8bc70ff7 libsystem_coreservices.dylib (9) <41B7C578-5A53-31C8-A96F-C73E030B0938> /usr/lib/system/libsystem_coreservices.dylib
0x7fff8bc75000 - 0x7fff8bc75ff7 libunc.dylib (29) <5676F7EA-C1DF-329F-B006-D2C3022B7D70> /usr/lib/system/libunc.dylib
0x7fff8be94000 - 0x7fff8be96fff libsystem_configuration.dylib (699.1.5) <20F3B077-179D-3CB0-A3C1-C8602D53B4DB> /usr/lib/system/libsystem_configuration.dylib
0x7fff8c5e0000 - 0x7fff8c5f0ff7 libbsm.0.dylib (34) <A3A2E56C-2B65-37C7-B43A-A1F926E1A0BB> /usr/lib/libbsm.0.dylib
0x7fff8ca07000 - 0x7fff8ca37fff libsystem_m.dylib (3086.1) <1E12AB45-6D96-36D0-A226-F24D9FB0D9D6> /usr/lib/system/libsystem_m.dylib
0x7fff8ca39000 - 0x7fff8ca41fff libsystem_dnssd.dylib (561.1.1) <62B70ECA-E40D-3C63-896E-7F00EC386DDB> /usr/lib/system/libsystem_dnssd.dylib
0x7fff8d38e000 - 0x7fff8d393ff7 libunwind.dylib (35.3) <BE7E51A0-B6EA-3A54-9CCA-9D88F683A6D6> /usr/lib/system/libunwind.dylib
0x7fff8d892000 - 0x7fff8d892ff7 liblaunch.dylib (559.20.9) <FA89A113-696E-3271-8FE1-A0D7324E8481> /usr/lib/system/liblaunch.dylib
0x7fff8d893000 - 0x7fff8d9a5ff7 libvDSP.dylib (516) <151B3CCB-77D3-3715-A3D0-7C74CD5C7FFC> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x7fff8d9c0000 - 0x7fff8d9c3ff7 libdyld.dylib (353.2.1) <9EACCA38-291D-38CC-811F-7E9D1451E2D3> /usr/lib/system/libdyld.dylib
0x7fff8d9c4000 - 0x7fff8da18fff libc++.1.dylib (120) <1B9530FD-989B-3174-BB1C-BDC159501710> /usr/lib/libc++.1.dylib
0x7fff8e32f000 - 0x7fff8e32ffff com.apple.Accelerate.vecLib (3.10 - vecLib 3.10) <9D749502-A228-3BF1-B52F-A182DEEB2C4D> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
0x7fff8e61a000 - 0x7fff8e61efff libcache.dylib (69) <45E9A2E7-99C4-36B2-BEE3-0C4E11614AD1> /usr/lib/system/libcache.dylib
0x7fff8f532000 - 0x7fff8f533ff3 libSystem.B.dylib (1213) <CCEC13A5-D0D9-31C5-B0B0-1C564B4A20A6> /usr/lib/libSystem.B.dylib
0x7fff8fd06000 - 0x7fff8fd2efff libxpc.dylib (559.20.9) <D35D0DB2-D7BD-3BE4-8378-062BFE545E1D> /usr/lib/system/libxpc.dylib
0x7fff906b8000 - 0x7fff909d3fcf com.apple.vImage (8.0 - 8.0) <1183FE6A-FDB6-3B3B-928D-50C7909F2308> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x7fff90a46000 - 0x7fff90a5dff7 libLinearAlgebra.dylib (1128) <E78CCBAA-A999-3B65-8EC9-06DB15E67C37> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLinearAlgebra.dylib
0x7fff90a8a000 - 0x7fff90a8cfff libquarantine.dylib (76.20.1) <7AF90041-2768-378A-925A-D83161863642> /usr/lib/system/libquarantine.dylib
0x7fff90a8d000 - 0x7fff90a8efff libDiagnosticMessagesClient.dylib (100) <2EE8E436-5CDC-34C5-9959-5BA218D507FB> /usr/lib/libDiagnosticMessagesClient.dylib
0x7fff90a8f000 - 0x7fff90a90fff com.apple.TrustEvaluationAgent (2.0 - 25) <2D61A2C3-C83E-3A3F-8EC1-736DBEC250AB> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent
0x7fff90eae000 - 0x7fff90eb0fff libsystem_sandbox.dylib (358.20.5) <4CF77128-6BE0-3958-B646-707FA9CE61B2> /usr/lib/system/libsystem_sandbox.dylib
0x7fff90eb1000 - 0x7fff90ebafff libsystem_pthread.dylib (105.10.1) <3103AA7F-3BAE-3673-9649-47FFD7E15C97> /usr/lib/system/libsystem_pthread.dylib
0x7fff90f75000 - 0x7fff90f91ff7 libsystem_malloc.dylib (53.1.1) <19BCC257-5717-3502-A71F-95D65AFA861B> /usr/lib/system/libsystem_malloc.dylib
0x7fff90f92000 - 0x7fff9101eff7 libsystem_c.dylib (1044.10.1) <86FBED7A-F2C8-3591-AD6F-486DD57E6B6A> /usr/lib/system/libsystem_c.dylib
0x7fff91214000 - 0x7fff91263ff7 libstdc++.6.dylib (104.1) <803F6AC8-87DC-3E24-9E80-729B551F6FFF> /usr/lib/libstdc++.6.dylib
0x7fff9128e000 - 0x7fff912d4ff7 libauto.dylib (186) <A260789B-D4D8-316A-9490-254767B8A5F1> /usr/lib/libauto.dylib
0x7fff912de000 - 0x7fff91309fff libc++abi.dylib (125) <88A22A0F-87C6-3002-BFBA-AC0F2808B8B9> /usr/lib/libc++abi.dylib
0x7fff913b7000 - 0x7fff913b8ffb libremovefile.dylib (35) <3485B5F4-6CE8-3C62-8DFD-8736ED6E8531> /usr/lib/system/libremovefile.dylib
0x7fff913be000 - 0x7fff913dbfff libsystem_kernel.dylib (2782.20.48) <EAFD7BD0-0C30-3E7D-9528-F9916BA0167C> /usr/lib/system/libsystem_kernel.dylib
0x7fff913dc000 - 0x7fff915c1ff7 libicucore.A.dylib (531.48) <3CD34752-B1F9-31D2-865D-B5B0F0BE3111> /usr/lib/libicucore.A.dylib
0x7fff91621000 - 0x7fff9162aff7 libsystem_notify.dylib (133.1.1) <61147800-F320-3DAA-850C-BADF33855F29> /usr/lib/system/libsystem_notify.dylib
0x7fff9183b000 - 0x7fff9183bff7 libkeymgr.dylib (28) <77845842-DE70-3CC5-BD01-C3D14227CED5> /usr/lib/system/libkeymgr.dylib
0x7fff91e1e000 - 0x7fff91e25ff7 libcompiler_rt.dylib (35) <BF8FC133-EE10-3DA6-9B90-92039E28678F> /usr/lib/system/libcompiler_rt.dylib
0x7fff929b5000 - 0x7fff929c0fff libcommonCrypto.dylib (60061) <D381EBC6-69D8-31D3-8084-5A80A32CB748> /usr/lib/system/libcommonCrypto.dylib
0x7fff931fe000 - 0x7fff9320fff7 libz.1.dylib (55) <88C7C7DE-04B8-316F-8B74-ACD9F3DE1AA1> /usr/lib/libz.1.dylib
0x7fff93210000 - 0x7fff93302fff libxml2.2.dylib (26) <B834E7C8-EC3E-3382-BC5A-DA38DC4D720C> /usr/lib/libxml2.2.dylib
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 289347
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=109.6M resident=41.3M(38%) swapped_out_or_unallocated=68.3M(62%)
Writable regions: Total=79.5M written=35.7M(45%) resident=43.7M(55%) swapped_out=0K(0%) unallocated=35.8M(45%)
REGION TYPE VIRTUAL
=========== =======
Kernel Alloc Once 4K
MALLOC 70.1M
MALLOC (admin) 16K
STACK GUARD 56.0M
Stack 8192K
VM_ALLOCATE 16K
__DATA 3676K
__LINKEDIT 73.4M
__TEXT 36.2M
__UNICODE 552K
shared memory 4K
=========== =======
TOTAL 247.8M
Model: MacBookPro11,1, BootROM MBP111.0138.B14, 2 processors, Intel Core i5, 2.6 GHz, 8 GB, SMC 2.16f68
Graphics: Intel Iris, Intel Iris, Built-In
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54343531533641465238412D50422020
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54343531533641465238412D50422020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x112), Broadcom BCM43xx 1.0 (7.15.166.24.3)
Bluetooth: Version 4.3.4f4 15601, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SM0256F, 251 GB
USB Device: Internal Memory Card Reader
USB Device: Apple Internal Keyboard / Trackpad
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 17.2
Thanks.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10293/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10293/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10294 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10294/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10294/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10294/events | https://github.com/pandas-dev/pandas/pull/10294 | 85,671,189 | MDExOlB1bGxSZXF1ZXN0MzcwODI0NDU= | 10,294 | ENH: #2679 - DataFrame.to_html() urls_as_links parameter. | {
"avatar_url": "https://avatars.githubusercontent.com/u/410907?v=4",
"events_url": "https://api.github.com/users/lexual/events{/privacy}",
"followers_url": "https://api.github.com/users/lexual/followers",
"following_url": "https://api.github.com/users/lexual/following{/other_user}",
"gists_url": "https://api.github.com/users/lexual/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lexual",
"id": 410907,
"login": "lexual",
"node_id": "MDQ6VXNlcjQxMDkwNw==",
"organizations_url": "https://api.github.com/users/lexual/orgs",
"received_events_url": "https://api.github.com/users/lexual/received_events",
"repos_url": "https://api.github.com/users/lexual/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lexual/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lexual/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lexual"
} | [
{
"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": "006b75",
"default": false,
"description": "read_html, to_html, Styler.apply, Styler.applymap",
"id": 57395487,
"name": "IO HTML",
"node_id": "MDU6TGFiZWw1NzM5NTQ4Nw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HTML"
}
]
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 11 | 2015-06-06T01:34:57Z | 2015-11-14T07:30:10Z | 2015-11-02T12:09:03Z | CONTRIBUTOR | null | New urls_as_links boolean paramater that will output urls as href html
links. ref #2679
Thanks for @tdas14 for initial code.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10294/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10294/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10294.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10294",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/10294.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10294"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10295 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10295/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10295/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10295/events | https://github.com/pandas-dev/pandas/issues/10295 | 85,675,154 | MDU6SXNzdWU4NTY3NTE1NA== | 10,295 | BUG/API: Datetime-like Index.order reset freq | {
"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": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "5319e7",
"default": false,
"description": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
},
{
"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": "eb6420",
"default": false,
"description": "Period data type",
"id": 60635328,
"name": "Period",
"node_id": "MDU6TGFiZWw2MDYzNTMyOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period"
}
]
| closed | false | null | []
| {
"closed_at": "2015-10-09T18:34:35Z",
"closed_issues": 593,
"created_at": "2015-03-23T10:47:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2015-10-10T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/34",
"id": 1033710,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels",
"node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==",
"number": 34,
"open_issues": 0,
"state": "closed",
"title": "0.17.0",
"updated_at": "2016-12-11T14:02:02Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34"
} | 3 | 2015-06-06T01:55:16Z | 2015-08-08T14:38:47Z | 2015-08-08T14:38:47Z | MEMBER | null | ### DatetimeIndex / TimedeltaIndex
```
import pandas as pd
idx = pd.date_range('2011-01-01', '2011-05-01', freq='M')
# freq must be preserved, because ``DatetimeIndex`` is ordered when it has freq
idx.order()
# DatetimeIndex(['2011-01-31', '2011-02-28', '2011-03-31', '2011-04-30'], dtype='datetime64[ns]', freq=None, tz=None)
# freq must be preserved like idx[::-1]
idx.order(ascending=False)
# DatetimeIndex(['2011-04-30', '2011-03-31', '2011-02-28', '2011-01-31'], dtype='datetime64[ns]', freq=None, tz=None)
idx[::-1]
# DatetimeIndex(['2011-04-30', '2011-03-31', '2011-02-28', '2011-01-31'], dtype='datetime64[ns]', freq='-1M', tz=None)
```
Internally, `order` may use `take` when `return_indexer` is `True` and should be fixed also.
### PeriodIndex
Results in `TypeError` because it doesn't pass `freq` ( `PeriodIndex` without freq is meaningless ). Required to fix #7832 first to use the same flow as `DatetimeIndex`, I think.
```
idx = pd.period_range('2011-01-01', '2011-05-01', freq='M')
idx.order()
# TypeError: expected string or buffer
idx.order().freq is None
# True
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10295/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10295/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10296 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10296/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10296/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10296/events | https://github.com/pandas-dev/pandas/pull/10296 | 85,695,838 | MDExOlB1bGxSZXF1ZXN0MzcwODQ4Mjk= | 10,296 | ENH: #3335 Pivot table support for setting name of margins column. | {
"avatar_url": "https://avatars.githubusercontent.com/u/410907?v=4",
"events_url": "https://api.github.com/users/lexual/events{/privacy}",
"followers_url": "https://api.github.com/users/lexual/followers",
"following_url": "https://api.github.com/users/lexual/following{/other_user}",
"gists_url": "https://api.github.com/users/lexual/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lexual",
"id": 410907,
"login": "lexual",
"node_id": "MDQ6VXNlcjQxMDkwNw==",
"organizations_url": "https://api.github.com/users/lexual/orgs",
"received_events_url": "https://api.github.com/users/lexual/received_events",
"repos_url": "https://api.github.com/users/lexual/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lexual/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lexual/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lexual"
} | [
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
]
| closed | false | null | []
| null | 6 | 2015-06-06T04:41:00Z | 2015-11-12T07:52:30Z | 2015-11-10T01:26:51Z | CONTRIBUTOR | null | ref #3335.
Adds margin_column parameter to pivot_table so that user can set it to
something other than 'All'.
Raises ValueError exception if there is a conflict between the value of
margin_column and one of the other values appearing in the indices of
the pivot table.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10296/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10296/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10296.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10296",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/10296.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10296"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10297 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10297/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10297/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10297/events | https://github.com/pandas-dev/pandas/issues/10297 | 85,698,841 | MDU6SXNzdWU4NTY5ODg0MQ== | 10,297 | Date Operations | {
"avatar_url": "https://avatars.githubusercontent.com/u/4349929?v=4",
"events_url": "https://api.github.com/users/ywhcuhk/events{/privacy}",
"followers_url": "https://api.github.com/users/ywhcuhk/followers",
"following_url": "https://api.github.com/users/ywhcuhk/following{/other_user}",
"gists_url": "https://api.github.com/users/ywhcuhk/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ywhcuhk",
"id": 4349929,
"login": "ywhcuhk",
"node_id": "MDQ6VXNlcjQzNDk5Mjk=",
"organizations_url": "https://api.github.com/users/ywhcuhk/orgs",
"received_events_url": "https://api.github.com/users/ywhcuhk/received_events",
"repos_url": "https://api.github.com/users/ywhcuhk/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ywhcuhk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ywhcuhk/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ywhcuhk"
} | [
{
"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 | []
| null | 3 | 2015-06-06T05:04:42Z | 2015-06-06T13:56:07Z | 2015-06-06T13:55:58Z | NONE | null | IMHO, two date functions from `SAS` can be very useful and straight forward. I wonder if they can be incorporated in Pandas.
### [`intck()`](http://support.sas.com/documentation/cdl/en/lefunctionsref/63354/HTML/default/viewer.htm#p1md4mx2crzfaqn14va8kt7qvfhr.htm)
This function computes the difference between 2 dates/datetime with specified units. For example
Assume: `d1=1992-03-20` and `d2=1992-06-12`. And these are all of `date` type in SAS.
`intck('month', d1, d2)` yields 3 (regardless of what day it is). `intck('qtr', d1, d2)` yields 1. `intck('year', d1, d2)` yields 0.
### [ `intnx()`](http://support.sas.com/documentation/cdl/en/lefunctionsref/63354/HTML/default/viewer.htm#p10v3sa3i4kfxfn1sovhi5xzxh8n.htm)
This function increments a given date by an interval. Assuming `d1=1992-03-20`, `intnx('month', d1, 3, 'end')` yields 1992-06-30 (increase month by 3 and return the last day of that month. `intnx('month', d1, 3, 'same')` yields 1992-06-20 (increase month by 3 and return the same day of that month.
---
As you can see, these two functions are very flexible and simple. The whole `offset` system seems to be a little too cumbersome comparing to these 2.
---
See this [question](http://stackoverflow.com/questions/23840797/convert-a-column-of-timestamps-into-periods-in-pandas) too. Especially the solution offered by @hayd
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10297/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10297/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10298 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10298/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10298/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10298/events | https://github.com/pandas-dev/pandas/pull/10298 | 85,702,150 | MDExOlB1bGxSZXF1ZXN0MzcwODUzNDg= | 10,298 | BUG: plotting grouped_hist with a single row frame #10214 | {
"avatar_url": "https://avatars.githubusercontent.com/u/109167?v=4",
"events_url": "https://api.github.com/users/scls19fr/events{/privacy}",
"followers_url": "https://api.github.com/users/scls19fr/followers",
"following_url": "https://api.github.com/users/scls19fr/following{/other_user}",
"gists_url": "https://api.github.com/users/scls19fr/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/scls19fr",
"id": 109167,
"login": "scls19fr",
"node_id": "MDQ6VXNlcjEwOTE2Nw==",
"organizations_url": "https://api.github.com/users/scls19fr/orgs",
"received_events_url": "https://api.github.com/users/scls19fr/received_events",
"repos_url": "https://api.github.com/users/scls19fr/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/scls19fr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/scls19fr/subscriptions",
"type": "User",
"url": "https://api.github.com/users/scls19fr"
} | [
{
"color": "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": "2015-06-13T17:49:05Z",
"closed_issues": 119,
"created_at": "2015-06-02T19:23:30Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "",
"due_on": "2015-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/35",
"id": 1145853,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35/labels",
"node_id": "MDk6TWlsZXN0b25lMTE0NTg1Mw==",
"number": 35,
"open_issues": 0,
"state": "closed",
"title": "0.16.2",
"updated_at": "2016-07-22T08:55:52Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35"
} | 8 | 2015-06-06T05:29:13Z | 2015-06-09T11:54:08Z | 2015-06-09T11:54:08Z | CONTRIBUTOR | null | closes #10214
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10298/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10298/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10298.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10298",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/10298.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10298"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10299 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10299/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10299/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10299/events | https://github.com/pandas-dev/pandas/issues/10299 | 85,704,919 | MDU6SXNzdWU4NTcwNDkxOQ== | 10,299 | Cannot use hex strings or named matplotlib colors with DataFrame.plot | {
"avatar_url": "https://avatars.githubusercontent.com/u/8889265?v=4",
"events_url": "https://api.github.com/users/pbreach/events{/privacy}",
"followers_url": "https://api.github.com/users/pbreach/followers",
"following_url": "https://api.github.com/users/pbreach/following{/other_user}",
"gists_url": "https://api.github.com/users/pbreach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/pbreach",
"id": 8889265,
"login": "pbreach",
"node_id": "MDQ6VXNlcjg4ODkyNjU=",
"organizations_url": "https://api.github.com/users/pbreach/orgs",
"received_events_url": "https://api.github.com/users/pbreach/received_events",
"repos_url": "https://api.github.com/users/pbreach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/pbreach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pbreach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/pbreach"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
]
| closed | false | null | []
| {
"closed_at": "2015-11-21T13:47:07Z",
"closed_issues": 216,
"created_at": "2015-09-10T14:30:44Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.17.0 of course!",
"due_on": "2015-11-21T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/37",
"id": 1299459,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/37/labels",
"node_id": "MDk6TWlsZXN0b25lMTI5OTQ1OQ==",
"number": 37,
"open_issues": 0,
"state": "closed",
"title": "0.17.1",
"updated_at": "2016-07-21T16:02:53Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/37"
} | 1 | 2015-06-06T05:47:58Z | 2015-10-15T14:20:58Z | 2015-10-15T14:20:58Z | CONTRIBUTOR | null | I was going to put this on SO but I think it might belong here instead:
I have a pandas DataFrame where I want to plot each column as a line with the same color. This might sound useless but I am showing groups of lines from certain selections of the DataFrame. The only problem is it appears that the `DataFrame.plot` method does not accept any matplotlib hex strings or named colors in the color kwarg.
A trivial example:
```
pd.DataFrame([range(10),range(10)]).plot(color='#008000')
```
gives a blank subplot with no errors, however,
```
pd.DataFrame([range(10),range(10)]).plot(color='g')
```
gives the expected result. To me this seems like a bug considering that `color='g'` works but not its hex string equivalent. The same issue occurs when trying to use a named matplotlib color like `color='lightgray'`. This does however work when using `Series.plot` or `DataFrame.plot` with one column or if a list of hex strings or named colors are given with length equal to the number of columns as in,
```
pd.DataFrame([range(10),range(10)]).plot(color=['#008000']*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/10299/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10299/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/10300 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10300/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10300/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10300/events | https://github.com/pandas-dev/pandas/pull/10300 | 85,726,110 | MDExOlB1bGxSZXF1ZXN0MzcwODc2MTU= | 10,300 | ENH: #8750 add Series support for to_html and _repr_html_ | {
"avatar_url": "https://avatars.githubusercontent.com/u/410907?v=4",
"events_url": "https://api.github.com/users/lexual/events{/privacy}",
"followers_url": "https://api.github.com/users/lexual/followers",
"following_url": "https://api.github.com/users/lexual/following{/other_user}",
"gists_url": "https://api.github.com/users/lexual/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lexual",
"id": 410907,
"login": "lexual",
"node_id": "MDQ6VXNlcjQxMDkwNw==",
"organizations_url": "https://api.github.com/users/lexual/orgs",
"received_events_url": "https://api.github.com/users/lexual/received_events",
"repos_url": "https://api.github.com/users/lexual/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lexual/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lexual/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lexual"
} | [
{
"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": "006b75",
"default": false,
"description": "read_html, to_html, Styler.apply, Styler.applymap",
"id": 57395487,
"name": "IO HTML",
"node_id": "MDU6TGFiZWw1NzM5NTQ4Nw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HTML"
}
]
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 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"
} | 22 | 2015-06-06T09:07:44Z | 2016-10-10T16:19:48Z | 2016-07-21T16:16:11Z | CONTRIBUTOR | null | closes #5563
| {
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10300/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10300/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10300.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10300",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/10300.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10300"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10301 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10301/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10301/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10301/events | https://github.com/pandas-dev/pandas/pull/10301 | 85,761,224 | MDExOlB1bGxSZXF1ZXN0MzcwOTEzNTE= | 10,301 | DOC: #7828 Add json_normalize to api docs. | {
"avatar_url": "https://avatars.githubusercontent.com/u/410907?v=4",
"events_url": "https://api.github.com/users/lexual/events{/privacy}",
"followers_url": "https://api.github.com/users/lexual/followers",
"following_url": "https://api.github.com/users/lexual/following{/other_user}",
"gists_url": "https://api.github.com/users/lexual/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lexual",
"id": 410907,
"login": "lexual",
"node_id": "MDQ6VXNlcjQxMDkwNw==",
"organizations_url": "https://api.github.com/users/lexual/orgs",
"received_events_url": "https://api.github.com/users/lexual/received_events",
"repos_url": "https://api.github.com/users/lexual/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lexual/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lexual/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lexual"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
]
| closed | false | null | []
| {
"closed_at": "2015-06-13T17:49:05Z",
"closed_issues": 119,
"created_at": "2015-06-02T19:23:30Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "",
"due_on": "2015-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/35",
"id": 1145853,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35/labels",
"node_id": "MDk6TWlsZXN0b25lMTE0NTg1Mw==",
"number": 35,
"open_issues": 0,
"state": "closed",
"title": "0.16.2",
"updated_at": "2016-07-22T08:55:52Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35"
} | 3 | 2015-06-06T14:45:10Z | 2015-06-08T12:04:03Z | 2015-06-07T22:24:16Z | CONTRIBUTOR | null | closes #7828
Is this all we need?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10301/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10301/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10301.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10301",
"merged_at": "2015-06-07T22:24:15Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10301.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10301"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/10302 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10302/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10302/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10302/events | https://github.com/pandas-dev/pandas/pull/10302 | 85,781,211 | MDExOlB1bGxSZXF1ZXN0MzcwOTMzNDM= | 10,302 | BUG: read_csv does not set index name on an empty DataFrame | {
"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": "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": "2015-06-13T17:49:05Z",
"closed_issues": 119,
"created_at": "2015-06-02T19:23:30Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "",
"due_on": "2015-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/35",
"id": 1145853,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35/labels",
"node_id": "MDk6TWlsZXN0b25lMTE0NTg1Mw==",
"number": 35,
"open_issues": 0,
"state": "closed",
"title": "0.16.2",
"updated_at": "2016-07-22T08:55:52Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35"
} | 1 | 2015-06-06T16:57:35Z | 2015-09-19T00:38:30Z | 2015-06-07T23:06:15Z | CONTRIBUTOR | null | Fixes GH #10184.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10302/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10302/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/10302.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/10302",
"merged_at": "2015-06-07T23:06:15Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/10302.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/10302"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.