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/11303 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11303/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11303/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11303/events | https://github.com/pandas-dev/pandas/pull/11303 | 111,046,628 | MDExOlB1bGxSZXF1ZXN0NDc0NTkzOTQ= | 11,303 | DOC Use plot.<kind> instead of plot(kind=<kind>) GH11043 | {
"avatar_url": "https://avatars.githubusercontent.com/u/31669?v=4",
"events_url": "https://api.github.com/users/Moisan/events{/privacy}",
"followers_url": "https://api.github.com/users/Moisan/followers",
"following_url": "https://api.github.com/users/Moisan/following{/other_user}",
"gists_url": "https://api.github.com/users/Moisan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Moisan",
"id": 31669,
"login": "Moisan",
"node_id": "MDQ6VXNlcjMxNjY5",
"organizations_url": "https://api.github.com/users/Moisan/orgs",
"received_events_url": "https://api.github.com/users/Moisan/received_events",
"repos_url": "https://api.github.com/users/Moisan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Moisan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Moisan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Moisan"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
]
| closed | false | null | []
| {
"closed_at": "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"
} | 23 | 2015-10-12T20:11:24Z | 2016-02-15T19:22:24Z | 2016-02-12T03:10:54Z | CONTRIBUTOR | null | closes #11043
I modified the visualization documentation to use plot.<kind> instead of plot(kind=<kind>) in the examples as explained by [issue 11043](https://github.com/pydata/pandas/issues/11043).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11303/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11303/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11303.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11303",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/11303.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11303"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11304 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11304/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11304/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11304/events | https://github.com/pandas-dev/pandas/issues/11304 | 111,061,362 | MDU6SXNzdWUxMTEwNjEzNjI= | 11,304 | Incorrect match for pd.Term with Categorical at read_hdf | {
"avatar_url": "https://avatars.githubusercontent.com/u/69774?v=4",
"events_url": "https://api.github.com/users/michaelaye/events{/privacy}",
"followers_url": "https://api.github.com/users/michaelaye/followers",
"following_url": "https://api.github.com/users/michaelaye/following{/other_user}",
"gists_url": "https://api.github.com/users/michaelaye/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/michaelaye",
"id": 69774,
"login": "michaelaye",
"node_id": "MDQ6VXNlcjY5Nzc0",
"organizations_url": "https://api.github.com/users/michaelaye/orgs",
"received_events_url": "https://api.github.com/users/michaelaye/received_events",
"repos_url": "https://api.github.com/users/michaelaye/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/michaelaye/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/michaelaye/subscriptions",
"type": "User",
"url": "https://api.github.com/users/michaelaye"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
},
{
"color": "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 | 18 | 2015-10-12T21:40:48Z | 2021-03-25T20:38:06Z | 2021-03-25T20:38:06Z | CONTRIBUTOR | null | In below screenshot, I am scanning the database for a categorical called `classification_id` with the value `50ef44b795e6e42cd2000001` but I am getting a data-row where the categorical has the value 50ef44b795e6e42cd6000001`.
How is this possible? Note that my list of categorical is huge, more than 4 million entries, with 12 million total rows. (Yes, on average, each classification_id appears 3 times.)
<img width="931" alt="screenshot 2015-10-12 15 31 25" src="https://cloud.githubusercontent.com/assets/69774/10439330/7755e45a-70f6-11e5-9dc6-26ee7359d95a.png">
On a side note: The display of this one row of numpy in the line with `.values` at the end takes a lot of time, possibly due to large size of the Categorical, can that be avoided somehow?
Here's my required meta-data for the bug report:
pandas Version: 0.17.0
## INSTALLED VERSIONS
commit: None
python: 3.4.3.final.0
python-bits: 64
OS: Darwin
OS-release: 14.5.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
pandas: 0.17.0
nose: 1.3.7
pip: 7.1.2
setuptools: 18.3.2
Cython: None
numpy: 1.10.0
scipy: 0.16.0
statsmodels: None
IPython: 4.1.0-dev
sphinx: None
patsy: None
dateutil: 2.4.2
pytz: 2015.6
blosc: None
bottleneck: None
tables: 3.2.2
numexpr: 2.4.4
matplotlib: 1.4.3
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: 1.0.8
pymysql: None
psycopg2: None
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11304/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11304/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11305 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11305/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11305/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11305/events | https://github.com/pandas-dev/pandas/issues/11305 | 111,064,357 | MDU6SXNzdWUxMTEwNjQzNTc= | 11,305 | PERF: rendering of large number of categories | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "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": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
]
| closed | false | null | []
| {
"closed_at": "2015-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-10-12T22:03:18Z | 2015-11-13T15:13:07Z | 2015-11-13T15:13:07Z | CONTRIBUTOR | null | xref #11304
```
items = [str(i) for i in range(40000)]
s = pd.Series(items, dtype='category')
df = pd.DataFrame({'C':s, 'data':np.random.randn(40000)})
data = df[df.C=='20']
str(data.C)
```
This renders the string of all of the categories before chopping them, see [here](https://github.com/pydata/pandas/blob/master/pandas/core/categorical.py#L1392)
This should check for a large number of categories first, then render the chopped portions.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11305/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11305/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11306 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11306/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11306/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11306/events | https://github.com/pandas-dev/pandas/pull/11306 | 111,088,892 | MDExOlB1bGxSZXF1ZXN0NDc0ODM3MzA= | 11,306 | Checking for length of categories before doing string conversion. fix… | {
"avatar_url": "https://avatars.githubusercontent.com/u/69774?v=4",
"events_url": "https://api.github.com/users/michaelaye/events{/privacy}",
"followers_url": "https://api.github.com/users/michaelaye/followers",
"following_url": "https://api.github.com/users/michaelaye/following{/other_user}",
"gists_url": "https://api.github.com/users/michaelaye/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/michaelaye",
"id": 69774,
"login": "michaelaye",
"node_id": "MDQ6VXNlcjY5Nzc0",
"organizations_url": "https://api.github.com/users/michaelaye/orgs",
"received_events_url": "https://api.github.com/users/michaelaye/received_events",
"repos_url": "https://api.github.com/users/michaelaye/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/michaelaye/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/michaelaye/subscriptions",
"type": "User",
"url": "https://api.github.com/users/michaelaye"
} | [
{
"color": "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": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
]
| closed | false | null | []
| {
"closed_at": "2015-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"
} | 8 | 2015-10-13T02:04:54Z | 2015-11-13T15:13:19Z | 2015-11-13T15:13:19Z | CONTRIBUTOR | null | closes #11305
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11306/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11306/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11306.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11306",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/11306.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11306"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11307 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11307/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11307/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11307/events | https://github.com/pandas-dev/pandas/issues/11307 | 111,109,131 | MDU6SXNzdWUxMTExMDkxMzE= | 11,307 | import pandas.io.ga as ga, Credentials, python-gflags-2.0, run_flow() or run()? | {
"avatar_url": "https://avatars.githubusercontent.com/u/12854767?v=4",
"events_url": "https://api.github.com/users/jaradc/events{/privacy}",
"followers_url": "https://api.github.com/users/jaradc/followers",
"following_url": "https://api.github.com/users/jaradc/following{/other_user}",
"gists_url": "https://api.github.com/users/jaradc/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jaradc",
"id": 12854767,
"login": "jaradc",
"node_id": "MDQ6VXNlcjEyODU0NzY3",
"organizations_url": "https://api.github.com/users/jaradc/orgs",
"received_events_url": "https://api.github.com/users/jaradc/received_events",
"repos_url": "https://api.github.com/users/jaradc/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jaradc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jaradc/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jaradc"
} | [
{
"color": "0052cc",
"default": false,
"description": "pandas-gbq compatability",
"id": 57351315,
"name": "IO Google",
"node_id": "MDU6TGFiZWw1NzM1MTMxNQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Google"
}
]
| closed | false | null | []
| null | 4 | 2015-10-13T05:40:09Z | 2016-05-27T01:53:08Z | 2015-10-14T11:44:49Z | NONE | null | I am trying to get [Google Analytics](http://pandas.pydata.org/pandas-docs/version/0.17.0/remote_data.html#remote-data-ga) pulling in data but am experiencing many problems. I'll outline them here.
**My Setup**: I am using Pandas '0.17.0' and Python 3.4.2 32-bit.
1. The Google Analytics console credentials screen no longer has "Installed application" application type as an option. At this point in time, even [Google's documentation](https://developers.google.com/analytics/devguides/reporting/core/v3/quickstart/installed-py) is not up-to-date. Options are now:
- **API key**
- Server key
- Browser key
- Android key
- iOS key
- **OAuth 2.0 client ID**
- Web application
- Android
- Chrome App
- iOS
- PlayStation 4
- Other
- **Service account**
- JSON
- P12
The feedback here is, pandas documentation says to choose "Installed Application" but now that Google has changed things, what should a user setup given that "Installed Application" is no longer an option? My best guess is OAuth 2.0 client ID > Other. This will produce a JSON for download.
2. As instruction say, I downloaded JSON file renamed it to 'client_secrets.json' and moved it to `C:\Python34\Lib\site-packages\pandas\io` on my machine.
3. I then try to import as follows `import pandas.io.ga as ga`. Error given: `ImportError: No module named 'apiclient'`. No problem. I understand this to mean I don't have the Google Analytics modules. So, `pip install --upgrade google-api-python-client` then try to import again.
4. Again, `import pandas.io.ga as ga`. Error given: `ImportError: No module named 'gflags'`. OK, so I need a module named gflags apparently. After seeing [this post on StackOverflow](http://stackoverflow.com/questions/29148413/execution-of-google-perflkit-failing-due-to-syntax-error-in-packages-gflags-py), it appears gflags might not support Python 3.X.
5. I do a search for gflags and learn it's some sort of [command-line flags module](https://github.com/google/python-gflags) that hasn't been updated in 4 years (at the time of this writing). OK... let's give it a shot I guess. `pip install python-gflags`. That ended up installing `python-gflags-2.0`.
6. Once again, `import pandas.io.ga as ga`. Error:
`File "C:\Python34\lib\site-packages\gflags.py", line 1091 except gflags_validators.Error, e:`. So I did some more research and found this post describing the [except gflags_validators.Error, e](https://github.com/google/python-gflags/issues/20) error. This kind of confirms that `gflags` is for Python 2.X (not that I needed that confirmation since it clearly states it on the [pypi page](https://pypi.python.org/pypi/python-gflags)). I guess I could run 2to3 but I'll try to fix them manually.
- Line 1091: `except gflags_validators.Error, e:` ---to--- `except gflags_validators.Error as e:`
- Line 1270: `except getopt.GetoptError, e:` ---to--- `except getopt.GetoptError as e:`
- Line 1573: `except IOError, e_msg:` ---to--- `except IOError as e_msg:`
- Line 1886: `except ValueError, e:` ---to--- `except ValueError as e:`
- Lines 2399, 2401, 2402, 2429, 2431, 2432 ---- > Wrap print statements in parentheses.
7EVEN. Trying again, `import pandas.io.ga as ga` and it works with no errors.
8IGHT. Great. Now I can finally try GA:
``` python
>>> ga.read_ga(
account_id = "23659189",
property_id = "UA-23659189-1",
metrics = ['users', 'pageviews'],
dimensions = ['dayOfWeek'],
start_date = "2014-01-01",
end_date = "2014-08-01",
)
Traceback (most recent call last):
File "<pyshell#10>", line 7, in <module>
end_date = "2014-08-01",
File "C:\Python34\lib\site-packages\pandas\io\ga.py", line 104, in read_ga
reader = GAnalytics(**reader_kwds)
File "C:\Python34\lib\site-packages\pandas\io\ga.py", line 173, in __init__
self._service = self._init_service(secrets)
File "C:\Python34\lib\site-packages\pandas\io\ga.py", line 185, in _init_service
http = self.authenticate(secrets)
File "C:\Python34\lib\site-packages\pandas\io\ga.py", line 145, in authenticate
return auth.authenticate(flow, self.token_store)
File "C:\Python34\lib\site-packages\pandas\io\auth.py", line 108, in authenticate
credentials = tools.run(flow, storage)
AttributeError: 'module' object has no attribute 'run'
```
9INE. I look in `"C:\Python34\lib\site-packages\pandas\io\auth.py"` and notice line 108 is `credentials = tools.run(flow, storage)`. `tools` is imported by `import oauth2client.tools as tools`, so I open up `oauth2client.tools` and go to line 115 which has a function named `run_flow`. I don't see a function named `run`. The doc strings seem to also reference the function `run()` so perhaps this name has changed. So, in line 108 of `pandas\io\auth.py` I change `credentials = tools.run(flow, storage)` to `credentials = tools.run_flow(flow, storage)`. The problem now is that run_flow has a required parameter `flags` _and I have no idea what to do next_... **I'm pretty sure `flags` is supposed to be used in a command-line fashion but I'm trying to use it within Python IDLE and by calling ga.read_ga().**
``` python
def run_flow(flow, storage, flags, http=None):
"""Core code for a command-line application.
The ``run()`` function is called from your application and runs
through all the steps to obtain credentials. It takes a ``Flow``
argument and attempts to open an authorization server page in the
user's default web browser. The server asks the user to grant your
application access to the user's data. If the user grants access,
the ``run()`` function returns new credentials. The new credentials
are also stored in the ``storage`` argument, which updates the file
associated with the ``Storage`` object.
It presumes it is run from a command-line application and supports the
following flags:
``--auth_host_name`` (string, default: ``localhost``)
Host name to use when running a local web server to handle
redirects during OAuth authorization.
``--auth_host_port`` (integer, default: ``[8080, 8090]``)
Port to use when running a local web server to handle redirects
during OAuth authorization. Repeat this option to specify a list
of values.
``--[no]auth_local_webserver`` (boolean, default: ``True``)
Run a local web server to handle redirects during OAuth
authorization.
The tools module defines an ``ArgumentParser`` the already contains the
flag definitions that ``run()`` requires. You can pass that
``ArgumentParser`` to your ``ArgumentParser`` constructor::
parser = argparse.ArgumentParser(
description=__doc__,
formatter_class=argparse.RawDescriptionHelpFormatter,
parents=[tools.argparser])
flags = parser.parse_args(argv)
Args:
flow: Flow, an OAuth 2.0 Flow to step through.
storage: Storage, a ``Storage`` to store the credential in.
flags: ``argparse.Namespace``, The command-line flags. This is the
object returned from calling ``parse_args()`` on
``argparse.ArgumentParser`` as described above.
http: An instance of ``httplib2.Http.request`` or something that
acts like it.
Returns:
Credentials, the obtained credential.
"""
```
Am I doing something wrong? Should I be changing `run()` to `run_flow()`? If it's supposed to be `run_flow()`, what do I change the `flags` argument to in `pandas\io\auth.py`?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11307/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11307/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11308 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11308/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11308/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11308/events | https://github.com/pandas-dev/pandas/issues/11308 | 111,160,235 | MDU6SXNzdWUxMTExNjAyMzU= | 11,308 | DEPR: google-analytics | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "0052cc",
"default": false,
"description": "pandas-gbq compatability",
"id": 57351315,
"name": "IO Google",
"node_id": "MDU6TGFiZWw1NzM1MTMxNQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Google"
},
{
"color": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
]
| closed | false | null | []
| {
"closed_at": "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"
} | 2 | 2015-10-13T11:24:31Z | 2015-11-23T05:17:15Z | 2015-10-14T00:09:21Z | CONTRIBUTOR | null | not supported / tested in quite some time. this should be spun off into a separate package.
let's deprecate at least in 0.17.1.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11308/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11308/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11309 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11309/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11309/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11309/events | https://github.com/pandas-dev/pandas/pull/11309 | 111,162,965 | MDExOlB1bGxSZXF1ZXN0NDc1MjIyNzU= | 11,309 | REGR: change in output formatting for long floats/nan, #11302 | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "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-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"
} | 0 | 2015-10-13T11:43:48Z | 2015-10-13T13:57:40Z | 2015-10-13T13:57:40Z | CONTRIBUTOR | null | closes #11302
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11309/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11309/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11309.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11309",
"merged_at": "2015-10-13T13:57:40Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11309.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11309"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11310 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11310/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11310/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11310/events | https://github.com/pandas-dev/pandas/issues/11310 | 111,168,135 | MDU6SXNzdWUxMTExNjgxMzU= | 11,310 | Pandas.plot() fails to calculate the right xlims | {
"avatar_url": "https://avatars.githubusercontent.com/u/10776763?v=4",
"events_url": "https://api.github.com/users/AKuederle/events{/privacy}",
"followers_url": "https://api.github.com/users/AKuederle/followers",
"following_url": "https://api.github.com/users/AKuederle/following{/other_user}",
"gists_url": "https://api.github.com/users/AKuederle/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/AKuederle",
"id": 10776763,
"login": "AKuederle",
"node_id": "MDQ6VXNlcjEwNzc2NzYz",
"organizations_url": "https://api.github.com/users/AKuederle/orgs",
"received_events_url": "https://api.github.com/users/AKuederle/received_events",
"repos_url": "https://api.github.com/users/AKuederle/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/AKuederle/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AKuederle/subscriptions",
"type": "User",
"url": "https://api.github.com/users/AKuederle"
} | [
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
]
| closed | false | null | []
| null | 1 | 2015-10-13T12:18:19Z | 2017-09-19T18:52:04Z | 2017-09-19T18:52:04Z | NONE | null | While working with cyclic data, Pandas failed to calculate the right limits for the plot. I am not sure which exact characteristic of my data causes the problem, but I will observe if further when I have time for it. Until then, here is the notebook in which the error occurred:
http://nbviewer.ipython.org/gist/AKuederle/d7837facee0479beb6cf
The first plot is the pandas plot, which has the wrong x-limits.
The second plot is the same (or at least I thought) the same plot using matplotlib directly.
The third plot shows, that it padas issue is indeed the x-limits and not something else in plotting process
Edit:
Used package Versions:
```
commit: None
python: 3.4.3.final.0
python-bits: 64
OS: Windows
OS-release: 8
machine: AMD64
processor: AMD64 Family 16 Model 10 Stepping 0, AuthenticAMD
byteorder: little
LC_ALL: None
LANG: None
pandas: 0.16.2
nose: 1.3.7
Cython: 0.23.3
numpy: 1.9.3
scipy: 0.16.0
statsmodels: 0.6.1
IPython: 4.0.0
sphinx: 1.2.3
patsy: 0.4.0
dateutil: 2.4.1
pytz: 2015.6
bottleneck: 1.0.0
tables: 3.2.2
numexpr: 2.4.4
matplotlib: 1.4.3
openpyxl: 2.0.2
xlrd: 0.9.4
xlwt: 1.0.0
xlsxwriter: 0.7.5
lxml: 3.4.4
bs4: 4.3.2
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: 1.0.8
pymysql: None
psycopg2: None
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11310/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11310/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11311 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11311/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11311/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11311/events | https://github.com/pandas-dev/pandas/issues/11311 | 111,171,958 | MDU6SXNzdWUxMTExNzE5NTg= | 11,311 | DataFrame .sum() division now expands columns to include index | {
"avatar_url": "https://avatars.githubusercontent.com/u/11052386?v=4",
"events_url": "https://api.github.com/users/schwallie2/events{/privacy}",
"followers_url": "https://api.github.com/users/schwallie2/followers",
"following_url": "https://api.github.com/users/schwallie2/following{/other_user}",
"gists_url": "https://api.github.com/users/schwallie2/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/schwallie2",
"id": 11052386,
"login": "schwallie2",
"node_id": "MDQ6VXNlcjExMDUyMzg2",
"organizations_url": "https://api.github.com/users/schwallie2/orgs",
"received_events_url": "https://api.github.com/users/schwallie2/received_events",
"repos_url": "https://api.github.com/users/schwallie2/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/schwallie2/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/schwallie2/subscriptions",
"type": "User",
"url": "https://api.github.com/users/schwallie2"
} | [
{
"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 | 9 | 2015-10-13T12:42:06Z | 2015-10-13T14:39:19Z | 2015-10-13T13:08:17Z | NONE | null | ```
dic = {'01/31/2015': {'A': 5, 'B': 10, 'C': 15},
'02/28/2015': {'A': 1, 'B': 20, 'C': 2}}
df = pd.DataFrame.from_dict(dic, orient='index')
df * 100 / df.sum(axis=1)
Out[33]:
01/31/2015 02/28/2015 A B C
01/31/2015 NaN NaN NaN NaN NaN
02/28/2015 NaN NaN NaN NaN NaN
```
What used to occur here was this, which I assume is expected behavior:
```
df.apply(lambda x: x * 100 / x.sum(), axis=1)
Out[34]:
A C B
01/31/2015 16.666667 50.000000 33.333333
02/28/2015 4.347826 8.695652 86.956522
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11311/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11311/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11312 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11312/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11312/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11312/events | https://github.com/pandas-dev/pandas/issues/11312 | 111,180,628 | MDU6SXNzdWUxMTExODA2Mjg= | 11,312 | ENH: interpolation of datetime values (NaT) | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "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"
}
]
| 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"
} | 3 | 2015-10-13T13:33:32Z | 2020-03-31T05:30:09Z | null | MEMBER | null | I didn't directly found an open issue about it, but is there a reason we do not implement interpolation of datetime _values_ (so not in the index)?
Example:
```
In [14]: s = pd.Series(pd.date_range('2012-01-01', periods=5))
In [16]: s[2] = np.nan
In [17]: s
Out[17]:
0 2012-01-01
1 2012-01-02
2 NaT
3 2012-01-04
4 2012-01-05
dtype: datetime64[ns]
In [18]: s.interpolate()
Out[18]:
0 2012-01-01
1 2012-01-02
2 NaT
3 2012-01-04
4 2012-01-05
dtype: datetime64[ns]
```
A crude manual work around:
```
In [20]: s2 = pd.Series(s.values.astype('int64'))
In [21]: s2[s2<0] = np.nan
In [22]: s2
Out[22]:
0 1.325376e+18
1 1.325462e+18
2 NaN
3 1.325635e+18
4 1.325722e+18
dtype: float64
In [23]: pd.to_datetime(s2.interpolate(), unit='ns')
Out[23]:
0 2012-01-01
1 2012-01-02
2 2012-01-03
3 2012-01-04
4 2012-01-05
dtype: datetime64[ns]
```
| {
"+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/11312/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11312/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11313 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11313/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11313/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11313/events | https://github.com/pandas-dev/pandas/pull/11313 | 111,204,801 | MDExOlB1bGxSZXF1ZXN0NDc1NDgzNzQ= | 11,313 | Correct typo in error message. | {
"avatar_url": "https://avatars.githubusercontent.com/u/7449705?v=4",
"events_url": "https://api.github.com/users/bmcguirk/events{/privacy}",
"followers_url": "https://api.github.com/users/bmcguirk/followers",
"following_url": "https://api.github.com/users/bmcguirk/following{/other_user}",
"gists_url": "https://api.github.com/users/bmcguirk/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bmcguirk",
"id": 7449705,
"login": "bmcguirk",
"node_id": "MDQ6VXNlcjc0NDk3MDU=",
"organizations_url": "https://api.github.com/users/bmcguirk/orgs",
"received_events_url": "https://api.github.com/users/bmcguirk/received_events",
"repos_url": "https://api.github.com/users/bmcguirk/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bmcguirk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bmcguirk/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bmcguirk"
} | [
{
"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-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"
} | 2 | 2015-10-13T15:26:45Z | 2015-10-13T15:58:47Z | 2015-10-13T15:50:55Z | NONE | null | Change `# duplicate columns & possible reduce dimensionaility` error message comment to `# duplicate columns & possible reduce dimensionality`.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11313/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11313/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11313.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11313",
"merged_at": "2015-10-13T15:50:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11313.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11313"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11314 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11314/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11314/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11314/events | https://github.com/pandas-dev/pandas/issues/11314 | 111,228,832 | MDU6SXNzdWUxMTEyMjg4MzI= | 11,314 | set_index does not set 'freq' | {
"avatar_url": "https://avatars.githubusercontent.com/u/8578990?v=4",
"events_url": "https://api.github.com/users/joshplumley/events{/privacy}",
"followers_url": "https://api.github.com/users/joshplumley/followers",
"following_url": "https://api.github.com/users/joshplumley/following{/other_user}",
"gists_url": "https://api.github.com/users/joshplumley/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/joshplumley",
"id": 8578990,
"login": "joshplumley",
"node_id": "MDQ6VXNlcjg1Nzg5OTA=",
"organizations_url": "https://api.github.com/users/joshplumley/orgs",
"received_events_url": "https://api.github.com/users/joshplumley/received_events",
"repos_url": "https://api.github.com/users/joshplumley/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/joshplumley/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/joshplumley/subscriptions",
"type": "User",
"url": "https://api.github.com/users/joshplumley"
} | [
{
"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-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-10-13T17:26:49Z | 2015-10-13T18:50:57Z | 2015-10-13T18:50:33Z | NONE | null | pandas 0.17.0 does not seem to set the freq attribute on the index anymore. I believe 0.16.2 did.
Example:
```
import pandas
import numpy
import datetime
df = pandas.DataFrame(numpy.random.randn(24, 1), columns=['a'], index=pandas.date_range(datetime.datetime(2015, 10, 1), datetime.datetime(2015,10,1,23), freq='H', tz='US/Eastern'))
new_index = pandas.date_range(datetime.datetime(2015, 10, 2), datetime.datetime(2015,10,2,23), freq='H', tz='US/Eastern')
new_df = df.set_index(new_index)
In [2]: df.index
Out[2]:
DatetimeIndex(['2015-10-01 00:00:00-04:00', '2015-10-01 01:00:00-04:00',
'2015-10-01 02:00:00-04:00', '2015-10-01 03:00:00-04:00',
'2015-10-01 04:00:00-04:00', '2015-10-01 05:00:00-04:00',
'2015-10-01 06:00:00-04:00', '2015-10-01 07:00:00-04:00',
'2015-10-01 08:00:00-04:00', '2015-10-01 09:00:00-04:00',
'2015-10-01 10:00:00-04:00', '2015-10-01 11:00:00-04:00',
'2015-10-01 12:00:00-04:00', '2015-10-01 13:00:00-04:00',
'2015-10-01 14:00:00-04:00', '2015-10-01 15:00:00-04:00',
'2015-10-01 16:00:00-04:00', '2015-10-01 17:00:00-04:00',
'2015-10-01 18:00:00-04:00', '2015-10-01 19:00:00-04:00',
'2015-10-01 20:00:00-04:00', '2015-10-01 21:00:00-04:00',
'2015-10-01 22:00:00-04:00', '2015-10-01 23:00:00-04:00'],
dtype='datetime64[ns, US/Eastern]', freq='H')
In [3]: new_df.index
Out[3]:
DatetimeIndex(['2015-10-02 00:00:00-04:00', '2015-10-02 01:00:00-04:00',
'2015-10-02 02:00:00-04:00', '2015-10-02 03:00:00-04:00',
'2015-10-02 04:00:00-04:00', '2015-10-02 05:00:00-04:00',
'2015-10-02 06:00:00-04:00', '2015-10-02 07:00:00-04:00',
'2015-10-02 08:00:00-04:00', '2015-10-02 09:00:00-04:00',
'2015-10-02 10:00:00-04:00', '2015-10-02 11:00:00-04:00',
'2015-10-02 12:00:00-04:00', '2015-10-02 13:00:00-04:00',
'2015-10-02 14:00:00-04:00', '2015-10-02 15:00:00-04:00',
'2015-10-02 16:00:00-04:00', '2015-10-02 17:00:00-04:00',
'2015-10-02 18:00:00-04:00', '2015-10-02 19:00:00-04:00',
'2015-10-02 20:00:00-04:00', '2015-10-02 21:00:00-04:00',
'2015-10-02 22:00:00-04:00', '2015-10-02 23:00:00-04:00'],
dtype='datetime64[ns, US/Eastern]', freq=None)
```
The datetime appears to have been set correctly, but the freq is = None on the new_df. Is this normal behavior with pandas 0.17.0?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11314/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11314/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11315 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11315/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11315/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11315/events | https://github.com/pandas-dev/pandas/pull/11315 | 111,241,583 | MDExOlB1bGxSZXF1ZXN0NDc1NzEwMTk= | 11,315 | Fixed typo | {
"avatar_url": "https://avatars.githubusercontent.com/u/1315874?v=4",
"events_url": "https://api.github.com/users/dniku/events{/privacy}",
"followers_url": "https://api.github.com/users/dniku/followers",
"following_url": "https://api.github.com/users/dniku/following{/other_user}",
"gists_url": "https://api.github.com/users/dniku/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dniku",
"id": 1315874,
"login": "dniku",
"node_id": "MDQ6VXNlcjEzMTU4NzQ=",
"organizations_url": "https://api.github.com/users/dniku/orgs",
"received_events_url": "https://api.github.com/users/dniku/received_events",
"repos_url": "https://api.github.com/users/dniku/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dniku/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dniku/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dniku"
} | []
| closed | false | null | []
| null | 1 | 2015-10-13T18:35:36Z | 2015-10-13T18:39:17Z | 2015-10-13T18:39:13Z | NONE | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11315/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11315/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11315.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11315",
"merged_at": "2015-10-13T18:39:13Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11315.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11315"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/11316 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11316/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11316/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11316/events | https://github.com/pandas-dev/pandas/pull/11316 | 111,247,603 | MDExOlB1bGxSZXF1ZXN0NDc1NzQ3MDM= | 11,316 | TST: validation tests for #11314, set_index with a tz | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
]
| closed | false | null | []
| {
"closed_at": "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"
} | 0 | 2015-10-13T19:06:15Z | 2015-10-13T19:31:48Z | 2015-10-13T19:31:47Z | CONTRIBUTOR | null | xref #11314
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11316/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11316/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11316.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11316",
"merged_at": "2015-10-13T19:31:47Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11316.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11316"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11317 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11317/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11317/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11317/events | https://github.com/pandas-dev/pandas/pull/11317 | 111,267,217 | MDExOlB1bGxSZXF1ZXN0NDc1ODYxMTU= | 11,317 | BUG: multi-index excel header fails if all numeric | {
"avatar_url": "https://avatars.githubusercontent.com/u/15113894?v=4",
"events_url": "https://api.github.com/users/Dr-Irv/events{/privacy}",
"followers_url": "https://api.github.com/users/Dr-Irv/followers",
"following_url": "https://api.github.com/users/Dr-Irv/following{/other_user}",
"gists_url": "https://api.github.com/users/Dr-Irv/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Dr-Irv",
"id": 15113894,
"login": "Dr-Irv",
"node_id": "MDQ6VXNlcjE1MTEzODk0",
"organizations_url": "https://api.github.com/users/Dr-Irv/orgs",
"received_events_url": "https://api.github.com/users/Dr-Irv/received_events",
"repos_url": "https://api.github.com/users/Dr-Irv/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Dr-Irv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Dr-Irv/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Dr-Irv"
} | [
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
},
{
"color": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
}
]
| closed | false | null | []
| {
"closed_at": "2015-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"
} | 5 | 2015-10-13T20:46:47Z | 2015-10-23T16:45:56Z | 2015-10-14T18:51:30Z | CONTRIBUTOR | null | If the multi-line headers come from Excel, and the header was not a string, the line all(['Unnamed' in c[n] for c in columns]): will fail because c[n] is an int and not iterable. So either force the headers to be strings (the proposed change) or come up with some other test when looking for 'Unnamed'
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11317/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11317/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11317.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11317",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/11317.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11317"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11318 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11318/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11318/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11318/events | https://github.com/pandas-dev/pandas/pull/11318 | 111,282,376 | MDExOlB1bGxSZXF1ZXN0NDc1OTU2NTI= | 11,318 | DEPR: deprecate pandas.io.ga, #11308 | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "0052cc",
"default": false,
"description": "pandas-gbq compatability",
"id": 57351315,
"name": "IO Google",
"node_id": "MDU6TGFiZWw1NzM1MTMxNQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Google"
},
{
"color": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
]
| closed | false | null | []
| {
"closed_at": "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"
} | 0 | 2015-10-13T22:12:13Z | 2015-10-14T00:09:21Z | 2015-10-14T00:09:21Z | CONTRIBUTOR | null | closes #11308
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11318/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11318/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11318.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11318",
"merged_at": "2015-10-14T00:09:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11318.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11318"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11319 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11319/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11319/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11319/events | https://github.com/pandas-dev/pandas/pull/11319 | 111,295,360 | MDExOlB1bGxSZXF1ZXN0NDc2MDM1NjY= | 11,319 | DEPR: deprecate `engine` keyword from to_csv #11274 | {
"avatar_url": "https://avatars.githubusercontent.com/u/14897098?v=4",
"events_url": "https://api.github.com/users/taeold/events{/privacy}",
"followers_url": "https://api.github.com/users/taeold/followers",
"following_url": "https://api.github.com/users/taeold/following{/other_user}",
"gists_url": "https://api.github.com/users/taeold/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/taeold",
"id": 14897098,
"login": "taeold",
"node_id": "MDQ6VXNlcjE0ODk3MDk4",
"organizations_url": "https://api.github.com/users/taeold/orgs",
"received_events_url": "https://api.github.com/users/taeold/received_events",
"repos_url": "https://api.github.com/users/taeold/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/taeold/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/taeold/subscriptions",
"type": "User",
"url": "https://api.github.com/users/taeold"
} | [
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
},
{
"color": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
]
| closed | false | null | []
| {
"closed_at": "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-10-13T23:53:44Z | 2015-10-14T00:25:31Z | 2015-10-14T00:25:31Z | CONTRIBUTOR | null | closes #11274
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11319/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11319/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11319.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11319",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/11319.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11319"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11320 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11320/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11320/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11320/events | https://github.com/pandas-dev/pandas/issues/11320 | 111,301,598 | MDU6SXNzdWUxMTEzMDE1OTg= | 11,320 | Negative interger indices lead to IndexError: indices are out-of-bounds | {
"avatar_url": "https://avatars.githubusercontent.com/u/8426290?v=4",
"events_url": "https://api.github.com/users/DSLituiev/events{/privacy}",
"followers_url": "https://api.github.com/users/DSLituiev/followers",
"following_url": "https://api.github.com/users/DSLituiev/following{/other_user}",
"gists_url": "https://api.github.com/users/DSLituiev/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/DSLituiev",
"id": 8426290,
"login": "DSLituiev",
"node_id": "MDQ6VXNlcjg0MjYyOTA=",
"organizations_url": "https://api.github.com/users/DSLituiev/orgs",
"received_events_url": "https://api.github.com/users/DSLituiev/received_events",
"repos_url": "https://api.github.com/users/DSLituiev/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/DSLituiev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DSLituiev/subscriptions",
"type": "User",
"url": "https://api.github.com/users/DSLituiev"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "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-11-21T13:47:07Z",
"closed_issues": 216,
"created_at": "2015-09-10T14:30:44Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.17.0 of course!",
"due_on": "2015-11-21T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/37",
"id": 1299459,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/37/labels",
"node_id": "MDk6TWlsZXN0b25lMTI5OTQ1OQ==",
"number": 37,
"open_issues": 0,
"state": "closed",
"title": "0.17.1",
"updated_at": "2016-07-21T16:02:53Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/37"
} | 6 | 2015-10-14T01:01:44Z | 2015-10-14T11:43:50Z | 2015-10-14T11:43:50Z | NONE | null | The following test case produces `IndexError: indices are out-of-bounds` with negative integers, while positive work fine:
```
testdf = pd.DataFrame({"rna": (1.5,2.2,3.2,4.5), -1000: [11,21,36,40],0: [10,22,43,34], 1000:[0, 10, 20, 30]})
testdf[[1000]] #this works
testdf[[-1000]] #this does not
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11320/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11320/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11321 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11321/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11321/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11321/events | https://github.com/pandas-dev/pandas/issues/11321 | 111,360,328 | MDU6SXNzdWUxMTEzNjAzMjg= | 11,321 | Can't import pandas. Matplotlib and distutils conflict. | {
"avatar_url": "https://avatars.githubusercontent.com/u/785491?v=4",
"events_url": "https://api.github.com/users/pklemenkov/events{/privacy}",
"followers_url": "https://api.github.com/users/pklemenkov/followers",
"following_url": "https://api.github.com/users/pklemenkov/following{/other_user}",
"gists_url": "https://api.github.com/users/pklemenkov/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/pklemenkov",
"id": 785491,
"login": "pklemenkov",
"node_id": "MDQ6VXNlcjc4NTQ5MQ==",
"organizations_url": "https://api.github.com/users/pklemenkov/orgs",
"received_events_url": "https://api.github.com/users/pklemenkov/received_events",
"repos_url": "https://api.github.com/users/pklemenkov/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/pklemenkov/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pklemenkov/subscriptions",
"type": "User",
"url": "https://api.github.com/users/pklemenkov"
} | [
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
]
| closed | false | null | []
| null | 1 | 2015-10-14T09:40:50Z | 2015-10-14T10:41:13Z | 2015-10-14T10:40:51Z | NONE | null | Trying to import pandas
``` python
In [1]: import pandas
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-1-d6ac987968b6> in <module>()
----> 1 import pandas
/usr/local/lib/python2.7/site-packages/pandas/__init__.pyc in <module>()
42 import pandas.core.config_init
43
---> 44 from pandas.core.api import *
45 from pandas.sparse.api import *
46 from pandas.stats.api import *
/usr/local/lib/python2.7/site-packages/pandas/core/api.py in <module>()
7 from pandas.core.common import isnull, notnull
8 from pandas.core.categorical import Categorical
----> 9 from pandas.core.groupby import Grouper
10 from pandas.core.format import set_eng_float_format
11 from pandas.core.index import Index, CategoricalIndex, Int64Index, Float64Index, MultiIndex
/usr/local/lib/python2.7/site-packages/pandas/core/groupby.py in <module>()
14 from pandas.core.base import PandasObject
15 from pandas.core.categorical import Categorical
---> 16 from pandas.core.frame import DataFrame
17 from pandas.core.generic import NDFrame
18 from pandas.core.index import Index, MultiIndex, CategoricalIndex, _ensure_index
/usr/local/lib/python2.7/site-packages/pandas/core/frame.py in <module>()
39 create_block_manager_from_arrays,
40 create_block_manager_from_blocks)
---> 41 from pandas.core.series import Series
42 from pandas.core.categorical import Categorical
43 import pandas.computation.expressions as expressions
/usr/local/lib/python2.7/site-packages/pandas/core/series.py in <module>()
2862 # Add plotting methods to Series
2863
-> 2864 import pandas.tools.plotting as _gfx
2865
2866 Series.plot = base.AccessorProperty(_gfx.SeriesPlotMethods, _gfx.SeriesPlotMethods)
/usr/local/lib/python2.7/site-packages/pandas/tools/plotting.py in <module>()
133 return False
134
--> 135 if _mpl_ge_1_5_0():
136 # Compat with mp 1.5, which uses cycler.
137 import cycler
/usr/local/lib/python2.7/site-packages/pandas/tools/plotting.py in _mpl_ge_1_5_0()
128 try:
129 import matplotlib
--> 130 return (matplotlib.__version__ >= LooseVersion('1.5')
131 or matplotlib.__version__[0] == '0')
132 except ImportError:
/usr/local/lib/python2.7/distutils/version.pyc in __cmp__(self, other)
294 other = LooseVersion(other)
295
--> 296 return cmp(self.version, other.version)
297
298
AttributeError: 'unicode' object has no attribute 'version'
```
matplotlib.**version** returns unicode object, but distutils.version has this code
``` python
def __cmp__ (self, other):
if isinstance(other, StringType):
other = LooseVersion(other)
return cmp(self.version, other.version)
```
and isinstance(u'123', StringType) is False
Pandas version - 0.17.0, matplotlib version - 1.4.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/11321/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11321/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11322 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11322/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11322/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11322/events | https://github.com/pandas-dev/pandas/pull/11322 | 111,373,902 | MDExOlB1bGxSZXF1ZXN0NDc2NDQxNjg= | 11,322 | BUG: Bug in list-like indexing with a mixed-integer Index, #11320 | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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"
}
]
| 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"
} | 0 | 2015-10-14T10:55:15Z | 2015-10-14T11:43:50Z | 2015-10-14T11:43:50Z | CONTRIBUTOR | null | closes #11320
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11322/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11322/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11322.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11322",
"merged_at": "2015-10-14T11:43:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11322.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11322"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11323 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11323/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11323/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11323/events | https://github.com/pandas-dev/pandas/issues/11323 | 111,377,818 | MDU6SXNzdWUxMTEzNzc4MTg= | 11,323 | BUG: merge on should accept Series | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "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": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 1 | 2015-10-14T11:19:01Z | 2018-06-28T11:39:08Z | 2018-06-28T11:39:08Z | CONTRIBUTOR | null | Prob need a better example, but xref #2996
these should accept Series (and align)!
```
In [47]: x = DataFrame({'A' : list('aabb'), 'B' : [1,2,3,4]})
In [48]: x.merge(x, left_on=['A','B'], right_on=['A',x['B']], how='left')
TypeError: 'Series' does not have the buffer interface
In [49]: x.merge(x, left_on=['A','B'], right_on=['A','B'], how='left')
Out[49]:
A B
0 a 1
1 a 2
2 b 3
3 b 4
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11323/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11323/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11324 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11324/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11324/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11324/events | https://github.com/pandas-dev/pandas/issues/11324 | 111,382,182 | MDU6SXNzdWUxMTEzODIxODI= | 11,324 | groupby.apply datetime bug affecting 0.17 | {
"avatar_url": "https://avatars.githubusercontent.com/u/959031?v=4",
"events_url": "https://api.github.com/users/hadjmic/events{/privacy}",
"followers_url": "https://api.github.com/users/hadjmic/followers",
"following_url": "https://api.github.com/users/hadjmic/following{/other_user}",
"gists_url": "https://api.github.com/users/hadjmic/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hadjmic",
"id": 959031,
"login": "hadjmic",
"node_id": "MDQ6VXNlcjk1OTAzMQ==",
"organizations_url": "https://api.github.com/users/hadjmic/orgs",
"received_events_url": "https://api.github.com/users/hadjmic/received_events",
"repos_url": "https://api.github.com/users/hadjmic/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hadjmic/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hadjmic/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hadjmic"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
]
| closed | false | null | []
| {
"closed_at": "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"
} | 7 | 2015-10-14T11:52:40Z | 2015-11-13T21:48:37Z | 2015-11-13T21:48:37Z | NONE | null | Exception is raised when
a) the original dataframe has a datetime column
b) the groupby.apply function returns a series object with a new datetime column
Code to reproduce:
```
import pandas as pd
import datetime
df = pd.DataFrame([['1', datetime.datetime.today()],
['2', datetime.datetime.today()],
['2', datetime.datetime(2010, 1, 1)]],
columns=['record', 'date'])
dd = df.groupby('record').apply(lambda x: pd.Series({'max_date': x['date'].max()}))
```
This is a new issue affecting 0.17
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11324/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11324/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11325 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11325/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11325/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11325/events | https://github.com/pandas-dev/pandas/pull/11325 | 111,393,019 | MDExOlB1bGxSZXF1ZXN0NDc2NTU2MTE= | 11,325 | ENH: itertuples() returns namedtuples (closes #11269) | {
"avatar_url": "https://avatars.githubusercontent.com/u/9378027?v=4",
"events_url": "https://api.github.com/users/mjoud/events{/privacy}",
"followers_url": "https://api.github.com/users/mjoud/followers",
"following_url": "https://api.github.com/users/mjoud/following{/other_user}",
"gists_url": "https://api.github.com/users/mjoud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mjoud",
"id": 9378027,
"login": "mjoud",
"node_id": "MDQ6VXNlcjkzNzgwMjc=",
"organizations_url": "https://api.github.com/users/mjoud/orgs",
"received_events_url": "https://api.github.com/users/mjoud/received_events",
"repos_url": "https://api.github.com/users/mjoud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mjoud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mjoud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mjoud"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
]
| closed | false | null | []
| {
"closed_at": "2015-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"
} | 16 | 2015-10-14T13:00:55Z | 2015-10-28T11:58:03Z | 2015-10-28T11:13:27Z | NONE | null | closes #11269
This will make itertuples return namedtuples. I'm not sure about tests, here. Since `namedtuple` is a drop-in replacement for ordinary tuples (once they are created) I naively expect things to 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/11325/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11325/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11325.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11325",
"merged_at": "2015-10-28T11:13:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11325.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11325"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11326 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11326/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11326/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11326/events | https://github.com/pandas-dev/pandas/issues/11326 | 111,418,126 | MDU6SXNzdWUxMTE0MTgxMjY= | 11,326 | DataFrame with TimeSeries column raises TypeError in 0.17.0 when replacing ints or floats | {
"avatar_url": "https://avatars.githubusercontent.com/u/135613?v=4",
"events_url": "https://api.github.com/users/joshowen/events{/privacy}",
"followers_url": "https://api.github.com/users/joshowen/followers",
"following_url": "https://api.github.com/users/joshowen/following{/other_user}",
"gists_url": "https://api.github.com/users/joshowen/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/joshowen",
"id": 135613,
"login": "joshowen",
"node_id": "MDQ6VXNlcjEzNTYxMw==",
"organizations_url": "https://api.github.com/users/joshowen/orgs",
"received_events_url": "https://api.github.com/users/joshowen/received_events",
"repos_url": "https://api.github.com/users/joshowen/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/joshowen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/joshowen/subscriptions",
"type": "User",
"url": "https://api.github.com/users/joshowen"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
}
]
| 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"
} | 2 | 2015-10-14T15:03:33Z | 2015-10-17T15:04:49Z | 2015-10-17T15:04:49Z | CONTRIBUTOR | null | Example:
```
>>> df = extended_df
Traceback (most recent call last):
File "/Users/josh/anaconda/envs/Openfolio/lib/python2.7/site-packages/IPython/core/interactiveshell.py", line 3066, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "<ipython-input-14-3f216cf6821e>", line 1, in <module>
df = extended_df
NameError: name 'extended_df' is not defined
>>> df = expanded
>>> df
Out[16]:
pricing_date exchange_id close
pricing_date_ts
1445025600 2015-10-13 20:00:00+00:00 NaN NaN
1444939200 2015-10-13 20:00:00+00:00 NaN NaN
1444852800 2015-10-13 20:00:00+00:00 0 NaN
1444766400 2015-10-13 20:00:00+00:00 6 0.545
1444680000 2015-10-12 20:00:00+00:00 6 0.570
1444420800 2015-10-09 20:00:00+00:00 6 0.580
1444334400 2015-10-08 20:00:00+00:00 6 0.560
1444248000 2015-10-07 20:00:00+00:00 6 0.580
1444161600 2015-10-06 20:00:00+00:00 6 0.620
1444075200 2015-10-05 20:00:00+00:00 6 0.480
1443816000 2015-10-13 20:00:00+00:00 NaN NaN
>>> df.dtypes
Out[17]:
pricing_date datetime64[ns, UTC]
exchange_id float64
close float64
dtype: object
>>> df.replace(0, np.NaN)
Traceback (most recent call last):
File "/Users/josh/anaconda/envs/Openfolio/lib/python2.7/site-packages/IPython/core/interactiveshell.py", line 3066, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "<ipython-input-18-cc26b9ec3ff7>", line 1, in <module>
df.replace(0, np.NaN)
File "/Users/josh/anaconda/envs/Openfolio/lib/python2.7/site-packages/pandas/core/generic.py", line 2996, in replace
inplace=inplace, regex=regex)
File "/Users/josh/anaconda/envs/Openfolio/lib/python2.7/site-packages/pandas/core/internals.py", line 2761, in replace
return self.apply('replace', **kwargs)
File "/Users/josh/anaconda/envs/Openfolio/lib/python2.7/site-packages/pandas/core/internals.py", line 2710, in apply
applied = getattr(b, f)(**kwargs)
File "/Users/josh/anaconda/envs/Openfolio/lib/python2.7/site-packages/pandas/core/internals.py", line 560, in replace
mask = com.mask_missing(self.values, to_replace)
File "/Users/josh/anaconda/envs/Openfolio/lib/python2.7/site-packages/pandas/core/common.py", line 449, in mask_missing
mask = arr == x
File "/Users/josh/anaconda/envs/Openfolio/lib/python2.7/site-packages/pandas/tseries/index.py", line 84, in wrapper
other = _ensure_datetime64(other)
File "/Users/josh/anaconda/envs/Openfolio/lib/python2.7/site-packages/pandas/tseries/index.py", line 111, in _ensure_datetime64
raise TypeError('%s type object %s' % (type(other), str(other)))
TypeError: <type 'int'> type object 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/11326/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11326/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11327 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11327/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11327/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11327/events | https://github.com/pandas-dev/pandas/pull/11327 | 111,433,893 | MDExOlB1bGxSZXF1ZXN0NDc2ODA3MjY= | 11,327 | BUG: Fix to_dict() problem when using datetime DataFrame #11247 | {
"avatar_url": "https://avatars.githubusercontent.com/u/6040760?v=4",
"events_url": "https://api.github.com/users/ethanluoyc/events{/privacy}",
"followers_url": "https://api.github.com/users/ethanluoyc/followers",
"following_url": "https://api.github.com/users/ethanluoyc/following{/other_user}",
"gists_url": "https://api.github.com/users/ethanluoyc/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ethanluoyc",
"id": 6040760,
"login": "ethanluoyc",
"node_id": "MDQ6VXNlcjYwNDA3NjA=",
"organizations_url": "https://api.github.com/users/ethanluoyc/orgs",
"received_events_url": "https://api.github.com/users/ethanluoyc/received_events",
"repos_url": "https://api.github.com/users/ethanluoyc/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ethanluoyc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ethanluoyc/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ethanluoyc"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
},
{
"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-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"
} | 8 | 2015-10-14T16:13:51Z | 2015-10-17T03:33:38Z | 2015-10-16T16:40:27Z | CONTRIBUTOR | null | closes #11247
This is my first time contributing through PR so forgive me if I make any silly mistake.
The issue can be referred to in GH11247
I followed @jreback 's suggestion to box things up in `to_dict()` but I am not sure if this is what he means because I do not know exactly when `_maybe_datetime()` should be used. Initially I tried to tweak `internals.py` but it fails.
Let me know how I can improve from here. Hope I can really learn from my first PR.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11327/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11327/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11327.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11327",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/11327.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11327"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11328 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11328/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11328/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11328/events | https://github.com/pandas-dev/pandas/pull/11328 | 111,434,155 | MDExOlB1bGxSZXF1ZXN0NDc2ODA5MDA= | 11,328 | Fix for BUG: multi-index excel header fails if all numeric | {
"avatar_url": "https://avatars.githubusercontent.com/u/15113894?v=4",
"events_url": "https://api.github.com/users/Dr-Irv/events{/privacy}",
"followers_url": "https://api.github.com/users/Dr-Irv/followers",
"following_url": "https://api.github.com/users/Dr-Irv/following{/other_user}",
"gists_url": "https://api.github.com/users/Dr-Irv/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Dr-Irv",
"id": 15113894,
"login": "Dr-Irv",
"node_id": "MDQ6VXNlcjE1MTEzODk0",
"organizations_url": "https://api.github.com/users/Dr-Irv/orgs",
"received_events_url": "https://api.github.com/users/Dr-Irv/received_events",
"repos_url": "https://api.github.com/users/Dr-Irv/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Dr-Irv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Dr-Irv/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Dr-Irv"
} | [
{
"color": "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"
},
{
"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": 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-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"
} | 31 | 2015-10-14T16:15:06Z | 2015-10-26T14:00:34Z | 2015-10-25T14:02:58Z | CONTRIBUTOR | null | replaces #11317
closes #11408
This includes updates to 3 Excel files, plus a test in test_excel.py,
plus the fix in parsers.py
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11328/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11328/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11328.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11328",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/11328.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11328"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11329 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11329/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11329/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11329/events | https://github.com/pandas-dev/pandas/pull/11329 | 111,473,547 | MDExOlB1bGxSZXF1ZXN0NDc3MDM0MjY= | 11,329 | BUG: Bug in DataFrame.replace with a datetime64[ns, tz] and a non-compat to_replace #11326 | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
}
]
| 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-10-14T19:26:29Z | 2015-10-17T15:04:49Z | 2015-10-17T15:04:49Z | CONTRIBUTOR | null | closes #11326
xref #11153
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11329/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11329/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11329.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11329",
"merged_at": "2015-10-17T15:04:49Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11329.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11329"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11330 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11330/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11330/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11330/events | https://github.com/pandas-dev/pandas/pull/11330 | 111,518,566 | MDExOlB1bGxSZXF1ZXN0NDc3MzA0MjU= | 11,330 | CLN: GH11271 move _get_handle, UTF encoders to io.common | {
"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": "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-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-10-15T00:01:39Z | 2015-10-15T22:21:45Z | 2015-10-15T22:21:38Z | CONTRIBUTOR | null | closes #11271
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11330/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11330/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11330.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11330",
"merged_at": "2015-10-15T22:21:38Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11330.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11330"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11331 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11331/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11331/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11331/events | https://github.com/pandas-dev/pandas/issues/11331 | 111,520,449 | MDU6SXNzdWUxMTE1MjA0NDk= | 11,331 | BUG: read_excel doesn't respect string data | {
"avatar_url": "https://avatars.githubusercontent.com/u/1924092?v=4",
"events_url": "https://api.github.com/users/chris-b1/events{/privacy}",
"followers_url": "https://api.github.com/users/chris-b1/followers",
"following_url": "https://api.github.com/users/chris-b1/following{/other_user}",
"gists_url": "https://api.github.com/users/chris-b1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/chris-b1",
"id": 1924092,
"login": "chris-b1",
"node_id": "MDQ6VXNlcjE5MjQwOTI=",
"organizations_url": "https://api.github.com/users/chris-b1/orgs",
"received_events_url": "https://api.github.com/users/chris-b1/received_events",
"repos_url": "https://api.github.com/users/chris-b1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/chris-b1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chris-b1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/chris-b1"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
},
{
"color": "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": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
},
{
"color": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
}
]
| closed | false | null | []
| null | 7 | 2015-10-15T00:22:32Z | 2015-12-30T15:21:05Z | 2015-12-30T15:21:00Z | CONTRIBUTOR | null | From [SO](http://stackoverflow.com/questions/33137686/python-loading-zip-codes-into-a-dataframe-as-strings/33137797#33137797)
``` python
In [16]: df = pd.DataFrame({'a': ['001','002']})
In [17]: df.to_excel('temp.xlsx')
In [18]: pd.read_excel('temp.xlsx')
Out[18]:
a
0 1
1 2
```
I think it would probably make sense for `read_excel` to not try and convert strings to numeric, or at least have another keyword argument.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11331/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11331/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11332 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11332/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11332/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11332/events | https://github.com/pandas-dev/pandas/issues/11332 | 111,572,539 | MDU6SXNzdWUxMTE1NzI1Mzk= | 11,332 | test_int64_overflow failure | {
"avatar_url": "https://avatars.githubusercontent.com/u/5911007?v=4",
"events_url": "https://api.github.com/users/toniatop/events{/privacy}",
"followers_url": "https://api.github.com/users/toniatop/followers",
"following_url": "https://api.github.com/users/toniatop/following{/other_user}",
"gists_url": "https://api.github.com/users/toniatop/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/toniatop",
"id": 5911007,
"login": "toniatop",
"node_id": "MDQ6VXNlcjU5MTEwMDc=",
"organizations_url": "https://api.github.com/users/toniatop/orgs",
"received_events_url": "https://api.github.com/users/toniatop/received_events",
"repos_url": "https://api.github.com/users/toniatop/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/toniatop/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/toniatop/subscriptions",
"type": "User",
"url": "https://api.github.com/users/toniatop"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
]
| closed | false | null | []
| null | 4 | 2015-10-15T08:57:20Z | 2015-11-05T18:38:37Z | 2015-11-05T18:38:37Z | NONE | null | Testing pandas 0.17:
``` python
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.6.final.0
python-bits: 64
OS: Linux
OS-release: 3.13.0-57-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_AU.UTF-8
pandas: 0.17.0
nose: 1.3.7
pip: 7.1.2
setuptools: 17.1.1
Cython: 0.22
numpy: 1.10.1
scipy: 0.16.0
statsmodels: 0.6.1
IPython: 4.0.0
sphinx: None
patsy: 0.3.0
dateutil: 2.4.2
pytz: 2015.6
blosc: None
bottleneck: 1.0.0
tables: 3.2.2
numexpr: 2.4.4
matplotlib: 1.4.3
openpyxl: 2.2.3
xlrd: 0.9.3
xlwt: 1.0.0
xlsxwriter: None
lxml: None
bs4: 4.3.2
html5lib: 1.0b6
httplib2: 0.9.1
apiclient: 1.4.0
sqlalchemy: 1.0.5
pymysql: None
psycopg2: None
```
nosetests pandas fail at:
`test_int64_overflow (pandas.io.tests.test_parsers.TestCParserHighMemory) ... Segmentation fault (core dumped)`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11332/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11332/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11333 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11333/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11333/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11333/events | https://github.com/pandas-dev/pandas/issues/11333 | 111,604,874 | MDU6SXNzdWUxMTE2MDQ4NzQ= | 11,333 | DataFrame.hist / Series.hist argument inconsistency | {
"avatar_url": "https://avatars.githubusercontent.com/u/1017726?v=4",
"events_url": "https://api.github.com/users/wavexx/events{/privacy}",
"followers_url": "https://api.github.com/users/wavexx/followers",
"following_url": "https://api.github.com/users/wavexx/following{/other_user}",
"gists_url": "https://api.github.com/users/wavexx/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wavexx",
"id": 1017726,
"login": "wavexx",
"node_id": "MDQ6VXNlcjEwMTc3MjY=",
"organizations_url": "https://api.github.com/users/wavexx/orgs",
"received_events_url": "https://api.github.com/users/wavexx/received_events",
"repos_url": "https://api.github.com/users/wavexx/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wavexx/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wavexx/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wavexx"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
]
| open | false | null | []
| null | 4 | 2015-10-15T12:18:39Z | 2021-04-20T05:36:43Z | null | NONE | null | Series.hist accepts arguments such as xlim, ylim because it uses Series.plot internally, but DataFrame.hist doesn't, as it forwards the arguments to pyplot.hist directly.
I don't know about other arguments, but I expected at least xlim/ylim to 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/11333/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11333/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11334 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11334/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11334/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11334/events | https://github.com/pandas-dev/pandas/issues/11334 | 111,640,703 | MDU6SXNzdWUxMTE2NDA3MDM= | 11,334 | Series.str.cat(',') without "sep" keyword arg raises unintuitive `TypeError: len() of unsized object` | {
"avatar_url": "https://avatars.githubusercontent.com/u/2947268?v=4",
"events_url": "https://api.github.com/users/hack-c/events{/privacy}",
"followers_url": "https://api.github.com/users/hack-c/followers",
"following_url": "https://api.github.com/users/hack-c/following{/other_user}",
"gists_url": "https://api.github.com/users/hack-c/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hack-c",
"id": 2947268,
"login": "hack-c",
"node_id": "MDQ6VXNlcjI5NDcyNjg=",
"organizations_url": "https://api.github.com/users/hack-c/orgs",
"received_events_url": "https://api.github.com/users/hack-c/received_events",
"repos_url": "https://api.github.com/users/hack-c/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hack-c/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hack-c/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hack-c"
} | [
{
"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": "String extension data type and string data",
"id": 57522093,
"name": "Strings",
"node_id": "MDU6TGFiZWw1NzUyMjA5Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings"
}
]
| closed | false | null | []
| {
"closed_at": "2016-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"
} | 6 | 2015-10-15T15:20:48Z | 2016-02-12T15:01:29Z | 2016-02-12T15:01:29Z | CONTRIBUTOR | null | I think this easy-to-make mistake should raise a more descriptive error... maybe something like
``` python
ValueError: Did you mean to supply a 'sep' keyword?
```
I might be missing the main usage of `str.cat()`, but all the uses I've found involve concatenating series together with a sep character.
``` python
In [1]: import pandas as pd
In [2]: s = pd.Series(['foo', 'bar', 'baz'])
In [3]: s.str.cat('|')
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-3-8bc5f2a1347b> in <module>()
----> 1 s.str.cat('|')
/home/charles.hack/anaconda/envs/seahydra/lib/python2.7/site-packages/pandas/core/strings.pyc in cat(self, others, sep, na_rep)
1137 @copy(str_cat)
1138 def cat(self, others=None, sep=None, na_rep=None):
-> 1139 result = str_cat(self.series, others=others, sep=sep, na_rep=na_rep)
1140 return self._wrap_result(result)
1141
/home/charles.hack/anaconda/envs/seahydra/lib/python2.7/site-packages/pandas/core/strings.pyc in str_cat(arr, others, sep, na_rep)
71 arrays = _get_array_list(arr, others)
72
---> 73 n = _length_check(arrays)
74 masks = np.array([isnull(x) for x in arrays])
75 cats = None
/home/charles.hack/anaconda/envs/seahydra/lib/python2.7/site-packages/pandas/core/strings.pyc in _length_check(others)
111 if n is None:
112 n = len(x)
--> 113 elif len(x) != n:
114 raise ValueError('All arrays must be same length')
115
TypeError: len() of unsized object
In [4]: s.str.cat(sep='|')
Out[4]: 'foo|bar|baz'
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11334/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11334/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11335 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11335/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11335/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11335/events | https://github.com/pandas-dev/pandas/pull/11335 | 111,681,780 | MDExOlB1bGxSZXF1ZXN0NDc4MjU0NjY= | 11,335 | Use Service Account JSON Key File | {
"avatar_url": "https://avatars.githubusercontent.com/u/5257816?v=4",
"events_url": "https://api.github.com/users/tjwudi/events{/privacy}",
"followers_url": "https://api.github.com/users/tjwudi/followers",
"following_url": "https://api.github.com/users/tjwudi/following{/other_user}",
"gists_url": "https://api.github.com/users/tjwudi/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tjwudi",
"id": 5257816,
"login": "tjwudi",
"node_id": "MDQ6VXNlcjUyNTc4MTY=",
"organizations_url": "https://api.github.com/users/tjwudi/orgs",
"received_events_url": "https://api.github.com/users/tjwudi/received_events",
"repos_url": "https://api.github.com/users/tjwudi/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tjwudi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tjwudi/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tjwudi"
} | []
| closed | false | null | []
| null | 1 | 2015-10-15T18:45:05Z | 2015-11-18T20:15:48Z | 2015-11-18T20:15:48Z | NONE | null | It is recommended by Google that we use Service Account credentials make
API calls from server. See [this issue comment](https://github.com/pydata/pandas/issues/8489#issuecomment-148466759) for details.
Docs and tests are not yet updated. DO NOT MERGE.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11335/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11335/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11335.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11335",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/11335.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11335"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11336 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11336/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11336/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11336/events | https://github.com/pandas-dev/pandas/issues/11336 | 111,683,943 | MDU6SXNzdWUxMTE2ODM5NDM= | 11,336 | 0.17 changes behavior of division of DataFrame by Series in presence of DateTimeIndex | {
"avatar_url": "https://avatars.githubusercontent.com/u/674200?v=4",
"events_url": "https://api.github.com/users/twiecki/events{/privacy}",
"followers_url": "https://api.github.com/users/twiecki/followers",
"following_url": "https://api.github.com/users/twiecki/following{/other_user}",
"gists_url": "https://api.github.com/users/twiecki/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/twiecki",
"id": 674200,
"login": "twiecki",
"node_id": "MDQ6VXNlcjY3NDIwMA==",
"organizations_url": "https://api.github.com/users/twiecki/orgs",
"received_events_url": "https://api.github.com/users/twiecki/received_events",
"repos_url": "https://api.github.com/users/twiecki/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/twiecki/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/twiecki/subscriptions",
"type": "User",
"url": "https://api.github.com/users/twiecki"
} | [
{
"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 | 5 | 2015-10-15T18:55:32Z | 2015-10-16T15:15:09Z | 2015-10-15T19:48:03Z | CONTRIBUTOR | null | Older versions up to 0.16.2:
``` python
import pandas as pd
print(pd.__version__)
index = pd.date_range(start='2000-1-1', end='2000-1-3')
pd.DataFrame({1: [3, 3, 3], 2: [6, 6, 6]}, index=index) / pd.Series([2, 2, 2], index=index)
```
```
0.14.0rc1-33-g8c1f550
1 2
2000-01-01 1.5 3
2000-01-02 1.5 3
2000-01-03 1.5 3
```
0.17:
```
0.17.0
2000-01-01 00:00:00 2000-01-02 00:00:00 2000-01-03 00:00:00 1 2
2000-01-01 NaN NaN NaN NaN NaN
2000-01-02 NaN NaN NaN NaN NaN
2000-01-03 NaN NaN NaN NaN NaN
```
Work-around:
Use `df.divide(series, axis='index')`.
Is this change in API intentional? Couldn't find it in the release announcements.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11336/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11336/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11337 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11337/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11337/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11337/events | https://github.com/pandas-dev/pandas/issues/11337 | 111,691,922 | MDU6SXNzdWUxMTE2OTE5MjI= | 11,337 | sort_index(inplace = True) produces SettingWithCopyWarning | {
"avatar_url": "https://avatars.githubusercontent.com/u/1088890?v=4",
"events_url": "https://api.github.com/users/phaethon/events{/privacy}",
"followers_url": "https://api.github.com/users/phaethon/followers",
"following_url": "https://api.github.com/users/phaethon/following{/other_user}",
"gists_url": "https://api.github.com/users/phaethon/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phaethon",
"id": 1088890,
"login": "phaethon",
"node_id": "MDQ6VXNlcjEwODg4OTA=",
"organizations_url": "https://api.github.com/users/phaethon/orgs",
"received_events_url": "https://api.github.com/users/phaethon/received_events",
"repos_url": "https://api.github.com/users/phaethon/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phaethon/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phaethon/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phaethon"
} | [
{
"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-10-15T19:37:04Z | 2015-10-15T20:15:07Z | 2015-10-15T19:57:41Z | NONE | null | When I am trying to do `rows.sort_index(inplace = True)` I get SettingWithCopyWarning:
`A value is trying to be set on a copy of a slice from a DataFrame`
`rows = rows.sort_index()` can be used as a workaround to avoid the warning.
Pandas version 0.17.0 installed by pip.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11337/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11337/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11338 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11338/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11338/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11338/events | https://github.com/pandas-dev/pandas/issues/11338 | 111,707,041 | MDU6SXNzdWUxMTE3MDcwNDE= | 11,338 | PERF: Should 'iter[x]'s be generators? | {
"avatar_url": "https://avatars.githubusercontent.com/u/5635139?v=4",
"events_url": "https://api.github.com/users/max-sixty/events{/privacy}",
"followers_url": "https://api.github.com/users/max-sixty/followers",
"following_url": "https://api.github.com/users/max-sixty/following{/other_user}",
"gists_url": "https://api.github.com/users/max-sixty/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/max-sixty",
"id": 5635139,
"login": "max-sixty",
"node_id": "MDQ6VXNlcjU2MzUxMzk=",
"organizations_url": "https://api.github.com/users/max-sixty/orgs",
"received_events_url": "https://api.github.com/users/max-sixty/received_events",
"repos_url": "https://api.github.com/users/max-sixty/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/max-sixty/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/max-sixty/subscriptions",
"type": "User",
"url": "https://api.github.com/users/max-sixty"
} | [
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
]
| closed | false | null | []
| null | 4 | 2015-10-15T21:01:35Z | 2015-10-16T00:44:30Z | 2015-10-15T22:12:15Z | CONTRIBUTOR | null | Looking here: https://github.com/pydata/pandas/pull/11325/files#diff-1e79abbbdd150d4771b91ea60a4e1cc7R686, #11325
...currently `itertuples` is building a new full objects in memory and then creating an iterator over those objects. Because it's building a new tuple for each row, these aren't views (I think). Should these instead yield a tuple / row / item on each call, using a generator?
The upside is that you don't need to rebuild the object in memory at once. The downside is that it is dependent on the underlying data (as though it were a view).
(and possible there is something going on that I don't understand, either with pandas or generators...)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11338/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11338/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11339 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11339/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11339/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11339/events | https://github.com/pandas-dev/pandas/issues/11339 | 111,728,942 | MDU6SXNzdWUxMTE3Mjg5NDI= | 11,339 | Boolean comparison vs tuple fails in 0.17.0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/68902?v=4",
"events_url": "https://api.github.com/users/svidela/events{/privacy}",
"followers_url": "https://api.github.com/users/svidela/followers",
"following_url": "https://api.github.com/users/svidela/following{/other_user}",
"gists_url": "https://api.github.com/users/svidela/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/svidela",
"id": 68902,
"login": "svidela",
"node_id": "MDQ6VXNlcjY4OTAy",
"organizations_url": "https://api.github.com/users/svidela/orgs",
"received_events_url": "https://api.github.com/users/svidela/received_events",
"repos_url": "https://api.github.com/users/svidela/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/svidela/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/svidela/subscriptions",
"type": "User",
"url": "https://api.github.com/users/svidela"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
}
]
| closed | false | null | []
| {
"closed_at": "2015-11-21T13:47:07Z",
"closed_issues": 216,
"created_at": "2015-09-10T14:30:44Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.17.0 of course!",
"due_on": "2015-11-21T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/37",
"id": 1299459,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/37/labels",
"node_id": "MDk6TWlsZXN0b25lMTI5OTQ1OQ==",
"number": 37,
"open_issues": 0,
"state": "closed",
"title": "0.17.1",
"updated_at": "2016-07-21T16:02:53Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/37"
} | 6 | 2015-10-15T23:38:35Z | 2016-07-16T22:40:39Z | 2015-10-16T21:51:18Z | NONE | null | Just updated to 0.17.0 (python 2.7.9 on OS X Yosemite) and I found the following:
```
>>> import pandas as pd
>>> pd.__version__
u'0.17.0'
>>> s = pd.Series([(1,1),(1,2)])
>>> s==(1,2)
0 False
1 False
dtype: bool
```
Meanwhile in 0.16.2:
```
>>> import pandas as pd
>>> pd.__version__
'0.16.2'
>>> s = pd.Series([(1,1),(1,2)])
>>> s==(1,2)
0 False
1 True
dtype: bool
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11339/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11339/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11340 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11340/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11340/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11340/events | https://github.com/pandas-dev/pandas/pull/11340 | 111,747,790 | MDExOlB1bGxSZXF1ZXN0NDc4NjU4MjQ= | 11,340 | TST: tests for list skiprows in read_excel | {
"avatar_url": "https://avatars.githubusercontent.com/u/1924092?v=4",
"events_url": "https://api.github.com/users/chris-b1/events{/privacy}",
"followers_url": "https://api.github.com/users/chris-b1/followers",
"following_url": "https://api.github.com/users/chris-b1/following{/other_user}",
"gists_url": "https://api.github.com/users/chris-b1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/chris-b1",
"id": 1924092,
"login": "chris-b1",
"node_id": "MDQ6VXNlcjE5MjQwOTI=",
"organizations_url": "https://api.github.com/users/chris-b1/orgs",
"received_events_url": "https://api.github.com/users/chris-b1/received_events",
"repos_url": "https://api.github.com/users/chris-b1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/chris-b1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chris-b1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/chris-b1"
} | [
{
"color": "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": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
}
]
| closed | false | null | []
| {
"closed_at": "2015-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-10-16T02:49:53Z | 2016-07-21T16:02:53Z | 2015-10-16T07:53:21Z | CONTRIBUTOR | null | Closes #4903
This seemed to be fixed already, so just adding tests
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11340/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11340/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11340.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11340",
"merged_at": "2015-10-16T07:53:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11340.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11340"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11341 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11341/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11341/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11341/events | https://github.com/pandas-dev/pandas/issues/11341 | 111,836,710 | MDU6SXNzdWUxMTE4MzY3MTA= | 11,341 | Numpy FutureWarning in DataFrame.unstack() | {
"avatar_url": "https://avatars.githubusercontent.com/u/11525074?v=4",
"events_url": "https://api.github.com/users/691175002/events{/privacy}",
"followers_url": "https://api.github.com/users/691175002/followers",
"following_url": "https://api.github.com/users/691175002/following{/other_user}",
"gists_url": "https://api.github.com/users/691175002/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/691175002",
"id": 11525074,
"login": "691175002",
"node_id": "MDQ6VXNlcjExNTI1MDc0",
"organizations_url": "https://api.github.com/users/691175002/orgs",
"received_events_url": "https://api.github.com/users/691175002/received_events",
"repos_url": "https://api.github.com/users/691175002/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/691175002/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/691175002/subscriptions",
"type": "User",
"url": "https://api.github.com/users/691175002"
} | [
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
]
| closed | false | null | []
| null | 1 | 2015-10-16T13:53:42Z | 2015-10-16T14:36:51Z | 2015-10-16T14:36:42Z | NONE | null | Unstacking with an integer level seems to raise a FutureWarning from numpy. I'm using pandas version 0.17.0 and numpy version 1.10.1.
```
In[14]: d.unstack('ticker')
Out[14]:
factor close open
ticker BMO TD BMO TD
date
2005-08-01 61.10 55.90 61.75 56.60
2005-08-02 62.15 56.77 61.18 55.80
2005-08-03 61.40 55.79 61.50 55.49
2005-08-04 59.09 54.81 60.96 55.15
... ... ... ...
2015-10-09 75.51 53.25 76.09 53.70
2015-10-12 75.51 53.25 76.09 53.70
2015-10-13 75.35 52.97 75.51 52.95
2015-10-14 74.41 52.37 75.31 53.06
[2663 rows x 4 columns]
In[15]: d.unstack(1)
C:\Anaconda3\envs\pyq\lib\site-packages\pandas\core\index.py:4281: FutureWarning: elementwise comparison failed; returning scalar instead, but in the future will perform elementwise comparison
return np.sum(name == np.asarray(self.names)) > 1
Out[15]:
factor close open
ticker BMO TD BMO TD
date
2005-08-01 61.10 55.90 61.75 56.60
2005-08-02 62.15 56.77 61.18 55.80
2005-08-03 61.40 55.79 61.50 55.49
2005-08-04 59.09 54.81 60.96 55.15
... ... ... ...
2015-10-09 75.51 53.25 76.09 53.70
2015-10-12 75.51 53.25 76.09 53.70
2015-10-13 75.35 52.97 75.51 52.95
2015-10-14 74.41 52.37 75.31 53.06
[2663 rows x 4 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/11341/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11341/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11342 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11342/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11342/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11342/events | https://github.com/pandas-dev/pandas/issues/11342 | 111,841,576 | MDU6SXNzdWUxMTE4NDE1NzY= | 11,342 | Offline/behind proxy build can't have setup_requires | {
"avatar_url": "https://avatars.githubusercontent.com/u/9944778?v=4",
"events_url": "https://api.github.com/users/mbultrow/events{/privacy}",
"followers_url": "https://api.github.com/users/mbultrow/followers",
"following_url": "https://api.github.com/users/mbultrow/following{/other_user}",
"gists_url": "https://api.github.com/users/mbultrow/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mbultrow",
"id": 9944778,
"login": "mbultrow",
"node_id": "MDQ6VXNlcjk5NDQ3Nzg=",
"organizations_url": "https://api.github.com/users/mbultrow/orgs",
"received_events_url": "https://api.github.com/users/mbultrow/received_events",
"repos_url": "https://api.github.com/users/mbultrow/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mbultrow/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mbultrow/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mbultrow"
} | [
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
]
| closed | false | null | []
| null | 3 | 2015-10-16T14:18:04Z | 2015-10-21T10:29:46Z | 2015-10-21T10:29:46Z | NONE | null | I'm having problems with building a package depending on Pandas behind proxy, because setup_requires is specified in setup.py.
"pip install" calls setup.py egg_info, which in turn wants numpy, which it cannot find. Numpy is installed along with Pandas by pip, but setup.py can't know about this.
The same issue would also appear if I'd want install an offline package for the app I'm using.
This is why [pip documentation discourages setup_requires](https://pip.readthedocs.org/en/stable/user_guide/#ensuring-repeatability)
I see that there was a request opposite to mine (#3861) to make it usable with buildout... But maybe there's another way to use it with buildout? I think that pip is more of a Python standard than buildout...
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11342/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11342/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11343 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11343/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11343/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11343/events | https://github.com/pandas-dev/pandas/pull/11343 | 111,842,312 | MDExOlB1bGxSZXF1ZXN0NDc5MTY0NTM= | 11,343 | ENH: Add Index.fillna | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4",
"events_url": "https://api.github.com/users/sinhrks/events{/privacy}",
"followers_url": "https://api.github.com/users/sinhrks/followers",
"following_url": "https://api.github.com/users/sinhrks/following{/other_user}",
"gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sinhrks",
"id": 1696302,
"login": "sinhrks",
"node_id": "MDQ6VXNlcjE2OTYzMDI=",
"organizations_url": "https://api.github.com/users/sinhrks/orgs",
"received_events_url": "https://api.github.com/users/sinhrks/received_events",
"repos_url": "https://api.github.com/users/sinhrks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sinhrks"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
}
]
| closed | false | null | []
| {
"closed_at": "2015-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"
} | 12 | 2015-10-16T14:22:08Z | 2015-11-13T21:17:44Z | 2015-11-13T16:05:41Z | MEMBER | null | Closes #10089.
- `value` can only accept scalar.
- `MultiIndex.fillna` raises `NotImplementedError` because `isnull` is not defined for MI.
- Moved `hasnans` and related properties to base `Index`.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11343/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11343/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11343.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11343",
"merged_at": "2015-11-13T16:05:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11343.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11343"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11344 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11344/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11344/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11344/events | https://github.com/pandas-dev/pandas/issues/11344 | 111,842,339 | MDU6SXNzdWUxMTE4NDIzMzk= | 11,344 | Segmentation fault when trying to load large json file | {
"avatar_url": "https://avatars.githubusercontent.com/u/219063?v=4",
"events_url": "https://api.github.com/users/eddie-dunn/events{/privacy}",
"followers_url": "https://api.github.com/users/eddie-dunn/followers",
"following_url": "https://api.github.com/users/eddie-dunn/following{/other_user}",
"gists_url": "https://api.github.com/users/eddie-dunn/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/eddie-dunn",
"id": 219063,
"login": "eddie-dunn",
"node_id": "MDQ6VXNlcjIxOTA2Mw==",
"organizations_url": "https://api.github.com/users/eddie-dunn/orgs",
"received_events_url": "https://api.github.com/users/eddie-dunn/received_events",
"repos_url": "https://api.github.com/users/eddie-dunn/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/eddie-dunn/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eddie-dunn/subscriptions",
"type": "User",
"url": "https://api.github.com/users/eddie-dunn"
} | [
{
"color": "207de5",
"default": false,
"description": "read_json, to_json, json_normalize",
"id": 49379259,
"name": "IO JSON",
"node_id": "MDU6TGFiZWw0OTM3OTI1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
]
| closed | false | null | []
| {
"closed_at": "2015-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"
} | 22 | 2015-10-16T14:22:17Z | 2018-09-11T19:41:33Z | 2015-10-23T16:57:20Z | NONE | null | I have a 1.1GB json file that I try to load with `pandas.json.load`:
```
import pandas as pd
with open('/tmp/file.json') as fileh:
text = pd.json.load(fileh)
```
It breaks with the following output
```
Error in `python3': double free or corruption (out): 0x00007ffe082171f0 ***
```
I can load the file with Pythons built-in json module. What is going wrong here?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11344/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11344/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11345 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11345/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11345/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11345/events | https://github.com/pandas-dev/pandas/pull/11345 | 111,860,745 | MDExOlB1bGxSZXF1ZXN0NDc5Mjg2OTE= | 11,345 | BUG: bug in comparisons vs tuples, #11339 | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "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-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"
} | 0 | 2015-10-16T16:01:39Z | 2015-10-16T21:51:18Z | 2015-10-16T21:51:18Z | CONTRIBUTOR | null | closes #11339
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11345/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11345/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11345.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11345",
"merged_at": "2015-10-16T21:51:18Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11345.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11345"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11346 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11346/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11346/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11346/events | https://github.com/pandas-dev/pandas/issues/11346 | 111,867,580 | MDU6SXNzdWUxMTE4Njc1ODA= | 11,346 | Inconsistency in some calculations in pd.DataFrames with large number of rows | {
"avatar_url": "https://avatars.githubusercontent.com/u/10522158?v=4",
"events_url": "https://api.github.com/users/rubennj/events{/privacy}",
"followers_url": "https://api.github.com/users/rubennj/followers",
"following_url": "https://api.github.com/users/rubennj/following{/other_user}",
"gists_url": "https://api.github.com/users/rubennj/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rubennj",
"id": 10522158,
"login": "rubennj",
"node_id": "MDQ6VXNlcjEwNTIyMTU4",
"organizations_url": "https://api.github.com/users/rubennj/orgs",
"received_events_url": "https://api.github.com/users/rubennj/received_events",
"repos_url": "https://api.github.com/users/rubennj/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rubennj/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rubennj/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rubennj"
} | [
{
"color": "006b75",
"default": false,
"description": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
},
{
"color": "fbca04",
"default": false,
"description": "Windows OS",
"id": 57186974,
"name": "Windows",
"node_id": "MDU6TGFiZWw1NzE4Njk3NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Windows"
}
]
| closed | false | null | []
| null | 12 | 2015-10-16T16:41:59Z | 2016-03-01T17:33:08Z | 2015-10-16T16:53:50Z | NONE | null | Strange behaviour that appears only with a large number of rows.
``` python
import pandas as pd
import numpy as np
np.random.seed(0)
data = pd.DataFrame(np.random.rand(500000, 4))
def sum_products(data):
data_np = sum(data.values[:,0] * data.values[:,1] * data.values[:,2] * data.values[:,3])
data_pd = sum(data.ix[:,0] * data.ix[:,1] * data.ix[:,2] * data.ix[:,3])
return [data_np, data_pd]
calls = []
for _ in range(25):
test = sum_products(data)
calls.append(test)
print('[Numpy, Pandas]', calls )
Out[6]:
[Numpy, Pandas]
[[31234.084575876517, 31234.084575876517],
[31234.084575876517, 31234.084575876517],
[31234.084575876517, 31234.084575876517],
[31234.084575876517, 0.0],
[31234.084575876517, 31234.084575876517],
[31234.084575876517, 31234.084575876517],
[31234.084575876517, 31234.084575876517],
[31234.084575876517, 31234.084575876517],
[31234.084575876517, 0.0],
[31234.084575876517, 31234.084575876517],
[31234.084575876517, 31234.084575876517],
[31234.084575876517, 31234.084575876517],
[31234.084575876517, 31234.084575876517],
[31234.084575876517, 31234.084575876517],
[31234.084575876517, 31234.084575876517],
[31234.084575876517, 0.0],
[31234.084575876517, 31234.084575876517],
[31234.084575876517, 31234.084575876517],
[31234.084575876517, 31234.084575876517],
[31234.084575876517, 31234.084575876517],
[31234.084575876517, 31234.084575876517],
[31234.084575876517, 31234.084575876517],
[31234.084575876517, 31234.084575876517],
[31234.084575876517, 31234.084575876517],
[31234.084575876517, 31234.084575876517]]
```
This bug appears randomly, but using this combination (4 columns, 500k rows and 25 repetitions) I can see it at least once almost all the executions.
I have tried several `Pandas` versions (0.13-0.17) with `Python 3.4` and the bug is still there.
HOWEVER, using `Python 2.7` it works prefectly (at least after several executions).
```
INSTALLED VERSIONS
------------------
commit: None
python: 3.4.3.final.0
python-bits: 64
OS: Windows
OS-release: 8
machine: AMD64
processor: Intel64 Family 6 Model 42 Stepping 7, GenuineIntel
byteorder: little
LC_ALL: None
LANG: es_ES
pandas: 0.17.0
nose: 1.3.7
pip: 7.1.2
setuptools: 18.4
Cython: 0.23.3
numpy: 1.10.1
scipy: 0.16.0
statsmodels: None
IPython: 4.0.0
sphinx: 1.2.3
patsy: 0.4.0
dateutil: 2.4.1
pytz: 2015.6
blosc: None
bottleneck: None
tables: None
numexpr: 2.4.4
matplotlib: 1.4.3
openpyxl: 2.0.2
xlrd: 0.9.4
xlwt: None
xlsxwriter: 0.7.5
lxml: 3.4.4
bs4: 4.3.2
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: 1.0.8
pymysql: None
psycopg2: None
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11346/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11346/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11347 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11347/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11347/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11347/events | https://github.com/pandas-dev/pandas/pull/11347 | 111,919,309 | MDExOlB1bGxSZXF1ZXN0NDc5NjU4MjY= | 11,347 | DEPR: remove some SparsePanel deprecation warnings in testing | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
]
| closed | false | null | []
| {
"closed_at": "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"
} | 0 | 2015-10-16T22:05:26Z | 2015-10-18T16:03:57Z | 2015-10-18T16:03:57Z | 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/11347/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11347/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11347.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11347",
"merged_at": "2015-10-18T16:03:56Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11347.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11347"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/11348 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11348/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11348/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11348/events | https://github.com/pandas-dev/pandas/issues/11348 | 111,928,834 | MDU6SXNzdWUxMTE5Mjg4MzQ= | 11,348 | ENH: logical operator "in" for pd.Term | {
"avatar_url": "https://avatars.githubusercontent.com/u/69774?v=4",
"events_url": "https://api.github.com/users/michaelaye/events{/privacy}",
"followers_url": "https://api.github.com/users/michaelaye/followers",
"following_url": "https://api.github.com/users/michaelaye/following{/other_user}",
"gists_url": "https://api.github.com/users/michaelaye/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/michaelaye",
"id": 69774,
"login": "michaelaye",
"node_id": "MDQ6VXNlcjY5Nzc0",
"organizations_url": "https://api.github.com/users/michaelaye/orgs",
"received_events_url": "https://api.github.com/users/michaelaye/received_events",
"repos_url": "https://api.github.com/users/michaelaye/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/michaelaye/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/michaelaye/subscriptions",
"type": "User",
"url": "https://api.github.com/users/michaelaye"
} | [
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
},
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
}
]
| closed | false | null | []
| null | 4 | 2015-10-16T23:22:46Z | 2015-10-18T02:32:14Z | 2015-10-17T15:11:24Z | CONTRIBUTOR | null | I don't know if this is possible with the current pytables implementation/interface, but I would find it useful to be able to do filtering like this on disk:
``` python
df = pd.read_hdf(dbname, 'df', where='colname in ["a","b"]')
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11348/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11348/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11349 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11349/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11349/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11349/events | https://github.com/pandas-dev/pandas/issues/11349 | 111,929,816 | MDU6SXNzdWUxMTE5Mjk4MTY= | 11,349 | BUG: boxing Timedeltas on .apply | {
"avatar_url": "https://avatars.githubusercontent.com/u/1993919?v=4",
"events_url": "https://api.github.com/users/amelio-vazquez-reina/events{/privacy}",
"followers_url": "https://api.github.com/users/amelio-vazquez-reina/followers",
"following_url": "https://api.github.com/users/amelio-vazquez-reina/following{/other_user}",
"gists_url": "https://api.github.com/users/amelio-vazquez-reina/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/amelio-vazquez-reina",
"id": 1993919,
"login": "amelio-vazquez-reina",
"node_id": "MDQ6VXNlcjE5OTM5MTk=",
"organizations_url": "https://api.github.com/users/amelio-vazquez-reina/orgs",
"received_events_url": "https://api.github.com/users/amelio-vazquez-reina/received_events",
"repos_url": "https://api.github.com/users/amelio-vazquez-reina/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/amelio-vazquez-reina/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/amelio-vazquez-reina/subscriptions",
"type": "User",
"url": "https://api.github.com/users/amelio-vazquez-reina"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "5319e7",
"default": false,
"description": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
}
]
| closed | false | null | []
| {
"closed_at": "2016-03-12T16:19:08Z",
"closed_issues": 469,
"created_at": "2015-07-19T20:18:45Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2016-03-13T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/36",
"id": 1214851,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/36/labels",
"node_id": "MDk6TWlsZXN0b25lMTIxNDg1MQ==",
"number": 36,
"open_issues": 0,
"state": "closed",
"title": "0.18.0",
"updated_at": "2016-12-06T21:34:41Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/36"
} | 2 | 2015-10-16T23:35:39Z | 2015-12-31T13:46:31Z | 2015-12-31T13:46:31Z | CONTRIBUTOR | null | Consider the following Series:
```
object_id
0CKVYKjyFn 76 days
0CrPL2QKH3 -15 days
0CrVStlVrg 23 days
0Cc5ZvS67u 76 days
0CTOk5OdtI 76 days
0CTSWtTzBa 76 days
0CwBqVeNCX 76 days
0CIRJFIOcD 58 days
0CRQPCxzQe 350 days
0CAq4m9Nru 15 days
0C617yvXBj 76 days
0CzUUJNKX9 -16 days
Name: days_left, dtype: timedelta64[ns]
```
I am hoping to convert the above to hours.
If I do:
```
my_series.dt.hours
```
I get:
```
AttributeError: 'Series' object has no attribute 'hours
```
What's even more strange is that if I do:
``` python
> my_series[0].total_seconds()/3600
1824.0
```
it works for one element, but if I do:
```
> my_series.apply(lambda x: x.total_seconds())
```
I get:
```
AttributeError: 'numpy.timedelta64' object has no attribute 'total_seconds'
```
I thought `apply` would run the function I pass it item by item in the series. Why does `total_seconds()` work for a single item, but not with `apply`?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11349/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11349/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11350 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11350/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11350/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11350/events | https://github.com/pandas-dev/pandas/issues/11350 | 111,932,886 | MDU6SXNzdWUxMTE5MzI4ODY= | 11,350 | CLN: Move Index format methods to format.py | {
"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": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"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"
}
]
| open | false | null | []
| null | 0 | 2015-10-17T00:16:25Z | 2021-04-20T05:37:17Z | null | MEMBER | null | Create `IndexFormatter` like `Series` and `DataFrame`.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11350/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11350/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11351 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11351/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11351/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11351/events | https://github.com/pandas-dev/pandas/issues/11351 | 111,933,678 | MDU6SXNzdWUxMTE5MzM2Nzg= | 11,351 | BUG/API: Make consistent API for tz-aware and tz-naive 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": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
},
{
"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 | []
| null | 5 | 2015-10-17T00:29:24Z | 2018-06-29T05:24:34Z | 2018-06-29T05:24:34Z | MEMBER | null | Currently there are some inconsistent results. We should clarify the policy first.
```
import pandas as pd
s = pd.Series([pd.Timestamp('2011-01-01'), pd.NaT])
s
#0 2011-01-01
#1 NaT
# dtype: datetime64[ns]
```
#### 1. coerced to object dtype
I prefer this behavior.
```
s.fillna(pd.Timestamp('2011-01-02', tz='Asia/Tokyo'))
#0 2011-01-01 00:00:00
#1 2011-01-02 00:00:00+09:00
# dtype: object
```
#### 2. converted to GMT
```
s[1] = pd.Timestamp('2011-01-02', tz='Asia/Tokyo')
s
#0 2011-01-01 00:00:00
#1 2011-01-01 15:00:00
# dtype: datetime64[ns]
```
#### 3. raise explicit error
This looks second best.
```
stz = pd.Series(pd.DatetimeIndex(['2012-01-01', '2012-01-02'], tz='Asia/Tokyo'))
stz
#0 2012-01-01 00:00:00+09:00
#1 2012-01-02 00:00:00+09:00
# dtype: datetime64[ns, Asia/Tokyo]
pd.Index(s).union(pd.Index(stz))
# TypeError: Cannot join tz-naive with tz-aware DatetimeIndex
```
#### 4. not handled properly (bug)
```
s.append(stz)
# AttributeError: 'numpy.ndarray' object has no attribute 'tz_localize'
```
-> Split to #11455, closed by #12195.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11351/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11351/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11352 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11352/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11352/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11352/events | https://github.com/pandas-dev/pandas/pull/11352 | 111,936,341 | MDExOlB1bGxSZXF1ZXN0NDc5NzU4NDk= | 11,352 | PERF: fast inf checking in to_excel | {
"avatar_url": "https://avatars.githubusercontent.com/u/1924092?v=4",
"events_url": "https://api.github.com/users/chris-b1/events{/privacy}",
"followers_url": "https://api.github.com/users/chris-b1/followers",
"following_url": "https://api.github.com/users/chris-b1/following{/other_user}",
"gists_url": "https://api.github.com/users/chris-b1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/chris-b1",
"id": 1924092,
"login": "chris-b1",
"node_id": "MDQ6VXNlcjE5MjQwOTI=",
"organizations_url": "https://api.github.com/users/chris-b1/orgs",
"received_events_url": "https://api.github.com/users/chris-b1/received_events",
"repos_url": "https://api.github.com/users/chris-b1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/chris-b1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chris-b1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/chris-b1"
} | [
{
"color": "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": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
}
]
| closed | false | null | []
| {
"closed_at": "2015-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"
} | 5 | 2015-10-17T01:20:27Z | 2015-10-21T22:41:46Z | 2015-10-17T15:08:44Z | CONTRIBUTOR | null | Adds new functions to check for infinity rather than calling `np.isposinf` and `np.isneginf`, which were (surprising to me) a significant drag on `to_excel`.
I also added `xlsxwriter` to the asv build configuration. `openpyxl` is still failing, I'm assuming something do with the specific version on conda?
```
before after ratio
[472e6e0e] [8002555d]
156.36ms 154.16ms 0.99 packers.packers_read_excel.time_packers_read_excel
failed failed n/a packers.packers_write_excel_openpyxl.time_packers_write_excel_openpyxl
469.69ms 357.49ms 0.76 packers.packers_write_excel_xlsxwriter.time_packers_write_excel_xlsxwriter
368.96ms 270.60ms 0.73 packers.packers_write_excel_xlwt.time_packers_write_excel_xlwt
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11352/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11352/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11352.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11352",
"merged_at": "2015-10-17T15:08:44Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11352.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11352"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11353 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11353/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11353/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11353/events | https://github.com/pandas-dev/pandas/issues/11353 | 111,944,486 | MDU6SXNzdWUxMTE5NDQ0ODY= | 11,353 | Error in dataframe when row is deleted | {
"avatar_url": "https://avatars.githubusercontent.com/u/6446997?v=4",
"events_url": "https://api.github.com/users/vikrantrathore/events{/privacy}",
"followers_url": "https://api.github.com/users/vikrantrathore/followers",
"following_url": "https://api.github.com/users/vikrantrathore/following{/other_user}",
"gists_url": "https://api.github.com/users/vikrantrathore/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/vikrantrathore",
"id": 6446997,
"login": "vikrantrathore",
"node_id": "MDQ6VXNlcjY0NDY5OTc=",
"organizations_url": "https://api.github.com/users/vikrantrathore/orgs",
"received_events_url": "https://api.github.com/users/vikrantrathore/received_events",
"repos_url": "https://api.github.com/users/vikrantrathore/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/vikrantrathore/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vikrantrathore/subscriptions",
"type": "User",
"url": "https://api.github.com/users/vikrantrathore"
} | [
{
"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 | 1 | 2015-10-17T05:06:03Z | 2015-10-17T14:50:42Z | 2015-10-17T14:50:34Z | NONE | null | After creating a dataframe from excel and then deleting some rows by column value like
```
df = df[df.Name != "TBC"]
```
when need to iterate through the value of a column it throws key error as shown below.
It works fine if I do not delete the rows.
"
---> 38 print df["Country"][19]
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas/core/series.pyc in **getitem**(self, key)
549 def **getitem**(self, key):
550 try:
--> 551 result = self.index.get_value(self, key)
552
553 if not np.isscalar(result):
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas/core/index.pyc in get_value(self, series, key)
1721
1722 try:
-> 1723 return self._engine.get_value(s, k)
1724 except KeyError as e1:
1725 if len(self) > 0 and self.inferred_type in ['integer','boolean']:
pandas/index.pyx in pandas.index.IndexEngine.get_value (pandas/index.c:3204)()
pandas/index.pyx in pandas.index.IndexEngine.get_value (pandas/index.c:2903)()
pandas/index.pyx in pandas.index.IndexEngine.get_loc (pandas/index.c:3843)()
pandas/hashtable.pyx in pandas.hashtable.Int64HashTable.get_item (pandas/hashtable.c:6525)()
pandas/hashtable.pyx in pandas.hashtable.Int64HashTable.get_item (pandas/hashtable.c:6463)()
KeyError: 19
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11353/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11353/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11354 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11354/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11354/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11354/events | https://github.com/pandas-dev/pandas/issues/11354 | 111,955,207 | MDU6SXNzdWUxMTE5NTUyMDc= | 11,354 | BUG: merge on multiple columns with mixed colums/index failing | {
"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": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
},
{
"color": "cdea3c",
"default": false,
"description": "Unit test(s) needed to prevent regressions",
"id": 986278782,
"name": "Needs Tests",
"node_id": "MDU6TGFiZWw5ODYyNzg3ODI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests"
}
]
| closed | false | null | []
| {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 1 | 2015-10-17T10:24:11Z | 2019-11-16T22:04:45Z | 2019-11-16T22:04:45Z | MEMBER | null | From the mailing list, considering this example:
```
In [56]: s = pd.Series(range(6), pd.MultiIndex.from_product([['A', 'B'], [1,2,3]], names=['lev1', 'lev2']), name='Amount')
In [57]: s
Out[57]:
lev1 lev2
A 1 0
2 1
3 2
B 1 3
2 4
3 5
Name: Amount, dtype: int64
In [58]: df = pd.DataFrame({'lev1':list('AAABBB'), 'lev2':[1,2,3,1,2,3], 'col':0})
In [59]: df
Out[59]:
col lev1 lev2
0 0 A 1
1 0 A 2
2 0 A 3
3 0 B 1
4 0 B 2
5 0 B 3
```
So there are overlapping columns, but as the index in the series and as columns in the dataframe.
To merge both, these work:
```
In [63]: pd.concat([df.set_index(['lev1', 'lev2']), s], axis=1)
Out[63]:
col Amount
lev1 lev2
A 1 0 0
2 0 1
3 0 2
B 1 0 3
2 0 4
3 0 5
In [64]: pd.merge(df, s.reset_index(), on=['lev1', 'lev2'])
Out[64]:
col lev1 lev2 Amount
0 0 A 1 0
1 0 A 2 1
2 0 A 3 2
3 0 B 1 3
4 0 B 2 4
5 0 B 3 5
```
But I would expect this also to work:
```
In [69]: df.merge(s, left_on=['lev1', 'lev2'], right_index=True)
---------------------------------------------------------------------------
IndexError Traceback (most recent call last)
<ipython-input-69-1b78b4267e47> in <module>()
----> 1 df.merge(s, left_on=['lev1', 'lev2'], right_index=True)
C:\Anaconda\lib\site-packages\pandas\core\frame.pyc in merge(self, right, how, o
n, left_on, right_on, left_index, right_index, sort, suffixes, copy)
4069 left_on=left_on, right_on=right_on,
4070 left_index=left_index, right_index=right_index, sor
t=sort,
-> 4071 suffixes=suffixes, copy=copy)
4072
4073 #-------------------------------------------------------------------
---
C:\Anaconda\lib\site-packages\pandas\tools\merge.pyc in merge(left, right, how,
on, left_on, right_on, left_index, right_index, sort, suffixes, copy)
36 right_index=right_index, sort=sort, suffixes=su
ffixes,
37 copy=copy)
---> 38 return op.get_result()
39 if __debug__:
40 merge.__doc__ = _merge_doc % '\nleft : DataFrame'
C:\Anaconda\lib\site-packages\pandas\tools\merge.pyc in get_result(self)
184
185 def get_result(self):
--> 186 join_index, left_indexer, right_indexer = self._get_join_info()
187
188 ldata, rdata = self.left._data, self.right._data
C:\Anaconda\lib\site-packages\pandas\tools\merge.pyc in _get_join_info(self)
254 def _get_join_info(self):
255 left_ax = self.left._data.axes[self.axis]
--> 256 right_ax = self.right._data.axes[self.axis]
257 if self.left_index and self.right_index:
258 join_index, left_indexer, right_indexer = \
IndexError: list index out of range
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11354/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11354/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11355 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11355/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11355/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11355/events | https://github.com/pandas-dev/pandas/issues/11355 | 111,967,029 | MDU6SXNzdWUxMTE5NjcwMjk= | 11,355 | PERF: refactor ExcelFormatter | {
"avatar_url": "https://avatars.githubusercontent.com/u/1924092?v=4",
"events_url": "https://api.github.com/users/chris-b1/events{/privacy}",
"followers_url": "https://api.github.com/users/chris-b1/followers",
"following_url": "https://api.github.com/users/chris-b1/following{/other_user}",
"gists_url": "https://api.github.com/users/chris-b1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/chris-b1",
"id": 1924092,
"login": "chris-b1",
"node_id": "MDQ6VXNlcjE5MjQwOTI=",
"organizations_url": "https://api.github.com/users/chris-b1/orgs",
"received_events_url": "https://api.github.com/users/chris-b1/received_events",
"repos_url": "https://api.github.com/users/chris-b1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/chris-b1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chris-b1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/chris-b1"
} | [
{
"color": "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": "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"
}
]
| 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"
} | 8 | 2015-10-17T15:02:57Z | 2018-02-14T00:54:07Z | null | CONTRIBUTOR | null | xref #11352
- [ ] use `to_native_types` by block to yield already formatted cells
- [ ] yield cells in row-oriented way https://github.com/pydata/pandas/pull/11144#issuecomment-141966626
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11355/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11355/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11356 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11356/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11356/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11356/events | https://github.com/pandas-dev/pandas/pull/11356 | 111,971,639 | MDExOlB1bGxSZXF1ZXN0NDc5ODk4NTY= | 11,356 | WIP: avoid some numpy warnings #8537 | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
},
{
"color": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
]
| closed | false | null | []
| {
"closed_at": "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"
} | 0 | 2015-10-17T16:30:40Z | 2015-10-18T23:52:37Z | 2015-10-18T23:52:37Z | CONTRIBUTOR | null | closes #8537
- avoid numpy comparison to `None` warnings
- change null indexing from `ValueError` to `TypeError` (more consistent with other errors)
- elementwise comparisons with index names xref #11162
- elementwise comparisons vs string-likes
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11356/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11356/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11356.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11356",
"merged_at": "2015-10-18T23:52:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11356.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11356"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11357 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11357/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11357/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11357/events | https://github.com/pandas-dev/pandas/issues/11357 | 111,974,120 | MDU6SXNzdWUxMTE5NzQxMjA= | 11,357 | BUG? Consistency of column parsing | {
"avatar_url": "https://avatars.githubusercontent.com/u/1924092?v=4",
"events_url": "https://api.github.com/users/chris-b1/events{/privacy}",
"followers_url": "https://api.github.com/users/chris-b1/followers",
"following_url": "https://api.github.com/users/chris-b1/following{/other_user}",
"gists_url": "https://api.github.com/users/chris-b1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/chris-b1",
"id": 1924092,
"login": "chris-b1",
"node_id": "MDQ6VXNlcjE5MjQwOTI=",
"organizations_url": "https://api.github.com/users/chris-b1/orgs",
"received_events_url": "https://api.github.com/users/chris-b1/received_events",
"repos_url": "https://api.github.com/users/chris-b1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/chris-b1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chris-b1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/chris-b1"
} | [
{
"color": "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"
},
{
"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": "b60205",
"default": false,
"description": "Internal Consistency of API/Behavior",
"id": 1741841389,
"name": "API - Consistency",
"node_id": "MDU6TGFiZWwxNzQxODQxMzg5",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20-%20Consistency"
}
]
| open | false | null | []
| null | 1 | 2015-10-17T17:13:24Z | 2020-05-02T03:53:38Z | null | CONTRIBUTOR | null | xref #11328
``` python
In [100]: df = pd.DataFrame({0: range(5), 1:range(5)})
In [101]: df.to_excel('tmp.xlsx')
In [102]: df.to_csv('tmp.csv')
In [103]: pd.read_excel('tmp.xlsx', index_col=0).columns
Out[103]: Int64Index([0, 1], dtype='int64')
In [106]: pd.read_csv('tmp.csv', index_col=0).columns
Out[106]: Index([u'0', u'1'], 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/11357/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11357/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11358 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11358/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11358/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11358/events | https://github.com/pandas-dev/pandas/pull/11358 | 111,983,336 | MDExOlB1bGxSZXF1ZXN0NDc5OTQ2NDM= | 11,358 | added a note on index creation for pandas dataframe stored in hdf5 file | {
"avatar_url": "https://avatars.githubusercontent.com/u/6646930?v=4",
"events_url": "https://api.github.com/users/ksxh/events{/privacy}",
"followers_url": "https://api.github.com/users/ksxh/followers",
"following_url": "https://api.github.com/users/ksxh/following{/other_user}",
"gists_url": "https://api.github.com/users/ksxh/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ksxh",
"id": 6646930,
"login": "ksxh",
"node_id": "MDQ6VXNlcjY2NDY5MzA=",
"organizations_url": "https://api.github.com/users/ksxh/orgs",
"received_events_url": "https://api.github.com/users/ksxh/received_events",
"repos_url": "https://api.github.com/users/ksxh/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ksxh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ksxh/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ksxh"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
}
]
| closed | false | null | []
| {
"closed_at": "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"
} | 4 | 2015-10-17T20:32:06Z | 2015-11-13T16:20:55Z | 2015-11-13T16:20:55Z | NONE | null | Based on my discussion with Jeff
http://stackoverflow.com/questions/25714549/indexing-and-data-columns-in-pandas-pytables/25715005?noredirect=1#comment53932720_25715005
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11358/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11358/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11358.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11358",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/11358.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11358"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11359 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11359/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11359/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11359/events | https://github.com/pandas-dev/pandas/issues/11359 | 111,998,788 | MDU6SXNzdWUxMTE5OTg3ODg= | 11,359 | pandas.io.gbq verify_schema seems to be too strict. | {
"avatar_url": "https://avatars.githubusercontent.com/u/8951994?v=4",
"events_url": "https://api.github.com/users/FlxVctr/events{/privacy}",
"followers_url": "https://api.github.com/users/FlxVctr/followers",
"following_url": "https://api.github.com/users/FlxVctr/following{/other_user}",
"gists_url": "https://api.github.com/users/FlxVctr/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/FlxVctr",
"id": 8951994,
"login": "FlxVctr",
"node_id": "MDQ6VXNlcjg5NTE5OTQ=",
"organizations_url": "https://api.github.com/users/FlxVctr/orgs",
"received_events_url": "https://api.github.com/users/FlxVctr/received_events",
"repos_url": "https://api.github.com/users/FlxVctr/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/FlxVctr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/FlxVctr/subscriptions",
"type": "User",
"url": "https://api.github.com/users/FlxVctr"
} | [
{
"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": "0052cc",
"default": false,
"description": "pandas-gbq compatability",
"id": 57351315,
"name": "IO Google",
"node_id": "MDU6TGFiZWw1NzM1MTMxNQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Google"
}
]
| closed | false | null | []
| {
"closed_at": "2016-10-03T08:52:13Z",
"closed_issues": 733,
"created_at": "2016-03-11T21:24:45Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2016-09-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/40",
"id": 1639795,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels",
"node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==",
"number": 40,
"open_issues": 0,
"state": "closed",
"title": "0.19.0",
"updated_at": "2017-11-06T02:01:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40"
} | 11 | 2015-10-18T03:31:36Z | 2016-09-13T10:24:03Z | 2016-09-13T10:24:02Z | NONE | null | [This line](https://github.com/pydata/pandas/blob/b2a547e8a9dd6ab3332f18a6f87ecb31181d7d30/pandas/io/gbq.py#L330) seems for me to be too strict for repeated insertion, because apparently GBQ is not consistent in the order of fields in the schema (or my application screws the order of fields up, anyway, I would say the verification is too strict).
So for example:
``` python
dict1 = {'fields': [{'name': 'coordinates_0', 'type': 'FLOAT'}, {'name': 'created_at', 'type': 'STRING'}]}
dict2 = {'fields': [{'name': 'created_at', 'type': 'STRING'}, {'name': 'coordinates_0', 'type': 'FLOAT'}]}
dict1 == dict2 # gives False
```
would make verification fail, though insertion would work, as the insert as JSON makes the order of fields irrelevant.
Solved that for myself for the moment with:
``` python
def verify_schema(self, dataset_id, table_id, schema):
from apiclient.errors import HttpError
try:
bq_schema = (self.service.tables().get(
projectId=self.project_id,
datasetId=dataset_id,
tableId=table_id
).execute()['schema'])
return set(
[json.dumps(x) for x in bq_schema['fields']] # dump necessary to make dicts hashable
) == set(
[json.dumps(x) for x in schema['fields']]
) # this still fails if key order is different. But GBQ seems to keep key order.
except HttpError as ex:
self.process_http_error(ex)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11359/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11359/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11360 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11360/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11360/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11360/events | https://github.com/pandas-dev/pandas/issues/11360 | 111,999,543 | MDU6SXNzdWUxMTE5OTk1NDM= | 11,360 | memory issues when doing inplace operations and dataframe wide operations | {
"avatar_url": "https://avatars.githubusercontent.com/u/15177420?v=4",
"events_url": "https://api.github.com/users/arjay55/events{/privacy}",
"followers_url": "https://api.github.com/users/arjay55/followers",
"following_url": "https://api.github.com/users/arjay55/following{/other_user}",
"gists_url": "https://api.github.com/users/arjay55/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/arjay55",
"id": 15177420,
"login": "arjay55",
"node_id": "MDQ6VXNlcjE1MTc3NDIw",
"organizations_url": "https://api.github.com/users/arjay55/orgs",
"received_events_url": "https://api.github.com/users/arjay55/received_events",
"repos_url": "https://api.github.com/users/arjay55/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/arjay55/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arjay55/subscriptions",
"type": "User",
"url": "https://api.github.com/users/arjay55"
} | [
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"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-10-18T03:55:45Z | 2015-10-28T21:06:12Z | 2015-10-18T13:34:42Z | NONE | null | Hi,
Whenever I do inplace operations in pandas, especially when performing operations like replace or astype. The memory blows up close or greater than 8GB(esp on values).
Same happens when using values or concatenation of larger dataframes.
The workaroud is to do a per column operation, even on concatenation(using column addition). But since this is becoming a common issue (or at least that what I see), can algorithms for efficient memory management be added whole dataframe operations, e.g., checking the memory of the machine and then splitting the operation into chunks so that the user won't be less concerned in having memory bottlenecks when executing such pandas commands.
Thanks in advance.
Example,
``` python
allcols=allcols[0:400]
train=[eval('dftrain.'+allcols[0]).values]
del allcols[0]
for x in allcols:
train=np.append(train,[eval('dftrain.'+x).values], axis=0)
del dftrain
```
if I used dftrain.values[x,y] command, the memory usage will blow up above 8GB, and the kernel will die.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11360/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11360/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11361 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11361/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11361/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11361/events | https://github.com/pandas-dev/pandas/pull/11361 | 112,000,265 | MDExOlB1bGxSZXF1ZXN0NDgwMDE0NDg= | 11,361 | DOC: added exp weighting clarifications from #8861 | {
"avatar_url": "https://avatars.githubusercontent.com/u/2401026?v=4",
"events_url": "https://api.github.com/users/matthewgilbert/events{/privacy}",
"followers_url": "https://api.github.com/users/matthewgilbert/followers",
"following_url": "https://api.github.com/users/matthewgilbert/following{/other_user}",
"gists_url": "https://api.github.com/users/matthewgilbert/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/matthewgilbert",
"id": 2401026,
"login": "matthewgilbert",
"node_id": "MDQ6VXNlcjI0MDEwMjY=",
"organizations_url": "https://api.github.com/users/matthewgilbert/orgs",
"received_events_url": "https://api.github.com/users/matthewgilbert/received_events",
"repos_url": "https://api.github.com/users/matthewgilbert/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/matthewgilbert/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/matthewgilbert/subscriptions",
"type": "User",
"url": "https://api.github.com/users/matthewgilbert"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
]
| 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"
} | 14 | 2015-10-18T04:23:02Z | 2015-11-01T10:28:53Z | 2015-11-01T10:27:53Z | CONTRIBUTOR | null | I integrated the comments in #8861 from @seth-p into the exponential weighted moment functions docs.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11361/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11361/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11361.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11361",
"merged_at": "2015-11-01T10:27:53Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11361.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11361"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11362 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11362/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11362/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11362/events | https://github.com/pandas-dev/pandas/pull/11362 | 112,007,885 | MDExOlB1bGxSZXF1ZXN0NDgwMDQyNzE= | 11,362 | fixed pathlib tests on windows | {
"avatar_url": "https://avatars.githubusercontent.com/u/291575?v=4",
"events_url": "https://api.github.com/users/flying-sheep/events{/privacy}",
"followers_url": "https://api.github.com/users/flying-sheep/followers",
"following_url": "https://api.github.com/users/flying-sheep/following{/other_user}",
"gists_url": "https://api.github.com/users/flying-sheep/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/flying-sheep",
"id": 291575,
"login": "flying-sheep",
"node_id": "MDQ6VXNlcjI5MTU3NQ==",
"organizations_url": "https://api.github.com/users/flying-sheep/orgs",
"received_events_url": "https://api.github.com/users/flying-sheep/received_events",
"repos_url": "https://api.github.com/users/flying-sheep/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/flying-sheep/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/flying-sheep/subscriptions",
"type": "User",
"url": "https://api.github.com/users/flying-sheep"
} | [
{
"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": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
}
]
| closed | false | null | []
| {
"closed_at": "2015-11-21T13:47:07Z",
"closed_issues": 216,
"created_at": "2015-09-10T14:30:44Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.17.0 of course!",
"due_on": "2015-11-21T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/37",
"id": 1299459,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/37/labels",
"node_id": "MDk6TWlsZXN0b25lMTI5OTQ1OQ==",
"number": 37,
"open_issues": 0,
"state": "closed",
"title": "0.17.1",
"updated_at": "2016-07-21T16:02:53Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/37"
} | 6 | 2015-10-18T08:36:40Z | 2015-10-18T16:03:53Z | 2015-10-18T16:02:57Z | CONTRIBUTOR | null | as requested here: https://github.com/pydata/pandas/issues/11033#issuecomment-148924778
i can’t test on windows unfortunately.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11362/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11362/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11362.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11362",
"merged_at": "2015-10-18T16:02:57Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11362.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11362"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11363 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11363/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11363/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11363/events | https://github.com/pandas-dev/pandas/issues/11363 | 112,041,617 | MDU6SXNzdWUxMTIwNDE2MTc= | 11,363 | Add support for DataFrame(Categorical) | {
"avatar_url": "https://avatars.githubusercontent.com/u/69774?v=4",
"events_url": "https://api.github.com/users/michaelaye/events{/privacy}",
"followers_url": "https://api.github.com/users/michaelaye/followers",
"following_url": "https://api.github.com/users/michaelaye/following{/other_user}",
"gists_url": "https://api.github.com/users/michaelaye/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/michaelaye",
"id": 69774,
"login": "michaelaye",
"node_id": "MDQ6VXNlcjY5Nzc0",
"organizations_url": "https://api.github.com/users/michaelaye/orgs",
"received_events_url": "https://api.github.com/users/michaelaye/received_events",
"repos_url": "https://api.github.com/users/michaelaye/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/michaelaye/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/michaelaye/subscriptions",
"type": "User",
"url": "https://api.github.com/users/michaelaye"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "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": "d4c5f9",
"default": false,
"description": "Series/DataFrame/Index/pd.array Constructors",
"id": 1465286368,
"name": "Constructors",
"node_id": "MDU6TGFiZWwxNDY1Mjg2MzY4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Constructors"
}
]
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 1 | 2015-10-18T21:13:54Z | 2019-12-18T22:20:12Z | 2019-12-18T22:20:12Z | CONTRIBUTOR | null | This would be in symmetry with the existing support of DataFrame(np.array) and DataFrame(Series).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11363/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11363/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11364 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11364/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11364/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11364/events | https://github.com/pandas-dev/pandas/issues/11364 | 112,041,917 | MDU6SXNzdWUxMTIwNDE5MTc= | 11,364 | inconisitent behaviour of hdf5 store.append for MultiIndex vs simple Index | {
"avatar_url": "https://avatars.githubusercontent.com/u/8426290?v=4",
"events_url": "https://api.github.com/users/DSLituiev/events{/privacy}",
"followers_url": "https://api.github.com/users/DSLituiev/followers",
"following_url": "https://api.github.com/users/DSLituiev/following{/other_user}",
"gists_url": "https://api.github.com/users/DSLituiev/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/DSLituiev",
"id": 8426290,
"login": "DSLituiev",
"node_id": "MDQ6VXNlcjg0MjYyOTA=",
"organizations_url": "https://api.github.com/users/DSLituiev/orgs",
"received_events_url": "https://api.github.com/users/DSLituiev/received_events",
"repos_url": "https://api.github.com/users/DSLituiev/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/DSLituiev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DSLituiev/subscriptions",
"type": "User",
"url": "https://api.github.com/users/DSLituiev"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
},
{
"color": "5319e7",
"default": false,
"description": "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 | 4 | 2015-10-18T21:20:58Z | 2015-10-19T05:50:27Z | 2015-10-18T23:20:02Z | NONE | null | The following example works with MultiIndex, but fails with simple index, which is bad in terms of generalization / intuitive behaviour:
```
#Create example:
col_nums = [0]
df = pd.DataFrame({"V1":["a","b","c","d","e", "aaaah!!!"],
"W":["c","d","c","d","c","c"],
"data":np.arange(6)})
df.set_index(["V1","W"], inplace = True)
df.to_csv("testtable.tab",sep = "\t")
```
```
# MulitIndex -> works:
sep = "\t"
indexcols =[0,1]
chunksize=5
xbed = "testtable.tab"
%rm 'tempstore.h5'
# create a store
with pd.HDFStore('tempstore.h5') as store:
for nn, chunk in enumerate(pd.read_table(xbed, chunksize=chunksize, sep = sep, index_col= indexcols)):
group = "x"
print(chunk.index.names)
store.append(group, chunk, format = "table",
min_itemsize=dict(zip(chunk.index.names, [32]*len(chunk.index.names))))
print("chunk #" , nn, file = sys.stderr)
```
```
# simple Index -> fails:
sep = "\t"
indexcols =[0] # <==== this is the only difference
chunksize=5
xbed = "testtable.tab"
%rm 'tempstore.h5'
# create a store
with pd.HDFStore('tempstore.h5') as store:
for nn, chunk in enumerate(pd.read_table(xbed, chunksize=chunksize, sep = sep, index_col= indexcols)):
group = "x"
print(chunk.index.names)
store.append(group, chunk, format = "table",
min_itemsize=dict(zip(chunk.index.names, [32]*len(chunk.index.names))))
print("chunk #" , nn, file = sys.stderr)
```
`-> ... ValueError: min_itemsize has the key [V1] which is not an axis or data_column`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11364/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11364/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11365 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11365/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11365/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11365/events | https://github.com/pandas-dev/pandas/issues/11365 | 112,047,644 | MDU6SXNzdWUxMTIwNDc2NDQ= | 11,365 | BUG: .loc assignment of datetime with tz is coercing to naive | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
]
| closed | false | null | []
| {
"closed_at": "2019-01-26T00:51:26Z",
"closed_issues": 2048,
"created_at": "2018-03-29T12:00:12Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "",
"due_on": "2019-01-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/55",
"id": 3228419,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/55/labels",
"node_id": "MDk6TWlsZXN0b25lMzIyODQxOQ==",
"number": 55,
"open_issues": 0,
"state": "closed",
"title": "0.24.0",
"updated_at": "2019-01-29T07:42:40Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/55"
} | 2 | 2015-10-18T22:44:37Z | 2018-06-28T10:23:02Z | 2018-06-28T10:23:02Z | CONTRIBUTOR | null | xref #12502 (example there as well)
xref #14148
```
In [3]: idx = pd.date_range('20130101',periods=3,tz='US/Eastern')
In [4]: df = DataFrame({'A' : [1,2,3]})
In [5]: df['B'] = idx
In [6]: df.dtypes
Out[6]:
A int64
B datetime64[ns, US/Eastern]
dtype: object
In [7]: df.loc[[True,False,True],'C'] = idx
In [8]: df
Out[8]:
A B C
0 1 2013-01-01 00:00:00-05:00 2013-01-01 05:00:00
1 2 2013-01-02 00:00:00-05:00 NaT
2 3 2013-01-03 00:00:00-05:00 2013-01-02 05:00:00
# C should be the same time zone
In [9]: df.dtypes
Out[9]:
A int64
B datetime64[ns, US/Eastern]
C datetime64[ns]
dtype: object
```
this is also realized to #11351 [4]
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11365/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11365/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11366 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11366/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11366/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11366/events | https://github.com/pandas-dev/pandas/pull/11366 | 112,076,195 | MDExOlB1bGxSZXF1ZXN0NDgwMzMwMjc= | 11,366 | BUG: GH11235 where pd.eval doesn't handle unary ops in lists | {
"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"
}
]
| 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"
} | 2 | 2015-10-19T05:40:18Z | 2015-10-23T20:41:17Z | 2015-10-23T20:41:12Z | CONTRIBUTOR | null | closes #11235
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11366/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11366/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11366.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11366",
"merged_at": "2015-10-23T20:41:12Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11366.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11366"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11367 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11367/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11367/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11367/events | https://github.com/pandas-dev/pandas/issues/11367 | 112,076,997 | MDU6SXNzdWUxMTIwNzY5OTc= | 11,367 | BUG: pd.eval handles operator not as operator ~ | {
"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": "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-10-19T05:50:28Z | 2020-04-26T20:54:46Z | null | CONTRIBUTOR | null | ```
>>> import pandas as pd
>>> pd.eval('not True')
-2
```
Not sure if this was intentional, since `'not'` maps to `op.invert` in https://github.com/pydata/pandas/blob/master/pandas/computation/ops.py#L458. After fixing that `numexpr` still `invert`s rather than `not`s the operand.
```
INSTALLED VERSIONS
------------------
commit: 53a0db18104abde098d43c66d77555fad12ed8c1
python: 3.4.3.final.0
python-bits: 64
OS: Linux
OS-release: 3.13.0-63-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
pandas: 0.17.0+62.g53a0db1
nose: 1.3.6
pip: 7.1.2
setuptools: 18.4
Cython: 0.22
numpy: 1.9.2
scipy: 0.15.1
statsmodels: None
IPython: 4.0.0
sphinx: 1.3.1
patsy: 0.3.0
dateutil: 2.4.2
pytz: 2015.4
blosc: None
bottleneck: 0.8.0
tables: 3.1.1
numexpr: 2.4.3
matplotlib: 1.4.3
openpyxl: 2.0.3
xlrd: 0.9.4
xlwt: 1.0.0
xlsxwriter: 0.7.6
lxml: 3.4.4
bs4: 4.3.2
html5lib: 1.0b2
httplib2: None
apiclient: None
sqlalchemy: 1.0.4
pymysql: 0.6.6.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/11367/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11367/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11368 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11368/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11368/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11368/events | https://github.com/pandas-dev/pandas/pull/11368 | 112,080,497 | MDExOlB1bGxSZXF1ZXN0NDgwMzQ5MDM= | 11,368 | interpreting index name in min_itemsize specification #11364, #10381 | {
"avatar_url": "https://avatars.githubusercontent.com/u/8426290?v=4",
"events_url": "https://api.github.com/users/DSLituiev/events{/privacy}",
"followers_url": "https://api.github.com/users/DSLituiev/followers",
"following_url": "https://api.github.com/users/DSLituiev/following{/other_user}",
"gists_url": "https://api.github.com/users/DSLituiev/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/DSLituiev",
"id": 8426290,
"login": "DSLituiev",
"node_id": "MDQ6VXNlcjg0MjYyOTA=",
"organizations_url": "https://api.github.com/users/DSLituiev/orgs",
"received_events_url": "https://api.github.com/users/DSLituiev/received_events",
"repos_url": "https://api.github.com/users/DSLituiev/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/DSLituiev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DSLituiev/subscriptions",
"type": "User",
"url": "https://api.github.com/users/DSLituiev"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "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 | 8 | 2015-10-19T06:23:48Z | 2015-11-18T23:56:16Z | 2015-11-18T20:16:52Z | NONE | null | closes #10381
The fix replaces named index columns in [`Table.index_axes` with their names](https://github.com/pydata/pandas/compare/master...DSLituiev:master#diff-1b15d1477da3a0548d2dd72a5d023d00L3323) and [corrects `min_itemsize` if it contains 'index' item which is not in `Table.index_axes`](https://github.com/pydata/pandas/compare/master...DSLituiev:master#diff-1b15d1477da3a0548d2dd72a5d023d00R3093)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11368/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11368/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11368.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11368",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/11368.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11368"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11369 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11369/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11369/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11369/events | https://github.com/pandas-dev/pandas/issues/11369 | 112,123,949 | MDU6SXNzdWUxMTIxMjM5NDk= | 11,369 | Panel partial index is transposed when minor_index is MultiIndex | {
"avatar_url": "https://avatars.githubusercontent.com/u/122994?v=4",
"events_url": "https://api.github.com/users/benmoran/events{/privacy}",
"followers_url": "https://api.github.com/users/benmoran/followers",
"following_url": "https://api.github.com/users/benmoran/following{/other_user}",
"gists_url": "https://api.github.com/users/benmoran/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/benmoran",
"id": 122994,
"login": "benmoran",
"node_id": "MDQ6VXNlcjEyMjk5NA==",
"organizations_url": "https://api.github.com/users/benmoran/orgs",
"received_events_url": "https://api.github.com/users/benmoran/received_events",
"repos_url": "https://api.github.com/users/benmoran/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/benmoran/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/benmoran/subscriptions",
"type": "User",
"url": "https://api.github.com/users/benmoran"
} | [
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
},
{
"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": 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-10-19T11:14:03Z | 2018-07-06T20:21:08Z | 2017-07-10T21:07:50Z | NONE | null | I can index a Panel to get a data frame, e.g. by major_axis:
```
>>> p = pd.Panel(np.arange(8).reshape(2,2,2),items=('A1','B1'),major_axis=('A2','B2'),minor_axis=('A3','B3'))
>>> p.loc[:,'A2',:]
A1 B1
A3 0 4
B3 1 5
```
But if I do the same index when the minor_axis is a MultiIndex the resulting data frame is unexpectedly transposed:
```
mi = pd.MultiIndex((['A3','B3'],['a','b']), [(0,0),(1,1)])
p = pd.Panel(np.arange(8).reshape(2,2,2),items=('A1','B1'),major_axis=('A2','B2'),minor_axis=mi)
p.loc[:,'A2',:]
A3
b b
A1 0 1
B1 4 5
```
Actually I think the second behaviour is closer to what I expect - the items axis becomes dimension 0 of the DataFrame. But whichever is used, we should have stability, especially if 1-item MultiIndex objects automatically become Index objects.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11369/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11369/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11370 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11370/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11370/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11370/events | https://github.com/pandas-dev/pandas/issues/11370 | 112,124,264 | MDU6SXNzdWUxMTIxMjQyNjQ= | 11,370 | Vectorised addition of MonthOffset(n=0) returns different values to item-by-item addition | {
"avatar_url": "https://avatars.githubusercontent.com/u/7807926?v=4",
"events_url": "https://api.github.com/users/rekcahpassyla/events{/privacy}",
"followers_url": "https://api.github.com/users/rekcahpassyla/followers",
"following_url": "https://api.github.com/users/rekcahpassyla/following{/other_user}",
"gists_url": "https://api.github.com/users/rekcahpassyla/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rekcahpassyla",
"id": 7807926,
"login": "rekcahpassyla",
"node_id": "MDQ6VXNlcjc4MDc5MjY=",
"organizations_url": "https://api.github.com/users/rekcahpassyla/orgs",
"received_events_url": "https://api.github.com/users/rekcahpassyla/received_events",
"repos_url": "https://api.github.com/users/rekcahpassyla/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rekcahpassyla/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rekcahpassyla/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rekcahpassyla"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0052cc",
"default": false,
"description": "DateOffsets",
"id": 53181044,
"name": "Frequency",
"node_id": "MDU6TGFiZWw1MzE4MTA0NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency"
}
]
| closed | false | null | []
| {
"closed_at": "2016-03-12T16:19:08Z",
"closed_issues": 469,
"created_at": "2015-07-19T20:18:45Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2016-03-13T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/36",
"id": 1214851,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/36/labels",
"node_id": "MDk6TWlsZXN0b25lMTIxNDg1MQ==",
"number": 36,
"open_issues": 0,
"state": "closed",
"title": "0.18.0",
"updated_at": "2016-12-06T21:34:41Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/36"
} | 4 | 2015-10-19T11:16:27Z | 2015-12-13T20:42:04Z | 2015-12-13T20:42:04Z | CONTRIBUTOR | null | This code returns different values in `0.17.0` and `0.15.2`
``` python
import pandas as pd
from pandas.util.testing import assert_index_equal
pd.show_versions()
offsets = [
pd.offsets.Day, pd.offsets.MonthBegin,
pd.offsets.QuarterBegin, pd.offsets.YearBegin,
]
dates = pd.date_range('2011-01-01', '2011-01-05', freq='D')
for offset in offsets:
# adding each item individually or vectorised should give same answer
expected_vec = dates + offset(n=0)
expected = pd.DatetimeIndex([d + offset(n=0) for d in dates])
msg = "offset: {}, vectorised: {}, individual: {}".format(
offset, expected_vec, expected
)
try:
if pd.__version__ == '0.17.0':
assert_index_equal(expected_vec, expected, check_names=False)
else:
assert_index_equal(expected_vec, expected)
except AssertionError as er:
raise Exception(msg + str(er))
```
### 0.17.0
``` python
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.10.final.0
python-bits: 64
OS: Windows
OS-release: 7
machine: AMD64
processor: Intel64 Family 6 Model 26 Stepping 5, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None
pandas: 0.17.0
nose: 1.3.7
pip: 7.1.0
setuptools: 18.0.1
Cython: 0.22
numpy: 1.10.1
scipy: 0.16.0
statsmodels: 0.6.1
IPython: 3.2.1
sphinx: 1.3.1
patsy: 0.4.0
dateutil: 2.4.1
pytz: 2015.4
blosc: None
bottleneck: 1.0.0
tables: 3.2.2
numexpr: 2.4.4
matplotlib: 1.4.3
openpyxl: None
xlrd: 0.9.4
xlwt: None
xlsxwriter: 0.7.3
lxml: None
bs4: 4.3.2
html5lib: 0.999
httplib2: None
apiclient: None
sqlalchemy: 1.0.7
pymysql: None
psycopg2: None
Traceback (most recent call last):
File "c:\dev\code\sandbox\pandas_17_vs_15_dateoffsets.py", line 24, in <module>
raise Exception(msg + str(er))
Exception: offset: <class 'pandas.tseries.offsets.MonthBegin'>, vectorised: DatetimeIndex(['2010-12-01', '2011-01-01', '2011-01-01', '2011-01-01',
'2011-01-01'],
dtype='datetime64[ns]', freq=None), individual: DatetimeIndex(['2011-01-01', '2011-02-01', '2011-02-01', '2011-02-01',
'2011-02-01'],
dtype='datetime64[ns]', freq=None)Index are different
Index values are different (100.0 %)
[left]: DatetimeIndex(['2010-12-01', '2011-01-01', '2011-01-01', '2011-01-01',
'2011-01-01'],
dtype='datetime64[ns]', freq=None)
[right]: DatetimeIndex(['2011-01-01', '2011-02-01', '2011-02-01', '2011-02-01',
'2011-02-01'],
dtype='datetime64[ns]', freq=None)
```
### 0.15.2
``` python
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.10.final.0
python-bits: 64
OS: Windows
OS-release: 7
machine: AMD64
processor: Intel64 Family 6 Model 26 Stepping 5, GenuineIntel
byteorder: little
LC_ALL: None
LANG: en_GB
pandas: 0.15.2
nose: 1.3.7
Cython: 0.22
numpy: 1.9.2
scipy: 0.15.1
statsmodels: None
IPython: 3.2.1
sphinx: 1.3.1
patsy: 0.3.0
dateutil: 2.4.1
pytz: 2015.4
bottleneck: 1.0.0
tables: 3.2.0
numexpr: 2.4.3
matplotlib: 1.4.3
openpyxl: 1.8.5
xlrd: 0.9.4
xlwt: 0.7.5
xlsxwriter: 0.7.3
lxml: 3.4.4
bs4: 4.3.2
html5lib: 0.999
httplib2: None
apiclient: None
rpy2: None
sqlalchemy: 1.0.7
pymysql: None
psycopg2: None
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11370/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11370/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11371 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11371/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11371/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11371/events | https://github.com/pandas-dev/pandas/pull/11371 | 112,127,114 | MDExOlB1bGxSZXF1ZXN0NDgwNjA0NDE= | 11,371 | BUG: pivot table bug with Categorical indexes, #10993 | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
]
| closed | false | null | []
| {
"closed_at": "2015-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"
} | 10 | 2015-10-19T11:39:15Z | 2015-10-20T20:47:02Z | 2015-10-20T17:29:50Z | CONTRIBUTOR | null | closes #10993
replaces #10989
So issue #10993 involves the insertion of a key into a multi-index that has as one of its levels a `CategoricalIndex`. This causes the semantics to break down because we are inserting an new key.
Existing
```
In [16]: df = DataFrame({'A' : [1,2], 'B' : [3,4] })
In [17]: df.columns = MultiIndex([pd.CategoricalIndex(list('ab')),[1,2]],[[0,1],[0,1]])
In [3]: df.columns.levels[0]
Out[3]: CategoricalIndex([u'a', u'b'], categories=[u'a', u'b'], ordered=False, dtype='category')
In [18]: df
Out[18]:
a b
1 2
0 1 3
1 2 4
In [19]: df.columns
Out[19]:
MultiIndex(levels=[[u'a', u'b'], [1, 2]],
labels=[[0, 1], [0, 1]])
In [20]: df[('c',3)] = 5
TypeError: cannot insert an item into a CategoricalIndex that is not already an existing category
```
New
```
In [4]: df[('c',3)] = 5
In [5]: df
Out[5]:
a b c
1 2 3
0 1 3 5
1 2 4 5
In [8]: df.columns.levels[0]
Out[8]: CategoricalIndex([u'a', u'b', u'c'], categories=[u'a', u'b', u'c'], ordered=False, dtype='category')
```
The only issue that was slightly controversial is that `.insert` will retain the `ordered` attribute (and new categories go to the end). while `.append` will always have `ordered=False`. In theory we could do the same, but `.append` is used to generally append _another_ `CategoricalIndex`, so you would have some possiblity of interleaving of the 'ordered' categories (IOW, if self has `[1,2,3]` and other has `[3,2,1,4]`, then the result will be `[1,2,3,4]`.
We _could_ raise if we have mixed ordering (e.g. self is `ordered=False`, other is `ordered=True`).
Of course the user is free to reorder and such, but the default should be intuitive.
Futher note that we can now concat pandas objects with `CategoricalIndexes` (I don't think was specified before, certainly not tested), e.g.
```
In [1]: df = DataFrame({'A' : np.arange(5)},index=pd.CategoricalIndex(list('aabbc')))
In [2]: df2 = DataFrame({'A' : np.arange(5)},index=pd.CategoricalIndex(list('bbcde')))
In [3]: pd.concat([df,df2])
Out[3]:
A
a 0
a 1
b 2
b 3
c 4
b 0
b 1
c 2
d 3
e 4
In [4]: pd.concat([df,df2]).index
Out[4]: CategoricalIndex([u'a', u'a', u'b', u'b', u'c', u'b', u'b', u'c', u'd', u'e'], categories=[u'a', u'b', u'c', u'd', u'e'], ordered=False, dtype='category')
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11371/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11371/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11371.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11371",
"merged_at": "2015-10-20T17:29:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11371.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11371"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11372 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11372/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11372/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11372/events | https://github.com/pandas-dev/pandas/issues/11372 | 112,162,699 | MDU6SXNzdWUxMTIxNjI2OTk= | 11,372 | DataFrame.ix[idx, :] = value sets wrong values when idx is a MultiIndex and DataFrame.columns is also a MultiIndex | {
"avatar_url": "https://avatars.githubusercontent.com/u/7807926?v=4",
"events_url": "https://api.github.com/users/rekcahpassyla/events{/privacy}",
"followers_url": "https://api.github.com/users/rekcahpassyla/followers",
"following_url": "https://api.github.com/users/rekcahpassyla/following{/other_user}",
"gists_url": "https://api.github.com/users/rekcahpassyla/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rekcahpassyla",
"id": 7807926,
"login": "rekcahpassyla",
"node_id": "MDQ6VXNlcjc4MDc5MjY=",
"organizations_url": "https://api.github.com/users/rekcahpassyla/orgs",
"received_events_url": "https://api.github.com/users/rekcahpassyla/received_events",
"repos_url": "https://api.github.com/users/rekcahpassyla/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rekcahpassyla/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rekcahpassyla/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rekcahpassyla"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
]
| closed | false | null | []
| {
"closed_at": "2015-11-21T13:47:07Z",
"closed_issues": 216,
"created_at": "2015-09-10T14:30:44Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.17.0 of course!",
"due_on": "2015-11-21T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/37",
"id": 1299459,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/37/labels",
"node_id": "MDk6TWlsZXN0b25lMTI5OTQ1OQ==",
"number": 37,
"open_issues": 0,
"state": "closed",
"title": "0.17.1",
"updated_at": "2016-07-21T16:02:53Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/37"
} | 6 | 2015-10-19T14:57:26Z | 2015-10-27T11:17:08Z | 2015-10-27T11:17:08Z | CONTRIBUTOR | null | This code is broken in `0.17.0` but not in `0.15.2`:
``` python
import pandas as pd
import numpy as np
np.random.seed(1)
from itertools import product
from pandas.util.testing import assert_frame_equal
pd.show_versions()
idx = pd.MultiIndex.from_tuples(
list(
product(['A', 'B', 'C'],
pd.date_range('2015-01-01', '2015-04-01', freq='MS'))
)
)
sub = pd.MultiIndex.from_tuples(
[('A', pd.Timestamp('2015-01-01')), ('A', pd.Timestamp('2015-02-01'))]
)
# if cols = ['foo', 'bar', 'baz', 'quux'], there is no error.
cols = pd.MultiIndex.from_tuples(
list(
product(['foo', 'bar'],
pd.date_range('2015-01-01', '2015-02-01', freq='MS'))
)
)
test = pd.DataFrame(np.random.random((12, 4)), index=idx, columns=cols)
vals = pd.DataFrame(np.random.random((2, 4)), index=sub, columns=cols)
test.ix[sub, :] = vals
print test.ix[sub, :]
print vals
assert_frame_equal(test.ix[sub, :], vals)
```
### 0.17.0
``` python
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.10.final.0
python-bits: 64
OS: Windows
OS-release: 7
machine: AMD64
processor: Intel64 Family 6 Model 26 Stepping 5, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None
pandas: 0.17.0
nose: 1.3.7
pip: 7.1.0
setuptools: 18.0.1
Cython: 0.22
numpy: 1.10.1
scipy: 0.16.0
statsmodels: 0.6.1
IPython: 3.2.1
sphinx: 1.3.1
patsy: 0.4.0
dateutil: 2.4.1
pytz: 2015.4
blosc: None
bottleneck: 1.0.0
tables: 3.2.2
numexpr: 2.4.4
matplotlib: 1.4.3
openpyxl: None
xlrd: 0.9.4
xlwt: None
xlsxwriter: 0.7.3
lxml: None
bs4: 4.3.2
html5lib: 0.999
httplib2: None
apiclient: None
sqlalchemy: 1.0.7
pymysql: None
psycopg2: None
foo bar
2015-01-01 2015-02-01 2015-01-01 2015-02-01
A 2015-01-01 0.287775 0.130029 0.019367 0.678836
2015-02-01 0.287775 0.130029 0.019367 0.678836
foo bar
2015-01-01 2015-02-01 2015-01-01 2015-02-01
A 2015-01-01 0.287775 0.130029 0.019367 0.678836
2015-02-01 0.211628 0.265547 0.491573 0.053363
Traceback (most recent call last):
File "c:\dev\code\sandbox\multiindex.py", line 41, in <module>
assert_frame_equal(test.ix[sub, :], vals)
File "c:\python\envs\pd017\lib\site-packages\pandas\util\testing.py", line 1028, in assert_frame_equal
obj='DataFrame.iloc[:, {0}]'.format(i))
File "c:\python\envs\pd017\lib\site-packages\pandas\util\testing.py", line 925, in assert_series_equal
check_less_precise, obj='{0}'.format(obj))
File "pandas\src\testing.pyx", line 58, in pandas._testing.assert_almost_equal (pandas\src\testing.c:3809)
File "pandas\src\testing.pyx", line 147, in pandas._testing.assert_almost_equal (pandas\src\testing.c:2685)
File "c:\python\envs\pd017\lib\site-packages\pandas\util\testing.py", line 798, in raise_assert_detail
raise AssertionError(msg)
AssertionError: DataFrame.iloc[:, 0] are different
DataFrame.iloc[:, 0] values are different (50.0 %)
[left]: [0.287775338586, 0.287775338586]
[right]: [0.287775338586, 0.211628116]
```
### 0.15.2
``` python
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.10.final.0
python-bits: 64
OS: Windows
OS-release: 7
machine: AMD64
processor: Intel64 Family 6 Model 26 Stepping 5, GenuineIntel
byteorder: little
LC_ALL: None
LANG: en_GB
pandas: 0.15.2
nose: 1.3.7
Cython: 0.22
numpy: 1.9.2
scipy: 0.15.1
statsmodels: None
IPython: 3.2.1
sphinx: 1.3.1
patsy: 0.3.0
dateutil: 2.4.1
pytz: 2015.4
bottleneck: 1.0.0
tables: 3.2.0
numexpr: 2.4.3
matplotlib: 1.4.3
openpyxl: 1.8.5
xlrd: 0.9.4
xlwt: 0.7.5
xlsxwriter: 0.7.3
lxml: 3.4.4
bs4: 4.3.2
html5lib: 0.999
httplib2: None
apiclient: None
rpy2: None
sqlalchemy: 1.0.7
pymysql: None
psycopg2: None
foo bar
2015-01-01 2015-02-01 2015-01-01 2015-02-01
A 2015-01-01 0.287775 0.130029 0.019367 0.678836
2015-02-01 0.211628 0.265547 0.491573 0.053363
foo bar
2015-01-01 2015-02-01 2015-01-01 2015-02-01
A 2015-01-01 0.287775 0.130029 0.019367 0.678836
2015-02-01 0.211628 0.265547 0.491573 0.053363
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11372/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11372/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11373 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11373/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11373/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11373/events | https://github.com/pandas-dev/pandas/issues/11373 | 112,199,689 | MDU6SXNzdWUxMTIxOTk2ODk= | 11,373 | Request for some kind of named arguments loc | {
"avatar_url": "https://avatars.githubusercontent.com/u/2716511?v=4",
"events_url": "https://api.github.com/users/szaiser/events{/privacy}",
"followers_url": "https://api.github.com/users/szaiser/followers",
"following_url": "https://api.github.com/users/szaiser/following{/other_user}",
"gists_url": "https://api.github.com/users/szaiser/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/szaiser",
"id": 2716511,
"login": "szaiser",
"node_id": "MDQ6VXNlcjI3MTY1MTE=",
"organizations_url": "https://api.github.com/users/szaiser/orgs",
"received_events_url": "https://api.github.com/users/szaiser/received_events",
"repos_url": "https://api.github.com/users/szaiser/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/szaiser/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/szaiser/subscriptions",
"type": "User",
"url": "https://api.github.com/users/szaiser"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
},
{
"color": "207de5",
"default": false,
"description": "Requires discussion from core team before further action",
"id": 219960758,
"name": "Needs Discussion",
"node_id": "MDU6TGFiZWwyMTk5NjA3NTg=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion"
}
]
| open | false | null | []
| null | 12 | 2015-10-19T17:59:46Z | 2021-04-20T05:39:36Z | null | NONE | null | Please quickly recall how awesome named arguments for Python are and then read through the following idea:
In case of identical or almost identical values of `index` and `columns`, it can be annoying to remember the assignment of the two data-axes to index and columns respectively. This could be solved by assigning names to `index` and `columns`, e.g. `index_name=y`and `columns_name=x`, and hence being able to retrieve values via `pd.DataFrame.name_loc(x=10, y=20)` (syntax not final).
I have no idea, if such a feature can be implemented with reasonable effort. I do however believe, that it would highly increase the usability of DataFrames for certain usecases.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11373/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11373/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11374 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11374/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11374/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11374/events | https://github.com/pandas-dev/pandas/issues/11374 | 112,199,788 | MDU6SXNzdWUxMTIxOTk3ODg= | 11,374 | "TypeError: 'set' object does not support indexing" using na_values in read_csv() | {
"avatar_url": "https://avatars.githubusercontent.com/u/1676326?v=4",
"events_url": "https://api.github.com/users/goyodiaz/events{/privacy}",
"followers_url": "https://api.github.com/users/goyodiaz/followers",
"following_url": "https://api.github.com/users/goyodiaz/following{/other_user}",
"gists_url": "https://api.github.com/users/goyodiaz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/goyodiaz",
"id": 1676326,
"login": "goyodiaz",
"node_id": "MDQ6VXNlcjE2NzYzMjY=",
"organizations_url": "https://api.github.com/users/goyodiaz/orgs",
"received_events_url": "https://api.github.com/users/goyodiaz/received_events",
"repos_url": "https://api.github.com/users/goyodiaz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/goyodiaz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/goyodiaz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/goyodiaz"
} | [
{
"color": "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 | 11 | 2015-10-19T18:00:20Z | 2015-10-29T10:18:03Z | 2015-10-19T20:58:59Z | CONTRIBUTOR | null | Test case:
``` python
user@host:~$ python3
Python 3.4.3+ (default, Oct 14 2015, 16:03:50)
[GCC 5.2.1 20151010] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from io import StringIO
>>> import pandas as pd
>>> src = """first, second
... 0,0.1
... 1,1.1
... """
>>> df = pd.read_csv(StringIO(src), na_values='XX')
>>> print(df)
first second
0 0 0.1
1 1 1.1
>>> df = pd.read_csv(StringIO(src), na_values='-999.99')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/goyo/.local/lib/python3.4/site-packages/pandas/io/parsers.py", line 491, in parser_f
return _read(filepath_or_buffer, kwds)
File "/home/goyo/.local/lib/python3.4/site-packages/pandas/io/parsers.py", line 278, in _read
return parser.read()
File "/home/goyo/.local/lib/python3.4/site-packages/pandas/io/parsers.py", line 740, in read
ret = self._engine.read(nrows)
File "/home/goyo/.local/lib/python3.4/site-packages/pandas/io/parsers.py", line 1187, in read
data = self._reader.read(nrows)
File "pandas/parser.pyx", line 766, in pandas.parser.TextReader.read (pandas/parser.c:8082)
File "pandas/parser.pyx", line 788, in pandas.parser.TextReader._read_low_memory (pandas/parser.c:8338)
File "pandas/parser.pyx", line 868, in pandas.parser.TextReader._read_rows (pandas/parser.c:9465)
File "pandas/parser.pyx", line 975, in pandas.parser.TextReader._convert_column_data (pandas/parser.c:10858)
File "pandas/parser.pyx", line 1035, in pandas.parser.TextReader._convert_tokens (pandas/parser.c:11744)
File "pandas/parser.pyx", line 1085, in pandas.parser.TextReader._convert_with_dtype (pandas/parser.c:12634)
File "pandas/parser.pyx", line 1499, in pandas.parser._try_double (pandas/parser.c:19996)
File "pandas/parser.pyx", line 1818, in pandas.parser.kset_float64_from_list (pandas/parser.c:22852)
TypeError: 'set' object does not support indexing
>>> pd.util.print_versions.show_versions()
INSTALLED VERSIONS
------------------
commit: None
python: 3.4.3.final.0
python-bits: 64
OS: Linux
OS-release: 4.2.0-16-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: es_ES.UTF-8
pandas: 0.17.0
nose: 1.3.6
pip: 1.5.6
setuptools: 18.4
Cython: None
numpy: 1.8.2
scipy: 0.14.1
statsmodels: 0.6.1
IPython: 4.0.0
sphinx: 1.3.1
patsy: 0.3.0
dateutil: 2.4.2
pytz: 2015.6
blosc: None
bottleneck: None
tables: None
numexpr: None
matplotlib: 1.4.3
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: 4.3.2
html5lib: 0.999
httplib2: 0.9
apiclient: None
sqlalchemy: None
pymysql: None
psycopg2: None
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11374/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11374/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11375 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11375/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11375/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11375/events | https://github.com/pandas-dev/pandas/issues/11375 | 112,217,845 | MDU6SXNzdWUxMTIyMTc4NDU= | 11,375 | Pandas should accept ISO 8601 duration | {
"avatar_url": "https://avatars.githubusercontent.com/u/5049737?v=4",
"events_url": "https://api.github.com/users/femtotrader/events{/privacy}",
"followers_url": "https://api.github.com/users/femtotrader/followers",
"following_url": "https://api.github.com/users/femtotrader/following{/other_user}",
"gists_url": "https://api.github.com/users/femtotrader/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/femtotrader",
"id": 5049737,
"login": "femtotrader",
"node_id": "MDQ6VXNlcjUwNDk3Mzc=",
"organizations_url": "https://api.github.com/users/femtotrader/orgs",
"received_events_url": "https://api.github.com/users/femtotrader/received_events",
"repos_url": "https://api.github.com/users/femtotrader/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/femtotrader/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/femtotrader/subscriptions",
"type": "User",
"url": "https://api.github.com/users/femtotrader"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
},
{
"color": "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": null,
"closed_issues": 278,
"created_at": "2013-01-06T03:02:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)",
"due_on": "2022-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/20",
"id": 239227,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels",
"node_id": "MDk6TWlsZXN0b25lMjM5MjI3",
"number": 20,
"open_issues": 108,
"state": "open",
"title": "Someday",
"updated_at": "2021-08-08T01:48:22Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20"
} | 15 | 2015-10-19T19:43:54Z | 2018-03-23T22:21:16Z | 2018-03-23T22:21:16Z | NONE | null | Hello,
ISO 8601 defines duration.
https://en.wikipedia.org/wiki/ISO_8601#Durations
see also usage in XML Schema http://www.w3.org/TR/xmlschema-2/#d0e11648
Duration can't be defined as `timedelta` (or `timedelta64`) because
- months don't always have 30 days
- years don't always have 365 days
It will be nice if Pandas could accept ISO 8601 duration.
We should probably use `pd.tseries.offsets.DateOffset` like
```
pd.tseries.offsets.DateOffset(years=2, months=6, days=1)
```
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/11375/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11375/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11376 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11376/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11376/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11376/events | https://github.com/pandas-dev/pandas/issues/11376 | 112,246,291 | MDU6SXNzdWUxMTIyNDYyOTE= | 11,376 | drop_duplicates destroys non-duplicated data under 0.17 | {
"avatar_url": "https://avatars.githubusercontent.com/u/9853156?v=4",
"events_url": "https://api.github.com/users/RPGillespie6/events{/privacy}",
"followers_url": "https://api.github.com/users/RPGillespie6/followers",
"following_url": "https://api.github.com/users/RPGillespie6/following{/other_user}",
"gists_url": "https://api.github.com/users/RPGillespie6/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/RPGillespie6",
"id": 9853156,
"login": "RPGillespie6",
"node_id": "MDQ6VXNlcjk4NTMxNTY=",
"organizations_url": "https://api.github.com/users/RPGillespie6/orgs",
"received_events_url": "https://api.github.com/users/RPGillespie6/received_events",
"repos_url": "https://api.github.com/users/RPGillespie6/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/RPGillespie6/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/RPGillespie6/subscriptions",
"type": "User",
"url": "https://api.github.com/users/RPGillespie6"
} | [
{
"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": "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"
} | 12 | 2015-10-19T22:31:00Z | 2015-10-25T05:32:36Z | 2015-10-25T05:32:36Z | NONE | null | The `drop_duplicates()` function in Python 3 is broken. Take the following example snippet:
```
import pandas as pd
raw_data = {'x': [7,6,3,3,4,8,0],'y': [0,6,5,5,9,1,2]}
df = pd.DataFrame(raw_data, columns = ['x', 'y'])
print("Before:", df)
df = df.drop_duplicates()
print("After:", df)
```
When run under python 2, the results are correct, but when running under python 3, pandas removes `6,6` from the frame, which is a completely unique row. When using this function with large CSV files, it causes thousands of lines of unique data loss.
See:
http://stackoverflow.com/questions/33224356/why-is-pandas-dropping-unique-rows
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11376/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11376/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11377 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11377/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11377/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11377/events | https://github.com/pandas-dev/pandas/pull/11377 | 112,251,775 | MDExOlB1bGxSZXF1ZXN0NDgxMzg4NDU= | 11,377 | BUG: .loc assignment of datetime with tz is coercing to naive #11365 | {
"avatar_url": "https://avatars.githubusercontent.com/u/14897098?v=4",
"events_url": "https://api.github.com/users/taeold/events{/privacy}",
"followers_url": "https://api.github.com/users/taeold/followers",
"following_url": "https://api.github.com/users/taeold/following{/other_user}",
"gists_url": "https://api.github.com/users/taeold/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/taeold",
"id": 14897098,
"login": "taeold",
"node_id": "MDQ6VXNlcjE0ODk3MDk4",
"organizations_url": "https://api.github.com/users/taeold/orgs",
"received_events_url": "https://api.github.com/users/taeold/received_events",
"repos_url": "https://api.github.com/users/taeold/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/taeold/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/taeold/subscriptions",
"type": "User",
"url": "https://api.github.com/users/taeold"
} | [
{
"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": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
]
| closed | false | null | []
| null | 2 | 2015-10-19T23:13:25Z | 2015-11-15T18:41:09Z | 2015-10-19T23:20:00Z | CONTRIBUTOR | null | closes #11365
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11377/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11377/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11377.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11377",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/11377.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11377"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11378 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11378/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11378/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11378/events | https://github.com/pandas-dev/pandas/issues/11378 | 112,262,970 | MDU6SXNzdWUxMTIyNjI5NzA= | 11,378 | Irregular TimedeltaIndex points being spaced regularly along x-axis | {
"avatar_url": "https://avatars.githubusercontent.com/u/2973094?v=4",
"events_url": "https://api.github.com/users/drichman/events{/privacy}",
"followers_url": "https://api.github.com/users/drichman/followers",
"following_url": "https://api.github.com/users/drichman/following{/other_user}",
"gists_url": "https://api.github.com/users/drichman/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/drichman",
"id": 2973094,
"login": "drichman",
"node_id": "MDQ6VXNlcjI5NzMwOTQ=",
"organizations_url": "https://api.github.com/users/drichman/orgs",
"received_events_url": "https://api.github.com/users/drichman/received_events",
"repos_url": "https://api.github.com/users/drichman/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/drichman/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/drichman/subscriptions",
"type": "User",
"url": "https://api.github.com/users/drichman"
} | [
{
"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": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
}
]
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 1 | 2015-10-20T01:05:09Z | 2015-10-20T12:19:36Z | 2015-10-20T12:19:18Z | NONE | null | This bug shows up when using the plot method of a Series or DataFrame (Series example below) that has a TimedeltaIndex. x-axis time points become regularly spaced rather than spaced according to real time spans.
``` python
import pandas as pd
clock_times = pd.to_datetime(['12:00:00','12:23:00','12:30:00','12:45:00','13:54:00','14:15:00'])
elapsed_times = clock_times - clock_times[0]
test_data = pd.Series(data=[1,2,3,4,5,6], index=elapsed_times)
test_data.plot(style='o')
```
(Going straight to matplotlib is a workaround (plt.plot(test_data.index, test_data).)
## INSTALLED VERSIONS
commit: None
python: 3.4.3.final.0
python-bits: 64
OS: Darwin
OS-release: 15.0.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
pandas: 0.16.2
nose: None
Cython: None
numpy: 1.9.3
scipy: 0.16.0
statsmodels: None
IPython: 4.0.0
sphinx: None
patsy: None
dateutil: 2.4.2
pytz: 2015.6
bottleneck: None
tables: None
numexpr: None
matplotlib: 1.4.3
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: 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/11378/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11378/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11379 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11379/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11379/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11379/events | https://github.com/pandas-dev/pandas/issues/11379 | 112,277,133 | MDU6SXNzdWUxMTIyNzcxMzM= | 11,379 | Feature suggestion for pandas.io.gbq: option to ignore unknown values | {
"avatar_url": "https://avatars.githubusercontent.com/u/8951994?v=4",
"events_url": "https://api.github.com/users/FlxVctr/events{/privacy}",
"followers_url": "https://api.github.com/users/FlxVctr/followers",
"following_url": "https://api.github.com/users/FlxVctr/following{/other_user}",
"gists_url": "https://api.github.com/users/FlxVctr/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/FlxVctr",
"id": 8951994,
"login": "FlxVctr",
"node_id": "MDQ6VXNlcjg5NTE5OTQ=",
"organizations_url": "https://api.github.com/users/FlxVctr/orgs",
"received_events_url": "https://api.github.com/users/FlxVctr/received_events",
"repos_url": "https://api.github.com/users/FlxVctr/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/FlxVctr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/FlxVctr/subscriptions",
"type": "User",
"url": "https://api.github.com/users/FlxVctr"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "0052cc",
"default": false,
"description": "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": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 6 | 2015-10-20T03:09:47Z | 2016-09-14T12:25:14Z | 2016-09-14T12:25:10Z | NONE | null | GBQ offers a handy option to ignore unknown values in a data insert.
This is especially useful if working with data that changes in structure without notice.
To make pandas more comprehensively reflecting the functionality of GBQ I would suggest to add an optional parameter in to_gbq that prepends the body (e.g. [here](https://github.com/pydata/pandas/blob/b2a547e8a9dd6ab3332f18a6f87ecb31181d7d30/pandas/io/gbq.py#L295)) with
``` python
body = {'ignoreUnknownValues': True, 'rows': rows}
```
or to patch the table schema if necessary (which would be more complex to implement, I guess).
Thanks for your consideration (and working on this io option! Love it. Saved me hours, if not days.)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11379/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11379/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11380 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11380/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11380/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11380/events | https://github.com/pandas-dev/pandas/issues/11380 | 112,283,229 | MDU6SXNzdWUxMTIyODMyMjk= | 11,380 | Numpy 1.10 compatibility with Pandas types | {
"avatar_url": "https://avatars.githubusercontent.com/u/9267316?v=4",
"events_url": "https://api.github.com/users/bazeli/events{/privacy}",
"followers_url": "https://api.github.com/users/bazeli/followers",
"following_url": "https://api.github.com/users/bazeli/following{/other_user}",
"gists_url": "https://api.github.com/users/bazeli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bazeli",
"id": 9267316,
"login": "bazeli",
"node_id": "MDQ6VXNlcjkyNjczMTY=",
"organizations_url": "https://api.github.com/users/bazeli/orgs",
"received_events_url": "https://api.github.com/users/bazeli/received_events",
"repos_url": "https://api.github.com/users/bazeli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bazeli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bazeli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bazeli"
} | [
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
]
| closed | false | null | []
| null | 1 | 2015-10-20T04:10:36Z | 2015-10-20T10:05:29Z | 2015-10-20T10:03:41Z | NONE | null | Previously when using Pandas 0.16.2 and Numpy 1.9.2 one could run various numpy funcs on a pandas Series and have the result returned back typed as a Series (instead of an NDarray). Example:
``` python
import numpy as np
import pandas as pd
df = pd.DataFrame(np.random.randn(10, 1))
dfn = np.nan_to_num(df[0])
print "dfn type: %s" % type(dfn)
```
renders the following output `dfn type: <class 'pandas.core.series.Series'>`
However, when using Numpy 1.10.1, the result is now typed as an NDarray. While this obviously is a result of numpy internal changes, does Pandas 0.17.x resolve/work around this issue? So far I've only tested `np.nan_to_num` but perhaps there are other funcs that exhibit the same behaviour.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11380/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11380/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11381 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11381/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11381/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11381/events | https://github.com/pandas-dev/pandas/issues/11381 | 112,291,827 | MDU6SXNzdWUxMTIyOTE4Mjc= | 11,381 | BUG: missing pandas.version submodule | {
"avatar_url": "https://avatars.githubusercontent.com/u/98330?v=4",
"events_url": "https://api.github.com/users/rgommers/events{/privacy}",
"followers_url": "https://api.github.com/users/rgommers/followers",
"following_url": "https://api.github.com/users/rgommers/following{/other_user}",
"gists_url": "https://api.github.com/users/rgommers/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rgommers",
"id": 98330,
"login": "rgommers",
"node_id": "MDQ6VXNlcjk4MzMw",
"organizations_url": "https://api.github.com/users/rgommers/orgs",
"received_events_url": "https://api.github.com/users/rgommers/received_events",
"repos_url": "https://api.github.com/users/rgommers/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rgommers/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rgommers/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rgommers"
} | [
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
]
| closed | false | null | []
| null | 2 | 2015-10-20T05:46:17Z | 2015-10-20T20:17:40Z | 2015-10-20T09:58:51Z | NONE | null | The public `pandas.version` submodule seems to have been removed without any deprecation warning beforehand in gh-10370. This causes a number of test failures for statsmodels.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11381/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11381/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11382 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11382/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11382/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11382/events | https://github.com/pandas-dev/pandas/issues/11382 | 112,326,787 | MDU6SXNzdWUxMTIzMjY3ODc= | 11,382 | truncate() raises IndexError on large timeseries | {
"avatar_url": "https://avatars.githubusercontent.com/u/562438?v=4",
"events_url": "https://api.github.com/users/saroele/events{/privacy}",
"followers_url": "https://api.github.com/users/saroele/followers",
"following_url": "https://api.github.com/users/saroele/following{/other_user}",
"gists_url": "https://api.github.com/users/saroele/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/saroele",
"id": 562438,
"login": "saroele",
"node_id": "MDQ6VXNlcjU2MjQzOA==",
"organizations_url": "https://api.github.com/users/saroele/orgs",
"received_events_url": "https://api.github.com/users/saroele/received_events",
"repos_url": "https://api.github.com/users/saroele/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/saroele/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/saroele/subscriptions",
"type": "User",
"url": "https://api.github.com/users/saroele"
} | [
{
"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": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
}
]
| closed | false | null | []
| {
"closed_at": "2016-10-03T08:52:13Z",
"closed_issues": 733,
"created_at": "2016-03-11T21:24:45Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2016-09-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/40",
"id": 1639795,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels",
"node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==",
"number": 40,
"open_issues": 0,
"state": "closed",
"title": "0.19.0",
"updated_at": "2017-11-06T02:01:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40"
} | 16 | 2015-10-20T09:42:58Z | 2016-05-07T16:53:42Z | 2016-05-07T16:53:42Z | NONE | null | Hi,
I found a bug, tested on pandas 0.16 and 0.17. On large time series, the `truncate()` method throws an IndexError. Here's code that reproduces the bug:
``` python
>>> import pandas as pd
>>> # Works fine on small timeseries:
>>> small = pd.Series(data=range(int(2e3)), index=range(int(2e3)))
>>> small.truncate()
>>> small.truncate(before=0, after=3e3)
>>> # IndexError thrown on large timeseries:
>>> big = pd.Series(data=range(int(2e6)), index=range(int(2e6)))
>>> big.truncate()
>>> big.truncate(before=0, after=3e6)
```
Info version:
INSTALLED VERSIONS
commit: None
python: 2.7.8.final.0
python-bits: 64
OS: Linux
OS-release: 3.16.0-41-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_GB.UTF-8
pandas: 0.17.0
nose: 1.3.4
pip: 7.1.2
setuptools: 5.5.1
Cython: 0.20.2
numpy: 1.8.2
scipy: 0.14.0
statsmodels: None
IPython: 3.0.0
sphinx: 1.2.2
patsy: None
dateutil: 2.4.2
pytz: 2015.6
blosc: None
bottleneck: None
tables: None
numexpr: None
matplotlib: 1.3.1
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: 4.3.2
html5lib: None
httplib2: 0.9
apiclient: None
sqlalchemy: 0.9.7
pymysql: None
psycopg2: None
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11382/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11382/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11383 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11383/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11383/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11383/events | https://github.com/pandas-dev/pandas/issues/11383 | 112,359,321 | MDU6SXNzdWUxMTIzNTkzMjE= | 11,383 | ValueError: numpy.dtype has the wrong size, try recompiling | {
"avatar_url": "https://avatars.githubusercontent.com/u/147840?v=4",
"events_url": "https://api.github.com/users/anentropic/events{/privacy}",
"followers_url": "https://api.github.com/users/anentropic/followers",
"following_url": "https://api.github.com/users/anentropic/following{/other_user}",
"gists_url": "https://api.github.com/users/anentropic/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/anentropic",
"id": 147840,
"login": "anentropic",
"node_id": "MDQ6VXNlcjE0Nzg0MA==",
"organizations_url": "https://api.github.com/users/anentropic/orgs",
"received_events_url": "https://api.github.com/users/anentropic/received_events",
"repos_url": "https://api.github.com/users/anentropic/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/anentropic/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anentropic/subscriptions",
"type": "User",
"url": "https://api.github.com/users/anentropic"
} | [
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
}
]
| closed | false | null | []
| {
"closed_at": 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"
} | 21 | 2015-10-20T12:41:22Z | 2017-06-06T11:29:35Z | 2015-10-20T12:56:21Z | NONE | null | I have been setting up a new CI server and I'm hitting a problem when running our tests on the new server - tests which use Pandas are giving this error:
```
File "/root/.virtualenvs/myproject/local/lib/python2.7/site-packages/pandas/__init__.py", line 7, in <module>
from . import hashtable, tslib, lib
File "pandas/src/numpy.pxd", line 157, in init pandas.lib (pandas/lib.c:78660)
ValueError: numpy.dtype has the wrong size, try recompiling
```
I have read other threads about the cause of this problem but they don't seem to apply in my case.
We are running in a virtualenv, inside a Docker container (Debian Stretch).
There is no 'system' numpy, pandas or cython installed:
```
root@e00c968153d1:/# pip freeze | grep -i numpy
root@e00c968153d1:/# pip freeze | grep -i pandas
root@e00c968153d1:/# pip freeze | grep -i cython
```
In our requirements.txt we have:
```
numpy==1.9.1
pandas==0.15.2
```
but...
```
$ workon myproject
$ ipython
In [1]: import numpy
In [2]: numpy.version.full_version
Out[2]: '1.9.1'
In [3]: import pandas
numpy.dtype has the wrong size, try recompiling
```
Now, I have found a manual fix, which is to re-install pandas:
```
$ pip uninstall pandas
$ pip install --no-cache-dir pandas==0.15.2
```
The need for `--no-cache-dir` suggests something about the problem, but I don't understand what exactly. I am installing in a 'virgin' docker container, there is no pip cache before I first install requirements.txt:
```
$ ls -l /root/.cache/pip/wheels
$ ls: cannot access /root/.cache/pip/wheels: No such file or directory
```
After `pip install -r requirements.txt`:
```
$ locate pandas
/root/.cache/pip/wheels/f7/7b/7c/6de5614135da1e25d864beec01ed40bb43fcafdeda870a05f6/pandas-0.15.2-cp27-none-linux_x86_64.whl
/root/.virtualenvs/myproject/lib/python2.7/site-packages/pandas
...
(only one installation of pandas found)
```
The manual fix is not acceptable as I need to automate the build.
Appreciate if you can suggest other avenues to explore towards a solution.
| {
"+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/11383/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11383/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11384 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11384/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11384/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11384/events | https://github.com/pandas-dev/pandas/issues/11384 | 112,375,843 | MDU6SXNzdWUxMTIzNzU4NDM= | 11,384 | String indice error with pandas 0.17.0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/15211936?v=4",
"events_url": "https://api.github.com/users/maledo/events{/privacy}",
"followers_url": "https://api.github.com/users/maledo/followers",
"following_url": "https://api.github.com/users/maledo/following{/other_user}",
"gists_url": "https://api.github.com/users/maledo/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/maledo",
"id": 15211936,
"login": "maledo",
"node_id": "MDQ6VXNlcjE1MjExOTM2",
"organizations_url": "https://api.github.com/users/maledo/orgs",
"received_events_url": "https://api.github.com/users/maledo/received_events",
"repos_url": "https://api.github.com/users/maledo/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/maledo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/maledo/subscriptions",
"type": "User",
"url": "https://api.github.com/users/maledo"
} | []
| closed | false | null | []
| null | 1 | 2015-10-20T14:03:10Z | 2015-10-20T14:06:09Z | 2015-10-20T14:04:58Z | NONE | null | An update to pandas 0.17.0 leads to an error in the read_excel function. The line <code>index_col=['Site', 'Commodity', 'Type']</code> raises an error as pandas expects integers instead of strings.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11384/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11384/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11385 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11385/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11385/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11385/events | https://github.com/pandas-dev/pandas/issues/11385 | 112,405,320 | MDU6SXNzdWUxMTI0MDUzMjA= | 11,385 | str.extract raises ValueError with group named "name" | {
"avatar_url": "https://avatars.githubusercontent.com/u/932850?v=4",
"events_url": "https://api.github.com/users/tdhock/events{/privacy}",
"followers_url": "https://api.github.com/users/tdhock/followers",
"following_url": "https://api.github.com/users/tdhock/following{/other_user}",
"gists_url": "https://api.github.com/users/tdhock/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tdhock",
"id": 932850,
"login": "tdhock",
"node_id": "MDQ6VXNlcjkzMjg1MA==",
"organizations_url": "https://api.github.com/users/tdhock/orgs",
"received_events_url": "https://api.github.com/users/tdhock/received_events",
"repos_url": "https://api.github.com/users/tdhock/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tdhock/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tdhock/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tdhock"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "String extension data type and string data",
"id": 57522093,
"name": "Strings",
"node_id": "MDU6TGFiZWw1NzUyMjA5Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings"
}
]
| closed | false | null | []
| {
"closed_at": "2016-03-12T16:19:08Z",
"closed_issues": 469,
"created_at": "2015-07-19T20:18:45Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2016-03-13T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/36",
"id": 1214851,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/36/labels",
"node_id": "MDk6TWlsZXN0b25lMTIxNDg1MQ==",
"number": 36,
"open_issues": 0,
"state": "closed",
"title": "0.18.0",
"updated_at": "2016-12-06T21:34:41Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/36"
} | 3 | 2015-10-20T16:15:02Z | 2016-04-10T01:46:47Z | 2016-04-10T01:46:47Z | CONTRIBUTOR | null | For a Series `S`, I find the `S.str.extract` method very useful. It is great how you implemented naming the resulting DataFrame columns according to the names specified in the capturing groups of the regular expression.
However there seems to be a bug when there is a capture group named "name" for example
``` python
>>> import re
>>> import pandas as pd
>>> import numpy as np
>>> data = {
... 'Dave': '[email protected]',
... 'multiple': '[email protected] some text [email protected]',
... 'none': np.nan,
... }
>>> pattern = r'''
... (?P<name>[a-z]+)
... @
... (?P<domain>[a-z]+)
... \.
... (?P<tld>[a-z]{2,4})
... '''
>>> S = pd.Series(data)
>>> result = S.str.extract(pattern, re.VERBOSE)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pandas/core/strings.py", line 1370, in extract
return self._wrap_result(result, name=name)
File "pandas/core/strings.py", line 1088, in _wrap_result
name = kwargs.get('name') or getattr(result, 'name', None) or self.series.name
File "pandas/core/generic.py", line 730, in __nonzero__
.format(self.__class__.__name__))
ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all().
>>> from pandas.util.print_versions import show_versions
>>> show_versions()
INSTALLED VERSIONS
------------------
commit: 5d953e3fba420b6721c7f1c5d53e5812fe113bbc
python: 2.7.3.final.0
python-bits: 64
OS: Linux
OS-release: 3.8.0-44-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_CA.UTF-8
pandas: 0.17.0+73.g5d953e3
nose: 1.1.2
pip: None
setuptools: 0.6
Cython: 0.20.1
numpy: 1.9.1
scipy: 0.14.0
statsmodels: None
IPython: 0.12.1
sphinx: None
patsy: None
dateutil: 1.5
pytz: 2015.6
blosc: None
bottleneck: None
tables: None
numexpr: None
matplotlib: None
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
httplib2: 0.7.2
apiclient: None
sqlalchemy: None
pymysql: None
psycopg2: None
>>>
```
The result I expected was
``` python
>>> exp_list = [
... ("dave", "google", "com"),
... ("rob", "gmail", "com"),
... (np.nan, np.nan, np.nan),
... ]
>>> exp = pd.DataFrame(
... exp_list,
... ["Dave", "multiple", "none"],
... ["name", "domain", "tld"])
>>> print exp
name domain tld
Dave dave google com
multiple rob gmail com
none NaN NaN NaN
>>>
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11385/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11385/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11386 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11386/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11386/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11386/events | https://github.com/pandas-dev/pandas/pull/11386 | 112,410,622 | MDExOlB1bGxSZXF1ZXN0NDgyMjY1NjI= | 11,386 | ENH: str.extractall for several matches | {
"avatar_url": "https://avatars.githubusercontent.com/u/932850?v=4",
"events_url": "https://api.github.com/users/tdhock/events{/privacy}",
"followers_url": "https://api.github.com/users/tdhock/followers",
"following_url": "https://api.github.com/users/tdhock/following{/other_user}",
"gists_url": "https://api.github.com/users/tdhock/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tdhock",
"id": 932850,
"login": "tdhock",
"node_id": "MDQ6VXNlcjkzMjg1MA==",
"organizations_url": "https://api.github.com/users/tdhock/orgs",
"received_events_url": "https://api.github.com/users/tdhock/received_events",
"repos_url": "https://api.github.com/users/tdhock/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tdhock/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tdhock/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tdhock"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "5319e7",
"default": false,
"description": "String extension data type and string data",
"id": 57522093,
"name": "Strings",
"node_id": "MDU6TGFiZWw1NzUyMjA5Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings"
}
]
| closed | false | null | []
| {
"closed_at": "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"
} | 57 | 2015-10-20T16:42:01Z | 2016-02-09T22:22:32Z | 2016-02-09T22:20:53Z | CONTRIBUTOR | null | For a series `S`, the excellent `S.str.extract` method returns the first match in each subject of the series:
``` python
>>> import re
>>> import pandas as pd
>>> import numpy as np
>>> data = {
... 'Dave': '[email protected]',
... 'multiple': '[email protected] some text [email protected]',
... 'none': np.nan,
... }
>>> pattern = r'''
... (?P<user>[a-z]+)
... @
... (?P<domain>[a-z]+)
... \.
... (?P<tld>[a-z]{2,4})
... '''
>>> S = pd.Series(data)
>>> S.str.extract(pattern, re.VERBOSE)
user domain tld
Dave dave google com
multiple rob gmail com
none NaN NaN NaN
>>>
```
That's great, but sometimes we want to extract all matches in each element of the series. You can do that with `S.str.findall` but its result does not include the names specified in the capturing groups of the regular expression:
``` python
>>> S.str.findall(pattern, re.VERBOSE)
Dave [(dave, google, com)]
multiple [(rob, gmail, com), (steve, gmail, com)]
none NaN
dtype: object
>>>
```
I propose the `S.str.extractall` method which returns a `Series` the same length as the subject `S`. Each element of the series is a `DataFrame` with a row for each match and a column for each group:
``` python
>>> result = S.str.extractall(pattern, re.VERBOSE)
>>> result[0]
user domain tld
0 dave google com
>>> result[1]
user domain tld
0 rob gmail com
1 steve gmail com
>>> result[2]
Empty DataFrame
Columns: [user, domain, tld]
Index: []
>>>
```
Before I write any more testing code, can we start a discussion about whether or not this is an acceptable design choice, in relation to the other functionality of pandas? @sinhrks @jorisvandenbossche @jreback @mortada since you seem to be discussing extract in #10103
Also do you have any ideas about how to get the result (a Series of DataFrames) to print more nicely? With my current fork we have
``` python
>>> result
Dave user domain tld
0 dave google com
multiple user domain tld
0 rob gmail com
1 s...
none Empty DataFrame
Columns: [user, domain, tld]
I...
dtype: object
>>>
```
In R the equivalent functionality is provided by the https://github.com/tdhock/namedCapture package (str_match_all_named returns a list of data.frames), and the resulting printout is readable because of the way that R prints lists:
``` r
> library(namedCapture)
> S <- c(
+ Dave='[email protected]',
+ multiple='[email protected] some text [email protected]',
+ none=NA)
> pattern <- paste0(
+ "(?P<user>[a-z]+)",
+ "@",
+ "(?P<domain>[a-z]+)",
+ "[.]",
+ "(?P<tld>[a-z]{2,4})")
> str_match_all_named(S, pattern)
$Dave
user domain tld
[1,] "dave" "google" "com"
$multiple
user domain tld
[1,] "rob" "gmail" "com"
[2,] "steve" "gmail" "com"
$none
<0 x 0 matrix>
>
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11386/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11386/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11386.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11386",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/11386.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11386"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11387 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11387/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11387/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11387/events | https://github.com/pandas-dev/pandas/issues/11387 | 112,431,691 | MDU6SXNzdWUxMTI0MzE2OTE= | 11,387 | pandas ewmcov with nan gives inconsistent results | {
"avatar_url": "https://avatars.githubusercontent.com/u/2832171?v=4",
"events_url": "https://api.github.com/users/jonathanng/events{/privacy}",
"followers_url": "https://api.github.com/users/jonathanng/followers",
"following_url": "https://api.github.com/users/jonathanng/following{/other_user}",
"gists_url": "https://api.github.com/users/jonathanng/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jonathanng",
"id": 2832171,
"login": "jonathanng",
"node_id": "MDQ6VXNlcjI4MzIxNzE=",
"organizations_url": "https://api.github.com/users/jonathanng/orgs",
"received_events_url": "https://api.github.com/users/jonathanng/received_events",
"repos_url": "https://api.github.com/users/jonathanng/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jonathanng/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jonathanng/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jonathanng"
} | [
{
"color": "207de5",
"default": false,
"description": "Clarification about behavior needed to assess issue",
"id": 307649777,
"name": "Needs Info",
"node_id": "MDU6TGFiZWwzMDc2NDk3Nzc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Info"
}
]
| closed | false | null | []
| null | 2 | 2015-10-20T18:35:39Z | 2018-11-21T17:00:19Z | 2018-11-21T17:00:19Z | NONE | null | I have a dataframe, and I want to calculate ewmcov. Sometimes the dataframe has missing values.
I've noticed that using the same dataframe, I get two different results with two separate calls of ewmcov.
Anyone have an idea on why this could be?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11387/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11387/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11388 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11388/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11388/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11388/events | https://github.com/pandas-dev/pandas/issues/11388 | 112,436,132 | MDU6SXNzdWUxMTI0MzYxMzI= | 11,388 | ERROR: test_constructor_unsortable (pandas.tests.test_categorical.TestCategorical) | {
"avatar_url": "https://avatars.githubusercontent.com/u/79732?v=4",
"events_url": "https://api.github.com/users/jlec/events{/privacy}",
"followers_url": "https://api.github.com/users/jlec/followers",
"following_url": "https://api.github.com/users/jlec/following{/other_user}",
"gists_url": "https://api.github.com/users/jlec/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jlec",
"id": 79732,
"login": "jlec",
"node_id": "MDQ6VXNlcjc5NzMy",
"organizations_url": "https://api.github.com/users/jlec/orgs",
"received_events_url": "https://api.github.com/users/jlec/received_events",
"repos_url": "https://api.github.com/users/jlec/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jlec/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jlec/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jlec"
} | [
{
"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-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-10-20T18:53:08Z | 2015-11-13T22:25:13Z | 2015-11-13T22:25:13Z | CONTRIBUTOR | null | ``` python
======================================================================
ERROR: test_constructor_unsortable (pandas.tests.test_categorical.TestCategorical)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/tmp/portage/dev-python/pandas-0.17.0/work/pandas-0.17.0-python3_4/lib/pandas/core/algorithms.py", line 198, in factorize
sorter = uniques.argsort()
TypeError: unorderable types: datetime.datetime() > int()
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/tmp/portage/dev-python/pandas-0.17.0/work/pandas-0.17.0-python3_4/lib/pandas/core/categorical.py", line 265, in __init__
codes, categories = factorize(values, sort=True)
File "/var/tmp/portage/dev-python/pandas-0.17.0/work/pandas-0.17.0-python3_4/lib/pandas/core/algorithms.py", line 207, in factorize
lambda x: isinstance(x,string_types) ]
File "/var/tmp/portage/dev-python/pandas-0.17.0/work/pandas-0.17.0-python3_4/lib/pandas/core/algorithms.py", line 206, in <listcomp>
np.sort(np.array([ e for i, e in enumerate(uniques) if f(e) ],dtype=object)) for f in [ lambda x: not isinstance(x,string_types),
File "/usr/lib64/python3.4/site-packages/numpy/core/fromnumeric.py", line 819, in sort
a.sort(axis, kind, order)
TypeError: unorderable types: datetime.datetime() > int()
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/tmp/portage/dev-python/pandas-0.17.0/work/pandas-0.17.0-python3_4/lib/pandas/tests/test_categorical.py", line 94, in test_constructor_unsortable
Categorical.from_array(arr, ordered=True)
File "/var/tmp/portage/dev-python/pandas-0.17.0/work/pandas-0.17.0-python3_4/lib/pandas/core/categorical.py", line 351, in from_array
return Categorical(data, **kwargs)
File "/var/tmp/portage/dev-python/pandas-0.17.0/work/pandas-0.17.0-python3_4/lib/pandas/core/categorical.py", line 271, in __init__
raise TypeError("'values' is not ordered, please explicitly specify the "
TypeError: 'values' is not ordered, please explicitly specify the categories order by passing in a categories argument.
----------------------------------------------------------------------
Ran 9056 tests in 1000.617s
```
```
INSTALLED VERSIONS
------------------
commit: None
python: 3.4.3.final.0
python-bits: 64
OS: Linux
OS-release: 4.1.9-lh
machine: x86_64
processor: Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
byteorder: little
LC_ALL: None
LANG: en_GB.utf8
pandas: 0.17.0
nose: 1.3.7
pip: 7.1.2
setuptools: 18.4
Cython: 0.23.4
numpy: 1.10.1
scipy: 0.16.0
statsmodels: 0.6.1
IPython: None
sphinx: 1.3.1
patsy: 0.4.0
dateutil: 2.4.2
pytz: 2015.6
blosc: None
bottleneck: 1.0.0
tables: 3.2.2
numexpr: 2.4.4
matplotlib: 1.4.3
openpyxl: 2.2.6
xlrd: 0.9.4
xlwt: 1.0.0
xlsxwriter: 0.7.7
lxml: 3.4.4
bs4: 4.4.1
html5lib: 0.9999999
httplib2: 0.9.2
apiclient: None
sqlalchemy: 1.0.8
pymysql: 0.6.7.None
psycopg2: 2.6.1 (dt dec pq3 ext lo64)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11388/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11388/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11389 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11389/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11389/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11389/events | https://github.com/pandas-dev/pandas/issues/11389 | 112,474,207 | MDU6SXNzdWUxMTI0NzQyMDc= | 11,389 | Plot method ignores upper and lower error bar arguments | {
"avatar_url": "https://avatars.githubusercontent.com/u/1308430?v=4",
"events_url": "https://api.github.com/users/theandygross/events{/privacy}",
"followers_url": "https://api.github.com/users/theandygross/followers",
"following_url": "https://api.github.com/users/theandygross/following{/other_user}",
"gists_url": "https://api.github.com/users/theandygross/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/theandygross",
"id": 1308430,
"login": "theandygross",
"node_id": "MDQ6VXNlcjEzMDg0MzA=",
"organizations_url": "https://api.github.com/users/theandygross/orgs",
"received_events_url": "https://api.github.com/users/theandygross/received_events",
"repos_url": "https://api.github.com/users/theandygross/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/theandygross/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/theandygross/subscriptions",
"type": "User",
"url": "https://api.github.com/users/theandygross"
} | [
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
]
| closed | false | null | []
| null | 4 | 2015-10-20T22:35:14Z | 2021-04-20T05:41:32Z | 2021-04-20T05:41:32Z | CONTRIBUTOR | null | This seems to be specific to Pandas as opposed to matplotlib. Worked as desired as of a few months ago when I last updated from master.
This is the desired behavior in matplotlib:
``` python
plt.barh([0,1], [.3, .5], xerr=[[.1,.2], [.3,.4]],
color = ['red','green'],
ecolor='black')
```

In the Pandas call, it seems to ignore the second error bar argument, both the upper and lower bounds of the error bar are the same:
``` python
s = pd.Series([.3,.5])
s.plot(kind='barh', xerr=[[.1,.2], [.3,.4]],
color = ['red','green'],
ecolor='black')
```

| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11389/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11389/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11390 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11390/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11390/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11390/events | https://github.com/pandas-dev/pandas/issues/11390 | 112,478,538 | MDU6SXNzdWUxMTI0Nzg1Mzg= | 11,390 | multiindex with stats.api.ols: unexpected formatting | {
"avatar_url": "https://avatars.githubusercontent.com/u/8426290?v=4",
"events_url": "https://api.github.com/users/DSLituiev/events{/privacy}",
"followers_url": "https://api.github.com/users/DSLituiev/followers",
"following_url": "https://api.github.com/users/DSLituiev/following{/other_user}",
"gists_url": "https://api.github.com/users/DSLituiev/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/DSLituiev",
"id": 8426290,
"login": "DSLituiev",
"node_id": "MDQ6VXNlcjg0MjYyOTA=",
"organizations_url": "https://api.github.com/users/DSLituiev/orgs",
"received_events_url": "https://api.github.com/users/DSLituiev/received_events",
"repos_url": "https://api.github.com/users/DSLituiev/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/DSLituiev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DSLituiev/subscriptions",
"type": "User",
"url": "https://api.github.com/users/DSLituiev"
} | [
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
]
| closed | false | null | []
| null | 2 | 2015-10-20T23:11:05Z | 2015-10-20T23:18:23Z | 2015-10-20T23:16:24Z | NONE | null | With MultiIndex, stats.api.ols returns prediction of a different shape than outcome variable:
```
"set up the example"
x1 = np.arange(0,4)
x2 = 2*np.random.rand(4)
y = x1+x2 + .2*np.random.randn(4)
df = pd.DataFrame( np.c_[y,x1, x2] ,
columns = ["y", "x1","x2"],
index = pd.MultiIndex.from_tuples([("chr1", 1), ("chr1",2), ("chr2",2), ("chr2", 4)]))
df.index.names = ["chr", "pos"]
df["y"]
"set up the model"
from pandas.stats.api import ols
res = ols(y = df["y"] , x = df[["x1","x2"]])
unexpected_output = res.predict()
unexpected_output
```
following post-formating recovers expected shape:
```
cols = unexpected_output.columns
unexpected_output.reset_index()
expected_output = pd.melt(unexpected_output.reset_index(),
id_vars= res.y.index.names[0] \
).dropna().set_index(res.y.index.names).loc[res.y.index.get_values()]
expected_output
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11390/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11390/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11391 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11391/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11391/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11391/events | https://github.com/pandas-dev/pandas/pull/11391 | 112,479,824 | MDExOlB1bGxSZXF1ZXN0NDgyNzA4NjM= | 11,391 | TST: make a couple of tests slow / remove some warnings | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
]
| closed | false | null | []
| {
"closed_at": "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"
} | 0 | 2015-10-20T23:21:57Z | 2015-10-21T12:23:28Z | 2015-10-21T12:23:28Z | 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/11391/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11391/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11391.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11391",
"merged_at": "2015-10-21T12:23:28Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11391.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11391"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/11392 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11392/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11392/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11392/events | https://github.com/pandas-dev/pandas/pull/11392 | 112,480,034 | MDExOlB1bGxSZXF1ZXN0NDgyNzA5OTA= | 11,392 | TST: remove incomparable warnings from py3 | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
]
| closed | false | null | []
| {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 0 | 2015-10-20T23:23:26Z | 2016-07-21T15:42:26Z | 2015-11-25T15:40:26Z | CONTRIBUTOR | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11392/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11392/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11392.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11392",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/11392.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11392"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/11393 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11393/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11393/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11393/events | https://github.com/pandas-dev/pandas/pull/11393 | 112,491,547 | MDExOlB1bGxSZXF1ZXN0NDgyNzc2ODA= | 11,393 | BUG: GH11344 in pandas.json when file to read is big | {
"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": "207de5",
"default": false,
"description": "read_json, to_json, json_normalize",
"id": 49379259,
"name": "IO JSON",
"node_id": "MDU6TGFiZWw0OTM3OTI1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
]
| closed | false | null | []
| {
"closed_at": "2015-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"
} | 7 | 2015-10-21T01:08:58Z | 2015-10-23T16:57:37Z | 2015-10-23T16:57:20Z | CONTRIBUTOR | null | closes #11344
taken from esnme/ultrajson#145
test code
```
import json
import pandas
from pandas.compat import zip, range
SIZE = 5*10**7
FILENAME = 'generated.json'
with open(FILENAME, 'w') as fileh:
json.dump(dict(zip(range(SIZE), range(SIZE))), fileh)
with open(FILENAME) as fileh:
pandas.json.load(fileh)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11393/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11393/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11393.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11393",
"merged_at": "2015-10-23T16:57:20Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11393.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11393"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11394 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11394/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11394/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11394/events | https://github.com/pandas-dev/pandas/issues/11394 | 112,493,582 | MDU6SXNzdWUxMTI0OTM1ODI= | 11,394 | BLD: fixed conda version - revert when fixed | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
}
]
| closed | false | null | []
| {
"closed_at": "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"
} | 0 | 2015-10-21T01:31:22Z | 2015-10-21T10:15:06Z | 2015-10-21T10:15:06Z | CONTRIBUTOR | null | https://github.com/pydata/pandas/commit/0c8a8e1372aef137ec71f0ba9c7af58cb4a2a8ac
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11394/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11394/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11395 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11395/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11395/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11395/events | https://github.com/pandas-dev/pandas/issues/11395 | 112,493,890 | MDU6SXNzdWUxMTI0OTM4OTA= | 11,395 | .get_all_data() for Options fails if either puts or calls have no data | {
"avatar_url": "https://avatars.githubusercontent.com/u/5732791?v=4",
"events_url": "https://api.github.com/users/dscheste/events{/privacy}",
"followers_url": "https://api.github.com/users/dscheste/followers",
"following_url": "https://api.github.com/users/dscheste/following{/other_user}",
"gists_url": "https://api.github.com/users/dscheste/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dscheste",
"id": 5732791,
"login": "dscheste",
"node_id": "MDQ6VXNlcjU3MzI3OTE=",
"organizations_url": "https://api.github.com/users/dscheste/orgs",
"received_events_url": "https://api.github.com/users/dscheste/received_events",
"repos_url": "https://api.github.com/users/dscheste/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dscheste/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dscheste/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dscheste"
} | [
{
"color": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
]
| closed | false | null | []
| null | 3 | 2015-10-21T01:35:06Z | 2015-10-21T02:15:56Z | 2015-10-21T01:40:54Z | NONE | null | While invoking .get_all_data() and collecting options data for all strikes and expirations the entire dataframe errors out as soon as the parser comes across an expiration chain where data is only available for one type (calls or puts) and not both.
For example:
new_data=pd.DataFrame()
option = Options('AA', 'yahoo')
data = option.get_all_data()
Crashes with:
File "/usr/lib/python2.7/dist-packages/pandas/io/data.py", line 1139, in get_all_data
return self._get_data_in_date_range(dates=expiry_dates, call=call, put=put)
File "/usr/lib/python2.7/dist-packages/pandas/io/data.py", line 1153, in _get_data_in_date_range
frame = self._get_option_data(expiry=expiry_date, name=name)
File "/usr/lib/python2.7/dist-packages/pandas/io/data.py", line 771, in _get_option_data
frames = self._get_option_frames_from_yahoo(expiry)
File "/usr/lib/python2.7/dist-packages/pandas/io/data.py", line 688, in _get_option_frames_from_yahoo
option_frames = self._option_frames_from_url(url)
File "/usr/lib/python2.7/dist-packages/pandas/io/data.py", line 725, in _option_frames_from_url
raise RemoteDataError('Received no data from Yahoo at url: %s' % url)
pandas.io.data.RemoteDataError: Received no data from Yahoo at url: http://finance.yahoo.com/q/op?s=AA&date=1450396800
Since about half tickers have such chains, pulling data reliably is a challenge.
Python 2.7.9
Pandas was installed through pip
Ubuntu 15.04
## pip shows pandas:
Name: pandas
Version: 0.15.0
Location: /usr/lib/python2.7/dist-packages
Requires: python-dateutil, pytz, numpy
## ~$ pip show pandas-datareader
Name: pandas-datareader
Version: 0.2.0
Location: /usr/local/lib/python2.7/dist-packages
Requires: pandas
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11395/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11395/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11396 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11396/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11396/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11396/events | https://github.com/pandas-dev/pandas/pull/11396 | 112,496,664 | MDExOlB1bGxSZXF1ZXN0NDgyODA3MDk= | 11,396 | TST: remove invalid symbol warnings | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
]
| closed | false | null | []
| {
"closed_at": "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"
} | 0 | 2015-10-21T02:09:17Z | 2015-10-21T10:15:22Z | 2015-10-21T10:15:22Z | CONTRIBUTOR | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11396/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11396/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11396.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11396",
"merged_at": "2015-10-21T10:15:22Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11396.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11396"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/11397 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11397/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11397/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11397/events | https://github.com/pandas-dev/pandas/pull/11397 | 112,500,001 | MDExOlB1bGxSZXF1ZXN0NDgyODE4NzU= | 11,397 | Revert "BLD: conda" | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
}
]
| closed | false | null | []
| {
"closed_at": "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"
} | 0 | 2015-10-21T02:33:09Z | 2015-10-21T10:15:06Z | 2015-10-21T10:15:06Z | CONTRIBUTOR | null | This reverts commit 0c8a8e1372aef137ec71f0ba9c7af58cb4a2a8ac.
closes #11394
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11397/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11397/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11397.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11397",
"merged_at": "2015-10-21T10:15:06Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11397.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11397"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11398 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11398/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11398/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11398/events | https://github.com/pandas-dev/pandas/pull/11398 | 112,513,845 | MDExOlB1bGxSZXF1ZXN0NDgyODg3ODY= | 11,398 | BLD: add CFLAGS `-fgnu89-inline` on FreeBSD 10+ | {
"avatar_url": "https://avatars.githubusercontent.com/u/761623?v=4",
"events_url": "https://api.github.com/users/iblis17/events{/privacy}",
"followers_url": "https://api.github.com/users/iblis17/followers",
"following_url": "https://api.github.com/users/iblis17/following{/other_user}",
"gists_url": "https://api.github.com/users/iblis17/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/iblis17",
"id": 761623,
"login": "iblis17",
"node_id": "MDQ6VXNlcjc2MTYyMw==",
"organizations_url": "https://api.github.com/users/iblis17/orgs",
"received_events_url": "https://api.github.com/users/iblis17/received_events",
"repos_url": "https://api.github.com/users/iblis17/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/iblis17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/iblis17/subscriptions",
"type": "User",
"url": "https://api.github.com/users/iblis17"
} | [
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
}
]
| closed | false | null | []
| {
"closed_at": "2015-11-21T13:47:07Z",
"closed_issues": 216,
"created_at": "2015-09-10T14:30:44Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.17.0 of course!",
"due_on": "2015-11-21T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/37",
"id": 1299459,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/37/labels",
"node_id": "MDk6TWlsZXN0b25lMTI5OTQ1OQ==",
"number": 37,
"open_issues": 0,
"state": "closed",
"title": "0.17.1",
"updated_at": "2016-07-21T16:02:53Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/37"
} | 6 | 2015-10-21T05:08:15Z | 2015-11-10T12:13:06Z | 2015-11-10T12:12:36Z | CONTRIBUTOR | null | closes #10510
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11398/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11398/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11398.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11398",
"merged_at": "2015-11-10T12:12:36Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11398.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11398"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11399 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11399/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11399/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11399/events | https://github.com/pandas-dev/pandas/pull/11399 | 112,525,924 | MDExOlB1bGxSZXF1ZXN0NDgyOTU1Nzg= | 11,399 | ENC: better pandas typesetting in ipython nbconvert --to latex (updated) | {
"avatar_url": "https://avatars.githubusercontent.com/u/1521337?v=4",
"events_url": "https://api.github.com/users/lmarti/events{/privacy}",
"followers_url": "https://api.github.com/users/lmarti/followers",
"following_url": "https://api.github.com/users/lmarti/following{/other_user}",
"gists_url": "https://api.github.com/users/lmarti/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lmarti",
"id": 1521337,
"login": "lmarti",
"node_id": "MDQ6VXNlcjE1MjEzMzc=",
"organizations_url": "https://api.github.com/users/lmarti/orgs",
"received_events_url": "https://api.github.com/users/lmarti/received_events",
"repos_url": "https://api.github.com/users/lmarti/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lmarti/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lmarti/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lmarti"
} | [
{
"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": "to_latex",
"id": 251382258,
"name": "IO LaTeX",
"node_id": "MDU6TGFiZWwyNTEzODIyNTg=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20LaTeX"
}
]
| 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"
} | 2 | 2015-10-21T07:16:58Z | 2015-11-14T19:34:36Z | 2015-11-13T15:15:33Z | NONE | null | New pull request with tests and comments. See https://github.com/pydata/pandas/pull/9821 for original PR.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11399/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11399/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11399.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11399",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/11399.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11399"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11400 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11400/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11400/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11400/events | https://github.com/pandas-dev/pandas/pull/11400 | 112,537,936 | MDExOlB1bGxSZXF1ZXN0NDgzMDIxNzc= | 11,400 | BUG: using .ix with a multi-index indexer | {
"avatar_url": "https://avatars.githubusercontent.com/u/7807926?v=4",
"events_url": "https://api.github.com/users/rekcahpassyla/events{/privacy}",
"followers_url": "https://api.github.com/users/rekcahpassyla/followers",
"following_url": "https://api.github.com/users/rekcahpassyla/following{/other_user}",
"gists_url": "https://api.github.com/users/rekcahpassyla/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rekcahpassyla",
"id": 7807926,
"login": "rekcahpassyla",
"node_id": "MDQ6VXNlcjc4MDc5MjY=",
"organizations_url": "https://api.github.com/users/rekcahpassyla/orgs",
"received_events_url": "https://api.github.com/users/rekcahpassyla/received_events",
"repos_url": "https://api.github.com/users/rekcahpassyla/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rekcahpassyla/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rekcahpassyla/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rekcahpassyla"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
]
| closed | false | null | []
| {
"closed_at": "2015-11-21T13:47:07Z",
"closed_issues": 216,
"created_at": "2015-09-10T14:30:44Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.17.0 of course!",
"due_on": "2015-11-21T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/37",
"id": 1299459,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/37/labels",
"node_id": "MDk6TWlsZXN0b25lMTI5OTQ1OQ==",
"number": 37,
"open_issues": 0,
"state": "closed",
"title": "0.17.1",
"updated_at": "2016-07-21T16:02:53Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/37"
} | 6 | 2015-10-21T08:40:16Z | 2015-10-27T13:25:20Z | 2015-10-27T11:17:08Z | CONTRIBUTOR | null | closes #11372
Add an optional argument to _NDFrameIndexer to indicate
if the indexer is from a MultiIndex
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11400/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11400/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11400.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11400",
"merged_at": "2015-10-27T11:17:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11400.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11400"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11401 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11401/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11401/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11401/events | https://github.com/pandas-dev/pandas/pull/11401 | 112,564,903 | MDExOlB1bGxSZXF1ZXN0NDgzMTc2ODE= | 11,401 | ENH: Improve the error message in to_gbq when schema does not match #11359 | {
"avatar_url": "https://avatars.githubusercontent.com/u/5184014?v=4",
"events_url": "https://api.github.com/users/parthea/events{/privacy}",
"followers_url": "https://api.github.com/users/parthea/followers",
"following_url": "https://api.github.com/users/parthea/following{/other_user}",
"gists_url": "https://api.github.com/users/parthea/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/parthea",
"id": 5184014,
"login": "parthea",
"node_id": "MDQ6VXNlcjUxODQwMTQ=",
"organizations_url": "https://api.github.com/users/parthea/orgs",
"received_events_url": "https://api.github.com/users/parthea/received_events",
"repos_url": "https://api.github.com/users/parthea/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/parthea/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/parthea/subscriptions",
"type": "User",
"url": "https://api.github.com/users/parthea"
} | [
{
"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": "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-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"
} | 2 | 2015-10-21T11:19:10Z | 2015-10-21T15:30:48Z | 2015-10-21T15:28:55Z | CONTRIBUTOR | null | See the discussion in #11359
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11401/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11401/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/11401.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/11401",
"merged_at": "2015-10-21T15:28:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/11401.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/11401"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/11402 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11402/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11402/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11402/events | https://github.com/pandas-dev/pandas/issues/11402 | 112,658,581 | MDU6SXNzdWUxMTI2NTg1ODE= | 11,402 | Series.sort_index(inplace=True) always returns a new Series | {
"avatar_url": "https://avatars.githubusercontent.com/u/2013379?v=4",
"events_url": "https://api.github.com/users/cfperez/events{/privacy}",
"followers_url": "https://api.github.com/users/cfperez/followers",
"following_url": "https://api.github.com/users/cfperez/following{/other_user}",
"gists_url": "https://api.github.com/users/cfperez/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cfperez",
"id": 2013379,
"login": "cfperez",
"node_id": "MDQ6VXNlcjIwMTMzNzk=",
"organizations_url": "https://api.github.com/users/cfperez/orgs",
"received_events_url": "https://api.github.com/users/cfperez/received_events",
"repos_url": "https://api.github.com/users/cfperez/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cfperez/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cfperez/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cfperez"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
]
| closed | false | null | []
| {
"closed_at": "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"
} | 4 | 2015-10-21T19:10:40Z | 2015-10-27T11:12:01Z | 2015-10-27T11:12:01Z | CONTRIBUTOR | null | Series.index_sort() _always_ returns a new Series, ignoring the `inplace` keyword argument. This is in contrast to DataFrame's sort_index() which works as expected.
``` python
vals = range(10, 0, -1)
x = pd.Series(vals)
# Returns a new Series with the sorted index instead of
# changing x in place
y = x.sort_index(ascending=False, inplace=True)
# Not the same
(x != y).all()
# sort_index() works as expected for DataFrames
xx = pd.DataFrame({'col': x})
assert xx.sort_index(ascending=False, inplace=True) is None
```
show_versions() output:
## INSTALLED VERSIONS
commit: None
python: 3.4.3.final.0
python-bits: 64
OS: Darwin
OS-release: 14.5.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
pandas: 0.17.0
nose: 1.3.7
pip: 7.1.2
setuptools: 18.4
Cython: None
numpy: 1.10.1
scipy: 0.16.0
statsmodels: 0.6.1
IPython: 4.0.0
sphinx: None
patsy: 0.4.0
dateutil: 2.4.1
pytz: 2015.6
blosc: None
bottleneck: None
tables: 3.2.2
numexpr: 2.4.4
matplotlib: 1.4.3
openpyxl: 2.2.0-b1
xlrd: 0.9.3
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: 1.0.3
pymysql: 0.6.6.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/11402/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11402/timeline | null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.