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/1701 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1701/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1701/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1701/events | https://github.com/pandas-dev/pandas/issues/1701 | 5,909,069 | MDU6SXNzdWU1OTA5MDY5 | 1,701 | GroupBy.apply doesn't pass group key name onto index in all cases | {
"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.githu... | [
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 0 | 2012-07-30T00:38:49Z | 2012-07-30T00:48:21Z | 2012-07-30T00:48:21Z | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1701/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1701/timeline | null | null | null | |
https://api.github.com/repos/pandas-dev/pandas/issues/1702 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1702/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1702/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1702/events | https://github.com/pandas-dev/pandas/issues/1702 | 5,909,978 | MDU6SXNzdWU1OTA5OTc4 | 1,702 | concat DataFrame along timeseries indexes | {
"avatar_url": "https://avatars.githubusercontent.com/u/493356?v=4",
"events_url": "https://api.github.com/users/mnbbrown/events{/privacy}",
"followers_url": "https://api.github.com/users/mnbbrown/followers",
"following_url": "https://api.github.com/users/mnbbrown/following{/other_user}",
"gists_url": "https... | [
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 2 | 2012-07-30T03:01:24Z | 2012-08-10T16:03:00Z | 2012-08-10T16:03:00Z | NONE | null | Please see: http://stackoverflow.com/questions/11714768/concat-pandas-dataframe-along-timeseries-indexes
NumPy v1.6.3
Pandas v0.8.1
I have two largish (snippets provided) pandas DateFrames with unequal dates as indexes that I wish to concat into one:
```
NAB.AX CBA.AX
... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1702/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1702/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1703 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1703/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1703/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1703/events | https://github.com/pandas-dev/pandas/issues/1703 | 5,914,440 | MDU6SXNzdWU1OTE0NDQw | 1,703 | Incorrect result when using to_datetime() on PeriodIndex | {
"avatar_url": "https://avatars.githubusercontent.com/u/1150402?v=4",
"events_url": "https://api.github.com/users/kdebrab/events{/privacy}",
"followers_url": "https://api.github.com/users/kdebrab/followers",
"following_url": "https://api.github.com/users/kdebrab/following{/other_user}",
"gists_url": "https:/... | [
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 0 | 2012-07-30T10:15:27Z | 2012-08-12T20:53:07Z | 2012-08-12T20:53:07Z | CONTRIBUTOR | null | Pandas 0.8.1:
```
import pandas as pd
index = pd.period_range('1/1/2012',periods=4,freq='D')
index.to_datetime()
```
returns incorrectly:
```
<class 'pandas.tseries.index.DatetimeIndex'>
[1970-01-01 00:00:00.000015340, ..., 1970-01-01 00:00:00.000015343]
Length: 4, Freq: None, Timezone: None
```
The correct result ... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1703/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1703/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1704 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1704/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1704/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1704/events | https://github.com/pandas-dev/pandas/issues/1704 | 5,914,496 | MDU6SXNzdWU1OTE0NDk2 | 1,704 | Incorrect result when using get_level_values on datetime index | {
"avatar_url": "https://avatars.githubusercontent.com/u/1150402?v=4",
"events_url": "https://api.github.com/users/kdebrab/events{/privacy}",
"followers_url": "https://api.github.com/users/kdebrab/followers",
"following_url": "https://api.github.com/users/kdebrab/following{/other_user}",
"gists_url": "https:/... | [] | closed | false | null | [] | null | 2 | 2012-07-30T10:20:28Z | 2012-08-19T16:06:19Z | 2012-08-19T16:06:19Z | CONTRIBUTOR | null | Pandas 0.8.1:
```
import pandas as pd
import datetime as dt
tuples = [(dt.datetime(2012,1,1),1),(dt.datetime(2012,1,1),2),(dt.datetime(2012,1,2),1),(dt.datetime(2012,1,2),2)]
index = pd.MultiIndex.from_tuples(tuples)
index.get_level_values(level=0)
```
incorrectly returns:
```
array([1970-01-16 224:00:00, 1970-01-16... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1704/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1704/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1705 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1705/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1705/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1705/events | https://github.com/pandas-dev/pandas/issues/1705 | 5,914,645 | MDU6SXNzdWU1OTE0NjQ1 | 1,705 | Incorrect behaviour when using periods in a hierarchical index | {
"avatar_url": "https://avatars.githubusercontent.com/u/1150402?v=4",
"events_url": "https://api.github.com/users/kdebrab/events{/privacy}",
"followers_url": "https://api.github.com/users/kdebrab/followers",
"following_url": "https://api.github.com/users/kdebrab/following{/other_user}",
"gists_url": "https:/... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
... | closed | false | null | [] | {
"closed_at": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 0 | 2012-07-30T10:29:53Z | 2012-08-12T20:18:39Z | 2012-08-12T20:18:39Z | CONTRIBUTOR | null | Pandas 0.8.1:
```
import pandas as pd
index = pd.date_range('1/1/2012',periods=4,freq='12H')
index_as_arrays = [index.to_period(freq='D'), index.hour]
pd.Series([0, 1, 2, 3], index_as_arrays)
```
incorrectly returns:
```
15340 0 0
12 1
15341 0 2
12 3
```
The correct result is obtained ... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1705/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1705/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1706 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1706/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1706/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1706/events | https://github.com/pandas-dev/pandas/issues/1706 | 5,916,760 | MDU6SXNzdWU1OTE2NzYw | 1,706 | encode/decode method for string module (like in np.char.encode ) | {
"avatar_url": "https://avatars.githubusercontent.com/u/1327168?v=4",
"events_url": "https://api.github.com/users/gerigk/events{/privacy}",
"followers_url": "https://api.github.com/users/gerigk/followers",
"following_url": "https://api.github.com/users/gerigk/following{/other_user}",
"gists_url": "https://ap... | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | {
"closed_at": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 0 | 2012-07-30T12:49:57Z | 2012-08-12T01:48:40Z | 2012-08-12T01:48:40Z | NONE | null | This is already in included in numpy but for convenience it would be nice to have this in pandas.
```
series.str.decode('utf-8')
```
is nicer than for example
```
series = Series(['a','b','ä'])
Series(np.char.decode(series.values.astype('|S255'), 'utf-8'))
```
I find myself having to decode and encode a lot dependi... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1706/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1706/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1707 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1707/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1707/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1707/events | https://github.com/pandas-dev/pandas/issues/1707 | 5,927,631 | MDU6SXNzdWU1OTI3NjMx | 1,707 | Can't save empty Series or DataFrame to hdf5 with HDFStore | {
"avatar_url": "https://avatars.githubusercontent.com/u/2058401?v=4",
"events_url": "https://api.github.com/users/eriknw/events{/privacy}",
"followers_url": "https://api.github.com/users/eriknw/followers",
"following_url": "https://api.github.com/users/eriknw/following{/other_user}",
"gists_url": "https://ap... | [
{
"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... | closed | false | null | [] | {
"closed_at": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 1 | 2012-07-30T19:55:06Z | 2012-08-12T01:31:59Z | 2012-08-12T01:31:39Z | NONE | null | With pandas 0.8.1 (and pytables 2.3.1), trying to save an empty Series or DataFrame when using HDFStore results in an exception after some (but not all) data has been written to the hdf5 file.
``` python
from pandas import DataFrame, Series, HDFStore
# These are all empty
s0 = Series()
s1 = Series(name='myseries')
d... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1707/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1707/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1708 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1708/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1708/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1708/events | https://github.com/pandas-dev/pandas/issues/1708 | 5,928,761 | MDU6SXNzdWU1OTI4NzYx | 1,708 | Unexpected result with union, intersection and diff on Index objects | {
"avatar_url": "https://avatars.githubusercontent.com/u/1150402?v=4",
"events_url": "https://api.github.com/users/kdebrab/events{/privacy}",
"followers_url": "https://api.github.com/users/kdebrab/followers",
"following_url": "https://api.github.com/users/kdebrab/following{/other_user}",
"gists_url": "https:/... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
... | closed | false | null | [] | {
"closed_at": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 1 | 2012-07-30T20:33:54Z | 2012-08-10T16:55:17Z | 2012-08-10T16:55:00Z | CONTRIBUTOR | null | Pandas 0.8.1:
```
import pandas as pd
import datetime as dt
index_1 = pd.DatetimeIndex([dt.datetime(2012,1,1,0), dt.datetime(2012,1,1,12),
dt.datetime(2012,1,2,0), dt.datetime(2012,1,2,12)])
index_2 = index_1 + pd.DateOffset(hours=1)
index_1 & index_2
```
correctly returns:
```
<class 'pandas.tseries.index.Datet... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1708/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1708/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1709 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1709/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1709/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1709/events | https://github.com/pandas-dev/pandas/issues/1709 | 5,929,618 | MDU6SXNzdWU1OTI5NjE4 | 1,709 | include iris dataset | {
"avatar_url": "https://avatars.githubusercontent.com/u/1260667?v=4",
"events_url": "https://api.github.com/users/zachcp/events{/privacy}",
"followers_url": "https://api.github.com/users/zachcp/followers",
"following_url": "https://api.github.com/users/zachcp/following{/other_user}",
"gists_url": "https://ap... | [
{
"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": "3465A4",
"default": false,
"description": null,
... | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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/... | 2 | 2012-07-30T21:07:09Z | 2012-10-21T18:08:42Z | 2012-10-21T18:08:42Z | CONTRIBUTOR | null | I just noticed the very nice radviz graphing feature added to pandas 0.8.1 (http://pandas.pydata.org/pandas-docs/dev/visualization.html#scatter-plot-matrix). Most of the graphs in the pandas documentation use randomly generated graphs, however the radviz examples uses the iris data set. The iris dataset, however, is n... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1709/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1709/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1710 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1710/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1710/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1710/events | https://github.com/pandas-dev/pandas/issues/1710 | 5,930,158 | MDU6SXNzdWU1OTMwMTU4 | 1,710 | represent x-y plots with points instead of lines | {
"avatar_url": "https://avatars.githubusercontent.com/u/1260667?v=4",
"events_url": "https://api.github.com/users/zachcp/events{/privacy}",
"followers_url": "https://api.github.com/users/zachcp/followers",
"following_url": "https://api.github.com/users/zachcp/following{/other_user}",
"gists_url": "https://ap... | [] | closed | false | null | [] | null | 1 | 2012-07-30T21:32:01Z | 2012-08-19T13:49:15Z | 2012-08-19T13:49:15Z | CONTRIBUTOR | null | This is a followup question to issue 1527 (https://github.com/pydata/pandas/issues/1527) which dealt with the ability to plot two column values against one another - which was added to pandas 0.8.1
Is there a way that each x-y position can be represented as points rather than as a line? For example the following will... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1710/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1710/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1711 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1711/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1711/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1711/events | https://github.com/pandas-dev/pandas/issues/1711 | 5,942,018 | MDU6SXNzdWU1OTQyMDE4 | 1,711 | pandas.Series.plot ignores color in **kwarg | {
"avatar_url": "https://avatars.githubusercontent.com/u/797170?v=4",
"events_url": "https://api.github.com/users/mcobzarenco/events{/privacy}",
"followers_url": "https://api.github.com/users/mcobzarenco/followers",
"following_url": "https://api.github.com/users/mcobzarenco/following{/other_user}",
"gists_url... | [
{
"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,
... | closed | false | null | [] | {
"closed_at": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 3 | 2012-07-31T12:32:20Z | 2012-08-12T18:48:09Z | 2012-08-12T18:48:09Z | NONE | null | E.g.:
``` python
pandas.Series(randn(10)).plot(color='red')
```
Whose output is:

This used to work correctly in pandas 0.7.2
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1711/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1711/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1712 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1712/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1712/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1712/events | https://github.com/pandas-dev/pandas/issues/1712 | 5,946,311 | MDU6SXNzdWU1OTQ2MzEx | 1,712 | Series get function returns None instead of NaN on missing key | {
"avatar_url": "https://avatars.githubusercontent.com/u/107629?v=4",
"events_url": "https://api.github.com/users/petrounias/events{/privacy}",
"followers_url": "https://api.github.com/users/petrounias/followers",
"following_url": "https://api.github.com/users/petrounias/following{/other_user}",
"gists_url": ... | [] | closed | false | null | [] | null | 1 | 2012-07-31T15:37:34Z | 2012-08-20T05:32:52Z | 2012-08-20T05:32:52Z | NONE | null | According to the documentation (Intro to Data Structures), the correct behavior is:
s.get('f')
nan
however, when 'f' is not a key of a Series, the get function returns None, as in:
s.get('f') is None
True
A workaround is to use get(..., NaN), as in:
s.get('f', 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/1712/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1712/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1713 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1713/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1713/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1713/events | https://github.com/pandas-dev/pandas/issues/1713 | 5,947,680 | MDU6SXNzdWU1OTQ3Njgw | 1,713 | Inserting subclass/composition of Series into DataFrame strips 'extra' functions/properties | {
"avatar_url": "https://avatars.githubusercontent.com/u/1220613?v=4",
"events_url": "https://api.github.com/users/carsonfarmer/events{/privacy}",
"followers_url": "https://api.github.com/users/carsonfarmer/followers",
"following_url": "https://api.github.com/users/carsonfarmer/following{/other_user}",
"gists... | [] | 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",
"f... | 15 | 2012-07-31T16:34:30Z | 2017-05-04T13:35:39Z | 2017-05-04T13:35:39Z | NONE | null | When trying to insert/append a subclass (or composition) of a pandas Series into a DataFrame, any and all of the 'extra' functions that come with my subclass (or composition) are stripped and a Series is created:
``` python
In [7]: df = read_csv('some/data/from/file.csv')
In [8]: sp = SpatialSeries(df.the_geom) # Spa... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1713/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1713/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1714 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1714/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1714/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1714/events | https://github.com/pandas-dev/pandas/issues/1714 | 5,950,551 | MDU6SXNzdWU1OTUwNTUx | 1,714 | On windows+IDLE 2.7 get_terminal_size() returns default (80,25) | {
"avatar_url": "https://avatars.githubusercontent.com/u/1094464?v=4",
"events_url": "https://api.github.com/users/lodagro/events{/privacy}",
"followers_url": "https://api.github.com/users/lodagro/followers",
"following_url": "https://api.github.com/users/lodagro/following{/other_user}",
"gists_url": "https:/... | [
{
"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 objec... | 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/jorisva... | 5 | 2012-07-31T18:38:20Z | 2016-09-29T22:44:19Z | 2016-09-29T22:16:29Z | CONTRIBUTOR | null | From [stackoverflow](http://stackoverflow.com/questions/11707586/python-pandas-widen-output-display)
```
Python/IDLE 2.7.3
Pandas 0.8.1
Notepad++ 6.1.4 (UNICODE)
Windows Vista SP2
```
``` python
pandas.util.terminal.get_terminal_size()
```
Fails to detect the real IDLE display size and returns default (80, 25)
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/1714/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1714/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1715 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1715/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1715/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1715/events | https://github.com/pandas-dev/pandas/issues/1715 | 5,956,607 | MDU6SXNzdWU1OTU2NjA3 | 1,715 | Inconsistent Panel Assignment | {
"avatar_url": "https://avatars.githubusercontent.com/u/440095?v=4",
"events_url": "https://api.github.com/users/qwhelan/events{/privacy}",
"followers_url": "https://api.github.com/users/qwhelan/followers",
"following_url": "https://api.github.com/users/qwhelan/following{/other_user}",
"gists_url": "https://... | [] | 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",
"f... | 2 | 2012-07-31T23:46:26Z | 2013-08-07T16:37:04Z | 2013-08-07T16:37:04Z | CONTRIBUTOR | null | Hi,
I've encountered some (seemingly) inconsistent behavior in assigning values to Panels. Here are some examples
``` python
In [2]: aapl = DataReader('AAPL','yahoo')
p = Panel({'stock':aapl})
print p['stock'][:5]
Out[2]: Open High Low Close Volume Adj Close
Date ... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1715/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1715/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1716 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1716/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1716/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1716/events | https://github.com/pandas-dev/pandas/pull/1716 | 5,961,451 | MDExOlB1bGxSZXF1ZXN0MTk0MjEzOQ== | 1,716 | Fixes bug in tools.scatter_plot | {
"avatar_url": "https://avatars.githubusercontent.com/u/165906?v=4",
"events_url": "https://api.github.com/users/theJohnnyBrown/events{/privacy}",
"followers_url": "https://api.github.com/users/theJohnnyBrown/followers",
"following_url": "https://api.github.com/users/theJohnnyBrown/following{/other_user}",
"... | [] | closed | false | null | [] | {
"closed_at": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 1 | 2012-08-01T07:26:04Z | 2014-06-23T18:10:26Z | 2012-08-12T19:14:11Z | NONE | null | ```
In [1]: import pandas
In [2]: from pandas.tools.plotting import scatter_plot
In [7]: df = pandas.DataFrame(np.random.randn(5,2), columns=['a','b'])
In [8]: df
Out[8]:
a b
0 0.032454 0.057020
1 -0.292223 -0.265303
2 -0.118943 1.315302
3 -2.754867 0.827289
4 0.497206 -1.360892
In [9]: df['... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1716/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1716/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/1716.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/1716",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/1716.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/1716"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/1717 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1717/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1717/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1717/events | https://github.com/pandas-dev/pandas/issues/1717 | 5,965,308 | MDU6SXNzdWU1OTY1MzA4 | 1,717 | groupby.first() fails for np.datetime64 columns | {
"avatar_url": "https://avatars.githubusercontent.com/u/1327168?v=4",
"events_url": "https://api.github.com/users/gerigk/events{/privacy}",
"followers_url": "https://api.github.com/users/gerigk/followers",
"following_url": "https://api.github.com/users/gerigk/following{/other_user}",
"gists_url": "https://ap... | [
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 2 | 2012-08-01T10:52:31Z | 2012-08-09T03:14:33Z | 2012-08-09T03:11:50Z | NONE | null | numpy 1.7 dev and pandas-0.8.2.dev_f5a74d4-py2.7-linux-x86_64
```
import pandas as pd
import numpy as np
df = pd.DataFrame([(3,np.datetime64('2012-07-03')),(3,np.datetime64('2012-07-04'))], columns = ['a', 'date'])
df.groupby('a').first()
---------------------------------------------------------------------------
Val... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1717/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1717/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1718 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1718/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1718/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1718/events | https://github.com/pandas-dev/pandas/issues/1718 | 5,982,721 | MDU6SXNzdWU1OTgyNzIx | 1,718 | Resampling OHLC -> OHLC | {
"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.githu... | [
{
"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,
... | 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",
"f... | 9 | 2012-08-02T01:02:18Z | 2020-10-07T09:53:17Z | 2014-11-30T15:20:32Z | MEMBER | null | Be nice to be able to go from say 5-min OHLC to 1-day OHLC easily
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1718/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1718/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1719 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1719/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1719/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1719/events | https://github.com/pandas-dev/pandas/issues/1719 | 5,982,960 | MDU6SXNzdWU1OTgyOTYw | 1,719 | concat with axis=1, join='outer' not working correctly | {
"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.githu... | [
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 2 | 2012-08-02T01:25:10Z | 2012-08-09T02:26:52Z | 2012-08-09T02:26:52Z | MEMBER | null | http://stackoverflow.com/questions/11761884/pandas-concatouter-not-doing-union
```
It looks pandas.concat is doing 'left outer' join instead of just union the indexes. Seems a bug to me but maybe I'm missing something obvious.
import pandas
import pandas.util.testing as put
ts1 = put.makeTimeSeries()
... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1719/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1719/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1720 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1720/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1720/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1720/events | https://github.com/pandas-dev/pandas/issues/1720 | 5,983,047 | MDU6SXNzdWU1OTgzMDQ3 | 1,720 | DataFrame.to_records failure with DatetimeIndex | {
"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.githu... | [
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 0 | 2012-08-02T01:27:47Z | 2012-08-12T21:57:29Z | 2012-08-12T21:57:29Z | MEMBER | null | http://stackoverflow.com/questions/11754334/dataframe-to-records-gives-an-error-when-typeindex-is-datetimeindex
```
In [20]: df = read_clipboard(sep='\s+', parse_dates=True)
In [21]: df
Out[21]:
a b c
2012-08-01 2.355928 -2.465061 0.240094
2012-08-02 -0.952323 0.746623 -0.384021... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1720/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1720/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1721 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1721/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1721/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1721/events | https://github.com/pandas-dev/pandas/issues/1721 | 5,987,693 | MDU6SXNzdWU1OTg3Njkz | 1,721 | np.fix crashes with pandas time series | {
"avatar_url": "https://avatars.githubusercontent.com/u/2046079?v=4",
"events_url": "https://api.github.com/users/tschm/events{/privacy}",
"followers_url": "https://api.github.com/users/tschm/followers",
"following_url": "https://api.github.com/users/tschm/following{/other_user}",
"gists_url": "https://api.g... | [
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 1 | 2012-08-02T09:00:24Z | 2012-08-09T02:24:57Z | 2012-08-09T02:24:57Z | NONE | null | ```
import numpy as np
import pandas
x = pandas.TimeSeries(data = np.array([-0.54548407, 2.81105692, np.nan, -1.61954275, 1.3670269, -0.73211055, -0.22832786, 0.06384124, -1.7113508, -2.42429978]), index = np.arange(0,10))
```
`print np.fix(x)`
crashes with:
```
File "C:\Python27\lib\site-packages... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1721/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1721/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1722 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1722/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1722/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1722/events | https://github.com/pandas-dev/pandas/issues/1722 | 5,989,983 | MDU6SXNzdWU1OTg5OTgz | 1,722 | Confusing docstring | {
"avatar_url": "https://avatars.githubusercontent.com/u/1327168?v=4",
"events_url": "https://api.github.com/users/gerigk/events{/privacy}",
"followers_url": "https://api.github.com/users/gerigk/followers",
"following_url": "https://api.github.com/users/gerigk/following{/other_user}",
"gists_url": "https://ap... | [
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 0 | 2012-08-02T11:26:00Z | 2012-08-09T01:05:08Z | 2012-08-09T01:05:08Z | NONE | null | I just came across this one while browsing the code.
Maybe this should be Index.intersection in the docstring ?
```
def intersection(self, other):
"""
Specialized intersection for DatetimeIndex objects. May be much faster
than Index.union
Parameters
----------
other : ... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1722/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1722/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1723 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1723/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1723/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1723/events | https://github.com/pandas-dev/pandas/issues/1723 | 5,990,831 | MDU6SXNzdWU1OTkwODMx | 1,723 | Add DatetimeIndex.day_of_year Method | {
"avatar_url": "https://avatars.githubusercontent.com/u/881019?v=4",
"events_url": "https://api.github.com/users/dhirschfeld/events{/privacy}",
"followers_url": "https://api.github.com/users/dhirschfeld/followers",
"following_url": "https://api.github.com/users/dhirschfeld/following{/other_user}",
"gists_url... | [
{
"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"
}
] | closed | false | null | [] | {
"closed_at": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 1 | 2012-08-02T12:22:31Z | 2012-08-09T09:02:11Z | 2012-08-09T01:09:31Z | CONTRIBUTOR | null | PeriodIndex has a day_of_year method, but DatetimeIndex doesn't. This makes it hard to write generic code which can take either.
Given they both have dayofyear attributes it may be best to remove the day_of_year method so that there is only one obvious way to do it.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1723/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1723/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1724 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1724/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1724/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1724/events | https://github.com/pandas-dev/pandas/issues/1724 | 6,004,415 | MDU6SXNzdWU2MDA0NDE1 | 1,724 | More flexibility in to_period | {
"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.githu... | [
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
}
] | closed | false | null | [] | null | 1 | 2012-08-02T22:57:31Z | 2012-08-20T05:46:45Z | 2012-08-20T05:46:45Z | MEMBER | null | from mailing list
```
Also noticed that `to_period` doesn't work for frequency QS:
In [110]: q = pd.date_range('01-Jan-2012', periods=8, freq='QS-Jan')
In [111]: p = q.to_period()
---------------------------------------------------------------------------
KeyError Traceback (most rec... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1724/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1724/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1725 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1725/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1725/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1725/events | https://github.com/pandas-dev/pandas/issues/1725 | 6,004,435 | MDU6SXNzdWU2MDA0NDM1 | 1,725 | QS frequency alias | {
"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.githu... | [
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
}
] | closed | false | null | [] | null | 0 | 2012-08-02T22:58:41Z | 2016-10-12T23:03:07Z | 2012-08-20T05:38:12Z | MEMBER | null | The table at http://pandas.pydata.org/pandas-docs/dev/timeseries.html#offset-aliases
appears to suggest there is a QS frequency
but when I try it I get the following traceback:
```
In [84]: pd.date_range('01-Jan-2012', periods=8, freq='QS')
---------------------------------------------------------------------------
Va... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1725/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1725/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1726 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1726/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1726/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1726/events | https://github.com/pandas-dev/pandas/issues/1726 | 6,007,572 | MDU6SXNzdWU2MDA3NTcy | 1,726 | Error with closed='left' and _adjust_bin_edges | {
"avatar_url": "https://avatars.githubusercontent.com/u/610115?v=4",
"events_url": "https://api.github.com/users/dalejung/events{/privacy}",
"followers_url": "https://api.github.com/users/dalejung/followers",
"following_url": "https://api.github.com/users/dalejung/following{/other_user}",
"gists_url": "https... | [
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 1 | 2012-08-03T03:49:52Z | 2013-11-24T13:44:10Z | 2012-08-13T01:08:30Z | CONTRIBUTOR | null | ``` python
import pandas as pd
#8/6/12 is a Monday
ind = pd.DatetimeIndex(start="8/6/2012", end="8/26/2012", freq="D")
n = len(ind)
data = [[x] * 5 for x in range(n)]
df = pd.DataFrame(data, columns=['open', 'high', 'low', 'close', 'vol'], index=ind)
df.resample('W-MON', how='first', closed='left', label='left')
```
... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1726/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1726/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1727 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1727/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1727/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1727/events | https://github.com/pandas-dev/pandas/issues/1727 | 6,011,789 | MDU6SXNzdWU2MDExNzg5 | 1,727 | inconsistent results building a DataFrame from a dict of Series with MultiIndexes | {
"avatar_url": "https://avatars.githubusercontent.com/u/1210462?v=4",
"events_url": "https://api.github.com/users/grsr/events{/privacy}",
"followers_url": "https://api.github.com/users/grsr/followers",
"following_url": "https://api.github.com/users/grsr/following{/other_user}",
"gists_url": "https://api.gith... | [
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 1 | 2012-08-03T10:13:51Z | 2012-08-12T21:35:09Z | 2012-08-12T21:34:54Z | NONE | null | I am trying to build a DataFrame from a dict of Series objects which have (not necessarily exactly matching) MultiIndex indices, sometimes I don't get any results for some particular data point and so I create an empty Series object and add that to the dict, as I need there to be a column present even without any data ... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1727/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1727/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1728 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1728/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1728/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1728/events | https://github.com/pandas-dev/pandas/issues/1728 | 6,016,411 | MDU6SXNzdWU2MDE2NDEx | 1,728 | to_html issues | {
"avatar_url": "https://avatars.githubusercontent.com/u/807824?v=4",
"events_url": "https://api.github.com/users/CRP/events{/privacy}",
"followers_url": "https://api.github.com/users/CRP/followers",
"following_url": "https://api.github.com/users/CRP/following{/other_user}",
"gists_url": "https://api.github.c... | [
{
"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 | [] | null | 2 | 2012-08-03T14:54:44Z | 2016-10-12T23:03:07Z | 2012-08-05T19:45:44Z | CONTRIBUTOR | null | - doc string mentions a "justify" parameter that apparently does not exist and provokes an errore if used
- setting index=False produces no visible effect
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1728/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1728/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1729 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1729/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1729/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1729/events | https://github.com/pandas-dev/pandas/issues/1729 | 6,033,100 | MDU6SXNzdWU2MDMzMTAw | 1,729 | Unexpected result when slicing time series intra day | {
"avatar_url": "https://avatars.githubusercontent.com/u/1150402?v=4",
"events_url": "https://api.github.com/users/kdebrab/events{/privacy}",
"followers_url": "https://api.github.com/users/kdebrab/followers",
"following_url": "https://api.github.com/users/kdebrab/following{/other_user}",
"gists_url": "https:/... | [] | closed | false | null | [] | null | 1 | 2012-08-04T21:56:05Z | 2012-08-12T23:28:20Z | 2012-08-12T23:28:20Z | CONTRIBUTOR | null | Time series slicing does not work intra day (Pandas 0.8.1):
```
import pandas as pd
import datetime as dt
rng = pd.date_range('1/1/2012', periods=4, freq='12H')
a = pd.Series(index=rng)
a[dt.datetime(2011,1,1,3):]
```
incorrectly results:
```
2012-01-01 00:00:00 NaN
2012-01-01 12:00:00 NaN
2012-01-02 00:00:00 ... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1729/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1729/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1730 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1730/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1730/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1730/events | https://github.com/pandas-dev/pandas/issues/1730 | 6,033,230 | MDU6SXNzdWU2MDMzMjMw | 1,730 | Unexpected result when combining Series into a DataFrame | {
"avatar_url": "https://avatars.githubusercontent.com/u/1150402?v=4",
"events_url": "https://api.github.com/users/kdebrab/events{/privacy}",
"followers_url": "https://api.github.com/users/kdebrab/followers",
"following_url": "https://api.github.com/users/kdebrab/following{/other_user}",
"gists_url": "https:/... | [] | closed | false | null | [] | null | 1 | 2012-08-04T22:16:02Z | 2012-08-09T01:25:57Z | 2012-08-09T01:25:34Z | CONTRIBUTOR | null | Pandas 0.8.1:
```
import pandas as pd
rng_a = pd.date_range('1/1/2012',periods=4,freq='3H')
rng_b = pd.date_range('1/1/2012',periods=4,freq='4H')
a = pd.Series([0, 1, 2, 3], rng_a)
b = pd.Series([0, 1, 2, 3], rng_b)
pd.DataFrame({'a':a, 'b': b})
```
unexpectedly returns:
```
a b
1/1/2012 00:00:... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1730/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1730/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1731 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1731/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1731/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1731/events | https://github.com/pandas-dev/pandas/pull/1731 | 6,033,239 | MDExOlB1bGxSZXF1ZXN0MTk3NTE3MQ== | 1,731 | DOC: skipna not an argument of drop_duplicates | {
"avatar_url": "https://avatars.githubusercontent.com/u/118211?v=4",
"events_url": "https://api.github.com/users/ivanov/events{/privacy}",
"followers_url": "https://api.github.com/users/ivanov/followers",
"following_url": "https://api.github.com/users/ivanov/following{/other_user}",
"gists_url": "https://api... | [] | closed | false | null | [] | {
"closed_at": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 1 | 2012-08-04T22:18:09Z | 2014-06-18T10:03:18Z | 2012-09-08T21:25:09Z | CONTRIBUTOR | null | From what I can tell, `skipna` keyword was both added and subsequently
removed in #1244. However, the docstring for DataFrame.drop_duplicates
still lists it as a parameter.
I remove this from the docs, so they accurately represent the code.
An alternative to this would be to put back the skipna functionality.
pinging... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1731/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1731/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/1731.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/1731",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/1731.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/1731"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/1732 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1732/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1732/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1732/events | https://github.com/pandas-dev/pandas/issues/1732 | 6,033,377 | MDU6SXNzdWU2MDMzMzc3 | 1,732 | Error when trying to plot time series with different frequencies | {
"avatar_url": "https://avatars.githubusercontent.com/u/1150402?v=4",
"events_url": "https://api.github.com/users/kdebrab/events{/privacy}",
"followers_url": "https://api.github.com/users/kdebrab/followers",
"following_url": "https://api.github.com/users/kdebrab/following{/other_user}",
"gists_url": "https:/... | [
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 2 | 2012-08-04T22:42:38Z | 2016-10-12T23:03:07Z | 2012-08-20T05:36:24Z | CONTRIBUTOR | null | Pandas 0.8.1:
```
import pandas as pd
import matplotlib.pyplot as plt
rng_a = pd.date_range('1/1/2012', periods=4, freq='2H'')
rng_b = pd.date_range('1/1/2012', periods=4, freq='H')
rng_c = pd.date_range('1/1/2012', periods=4, freq='30T')
a = pd.Series([0, 1, 3, 6], rng_a)
b = pd.Series([0, 1, 3, 6], rng_b)
c = pd.Ser... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1732/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1732/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1733 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1733/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1733/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1733/events | https://github.com/pandas-dev/pandas/pull/1733 | 6,033,440 | MDExOlB1bGxSZXF1ZXN0MTk3NTI0MQ== | 1,733 | DOC: fixed some minor typos | {
"avatar_url": "https://avatars.githubusercontent.com/u/118211?v=4",
"events_url": "https://api.github.com/users/ivanov/events{/privacy}",
"followers_url": "https://api.github.com/users/ivanov/followers",
"following_url": "https://api.github.com/users/ivanov/following{/other_user}",
"gists_url": "https://api... | [] | closed | false | null | [] | {
"closed_at": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 1 | 2012-08-04T22:57:14Z | 2012-08-12T21:44:19Z | 2012-08-12T21:44:19Z | CONTRIBUTOR | null | pandas is great, thank you!
I've only been using it for a couple of months now, and when I found one typo, I couldn't stop myself from pitching-in and going through all the relevant `.py` files and fixing the typos that popped out.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1733/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1733/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/1733.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/1733",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/1733.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/1733"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/1734 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1734/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1734/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1734/events | https://github.com/pandas-dev/pandas/issues/1734 | 6,033,453 | MDU6SXNzdWU2MDMzNDUz | 1,734 | Fix statsmodels import in pandas.stats.var or remove module | {
"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.githu... | [
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 1 | 2012-08-04T23:00:11Z | 2012-08-10T16:49:40Z | 2012-08-10T16:49:40Z | MEMBER | null | cc @blais
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1734/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1734/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1735 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1735/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1735/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1735/events | https://github.com/pandas-dev/pandas/pull/1735 | 6,033,768 | MDExOlB1bGxSZXF1ZXN0MTk3NTM2Ng== | 1,735 | Support for HTML class'es on DataFrame.to_html(). | {
"avatar_url": "https://avatars.githubusercontent.com/u/336019?v=4",
"events_url": "https://api.github.com/users/blais/events{/privacy}",
"followers_url": "https://api.github.com/users/blais/followers",
"following_url": "https://api.github.com/users/blais/following{/other_user}",
"gists_url": "https://api.gi... | [] | closed | false | null | [] | {
"closed_at": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 2 | 2012-08-05T00:03:28Z | 2014-06-19T18:08:10Z | 2012-08-13T04:05:24Z | CONTRIBUTOR | null | I really like to use sorttable.js and dragtable.js.
I need to be able to customize the HTML classes.
I also added a default class, so that people can use css on all Pandas generated tables by default.
Default class is "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/1735/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1735/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/1735.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/1735",
"merged_at": "2012-08-13T04:05:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/1735.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/1735"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/1736 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1736/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1736/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1736/events | https://github.com/pandas-dev/pandas/issues/1736 | 6,061,045 | MDU6SXNzdWU2MDYxMDQ1 | 1,736 | Series/DataFrame repr fails for MultiIndex level names with unicode | {
"avatar_url": "https://avatars.githubusercontent.com/u/1094464?v=4",
"events_url": "https://api.github.com/users/lodagro/events{/privacy}",
"followers_url": "https://api.github.com/users/lodagro/followers",
"following_url": "https://api.github.com/users/lodagro/following{/other_user}",
"gists_url": "https:/... | [
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 0 | 2012-08-06T20:07:04Z | 2012-08-12T20:37:34Z | 2012-08-12T20:37:34Z | CONTRIBUTOR | null | ``` python
In [34]: tuples = [t for t in product(range(2), range(2))]
In [35]: index = pandas.MultiIndex.from_tuples(tuples, names=[u'\u0394', 'i1'])
In [36]: df = pandas.DataFrame(np.random.randn(4,4), index=index)
In [37]: s = pandas.Series(range(4), index=index)
In[38]: df
...
UnicodeEncodeError: 'ascii' codec c... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1736/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1736/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1737 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1737/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1737/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1737/events | https://github.com/pandas-dev/pandas/issues/1737 | 6,080,561 | MDU6SXNzdWU2MDgwNTYx | 1,737 | plot of Series fails | {
"avatar_url": "https://avatars.githubusercontent.com/u/508557?v=4",
"events_url": "https://api.github.com/users/jgarcke/events{/privacy}",
"followers_url": "https://api.github.com/users/jgarcke/followers",
"following_url": "https://api.github.com/users/jgarcke/following{/other_user}",
"gists_url": "https://... | [
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 5 | 2012-08-07T15:23:26Z | 2016-10-12T23:03:07Z | 2012-08-13T08:02:16Z | NONE | null | The example here fails with 0.8.1 (worked with 0.8.0)
http://pandas.pydata.org/pandas-docs/dev/computation.html?highlight=outlier#moving-rolling-statistics-moments
In [1]: from pandas import *
In [2]: from numpy.random import randn
In [3]: ts = Series(randn(1000), index=date_range('1/1/2000', periods=1000))
In [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/1737/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1737/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1738 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1738/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1738/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1738/events | https://github.com/pandas-dev/pandas/issues/1738 | 6,089,141 | MDU6SXNzdWU2MDg5MTQx | 1,738 | Returning Series of dicts from DataFrame.apply | {
"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.githu... | [
{
"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,
... | closed | false | null | [] | {
"closed_at": "2013-05-10T10:57:28Z",
"closed_issues": 340,
"created_at": "2013-01-18T03:58:28Z",
"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/... | 2 | 2012-08-07T21:16:32Z | 2016-10-12T23:03:08Z | 2013-03-23T01:53:06Z | MEMBER | null | from the mailing list cc @lodagro
```
That is indeed odd.
There also seems to be a dependency on the dtype. Below an example for all ints and all floats.
In [121]: df
Out[121]:
A B
a 7 0
b 7 -2
In [122]: df.apply(foo, 1)
Out[122]:
A B
a NaN NaN
b NaN NaN
All NaN???
I would expect to see this:
In [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/1738/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1738/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1739 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1739/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1739/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1739/events | https://github.com/pandas-dev/pandas/issues/1739 | 6,089,357 | MDU6SXNzdWU2MDg5MzU3 | 1,739 | Yahoo Finance Options Data | {
"avatar_url": "https://avatars.githubusercontent.com/u/1001948?v=4",
"events_url": "https://api.github.com/users/sglyon/events{/privacy}",
"followers_url": "https://api.github.com/users/sglyon/followers",
"following_url": "https://api.github.com/users/sglyon/following{/other_user}",
"gists_url": "https://ap... | [
{
"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 issue... | closed | false | null | [] | {
"closed_at": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 4 | 2012-08-07T21:24:44Z | 2012-09-08T22:03:08Z | 2012-08-09T20:51:50Z | CONTRIBUTOR | null | Add functionality to pd.io.DataReader that collects options data from yahoo finance for a given stock.
Would rely on BeatifulSoup to parse html data.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1739/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1739/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1740 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1740/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1740/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1740/events | https://github.com/pandas-dev/pandas/issues/1740 | 6,089,377 | MDU6SXNzdWU2MDg5Mzc3 | 1,740 | Multiple file reading performance issues | {
"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.githu... | [
{
"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 issue... | 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",
"f... | 1 | 2012-08-07T21:25:30Z | 2014-05-29T00:31:21Z | 2014-05-29T00:31:21Z | MEMBER | null | from mailing list
```
Hi,
I'm using pandas to read in a set of tab delimited files into DataFrames. Each file has only 3-5 columns and roughly 20,000 rows. The files have a column that I'd like to index by, but some of the entries are duplicates. I find that it takes roughly 5 seconds to read a set of three such file... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1740/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1740/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1741 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1741/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1741/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1741/events | https://github.com/pandas-dev/pandas/issues/1741 | 6,089,468 | MDU6SXNzdWU2MDg5NDY4 | 1,741 | Errors in 0.8.1 when run with Django/uWSGI, but not with Django's dev runserver | {
"avatar_url": "https://avatars.githubusercontent.com/u/1296832?v=4",
"events_url": "https://api.github.com/users/danxshap/events{/privacy}",
"followers_url": "https://api.github.com/users/danxshap/followers",
"following_url": "https://api.github.com/users/danxshap/following{/other_user}",
"gists_url": "http... | [
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 3 | 2012-08-07T21:29:23Z | 2012-09-08T21:11:23Z | 2012-09-08T21:11:23Z | CONTRIBUTOR | null | I'm using pandas in a Django application running on Ubuntu 12.04 and after upgrading from pandas 0.6.1 to 0.8.1 I'm getting some errors that completely prevent the application from running.
If I run Django's development server (manage.py runserver), everything works fine, but if instead I run uWSGI I see the following... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1741/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1741/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1742 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1742/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1742/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1742/events | https://github.com/pandas-dev/pandas/issues/1742 | 6,092,176 | MDU6SXNzdWU2MDkyMTc2 | 1,742 | qcut not working properly with groupby | {
"avatar_url": "https://avatars.githubusercontent.com/u/136696?v=4",
"events_url": "https://api.github.com/users/lirenz/events{/privacy}",
"followers_url": "https://api.github.com/users/lirenz/followers",
"following_url": "https://api.github.com/users/lirenz/following{/other_user}",
"gists_url": "https://api... | [] | closed | false | null | [] | null | 1 | 2012-08-07T23:55:26Z | 2012-08-07T23:57:24Z | 2012-08-07T23:56:42Z | NONE | null | For some reason, the quantile bands aren't what you would expect when using a groupby...
---
print pandas.**version**
0.8.1
frame = DataFrame({'data1': np.random.randn(1000), 'data2': np.random.randn(1000)})
factor = qcut(frame.data1, 4)
frame.data2.groupby(factor)
Out[43]: <pandas.core.groupby.SeriesGroupBy at 0x... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1742/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1742/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1743 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1743/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1743/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1743/events | https://github.com/pandas-dev/pandas/issues/1743 | 6,093,945 | MDU6SXNzdWU2MDkzOTQ1 | 1,743 | Make it easier to specify CSV dialect options | {
"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.githu... | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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/... | 0 | 2012-08-08T02:21:05Z | 2012-11-02T14:16:27Z | 2012-11-02T14:16:27Z | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1743/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1743/timeline | null | null | null | |
https://api.github.com/repos/pandas-dev/pandas/issues/1744 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1744/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1744/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1744/events | https://github.com/pandas-dev/pandas/issues/1744 | 6,099,724 | MDU6SXNzdWU2MDk5NzI0 | 1,744 | Support creating a DataFrame from a list of dictionaries providing an index column | {
"avatar_url": "https://avatars.githubusercontent.com/u/336019?v=4",
"events_url": "https://api.github.com/users/blais/events{/privacy}",
"followers_url": "https://api.github.com/users/blais/followers",
"following_url": "https://api.github.com/users/blais/following{/other_user}",
"gists_url": "https://api.gi... | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | {
"closed_at": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 2 | 2012-08-08T10:30:03Z | 2012-09-18T20:34:13Z | 2012-09-18T20:33:40Z | CONTRIBUTOR | null | Hey Wes,
Here's a use case that I think is not covered by Pandas.
It's a use case for creation of a DataFrame object from a
list of dicts.
I extract "documents" (dicts) from a MongoDB database.
From these dicts, one of the keys is meant to be used as
the index.
While I can do something like
df = DataFrame(docume... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1744/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1744/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1745 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1745/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1745/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1745/events | https://github.com/pandas-dev/pandas/issues/1745 | 6,100,949 | MDU6SXNzdWU2MTAwOTQ5 | 1,745 | Creating a DataFrame from Series with unsorted indeces gives completely bad data | {
"avatar_url": "https://avatars.githubusercontent.com/u/97106?v=4",
"events_url": "https://api.github.com/users/beaumartinez/events{/privacy}",
"followers_url": "https://api.github.com/users/beaumartinez/followers",
"following_url": "https://api.github.com/users/beaumartinez/following{/other_user}",
"gists_u... | [
{
"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 | [] | null | 5 | 2012-08-08T11:55:36Z | 2012-08-10T16:06:24Z | 2012-08-10T15:23:45Z | NONE | null | Creating a DataFrame from Series with unsorted indeces gives completely bad data.
I've [written a module](https://gist.github.com/3294509/e777009080fbcbe3c6c91baeb3a71fbb1a092cdc) that reproduces the bug—unless this is by design. Give it a try.
(I'm running `pandas==0.8.1`, Python 2.7.2, and OS X Mountain Lion.)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1745/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1745/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1746 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1746/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1746/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1746/events | https://github.com/pandas-dev/pandas/issues/1746 | 6,102,100 | MDU6SXNzdWU2MTAyMTAw | 1,746 | Extremely slow repr() on small data frame | {
"avatar_url": "https://avatars.githubusercontent.com/u/609896?v=4",
"events_url": "https://api.github.com/users/njsmith/events{/privacy}",
"followers_url": "https://api.github.com/users/njsmith/followers",
"following_url": "https://api.github.com/users/njsmith/following{/other_user}",
"gists_url": "https://... | [
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
}
] | closed | false | null | [] | {
"closed_at": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 3 | 2012-08-08T13:05:47Z | 2012-09-18T00:22:47Z | 2012-08-09T19:39:21Z | NONE | null | I have a small data frame here (obtained by slicing a much larger data frame with a MultiIndex):
```
In [6]: x.shape
Out[6]: (4, 32)
```
Its repr() looks like this:
```
In [7]: print repr(x)
<class 'pandas.core.frame.DataFrame'>
MultiIndex: 4 entries, ('arquant9.crw', 10, 336640) to ('arquant9.crw', 10, 336652)
Data... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1746/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1746/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1747 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1747/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1747/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1747/events | https://github.com/pandas-dev/pandas/issues/1747 | 6,106,974 | MDU6SXNzdWU2MTA2OTc0 | 1,747 | Stable regression | {
"avatar_url": "https://avatars.githubusercontent.com/u/1001948?v=4",
"events_url": "https://api.github.com/users/sglyon/events{/privacy}",
"followers_url": "https://api.github.com/users/sglyon/followers",
"following_url": "https://api.github.com/users/sglyon/following{/other_user}",
"gists_url": "https://ap... | [] | closed | false | null | [] | null | 1 | 2012-08-08T16:27:15Z | 2012-11-12T06:08:57Z | 2012-11-12T06:08:39Z | CONTRIBUTOR | null | Extend the current OLS class (or create a new one) to perform regression using a more stable method. Some examples are LS_SVD (least squares using singular value decomposition), RLS (regularized least squares ), or RLS_SVD. Those two methods are more reliable when you have ill-conditioned problems.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1747/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1747/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1748 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1748/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1748/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1748/events | https://github.com/pandas-dev/pandas/pull/1748 | 6,119,227 | MDExOlB1bGxSZXF1ZXN0MjAxMjAyMw== | 1,748 | Added options data functionality | {
"avatar_url": "https://avatars.githubusercontent.com/u/1001948?v=4",
"events_url": "https://api.github.com/users/sglyon/events{/privacy}",
"followers_url": "https://api.github.com/users/sglyon/followers",
"following_url": "https://api.github.com/users/sglyon/following{/other_user}",
"gists_url": "https://ap... | [] | closed | false | null | [] | {
"closed_at": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 3 | 2012-08-09T04:06:37Z | 2014-06-16T23:44:42Z | 2012-09-08T22:09:37Z | CONTRIBUTOR | null | Added ability to fetch options data from yahoo! finance. With this there are a few 'helper' methods to get different things out of the data.
Answers issue #1739
Also cleaned up a bit of the /pandas/io/data.py file to comply better with PEP8.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1748/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1748/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/1748.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/1748",
"merged_at": "2012-09-08T22:09:36Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/1748.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/1748"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/1749 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1749/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1749/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1749/events | https://github.com/pandas-dev/pandas/issues/1749 | 6,125,953 | MDU6SXNzdWU2MTI1OTUz | 1,749 | Series __repr__ Exception when series hold DataFrames | {
"avatar_url": "https://avatars.githubusercontent.com/u/1094464?v=4",
"events_url": "https://api.github.com/users/lodagro/events{/privacy}",
"followers_url": "https://api.github.com/users/lodagro/followers",
"following_url": "https://api.github.com/users/lodagro/following{/other_user}",
"gists_url": "https:/... | [
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 0 | 2012-08-09T12:50:40Z | 2012-08-12T22:16:08Z | 2012-08-12T22:16:08Z | CONTRIBUTOR | null | from [stackoverflow](http://stackoverflow.com/questions/11870058/pandas-stacking-dataframes-generated-by-apply)
``` python
In [67]: s = pandas.Series([pandas.DataFrame(np.random.randn(2,2)) for i in range(5)])
In [68]: s
Exception ValueError: ValueError('Cannot call bool() on DataFrame.',) in 'util._checknull' ignore... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1749/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1749/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1750 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1750/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1750/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1750/events | https://github.com/pandas-dev/pandas/issues/1750 | 6,140,363 | MDU6SXNzdWU2MTQwMzYz | 1,750 | Assignment to DataFrame through .ix with non-unique MultiIndex | {
"avatar_url": "https://avatars.githubusercontent.com/u/1827568?v=4",
"events_url": "https://api.github.com/users/manuteleco/events{/privacy}",
"followers_url": "https://api.github.com/users/manuteleco/followers",
"following_url": "https://api.github.com/users/manuteleco/following{/other_user}",
"gists_url":... | [
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 1 | 2012-08-09T23:37:20Z | 2012-08-13T02:45:11Z | 2012-08-13T02:45:01Z | NONE | null | Hi,
I think there might be a bug in the assignment to a DataFrame object through .ix when non-unique MultiIndexes are involved. The next sample code describes this issue:
```
In [1]: from pandas import DataFrame, MultiIndex
In [2]:
In [2]: df = DataFrame([[1, 1, "x", "X"], [1, 1, "y", "Y"], [1, 2, "z", "Z"]],
.... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1750/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1750/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1751 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1751/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1751/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1751/events | https://github.com/pandas-dev/pandas/issues/1751 | 6,147,046 | MDU6SXNzdWU2MTQ3MDQ2 | 1,751 | "adjust" kwarg missing in ewmcorr, ewmstd etc. | {
"avatar_url": "https://avatars.githubusercontent.com/u/797170?v=4",
"events_url": "https://api.github.com/users/mcobzarenco/events{/privacy}",
"followers_url": "https://api.github.com/users/mcobzarenco/followers",
"following_url": "https://api.github.com/users/mcobzarenco/following{/other_user}",
"gists_url... | [
{
"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": "3465A4",
"default": false,
"description": null,
... | closed | false | null | [] | {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "htt... | 2 | 2012-08-10T09:36:25Z | 2014-02-18T18:57:38Z | 2014-02-18T18:57:38Z | NONE | null | In 8.1, the "adjust" argument was added to pandas.moments.ewma, but not to ewmcorr, ewmcov, ewmstd, ewmvar, ewmvol Their doc string says all of them have the option to pass adjust, but that's not the case. It's a trivial change & I'll try to submit a pull request to fix it if I find the time.
discussion
https://grou... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1751/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1751/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1752 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1752/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1752/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1752/events | https://github.com/pandas-dev/pandas/issues/1752 | 6,150,072 | MDU6SXNzdWU2MTUwMDcy | 1,752 | High memory usage for MultiIndexes | {
"avatar_url": "https://avatars.githubusercontent.com/u/609896?v=4",
"events_url": "https://api.github.com/users/njsmith/events{/privacy}",
"followers_url": "https://api.github.com/users/njsmith/followers",
"following_url": "https://api.github.com/users/njsmith/following{/other_user}",
"gists_url": "https://... | [
{
"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": "a10c02",
"default": false,
"description": "Memory o... | 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",
"f... | 17 | 2012-08-10T13:02:46Z | 2014-11-02T18:16:51Z | 2014-11-02T18:16:30Z | NONE | null | This was on the list, but so it doesn't get forgotten: https://groups.google.com/d/msg/pydata/EaPRB4KNeTQ/Y-3kG5gW3xMJ
Summary: storing a large multi-index takes a _lot_ of memory, with current pandas master, once it has been indexed into once. ~200 megabytes for a 1 mega-entry index. (As compared to ~20 megabytes pic... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1752/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1752/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1753 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1753/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1753/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1753/events | https://github.com/pandas-dev/pandas/issues/1753 | 6,154,126 | MDU6SXNzdWU2MTU0MTI2 | 1,753 | Failure when constructing a DataFrame from multiple time series. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1094464?v=4",
"events_url": "https://api.github.com/users/lodagro/events{/privacy}",
"followers_url": "https://api.github.com/users/lodagro/followers",
"following_url": "https://api.github.com/users/lodagro/following{/other_user}",
"gists_url": "https:/... | [
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 1 | 2012-08-10T14:44:18Z | 2012-08-10T15:31:47Z | 2012-08-10T15:31:41Z | CONTRIBUTOR | null | From [stackoverflow](http://stackoverflow.com/questions/11848578/pandas-messing-up-data-frame).
Constructing a DataFrame from multiple time series fails, all values from the resulting frame are NaN (which is not the case in the individual series).
Code to reproduce: http://pastebin.com/WTsCkKrL
I could reproduce it.... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1753/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1753/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1754 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1754/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1754/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1754/events | https://github.com/pandas-dev/pandas/issues/1754 | 6,155,421 | MDU6SXNzdWU2MTU1NDIx | 1,754 | Enable dropping with values other than NA in dropna | {
"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.githu... | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | 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",
"f... | 4 | 2012-08-10T15:39:24Z | 2018-07-06T19:35:13Z | 2018-07-06T19:35:05Z | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1754/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1754/timeline | null | null | null | |
https://api.github.com/repos/pandas-dev/pandas/issues/1755 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1755/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1755/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1755/events | https://github.com/pandas-dev/pandas/issues/1755 | 6,159,276 | MDU6SXNzdWU2MTU5Mjc2 | 1,755 | isnull returns a boolean for array-like inputs | {
"avatar_url": "https://avatars.githubusercontent.com/u/296164?v=4",
"events_url": "https://api.github.com/users/jseabold/events{/privacy}",
"followers_url": "https://api.github.com/users/jseabold/followers",
"following_url": "https://api.github.com/users/jseabold/following{/other_user}",
"gists_url": "https... | [
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 1 | 2012-08-10T18:42:45Z | 2012-08-10T22:10:22Z | 2012-08-10T22:10:21Z | CONTRIBUTOR | null | In numpy
``` python
>>> np.isnan([[False]])
array([[False]], dtype=bool)
```
In pandas
``` python
>>> pandas.isnull([[False]])
False
>>> pandas.isnull([[1],[2]])
False
```
I would expect these to return arrays for array-like input. Is there any reason not to?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1755/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1755/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1756 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1756/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1756/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1756/events | https://github.com/pandas-dev/pandas/issues/1756 | 6,162,186 | MDU6SXNzdWU2MTYyMTg2 | 1,756 | Time zone conversion routines assume monotonic timestamps | {
"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.githu... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
... | closed | false | null | [] | {
"closed_at": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 0 | 2012-08-10T21:08:32Z | 2012-08-10T22:05:19Z | 2012-08-10T22:05:19Z | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1756/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1756/timeline | null | null | null | |
https://api.github.com/repos/pandas-dev/pandas/issues/1757 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1757/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1757/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1757/events | https://github.com/pandas-dev/pandas/issues/1757 | 6,165,207 | MDU6SXNzdWU2MTY1MjA3 | 1,757 | MultiIndexes containing >=1000000 elements do not work | {
"avatar_url": "https://avatars.githubusercontent.com/u/609896?v=4",
"events_url": "https://api.github.com/users/njsmith/events{/privacy}",
"followers_url": "https://api.github.com/users/njsmith/followers",
"following_url": "https://api.github.com/users/njsmith/following{/other_user}",
"gists_url": "https://... | [
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 2 | 2012-08-10T22:23:29Z | 2012-08-13T09:24:39Z | 2012-08-13T03:20:13Z | NONE | null | With current master, any attempt to index into a Series (or whatever) with a MultiIndex and >=1000000 (= _SIZE_CUTOFF) elements simply raises an error:
```
In [5]: n = 1000000 - 1; pandas.Series(np.arange(n), pandas.MultiIndex.from_arrays((["a"] * n, np.arange(n))))[("a", 5)]
Out[5]: 5
In [6]: n = 1000000; pandas.Ser... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1757/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1757/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1758 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1758/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1758/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1758/events | https://github.com/pandas-dev/pandas/issues/1758 | 6,175,928 | MDU6SXNzdWU2MTc1OTI4 | 1,758 | Wrong defaults in the documentation for "merge" | {
"avatar_url": "https://avatars.githubusercontent.com/u/1827568?v=4",
"events_url": "https://api.github.com/users/manuteleco/events{/privacy}",
"followers_url": "https://api.github.com/users/manuteleco/followers",
"following_url": "https://api.github.com/users/manuteleco/following{/other_user}",
"gists_url":... | [
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 1 | 2012-08-12T09:21:02Z | 2012-08-12T22:01:43Z | 2012-08-12T22:01:28Z | NONE | null | Hi,
as of pandas '0.8.2.dev-ee9321f', the merge operation is using False as default value for the optional arguments "left_index" and "right_index". However, its docstring states that the default value for both arguments is True instead.
Thanks and regards.
Manu.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1758/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1758/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1759 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1759/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1759/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1759/events | https://github.com/pandas-dev/pandas/issues/1759 | 6,179,563 | MDU6SXNzdWU2MTc5NTYz | 1,759 | pandas.unique needs to be more careful on index types | {
"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.githu... | [
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 0 | 2012-08-12T20:03:52Z | 2012-09-18T20:22:29Z | 2012-09-18T20:22:29Z | MEMBER | null | e.g.
```
In [2]: mindex = MultiIndex.from_arrays([np.arange(5).repeat(5), np.tile(np.arange(5), 5)])
In [3]: pd.unique(mindex)
Out[3]: array([], 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/1759/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1759/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1760 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1760/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1760/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1760/events | https://github.com/pandas-dev/pandas/issues/1760 | 6,186,204 | MDU6SXNzdWU2MTg2MjA0 | 1,760 | google search returns old documentation | {
"avatar_url": "https://avatars.githubusercontent.com/u/890156?v=4",
"events_url": "https://api.github.com/users/jankatins/events{/privacy}",
"followers_url": "https://api.github.com/users/jankatins/followers",
"following_url": "https://api.github.com/users/jankatins/following{/other_user}",
"gists_url": "ht... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
... | closed | false | null | [] | {
"closed_at": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 5 | 2012-08-13T09:34:02Z | 2012-09-10T09:45:20Z | 2012-09-10T03:27:18Z | CONTRIBUTOR | null | Searching google for "pandas groupby" returns links to the 0.7.0 or older documentation on sourceforge.net in the first few places and only then the pydata links. It would be nice if sourceforge could be cleaned up, so that google returns links to the current docs :-)
Thanks!
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1760/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1760/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1761 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1761/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1761/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1761/events | https://github.com/pandas-dev/pandas/issues/1761 | 6,188,768 | MDU6SXNzdWU2MTg4NzY4 | 1,761 | DataFrame.corr() throws error on simple data | {
"avatar_url": "https://avatars.githubusercontent.com/u/890156?v=4",
"events_url": "https://api.github.com/users/jankatins/events{/privacy}",
"followers_url": "https://api.github.com/users/jankatins/followers",
"following_url": "https://api.github.com/users/jankatins/following{/other_user}",
"gists_url": "ht... | [
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 0 | 2012-08-13T12:19:34Z | 2012-08-13T21:50:47Z | 2012-08-13T21:50:47Z | CONTRIBUTOR | null | ```
df3 = DataFrame({"a":[1,2,3,4], "b":[1,2,3,4]})
df3
a b
0 1 1
1 2 2
2 3 3
3 4 4
df3.corr()
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "C:\portabel\Python27\lib\site-packages\pandas\core\frame.py", line 3867, in corr
correl = lib.nancorr(mat)
File "moments.pyx... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1761/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1761/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1762 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1762/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1762/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1762/events | https://github.com/pandas-dev/pandas/issues/1762 | 6,189,604 | MDU6SXNzdWU2MTg5NjA0 | 1,762 | Slicing on series with integer index behaves positional. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1094464?v=4",
"events_url": "https://api.github.com/users/lodagro/events{/privacy}",
"followers_url": "https://api.github.com/users/lodagro/followers",
"following_url": "https://api.github.com/users/lodagro/following{/other_user}",
"gists_url": "https:/... | [] | closed | false | null | [] | null | 2 | 2012-08-13T13:03:36Z | 2012-08-16T09:24:37Z | 2012-08-16T02:42:33Z | CONTRIBUTOR | null | ``` python
In [12]: s = pandas.Series(range(5), index=[0, 6, 20, 100, 134])
In [13]: s
Out[13]:
0 0
6 1
20 2
100 3
134 4
In [14]: s[1:3]
Out[14]:
6 1
20 2
```
Whereas `s.ix[]` works label based.
``` python
In [15]: s.ix[1:3]
Out[15]: Series([], dtype=int64)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1762/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1762/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1763 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1763/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1763/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1763/events | https://github.com/pandas-dev/pandas/issues/1763 | 6,190,428 | MDU6SXNzdWU2MTkwNDI4 | 1,763 | pandas.DatetimeIndex.isin always returns an array of False | {
"avatar_url": "https://avatars.githubusercontent.com/u/1680079?v=4",
"events_url": "https://api.github.com/users/lesteve/events{/privacy}",
"followers_url": "https://api.github.com/users/lesteve/followers",
"following_url": "https://api.github.com/users/lesteve/following{/other_user}",
"gists_url": "https:/... | [
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 0 | 2012-08-13T13:43:47Z | 2012-08-17T18:37:41Z | 2012-08-17T18:37:41Z | CONTRIBUTOR | null | pandas version: 0.8.2.dev-742d7fb
``` python
import pandas
import pandas.util.testing as put
index = put.makeDateIndex(4)
index.isin(index) # returns array([False, False, False, False], dtype=bool)
```
It works fine with pandas 0.7.3, i.e. it returns an array of True instead. This works fine as well with a pandas.Int... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1763/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1763/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1764 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1764/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1764/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1764/events | https://github.com/pandas-dev/pandas/issues/1764 | 6,214,168 | MDU6SXNzdWU2MjE0MTY4 | 1,764 | How argument ignored in to_timestamp | {
"avatar_url": "https://avatars.githubusercontent.com/u/881019?v=4",
"events_url": "https://api.github.com/users/dhirschfeld/events{/privacy}",
"followers_url": "https://api.github.com/users/dhirschfeld/followers",
"following_url": "https://api.github.com/users/dhirschfeld/following{/other_user}",
"gists_url... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
... | closed | false | null | [] | {
"closed_at": "2012-11-18T18:54:52Z",
"closed_issues": 130,
"created_at": "2012-10-11T19:38:39Z",
"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/... | 1 | 2012-08-14T11:58:32Z | 2016-10-12T23:03:08Z | 2012-11-04T21:21:59Z | CONTRIBUTOR | null | As discussed in https://groups.google.com/group/pydata/browse_thread/thread/180249bd46ed1944 the following fails:
``` python
def test_to_timstamp_how():
months = pd.period_range('01-Aug-2012', periods=1, freq='M')
assert months[0].asfreq('S','S').to_timestamp() == months.to_timestamp(how='start')[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/1764/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1764/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1765 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1765/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1765/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1765/events | https://github.com/pandas-dev/pandas/issues/1765 | 6,214,356 | MDU6SXNzdWU2MjE0MzU2 | 1,765 | Slicing a Panel doesn't work as expected | {
"avatar_url": "https://avatars.githubusercontent.com/u/881019?v=4",
"events_url": "https://api.github.com/users/dhirschfeld/events{/privacy}",
"followers_url": "https://api.github.com/users/dhirschfeld/followers",
"following_url": "https://api.github.com/users/dhirschfeld/following{/other_user}",
"gists_url... | [] | closed | false | null | [] | null | 2 | 2012-08-14T12:09:36Z | 2012-08-16T09:45:05Z | 2012-08-16T09:45:05Z | CONTRIBUTOR | null | As discussed in https://groups.google.com/group/pydata/browse_thread/thread/5135792571f99aa4 the following tests fail:
``` python
p = pd.Panel(randint(0, 100, (4,5,2)),
pd.date_range('01-Jan-2012', periods=4, freq='MS').shift(15,'D'),
pd.date_range('01-Jan-2012', periods=5, freq='MS'))
```
... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1765/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1765/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1766 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1766/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1766/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1766/events | https://github.com/pandas-dev/pandas/issues/1766 | 6,221,424 | MDU6SXNzdWU2MjIxNDI0 | 1,766 | Method for df | {
"avatar_url": "https://avatars.githubusercontent.com/u/1327168?v=4",
"events_url": "https://api.github.com/users/gerigk/events{/privacy}",
"followers_url": "https://api.github.com/users/gerigk/followers",
"following_url": "https://api.github.com/users/gerigk/following{/other_user}",
"gists_url": "https://ap... | [
{
"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": "DDDDDD",
"default": false,
"description": "Long-Ter... | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"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... | 2 | 2012-08-14T17:08:18Z | 2013-10-02T21:05:21Z | 2013-09-21T13:28:37Z | NONE | null | See http://stackoverflow.com/questions/11941492/selecting-rows-from-a-pandas-dataframe-with-a-compound-hierarchical-index
let's say I want to filter a DataFrame such that level[k] only contains the values x, y or z.
A vectorized possibility is:
```
df[np.in1d(df.index.labels[k], match([x, y, z], df.index.levels[k]))]... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1766/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1766/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1767 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1767/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1767/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1767/events | https://github.com/pandas-dev/pandas/pull/1767 | 6,223,578 | MDExOlB1bGxSZXF1ZXN0MjA1NjY5MA== | 1,767 | Update docs | {
"avatar_url": "https://avatars.githubusercontent.com/u/296164?v=4",
"events_url": "https://api.github.com/users/jseabold/events{/privacy}",
"followers_url": "https://api.github.com/users/jseabold/followers",
"following_url": "https://api.github.com/users/jseabold/following{/other_user}",
"gists_url": "https... | [] | closed | false | null | [] | {
"closed_at": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 2 | 2012-08-14T18:36:41Z | 2014-06-30T23:58:04Z | 2012-09-08T22:12:31Z | CONTRIBUTOR | null | Minor docs correction for statsmodels and add statsmodels to intersphinx as per discussion in #1501.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1767/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1767/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/1767.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/1767",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/1767.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/1767"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/1768 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1768/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1768/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1768/events | https://github.com/pandas-dev/pandas/issues/1768 | 6,236,413 | MDU6SXNzdWU2MjM2NDEz | 1,768 | console_encode() fails on unicode when using ipython-notebook | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.git... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "444444",
"default": false,
"description": "Unicode strings",
"i... | closed | false | null | [] | {
"closed_at": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 0 | 2012-08-15T08:58:26Z | 2012-09-08T21:11:58Z | 2012-08-18T21:18:29Z | NONE | null | converted to pull request #1782
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1768/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1768/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1769 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1769/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1769/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1769/events | https://github.com/pandas-dev/pandas/issues/1769 | 6,240,552 | MDU6SXNzdWU2MjQwNTUy | 1,769 | DatetimeIndex constructor is inconsistent | {
"avatar_url": "https://avatars.githubusercontent.com/u/797170?v=4",
"events_url": "https://api.github.com/users/mcobzarenco/events{/privacy}",
"followers_url": "https://api.github.com/users/mcobzarenco/followers",
"following_url": "https://api.github.com/users/mcobzarenco/following{/other_user}",
"gists_url... | [] | closed | false | null | [] | null | 0 | 2012-08-15T13:45:05Z | 2012-08-20T05:40:48Z | 2012-08-20T05:40:48Z | NONE | null | It would be really neat if the DatetimeIndex constructor took an argument "dayfirst" which would force it to interpret a date as DD-MM-YYYY or similar when presented with a sequence of strings.
What it should never do is assume different formats for different strings in the same sequence (the current behaviour):
- If ... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1769/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1769/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1770 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1770/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1770/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1770/events | https://github.com/pandas-dev/pandas/issues/1770 | 6,241,406 | MDU6SXNzdWU2MjQxNDA2 | 1,770 | Resampling sometimes returns an extra bin when closed left | {
"avatar_url": "https://avatars.githubusercontent.com/u/2157033?v=4",
"events_url": "https://api.github.com/users/RutgerK/events{/privacy}",
"followers_url": "https://api.github.com/users/RutgerK/followers",
"following_url": "https://api.github.com/users/RutgerK/following{/other_user}",
"gists_url": "https:/... | [] | closed | false | null | [] | {
"closed_at": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 2 | 2012-08-15T14:25:07Z | 2012-09-07T20:35:45Z | 2012-08-16T09:58:09Z | NONE | null | ```
print pandas.__version__
```
0.8.1
```
dtrange = pandas.date_range(start='1-1-2009', periods=31, freq='D')
raw = pandas.Series(np.arange(len(dtrange)), index=dtrange)
test1 = raw.resample('M', how='count', closed='left', label='left')
test2 = raw.resample('M', how='mean', closed='left', label='left')
print test... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1770/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1770/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1771 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1771/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1771/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1771/events | https://github.com/pandas-dev/pandas/issues/1771 | 6,241,640 | MDU6SXNzdWU2MjQxNjQw | 1,771 | Resampling with custom freq length: "Values falls before first bin" | {
"avatar_url": "https://avatars.githubusercontent.com/u/2157033?v=4",
"events_url": "https://api.github.com/users/RutgerK/events{/privacy}",
"followers_url": "https://api.github.com/users/RutgerK/followers",
"following_url": "https://api.github.com/users/RutgerK/following{/other_user}",
"gists_url": "https:/... | [
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 2 | 2012-08-15T14:35:02Z | 2012-08-16T09:24:04Z | 2012-08-15T19:44:38Z | NONE | null | ```
print pandas.__version__
```
0.8.1
```
dtrange = pandas.date_range(start='1-1-2009', periods=21, freq='D')
raw = pandas.Series(np.arange(len(dtrange)), index=dtrange)
test1 = raw.resample('7D', how='count', closed='right')
print test1
```
2009-01-01 1
2009-01-08 7
2009-01-15 7
2009-01-22 6
```
tes... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1771/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1771/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1772 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1772/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1772/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1772/events | https://github.com/pandas-dev/pandas/issues/1772 | 6,256,204 | MDU6SXNzdWU2MjU2MjA0 | 1,772 | Error with downsampling intraday data where end.time() < start.time() | {
"avatar_url": "https://avatars.githubusercontent.com/u/610115?v=4",
"events_url": "https://api.github.com/users/dalejung/events{/privacy}",
"followers_url": "https://api.github.com/users/dalejung/followers",
"following_url": "https://api.github.com/users/dalejung/following{/other_user}",
"gists_url": "https... | [
{
"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 | {
"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.githu... | [
{
"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": "htt... | {
"closed_at": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 1 | 2012-08-16T03:01:34Z | 2012-09-11T01:13:59Z | 2012-09-11T01:11:58Z | CONTRIBUTOR | null | Simple Example
``` python
import pandas as pd
start = datetime.datetime(1999, 3, 1, 5)
# end hour is less than start
end = datetime.datetime(2012, 7, 31, 4)
bad_ind = pd.date_range(start, end, freq="30min")
df = pd.DataFrame({'close':1}, index=bad_ind)
try:
df.resample('AS', 'sum')
except ValueError as e:
prin... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1772/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1772/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1773 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1773/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1773/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1773/events | https://github.com/pandas-dev/pandas/issues/1773 | 6,263,767 | MDU6SXNzdWU2MjYzNzY3 | 1,773 | DataFrame.drop_duplicates works literally only with list of column names, but fails when used on output of DataFrame.columns | {
"avatar_url": "https://avatars.githubusercontent.com/u/744988?v=4",
"events_url": "https://api.github.com/users/spearsem/events{/privacy}",
"followers_url": "https://api.github.com/users/spearsem/followers",
"following_url": "https://api.github.com/users/spearsem/following{/other_user}",
"gists_url": "https... | [
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 1 | 2012-08-16T13:00:45Z | 2013-12-04T00:57:58Z | 2012-09-04T20:28:13Z | NONE | null | `DataFrame.drop_duplicates()` does not properly handle array objects returned by `DataFrame.columns` (whether or not you use `DataFrame.columns.values` to get a NumPy array). If you compute
```
list(DataFrame.columns.values)
```
then it works, but this is needless overkill, especially when dealing with a large numbe... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1773/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1773/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1774 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1774/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1774/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1774/events | https://github.com/pandas-dev/pandas/issues/1774 | 6,285,287 | MDU6SXNzdWU2Mjg1Mjg3 | 1,774 | Error when using py2exe & pandas 0.8.1 | {
"avatar_url": "https://avatars.githubusercontent.com/u/2167945?v=4",
"events_url": "https://api.github.com/users/elypma/events{/privacy}",
"followers_url": "https://api.github.com/users/elypma/followers",
"following_url": "https://api.github.com/users/elypma/following{/other_user}",
"gists_url": "https://ap... | [
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 1 | 2012-08-17T09:15:45Z | 2012-09-09T02:55:31Z | 2012-09-09T02:55:31Z | NONE | null | When compiling pandas 2 errors prevent the compiled installer from running:
In pandas.core.format (line 155) an unitintialised doc string is used:
**doc** += docstring_to_string
Easy solution:
if **doc**:
**doc** += docstring_to_string
else:
**doc** = docstring_to_string
In pandas.utils.decorators.py line ... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1774/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1774/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1775 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1775/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1775/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1775/events | https://github.com/pandas-dev/pandas/issues/1775 | 6,293,191 | MDU6SXNzdWU2MjkzMTkx | 1,775 | date_range returning wrong dates and times | {
"avatar_url": "https://avatars.githubusercontent.com/u/297142?v=4",
"events_url": "https://api.github.com/users/timcera/events{/privacy}",
"followers_url": "https://api.github.com/users/timcera/followers",
"following_url": "https://api.github.com/users/timcera/following{/other_user}",
"gists_url": "https://... | [] | closed | false | null | [] | null | 2 | 2012-08-17T16:20:17Z | 2012-08-17T17:08:10Z | 2012-08-17T16:31:56Z | CONTRIBUTOR | null | Wanting to convert my scripts from scikits.timeseries to pandas. Started out just exploring how pandas does stuff and stumbled on this problem.
In [163]: rng = date_range('01/01/2011', periods=72, freq='H')
In [164]: rng[:5]
Out[164]:
<class 'pandas.tseries.index.DatetimeIndex'>
[2051-05-17 05:40:40.331386880, ...,... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1775/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1775/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1776 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1776/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1776/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1776/events | https://github.com/pandas-dev/pandas/issues/1776 | 6,294,058 | MDU6SXNzdWU2Mjk0MDU4 | 1,776 | Suggest using ISO 8601 for display of Period and PeriodIndex | {
"avatar_url": "https://avatars.githubusercontent.com/u/297142?v=4",
"events_url": "https://api.github.com/users/timcera/events{/privacy}",
"followers_url": "https://api.github.com/users/timcera/followers",
"following_url": "https://api.github.com/users/timcera/following{/other_user}",
"gists_url": "https://... | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | {
"closed_at": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 1 | 2012-08-17T17:05:32Z | 2012-09-09T03:25:23Z | 2012-09-09T03:25:23Z | CONTRIBUTOR | null | As of pandas 0.8.1, the Period and PeriodIndex display uses the English abbreviations for the month. Suggest that ISO 8601, would be a better choice.
Annual Period is fine...
> z =PeriodIndex([Period('2012'), Period('2013')])
>
> z
> Out[182]:
> <class 'pandas.tseries.period.PeriodIndex'>
> freq: A-DEC
> [2012, ..... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1776/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1776/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1777 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1777/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1777/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1777/events | https://github.com/pandas-dev/pandas/issues/1777 | 6,294,721 | MDU6SXNzdWU2Mjk0NzIx | 1,777 | DatetimeIndex from timezone-aware datetimes fails | {
"avatar_url": "https://avatars.githubusercontent.com/u/1173125?v=4",
"events_url": "https://api.github.com/users/ijmcf/events{/privacy}",
"followers_url": "https://api.github.com/users/ijmcf/followers",
"following_url": "https://api.github.com/users/ijmcf/following{/other_user}",
"gists_url": "https://api.g... | [
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 3 | 2012-08-17T17:39:32Z | 2012-08-18T01:57:02Z | 2012-08-18T01:56:03Z | NONE | null | If you try to create a DatetimeIndex from a list of timezone aware datetimes, you get the exception: "Tz-aware datetime.datetime cannot be converted to datetime64 unless utc=True"
For example:
> > > import pandas, datetime, pytz
> > > d = [datetime.datetime(2012, 8, 19, tzinfo=pytz.timezone('US/Eastern'))]
> > > pand... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1777/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1777/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1778 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1778/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1778/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1778/events | https://github.com/pandas-dev/pandas/issues/1778 | 6,294,762 | MDU6SXNzdWU2Mjk0NzYy | 1,778 | In a DatetimeIndex using a non-static timezone over a time range that crosses the DST line, the time shifts around | {
"avatar_url": "https://avatars.githubusercontent.com/u/1173125?v=4",
"events_url": "https://api.github.com/users/ijmcf/events{/privacy}",
"followers_url": "https://api.github.com/users/ijmcf/followers",
"following_url": "https://api.github.com/users/ijmcf/following{/other_user}",
"gists_url": "https://api.g... | [
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 5 | 2012-08-17T17:41:15Z | 2012-09-04T01:36:38Z | 2012-09-04T01:36:38Z | NONE | null | For example:
> > > dr = pandas.date_range('03/06/2012 00:00', periods=25, freq='W-FRI', tz='US/Eastern')
> > > print dr
> > > <class 'pandas.tseries.index.DatetimeIndex'>
> > > [2012-03-09 00:00:00, ..., 2012-08-24 01:00:00]
> > > Length: 25, Freq: W-FRI, Timezone: US/Eastern
This is midnight at the start, but 1am at... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1778/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1778/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1779 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1779/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1779/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1779/events | https://github.com/pandas-dev/pandas/issues/1779 | 6,294,796 | MDU6SXNzdWU2Mjk0Nzk2 | 1,779 | DatetimeIndex.values gives bad output | {
"avatar_url": "https://avatars.githubusercontent.com/u/1173125?v=4",
"events_url": "https://api.github.com/users/ijmcf/events{/privacy}",
"followers_url": "https://api.github.com/users/ijmcf/followers",
"following_url": "https://api.github.com/users/ijmcf/following{/other_user}",
"gists_url": "https://api.g... | [] | closed | false | null | [] | null | 1 | 2012-08-17T17:43:02Z | 2012-08-17T17:43:57Z | 2012-08-17T17:43:57Z | NONE | null | For example:
> > > dr = pandas.date_range('03/06/2012 00:00', periods=25, freq='W-FRI', tz='US/Eastern')
> > > dr.values
> > > array([1970-01-16 67:00:00, 1970-01-16 234:00:00, 1970-01-16 145:00:00,
> > > 1970-01-16 63:00:00, 1970-01-16 229:00:00, 1970-01-16 142:00:00,
> > > 1970-01-16 57:00:00, 1970-01-... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1779/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1779/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1780 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1780/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1780/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1780/events | https://github.com/pandas-dev/pandas/issues/1780 | 6,305,523 | MDU6SXNzdWU2MzA1NTIz | 1,780 | rolling_corr() doesn't handle nan well | {
"avatar_url": "https://avatars.githubusercontent.com/u/1173125?v=4",
"events_url": "https://api.github.com/users/ijmcf/events{/privacy}",
"followers_url": "https://api.github.com/users/ijmcf/followers",
"following_url": "https://api.github.com/users/ijmcf/following{/other_user}",
"gists_url": "https://api.g... | [] | closed | false | null | [] | null | 1 | 2012-08-18T14:00:08Z | 2012-08-18T15:54:24Z | 2012-08-18T15:54:24Z | NONE | null | rolling_corr() produces a nan result for any window in which either input has a nan value. There is no dropna (or similar) parameter to rolling_corr() to alter this behavior. Contrast with corr(), which dops nans by default. Obviously the user could dropna() on the inputs before invoking rolling_corr(), but it would 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/1780/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1780/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1781 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1781/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1781/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1781/events | https://github.com/pandas-dev/pandas/issues/1781 | 6,308,037 | MDU6SXNzdWU2MzA4MDM3 | 1,781 | typo in the IO documentation | {
"avatar_url": "https://avatars.githubusercontent.com/u/1260667?v=4",
"events_url": "https://api.github.com/users/zachcp/events{/privacy}",
"followers_url": "https://api.github.com/users/zachcp/followers",
"following_url": "https://api.github.com/users/zachcp/following{/other_user}",
"gists_url": "https://ap... | [] | closed | false | null | [] | null | 1 | 2012-08-18T21:08:05Z | 2012-08-18T23:43:55Z | 2012-08-18T23:43:55Z | CONTRIBUTOR | null | see [stackoverflow ](http://stackoverflow.com/questions/12021730/can-pandas-handle-variable-length-whitespace-as-column-delimeters/12022047#12022047) for more.
The [read_table documentation for white space](http://pandas.pydata.org/pandas-docs/dev/io.html#csv-text-files) should have a backslash in it.
wrong way:
da... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1781/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1781/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1782 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1782/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1782/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1782/events | https://github.com/pandas-dev/pandas/pull/1782 | 6,308,082 | MDExOlB1bGxSZXF1ZXN0MjA5NTg3MQ== | 1,782 | console_encode() fails on unicode when using ipython-notebook | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.git... | [] | closed | false | null | [] | {
"closed_at": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 6 | 2012-08-18T21:14:54Z | 2014-06-13T02:46:28Z | 2012-09-09T01:15:28Z | NONE | null | When running in ipnb (linux) I get:
> > > pandas.common.console_encode(u"\u05d0")
> > > '?'
I traced this back to sys.stdin.encoding being set to None rather then 'utf-8' like in the shell.
Attached is a fix for your consideration. the test is just a stub since mocking is required
to reproduce the bug when testing i... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1782/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1782/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/1782.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/1782",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/1782.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/1782"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/1783 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1783/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1783/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1783/events | https://github.com/pandas-dev/pandas/issues/1783 | 6,310,014 | MDU6SXNzdWU2MzEwMDE0 | 1,783 | Default empty DataFrame to dtype=object | {
"avatar_url": "https://avatars.githubusercontent.com/u/610115?v=4",
"events_url": "https://api.github.com/users/dalejung/events{/privacy}",
"followers_url": "https://api.github.com/users/dalejung/followers",
"following_url": "https://api.github.com/users/dalejung/following{/other_user}",
"gists_url": "https... | [
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 3 | 2012-08-19T04:16:28Z | 2012-09-18T17:25:12Z | 2012-09-18T17:21:48Z | CONTRIBUTOR | null | I ran into the following :
``` python
import pandas as pd
data = {}
columns = ['symbol', 'price']
df = pd.DataFrame(data, columns=columns)
df.symbol == 'AAPL'
# TypeError: Could not compare <type 'str'> type with Series
```
The problem being that an empty dataframe's dtype defaults to float. I've adjusted for it by... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1783/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1783/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1784 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1784/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1784/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1784/events | https://github.com/pandas-dev/pandas/pull/1784 | 6,313,701 | MDExOlB1bGxSZXF1ZXN0MjA5NzUzMA== | 1,784 | Str contains na | {
"avatar_url": "https://avatars.githubusercontent.com/u/759245?v=4",
"events_url": "https://api.github.com/users/changhiskhan/events{/privacy}",
"followers_url": "https://api.github.com/users/changhiskhan/followers",
"following_url": "https://api.github.com/users/changhiskhan/following{/other_user}",
"gists_... | [] | closed | false | null | [] | {
"closed_at": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 2 | 2012-08-19T17:32:42Z | 2014-07-16T09:23:17Z | 2012-09-09T00:41:37Z | 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/1784/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1784/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/1784.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/1784",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/1784.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/1784"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/1785 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1785/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1785/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1785/events | https://github.com/pandas-dev/pandas/pull/1785 | 6,316,354 | MDExOlB1bGxSZXF1ZXN0MjA5ODI4MQ== | 1,785 | Add expanding moment functions and related tests. | {
"avatar_url": "https://avatars.githubusercontent.com/u/440095?v=4",
"events_url": "https://api.github.com/users/qwhelan/events{/privacy}",
"followers_url": "https://api.github.com/users/qwhelan/followers",
"following_url": "https://api.github.com/users/qwhelan/following{/other_user}",
"gists_url": "https://... | [] | closed | false | null | [] | {
"closed_at": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 1 | 2012-08-20T00:03:45Z | 2014-06-26T16:50:28Z | 2012-09-08T21:06:53Z | CONTRIBUTOR | null | Implement `expanding_` analogues to the `rolling_` moment functions available in `pandas/stats/moments.py` by calling the `rolling_` function with `window=len(arg)` and `min_periods` defaulting to the minimum number of data points to compute the statistic (`1` for most, `4` for kurtosis, etc.). Resolves Issue #849.
Th... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1785/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1785/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/1785.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/1785",
"merged_at": "2012-09-08T21:06:53Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/1785.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/1785"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/1786 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1786/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1786/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1786/events | https://github.com/pandas-dev/pandas/issues/1786 | 6,317,707 | MDU6SXNzdWU2MzE3NzA3 | 1,786 | inconsistency in text handling of pandas read_table() function | {
"avatar_url": "https://avatars.githubusercontent.com/u/1260667?v=4",
"events_url": "https://api.github.com/users/zachcp/events{/privacy}",
"followers_url": "https://api.github.com/users/zachcp/followers",
"following_url": "https://api.github.com/users/zachcp/following{/other_user}",
"gists_url": "https://ap... | [
{
"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... | closed | false | null | [] | {
"closed_at": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 2 | 2012-08-20T03:34:54Z | 2016-10-12T23:03:09Z | 2012-09-18T20:13:17Z | CONTRIBUTOR | null | I've been trying to get around an inconsistency in how pandas read_table() function handles two very similar tables. A few people have given some suggestions about how to handle this problem on [StackOverflow](http://stackoverflow.com/questions/12031532/possible-inconsistency-in-text-handling-of-pandas-read-table-funct... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1786/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1786/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1787 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1787/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1787/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1787/events | https://github.com/pandas-dev/pandas/issues/1787 | 6,319,588 | MDU6SXNzdWU2MzE5NTg4 | 1,787 | import error with pyinstaller, related to pythoncom; pywin32 | {
"avatar_url": "https://avatars.githubusercontent.com/u/2181718?v=4",
"events_url": "https://api.github.com/users/mayankpj/events{/privacy}",
"followers_url": "https://api.github.com/users/mayankpj/followers",
"following_url": "https://api.github.com/users/mayankpj/following{/other_user}",
"gists_url": "http... | [
{
"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": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"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... | 2 | 2012-08-20T07:20:01Z | 2014-07-24T12:52:30Z | 2013-09-21T13:39:39Z | NONE | null | I am using pywin32 217, python 2.7.2 and pandas developer version:
My script contains only one line:
import pandas as pd
When I run the compiled executable created using pyinstaller in debug mode, i get the following error:
_MEIPASS2 is NULL
archivename is C:\pyinstaller-devel\TestImport\dist\TestImport\TestImport.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/1787/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1787/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1788 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1788/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1788/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1788/events | https://github.com/pandas-dev/pandas/issues/1788 | 6,326,693 | MDU6SXNzdWU2MzI2Njkz | 1,788 | pct_change() fails on series holding int64 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1094464?v=4",
"events_url": "https://api.github.com/users/lodagro/events{/privacy}",
"followers_url": "https://api.github.com/users/lodagro/followers",
"following_url": "https://api.github.com/users/lodagro/following{/other_user}",
"gists_url": "https:/... | [
{
"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 | [] | null | 0 | 2012-08-20T14:31:12Z | 2012-08-22T18:38:29Z | 2012-08-22T18:38:29Z | CONTRIBUTOR | null | ``` python
In [132]: df
Out[132]:
A B
a 10 8
b 12 16
c 12 24
In [133]: df.dtypes
Out[133]:
A int64
B int64
In [134]: df.pct_change()
Out[134]:
A B
a NaN NaN
b 0.2 1.0
c 0.0 0.5
In [135]: df['A'].pct_change()
-------------------------------------------------------------------------... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1788/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1788/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1789 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1789/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1789/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1789/events | https://github.com/pandas-dev/pandas/issues/1789 | 6,329,122 | MDU6SXNzdWU2MzI5MTIy | 1,789 | infer_freq end assumption | {
"avatar_url": "https://avatars.githubusercontent.com/u/296164?v=4",
"events_url": "https://api.github.com/users/jseabold/events{/privacy}",
"followers_url": "https://api.github.com/users/jseabold/followers",
"following_url": "https://api.github.com/users/jseabold/following{/other_user}",
"gists_url": "https... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
... | closed | false | null | [] | {
"closed_at": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 1 | 2012-08-20T16:04:24Z | 2013-12-04T00:43:04Z | 2012-09-10T18:40:25Z | CONTRIBUTOR | null | I'm not sure whether this is something that should be fixed/changed or not, but right now infer_freq takes the first value in a DatetimeIndex and uses that to impose end of period assumptions. E.g., if I have
```
dates = sm.tsa.datetools.dates_from_range('1959Q2', '2009Q3')
pandas.Index(dates).inferred_freq
```
I ge... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1789/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1789/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1790 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1790/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1790/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1790/events | https://github.com/pandas-dev/pandas/issues/1790 | 6,331,816 | MDU6SXNzdWU2MzMxODE2 | 1,790 | Creating DatetimeIndex from timezone-aware datetimes shifts the times | {
"avatar_url": "https://avatars.githubusercontent.com/u/1173125?v=4",
"events_url": "https://api.github.com/users/ijmcf/events{/privacy}",
"followers_url": "https://api.github.com/users/ijmcf/followers",
"following_url": "https://api.github.com/users/ijmcf/following{/other_user}",
"gists_url": "https://api.g... | [
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 0 | 2012-08-20T18:06:19Z | 2012-09-04T01:45:05Z | 2012-09-04T01:45:05Z | NONE | null | Creating a DatetimeIndex from a list of timezone-aware datetimes shift the times according to the offset of the timezone.
Using an easy way to get a list of datetimes by creating a DatetimeIndex and casting it to a list:
dr = pandas.date_range('2012-06-02', periods=10, tz=pytz.timezone('US/Eastern'))
<class 'pandas.t... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1790/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1790/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1791 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1791/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1791/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1791/events | https://github.com/pandas-dev/pandas/issues/1791 | 6,332,063 | MDU6SXNzdWU2MzMyMDYz | 1,791 | lib.isnullobj fails on list of strings input | {
"avatar_url": "https://avatars.githubusercontent.com/u/296164?v=4",
"events_url": "https://api.github.com/users/jseabold/events{/privacy}",
"followers_url": "https://api.github.com/users/jseabold/followers",
"following_url": "https://api.github.com/users/jseabold/following{/other_user}",
"gists_url": "https... | [
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 0 | 2012-08-20T18:17:04Z | 2012-09-09T17:16:52Z | 2012-09-09T17:16:52Z | CONTRIBUTOR | null | Was playing around with the new string functions and noticed this. Don't really know if it's a bug or expected
```
np.version.full_version
#'1.6.1'
df = pandas.DataFrame(['jack and jill','jesse and frank'])
split_df = df[0].str.split(r'\s+and\s+')
split_df.to_csv('t... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1791/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1791/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1792 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1792/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1792/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1792/events | https://github.com/pandas-dev/pandas/pull/1792 | 6,332,780 | MDExOlB1bGxSZXF1ZXN0MjEwNTU4Nw== | 1,792 | Handle NoneType docstrings to support the -OO interpreter option | {
"avatar_url": "https://avatars.githubusercontent.com/u/1296832?v=4",
"events_url": "https://api.github.com/users/danxshap/events{/privacy}",
"followers_url": "https://api.github.com/users/danxshap/followers",
"following_url": "https://api.github.com/users/danxshap/following{/other_user}",
"gists_url": "http... | [] | closed | false | null | [] | {
"closed_at": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 1 | 2012-08-20T18:50:10Z | 2014-06-18T22:10:25Z | 2012-09-08T21:10:54Z | CONTRIBUTOR | null | This fixes the issue I described in #1741.
When running uWSGI with the `--optimize` option set to `2`, it passes the `-OO` option to the interpreter and then there are no docstrings and pandas errors out during import.
I also noticed there was a note about this [here](https://github.com/pydata/pandas/blob/master/pand... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1792/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1792/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/1792.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/1792",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/1792.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/1792"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/1793 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1793/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1793/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1793/events | https://github.com/pandas-dev/pandas/issues/1793 | 6,337,803 | MDU6SXNzdWU2MzM3ODAz | 1,793 | Typo | {
"avatar_url": "https://avatars.githubusercontent.com/u/1891756?v=4",
"events_url": "https://api.github.com/users/ludaavics/events{/privacy}",
"followers_url": "https://api.github.com/users/ludaavics/followers",
"following_url": "https://api.github.com/users/ludaavics/following{/other_user}",
"gists_url": "h... | [] | closed | false | null | [] | null | 0 | 2012-08-20T22:21:21Z | 2012-08-21T09:13:17Z | 2012-08-21T09:13:17Z | NONE | null | http://pandas.pydata.org/pandas-docs/dev/timeseries.html#time-span-representation
```
In [1162]: Period('2012', freq='A-DEC') - Period(2002', freq='A-DEC')
File "<ipython-input-1162-41a08553f136>", line 1
Period('2012', freq='A-DEC') - Period(2002', freq='A-DEC')
... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1793/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1793/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1794 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1794/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1794/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1794/events | https://github.com/pandas-dev/pandas/issues/1794 | 6,340,509 | MDU6SXNzdWU2MzQwNTA5 | 1,794 | DataFrame.from_records should have an optional "size" parameter | {
"avatar_url": "https://avatars.githubusercontent.com/u/87697?v=4",
"events_url": "https://api.github.com/users/tebeka/events{/privacy}",
"followers_url": "https://api.github.com/users/tebeka/followers",
"following_url": "https://api.github.com/users/tebeka/following{/other_user}",
"gists_url": "https://api.... | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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/... | 2 | 2012-08-21T01:30:35Z | 2013-12-28T19:03:30Z | 2012-11-20T19:29:33Z | NONE | null | Currently, `data` should have a `__len__` method. However in some cases I'd like to pass a iterator with a known size (mostly in the case of database, where I can run the `SELECT SUM(...) FROM table`, for the size. Then `SELECT * FROM table` and pass the cursor as `data`.
Currently I need to create in memory copy of t... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1794/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1794/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1795 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1795/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1795/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1795/events | https://github.com/pandas-dev/pandas/issues/1795 | 6,351,288 | MDU6SXNzdWU2MzUxMjg4 | 1,795 | create DataFrame with time differences | {
"avatar_url": "https://avatars.githubusercontent.com/u/2189996?v=4",
"events_url": "https://api.github.com/users/vadella/events{/privacy}",
"followers_url": "https://api.github.com/users/vadella/followers",
"following_url": "https://api.github.com/users/vadella/following{/other_user}",
"gists_url": "https:/... | [
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 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",
"f... | 1 | 2012-08-21T14:14:07Z | 2014-05-29T04:13:49Z | 2014-05-29T04:13:49Z | NONE | null | For my scientific experiments I have a lot of data which are time-related. The absolute date here is irrelevant, what matters is the time since the start of the test. I also get results from different devices, with different sampling intervals and have to combine those.
Now I do this by setting all experiments on a st... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1795/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1795/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1796 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1796/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1796/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1796/events | https://github.com/pandas-dev/pandas/issues/1796 | 6,361,410 | MDU6SXNzdWU2MzYxNDEw | 1,796 | df.xs() level argument behavior changed. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1094464?v=4",
"events_url": "https://api.github.com/users/lodagro/events{/privacy}",
"followers_url": "https://api.github.com/users/lodagro/followers",
"following_url": "https://api.github.com/users/lodagro/following{/other_user}",
"gists_url": "https:/... | [
{
"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 | {
"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.githu... | [
{
"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": "htt... | {
"closed_at": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 1 | 2012-08-21T20:21:47Z | 2012-09-18T21:30:14Z | 2012-09-18T21:29:51Z | CONTRIBUTOR | null | When using xs in combination with a MultiIndex, before it was not needed to specify the _level_ argument if _key_ started from level 0 and referred to consecutive levels (see also the examples described in #1684), now this no longer works and _level_ needs to be defined in case _key_ is a list.
``` python
In [74]: df
... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1796/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1796/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1797 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1797/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1797/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1797/events | https://github.com/pandas-dev/pandas/pull/1797 | 6,365,516 | MDExOlB1bGxSZXF1ZXN0MjEyMDg2OA== | 1,797 | Inplace in more places | {
"avatar_url": "https://avatars.githubusercontent.com/u/118211?v=4",
"events_url": "https://api.github.com/users/ivanov/events{/privacy}",
"followers_url": "https://api.github.com/users/ivanov/followers",
"following_url": "https://api.github.com/users/ivanov/following{/other_user}",
"gists_url": "https://api... | [] | closed | false | null | [] | {
"closed_at": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 1 | 2012-08-21T23:10:30Z | 2014-06-20T12:13:03Z | 2012-09-08T21:02:06Z | CONTRIBUTOR | null | I found it confusing that you can set_index(inplace=True), but not reset_index(inplace=True), so I went ahead and added this capability for both 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/1797/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1797/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/1797.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/1797",
"merged_at": "2012-09-08T21:02:06Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/1797.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/1797"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/1798 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1798/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1798/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1798/events | https://github.com/pandas-dev/pandas/issues/1798 | 6,372,582 | MDU6SXNzdWU2MzcyNTgy | 1,798 | Unexpected result when calculating standard deviation and variance | {
"avatar_url": "https://avatars.githubusercontent.com/u/1150402?v=4",
"events_url": "https://api.github.com/users/kdebrab/events{/privacy}",
"followers_url": "https://api.github.com/users/kdebrab/followers",
"following_url": "https://api.github.com/users/kdebrab/following{/other_user}",
"gists_url": "https:/... | [
{
"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": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 5 | 2012-08-22T09:09:49Z | 2012-09-26T23:10:51Z | 2012-09-26T23:10:51Z | CONTRIBUTOR | null | Pandas 0.8.1:
```
import pandas as pd
a=pd.Series([0, 1, 3, 6])
a.mean(), a.std(), a.var()
a.values.mean(), a.values.std(), a.values.var()
```
I would expect both last lines to return the same result. However, the former returned:
```
(2.5, 2.6457513110645907, 7.0)
```
and the latter:
```
(2.5, 2.2912878474779199,... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1798/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1798/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1799 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1799/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1799/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1799/events | https://github.com/pandas-dev/pandas/issues/1799 | 6,375,476 | MDU6SXNzdWU2Mzc1NDc2 | 1,799 | .ix() failure for mixed-integer index | {
"avatar_url": "https://avatars.githubusercontent.com/u/1094464?v=4",
"events_url": "https://api.github.com/users/lodagro/events{/privacy}",
"followers_url": "https://api.github.com/users/lodagro/followers",
"following_url": "https://api.github.com/users/lodagro/following{/other_user}",
"gists_url": "https:/... | [
{
"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 s... | closed | false | {
"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.githu... | [
{
"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": "htt... | {
"closed_at": "2012-10-06T19:22:59Z",
"closed_issues": 223,
"created_at": "2012-07-23T19:17:56Z",
"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/... | 3 | 2012-08-22T12:11:18Z | 2012-09-11T02:40:30Z | 2012-09-11T02:40:30Z | CONTRIBUTOR | null | from [mailinglist](https://groups.google.com/forum/?fromgroups=#!topic/pystatsmodels/6n0wj9iLKTI)
cc @ruidc
```
With the following DataFrame:
df = pandas.DataFrame(index=[1, 10, 'C', 'E'], columns=[1, 2, 3])
df.ix[df.index[:-1]] works
df.ix[:-1] doesn't
df.ix[[1, 10]] does not work
df.ix[pandas.Index([1, 10], dtyp... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1799/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1799/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/1800 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1800/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1800/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1800/events | https://github.com/pandas-dev/pandas/issues/1800 | 6,375,548 | MDU6SXNzdWU2Mzc1NTQ4 | 1,800 | plot() fails with a combined bar and line graph | {
"avatar_url": "https://avatars.githubusercontent.com/u/2196196?v=4",
"events_url": "https://api.github.com/users/ohadle/events{/privacy}",
"followers_url": "https://api.github.com/users/ohadle/followers",
"following_url": "https://api.github.com/users/ohadle/following{/other_user}",
"gists_url": "https://ap... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
... | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"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... | 5 | 2012-08-22T12:16:11Z | 2016-10-12T23:03:09Z | 2013-09-21T13:36:28Z | NONE | null | When I plot one column of a df as a bar, run twinx(), and plot another as a line, I get the following error:
(using pandas 0.7.0 and numpy 1.5.1)
In [94]: Traceback (most recent call last):
File "/intucell/IntuRMS/intustall/deps/osx/lib/python2.7/site-packages/matplotlib/artist.py", line 55, in draw_wrapper
draw... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1800/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1800/timeline | null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.