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/15908
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15908/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15908/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15908/events
|
https://github.com/pandas-dev/pandas/issues/15908
| 219,678,671 |
MDU6SXNzdWUyMTk2Nzg2NzE=
| 15,908 |
Class label colours with parallel coordinates
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1548135?v=4",
"events_url": "https://api.github.com/users/stangirala/events{/privacy}",
"followers_url": "https://api.github.com/users/stangirala/followers",
"following_url": "https://api.github.com/users/stangirala/following{/other_user}",
"gists_url": "https://api.github.com/users/stangirala/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/stangirala",
"id": 1548135,
"login": "stangirala",
"node_id": "MDQ6VXNlcjE1NDgxMzU=",
"organizations_url": "https://api.github.com/users/stangirala/orgs",
"received_events_url": "https://api.github.com/users/stangirala/received_events",
"repos_url": "https://api.github.com/users/stangirala/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/stangirala/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/stangirala/subscriptions",
"type": "User",
"url": "https://api.github.com/users/stangirala"
}
|
[
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 0 | 2017-04-05T18:45:33Z | 2017-04-14T13:30:24Z | 2017-04-14T13:30:24Z |
CONTRIBUTOR
| null |
#### Problem description
The parallel coordinates function seems to currently assume that the class labels don't have an inherent ordering. I'd like to provide a sort option or a class-to-colour mapping to capture this. My specific use case is situations where the label are quantized buckets and a smooth colour change between buckets make the final plot easy to visualize.
The current function zips the available classes and the colour_values without any sorting.
I've identified where in the current '_parallel_coordinates' function a change should be made and would like to work on this.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 3.4.2.final.0
python-bits: 64
OS: Linux
OS-release: 3.2.45-0.6.wd.865.49.315.metal1.x86_64
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
LOCALE: en_US.UTF-8
pandas: 0.19.2
nose: None
pip: 9.0.1
setuptools: 34.3.2
Cython: None
numpy: 1.12.1
scipy: 0.19.0
statsmodels: None
xarray: None
IPython: 5.3.0
sphinx: None
patsy: None
dateutil: 2.6.0
pytz: 2016.10
blosc: None
bottleneck: None
tables: None
numexpr: None
matplotlib: 2.0.0
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: 0.999999999
httplib2: None
apiclient: None
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: 2.9.5
boto: None
pandas_datareader: None
</details>
|
{
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15908/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15908/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15909
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15909/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15909/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15909/events
|
https://github.com/pandas-dev/pandas/pull/15909
| 219,693,975 |
MDExOlB1bGxSZXF1ZXN0MTE0NDU3MzA4
| 15,909 |
DEPR: correct locations to access public json/parser objects in depr message
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 12 | 2017-04-05T19:44:53Z | 2017-04-09T08:50:21Z | 2017-04-07T19:04:32Z |
MEMBER
| null |
Another one remaining is `pd.parser.na_values`
```
In [2]: pd.parser.na_values
/home/joris/miniconda3/envs/dev/bin/ipython:1: FutureWarning: pandas.parser.na_values is deprecated.
Please use pandas.io.libparsers.na_values instead.
#!/home/joris/miniconda3/envs/dev/bin/python
Out[2]:
{numpy.bool_: 255,
dtype('bool'): 255,
numpy.uint64: 18446744073709551615,
numpy.int64: -9223372036854775808,
dtype('int16'): -32768,
dtype('uint64'): 18446744073709551615,
numpy.int8: -128,
dtype('int32'): -2147483648,
numpy.uint8: 255,
dtype('int8'): -128,
numpy.object_: nan,
numpy.float64: nan,
numpy.uint32: 4294967295,
dtype('O'): nan,
numpy.int32: -2147483648,
dtype('uint32'): 4294967295,
dtype('uint16'): 65535,
dtype('uint8'): 255,
dtype('int64'): -9223372036854775808,
dtype('float64'): nan,
numpy.uint16: 65535,
numpy.int16: -32768}
```
I don't think we should refer to `libparsers`, but for now it is not imported in `pandas.io.parsers` as alternative. I could add it there, but the question is maybe whether this is actually useful for users? Maybe we should say that it will be removed without giving alternative?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15909/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15909/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15909.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15909",
"merged_at": "2017-04-07T19:04:32Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15909.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15909"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15910
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15910/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15910/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15910/events
|
https://github.com/pandas-dev/pandas/issues/15910
| 219,700,158 |
MDU6SXNzdWUyMTk3MDAxNTg=
| 15,910 |
BUG: read_csv skipfooter fails with invalid quoted line
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1924092?v=4",
"events_url": "https://api.github.com/users/chris-b1/events{/privacy}",
"followers_url": "https://api.github.com/users/chris-b1/followers",
"following_url": "https://api.github.com/users/chris-b1/following{/other_user}",
"gists_url": "https://api.github.com/users/chris-b1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/chris-b1",
"id": 1924092,
"login": "chris-b1",
"node_id": "MDQ6VXNlcjE5MjQwOTI=",
"organizations_url": "https://api.github.com/users/chris-b1/orgs",
"received_events_url": "https://api.github.com/users/chris-b1/received_events",
"repos_url": "https://api.github.com/users/chris-b1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/chris-b1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chris-b1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/chris-b1"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 13 | 2017-04-05T20:09:10Z | 2019-09-03T17:59:06Z | 2017-04-06T13:31:32Z |
CONTRIBUTOR
| null |
#### Code Sample, a copy-pastable example if possible
```python
from pandas.compat import StringIO
pd.read_csv(StringIO('''Date,Value
1/1/2012,100.00
1/2/2012,102.00
"a quoted junk row"morejunk'''), skipfooter=1)
Out[21]
ERROR:root:An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line string', (1, 20))
---------------------------------------------------------------------------
Error Traceback (most recent call last)
<ipython-input-34-d8dff6b9f4a7> in <module>()
2 1/1/2012,100.00
3 1/2/2012,102.00
----> 4 "a quoted junk row" '''), skipfooter=1)
C:\Users\chris.bartak\Documents\python-dev\pandas\pandas\io\parsers.py in parser_f(filepath_or_buffer, sep, delimiter, header, names, index_col, usecols, squeeze, prefix, mangle_dupe_cols, dtype, engine, converters, true_values, false_values, skipinitialspace, skiprows, nrows, na_values, keep_default_na, na_filter, verbose, skip_blank_lines, parse_dates, infer_datetime_format, keep_date_col, date_parser, dayfirst, iterator, chunksize, compression, thousands, decimal, lineterminator, quotechar, quoting, escapechar, comment, encoding, dialect, tupleize_cols, error_bad_lines, warn_bad_lines, skipfooter, skip_footer, doublequote, delim_whitespace, as_recarray, compact_ints, use_unsigned, low_memory, buffer_lines, memory_map, float_precision)
651 skip_blank_lines=skip_blank_lines)
652
--> 653 return _read(filepath_or_buffer, kwds)
654
655 parser_f.__name__ = name
C:\Users\chris.bartak\Documents\python-dev\pandas\pandas\io\parsers.py in _read(filepath_or_buffer, kwds)
404
405 try:
--> 406 data = parser.read()
407 finally:
408 parser.close()
C:\Users\chris.bartak\Documents\python-dev\pandas\pandas\io\parsers.py in read(self, nrows)
977 raise ValueError('skipfooter not supported for iteration')
978
--> 979 ret = self._engine.read(nrows)
980
981 if self.options.get('as_recarray'):
C:\Users\chris.bartak\Documents\python-dev\pandas\pandas\io\parsers.py in read(self, rows)
2066 def read(self, rows=None):
2067 try:
-> 2068 content = self._get_lines(rows)
2069 except StopIteration:
2070 if self._first_chunk:
C:\Users\chris.bartak\Documents\python-dev\pandas\pandas\io\parsers.py in _get_lines(self, rows)
2717 while True:
2718 try:
-> 2719 new_rows.append(next(source))
2720 rows += 1
2721 except csv.Error as inst:
Error: ',' expected after '"'
```
#### Problem description
This error only happens if the last row has quoting, and is invalid - e.g. delete the `morejunk` above and it does not error.
#### Expected Output
successful parse
pandas 0.19.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/15910/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15910/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15911
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15911/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15911/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15911/events
|
https://github.com/pandas-dev/pandas/issues/15911
| 219,715,339 |
MDU6SXNzdWUyMTk3MTUzMzk=
| 15,911 |
Produce representative dataframes for benchmarking
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/306380?v=4",
"events_url": "https://api.github.com/users/mrocklin/events{/privacy}",
"followers_url": "https://api.github.com/users/mrocklin/followers",
"following_url": "https://api.github.com/users/mrocklin/following{/other_user}",
"gists_url": "https://api.github.com/users/mrocklin/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mrocklin",
"id": 306380,
"login": "mrocklin",
"node_id": "MDQ6VXNlcjMwNjM4MA==",
"organizations_url": "https://api.github.com/users/mrocklin/orgs",
"received_events_url": "https://api.github.com/users/mrocklin/received_events",
"repos_url": "https://api.github.com/users/mrocklin/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mrocklin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mrocklin/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mrocklin"
}
|
[
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
}
] |
open
| false | null |
[] |
{
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
}
| 0 | 2017-04-05T21:07:45Z | 2017-11-26T17:45:02Z | null |
CONTRIBUTOR
| null |
It would be convenient to have a canonical set of dataframes for use in testing and/or benchmarking. Ideally this would be a set of named dataframes that represented common forms of data like the following:
1. Random floating point data
2. Random integer data
3. Strings with low entropy
4. Strings with high entropy
5. Mostly sorted datetimes
6. ...
These could then be used either within Pandas or in other libraries for benchmarks. Having a consistent set of dataframes would probably aid consistent benchmarking.
Additionally if this was then separately arranged into pytest fixture we could imagine setting things up and tearing things down in a way that made benchmarking more consistent (such as controlling garbage collection), though this may be a separate endeavor. It would be nice to have access to the dataframes outside of the context of PyTest as well
cc @jreback @wesm @cpcloud
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 1,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15911/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15911/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15912
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15912/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15912/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15912/events
|
https://github.com/pandas-dev/pandas/issues/15912
| 219,726,978 |
MDU6SXNzdWUyMTk3MjY5Nzg=
| 15,912 |
Pandas dataframe + groupby = failed zooming for x-axis ticks
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/16655368?v=4",
"events_url": "https://api.github.com/users/mp-v2/events{/privacy}",
"followers_url": "https://api.github.com/users/mp-v2/followers",
"following_url": "https://api.github.com/users/mp-v2/following{/other_user}",
"gists_url": "https://api.github.com/users/mp-v2/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mp-v2",
"id": 16655368,
"login": "mp-v2",
"node_id": "MDQ6VXNlcjE2NjU1MzY4",
"organizations_url": "https://api.github.com/users/mp-v2/orgs",
"received_events_url": "https://api.github.com/users/mp-v2/received_events",
"repos_url": "https://api.github.com/users/mp-v2/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mp-v2/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mp-v2/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mp-v2"
}
|
[
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
},
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
}
] |
closed
| false | null |
[] |
{
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
}
| 2 | 2017-04-05T21:54:48Z | 2017-04-06T07:36:04Z | 2017-04-06T07:35:45Z |
NONE
| null |
This was posted onto stackoverflow but it seems more like a bug than anything:
http://stackoverflow.com/questions/43242246/pandas-dataframe-groupby-failed-zooming-for-x-axis-ticks
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15912/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15912/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15913
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15913/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15913/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15913/events
|
https://github.com/pandas-dev/pandas/pull/15913
| 219,764,538 |
MDExOlB1bGxSZXF1ZXN0MTE0NTA3NzI1
| 15,913 |
BUG: Standardize malformed row handling in Python engine
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4",
"events_url": "https://api.github.com/users/gfyoung/events{/privacy}",
"followers_url": "https://api.github.com/users/gfyoung/followers",
"following_url": "https://api.github.com/users/gfyoung/following{/other_user}",
"gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gfyoung",
"id": 9273653,
"login": "gfyoung",
"node_id": "MDQ6VXNlcjkyNzM2NTM=",
"organizations_url": "https://api.github.com/users/gfyoung/orgs",
"received_events_url": "https://api.github.com/users/gfyoung/received_events",
"repos_url": "https://api.github.com/users/gfyoung/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gfyoung"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 3 | 2017-04-06T01:53:36Z | 2017-04-06T14:53:25Z | 2017-04-06T13:31:32Z |
MEMBER
| null |
Wrap `next(source)` when `source` is a file-buffer object to allow for more uniform error message displaying in the Python engine. Closes #15910.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15913/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15913/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15913.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15913",
"merged_at": "2017-04-06T13:31:32Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15913.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15913"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15914
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15914/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15914/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15914/events
|
https://github.com/pandas-dev/pandas/issues/15914
| 219,801,134 |
MDU6SXNzdWUyMTk4MDExMzQ=
| 15,914 |
read_excel does not work on excel file binary text or buffered binary text object
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/14192598?v=4",
"events_url": "https://api.github.com/users/alexanderwhatley/events{/privacy}",
"followers_url": "https://api.github.com/users/alexanderwhatley/followers",
"following_url": "https://api.github.com/users/alexanderwhatley/following{/other_user}",
"gists_url": "https://api.github.com/users/alexanderwhatley/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/alexanderwhatley",
"id": 14192598,
"login": "alexanderwhatley",
"node_id": "MDQ6VXNlcjE0MTkyNTk4",
"organizations_url": "https://api.github.com/users/alexanderwhatley/orgs",
"received_events_url": "https://api.github.com/users/alexanderwhatley/received_events",
"repos_url": "https://api.github.com/users/alexanderwhatley/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/alexanderwhatley/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alexanderwhatley/subscriptions",
"type": "User",
"url": "https://api.github.com/users/alexanderwhatley"
}
|
[
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
},
{
"color": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
}
| 2 | 2017-04-06T06:43:08Z | 2020-01-03T11:55:36Z | 2020-01-03T11:55:36Z |
NONE
| null |
Python 3.5, Pandas 0.19.2
I have the following excel file, and I am trying to read its binary content, and then have read_excel read the binary content in, except this is not working, and there may be a bug somewhere, as I have specified the engine for reading.
>>> import pandas as pd
>>> f = open("Test_Prom_Data.xlsx", "rb")
>>> df = pd.read_excel(f.read(), engine = "xlrd")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/alexander/anaconda3/lib/python3.5/site-packages/pandas/io/excel.py", line 191, in read_excel
io = ExcelFile(io, engine=engine)
File "/home/alexander/anaconda3/lib/python3.5/site-packages/pandas/io/excel.py", line 251, in __init__
raise ValueError('Must explicitly set engine if not passing in'
ValueError: Must explicitly set engine if not passing in buffer or path for io.
[Test_Prom_Data.xlsx](https://github.com/pandas-dev/pandas/files/901685/Test_Prom_Data.xlsx)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15914/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15914/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15915
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15915/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15915/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15915/events
|
https://github.com/pandas-dev/pandas/pull/15915
| 219,803,299 |
MDExOlB1bGxSZXF1ZXN0MTE0NTMzMTY5
| 15,915 |
DOC: Fix a typo in travis.yml
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/6365769?v=4",
"events_url": "https://api.github.com/users/funnycrab/events{/privacy}",
"followers_url": "https://api.github.com/users/funnycrab/followers",
"following_url": "https://api.github.com/users/funnycrab/following{/other_user}",
"gists_url": "https://api.github.com/users/funnycrab/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/funnycrab",
"id": 6365769,
"login": "funnycrab",
"node_id": "MDQ6VXNlcjYzNjU3Njk=",
"organizations_url": "https://api.github.com/users/funnycrab/orgs",
"received_events_url": "https://api.github.com/users/funnycrab/received_events",
"repos_url": "https://api.github.com/users/funnycrab/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/funnycrab/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/funnycrab/subscriptions",
"type": "User",
"url": "https://api.github.com/users/funnycrab"
}
|
[] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 2 | 2017-04-06T06:55:40Z | 2017-04-06T07:29:15Z | 2017-04-06T07:07:58Z |
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/15915/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15915/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15915.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15915",
"merged_at": "2017-04-06T07:07:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15915.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15915"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/15916
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15916/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15916/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15916/events
|
https://github.com/pandas-dev/pandas/pull/15916
| 219,812,058 |
MDExOlB1bGxSZXF1ZXN0MTE0NTM5MTgy
| 15,916 |
DOC: Fix a typo in indexing.rst
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/6365769?v=4",
"events_url": "https://api.github.com/users/funnycrab/events{/privacy}",
"followers_url": "https://api.github.com/users/funnycrab/followers",
"following_url": "https://api.github.com/users/funnycrab/following{/other_user}",
"gists_url": "https://api.github.com/users/funnycrab/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/funnycrab",
"id": 6365769,
"login": "funnycrab",
"node_id": "MDQ6VXNlcjYzNjU3Njk=",
"organizations_url": "https://api.github.com/users/funnycrab/orgs",
"received_events_url": "https://api.github.com/users/funnycrab/received_events",
"repos_url": "https://api.github.com/users/funnycrab/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/funnycrab/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/funnycrab/subscriptions",
"type": "User",
"url": "https://api.github.com/users/funnycrab"
}
|
[
{
"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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 2 | 2017-04-06T07:40:54Z | 2017-04-06T12:52:41Z | 2017-04-06T11:35:59Z |
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/15916/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15916/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15916.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15916",
"merged_at": "2017-04-06T11:35:59Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15916.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15916"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/15917
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15917/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15917/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15917/events
|
https://github.com/pandas-dev/pandas/pull/15917
| 219,824,532 |
MDExOlB1bGxSZXF1ZXN0MTE0NTQ3ODgx
| 15,917 |
BLD: update merge script to update on github
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
}
|
[
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
}
] |
closed
| false | null |
[] | null | 15 | 2017-04-06T08:37:15Z | 2017-04-07T18:58:29Z | 2017-04-07T18:58:21Z |
MEMBER
| null |
@jreback @TomAugspurger This adds the ability to checkout a PR, do a small fixup or rebase, and push changes to github.
I now added it as an additional question whether to update or merge, but can also make to separate scripts of it for convenience.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15917/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15917/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15917.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15917",
"merged_at": "2017-04-07T18:58:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15917.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15917"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15918
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15918/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15918/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15918/events
|
https://github.com/pandas-dev/pandas/pull/15918
| 219,839,932 |
MDExOlB1bGxSZXF1ZXN0MTE0NTU4OTI4
| 15,918 |
Fix a typo
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/33132?v=4",
"events_url": "https://api.github.com/users/crayxt/events{/privacy}",
"followers_url": "https://api.github.com/users/crayxt/followers",
"following_url": "https://api.github.com/users/crayxt/following{/other_user}",
"gists_url": "https://api.github.com/users/crayxt/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/crayxt",
"id": 33132,
"login": "crayxt",
"node_id": "MDQ6VXNlcjMzMTMy",
"organizations_url": "https://api.github.com/users/crayxt/orgs",
"received_events_url": "https://api.github.com/users/crayxt/received_events",
"repos_url": "https://api.github.com/users/crayxt/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/crayxt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/crayxt/subscriptions",
"type": "User",
"url": "https://api.github.com/users/crayxt"
}
|
[
{
"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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 1 | 2017-04-06T09:36:14Z | 2017-04-06T11:34:40Z | 2017-04-06T11:34:25Z |
CONTRIBUTOR
| null |
Simple fix.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15918/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15918/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15918.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15918",
"merged_at": "2017-04-06T11:34:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15918.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15918"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15919
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15919/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15919/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15919/events
|
https://github.com/pandas-dev/pandas/pull/15919
| 219,843,329 |
MDExOlB1bGxSZXF1ZXN0MTE0NTYxNDQ0
| 15,919 |
DOC: timeseries.rst floating point precision (#15817)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2182186?v=4",
"events_url": "https://api.github.com/users/mchwalisz/events{/privacy}",
"followers_url": "https://api.github.com/users/mchwalisz/followers",
"following_url": "https://api.github.com/users/mchwalisz/following{/other_user}",
"gists_url": "https://api.github.com/users/mchwalisz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mchwalisz",
"id": 2182186,
"login": "mchwalisz",
"node_id": "MDQ6VXNlcjIxODIxODY=",
"organizations_url": "https://api.github.com/users/mchwalisz/orgs",
"received_events_url": "https://api.github.com/users/mchwalisz/received_events",
"repos_url": "https://api.github.com/users/mchwalisz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mchwalisz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mchwalisz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mchwalisz"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 4 | 2017-04-06T09:48:30Z | 2017-04-10T06:45:22Z | 2017-04-08T21:54:05Z |
CONTRIBUTOR
| null |
- [x] closes #15817
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15919/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15919/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15919.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15919",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15919.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15919"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15920
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15920/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15920/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15920/events
|
https://github.com/pandas-dev/pandas/issues/15920
| 219,870,308 |
MDU6SXNzdWUyMTk4NzAzMDg=
| 15,920 |
BUG: partial slicing with a Timestamp on PeriodIndex
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/5799715?v=4",
"events_url": "https://api.github.com/users/ocschwar/events{/privacy}",
"followers_url": "https://api.github.com/users/ocschwar/followers",
"following_url": "https://api.github.com/users/ocschwar/following{/other_user}",
"gists_url": "https://api.github.com/users/ocschwar/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ocschwar",
"id": 5799715,
"login": "ocschwar",
"node_id": "MDQ6VXNlcjU3OTk3MTU=",
"organizations_url": "https://api.github.com/users/ocschwar/orgs",
"received_events_url": "https://api.github.com/users/ocschwar/received_events",
"repos_url": "https://api.github.com/users/ocschwar/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ocschwar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ocschwar/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ocschwar"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "eb6420",
"default": false,
"description": "Period data type",
"id": 60635328,
"name": "Period",
"node_id": "MDU6TGFiZWw2MDYzNTMyOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period"
}
] |
open
| false | null |
[] |
{
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
}
| 10 | 2017-04-06T11:39:06Z | 2020-05-11T02:17:43Z | null |
NONE
| null |
An example: a PeriodicIndex with a freq of 300S. First second works.
Remaining portion of the interval raises a KeyError.
```
>>> DR = pd.period_range(datetime.datetime.now(), freq='300S',periods=22)
>>> S = pd.Series( [0.0]*22,index=DR)
>>> now = datetime.datetime.now()
>>> S[now]
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Python/2.7/site-packages/pandas/core/series.py", line 603, in __getitem__
result = self.index.get_value(self, key)
File "/Library/Python/2.7/site-packages/pandas/tseries/period.py", line 757, in get_value
return com._maybe_box(self, self._engine.get_value(s, key),
File "pandas/index.pyx", line 98, in pandas.index.IndexEngine.get_value (pandas/index.c:3557)
File "pandas/index.pyx", line 106, in pandas.index.IndexEngine.get_value (pandas/index.c:3240)
File "pandas/index.pyx", line 154, in pandas.index.IndexEngine.get_loc (pandas/index.c:4279)
File "pandas/src/hashtable_class_helper.pxi", line 404, in pandas.hashtable.Int64HashTable.get_item (pandas/hashtable.c:8564)
File "pandas/src/hashtable_class_helper.pxi", line 410, in pandas.hashtable.Int64HashTable.get_item (pandas/hashtable.c:8508)
KeyError: 1491422454
>>> S.index[0]
Period('2017-04-05 20:00:23', '300S')
>>> S[datetime.datetime(2017,4,5,20,0,23)]
0.0
>>> S[datetime.datetime(2017,4,5,20,0,23,999)]
0.0
```
```
>>> DR = pd.period_range(datetime.datetime.now(), freq='5T',periods=22)
>>> S = pd.Series( [0.0]*22,index=DR)
>>> now = datetime.datetime.now()
>>> S[now]
0.0
>>> S.index[0]
Period('2017-04-05 20:03', '5T')
>>> S[datetime.datetime(2017,4,5,20,3,23,999)]
0.0
>>> S[datetime.datetime(2017,4,5,20,4,23,999)]
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Python/2.7/site-packages/pandas/core/series.py", line 603, in __getitem__
result = self.index.get_value(self, key)
File "/Library/Python/2.7/site-packages/pandas/tseries/period.py", line 757, in get_value
return com._maybe_box(self, self._engine.get_value(s, key),
File "pandas/index.pyx", line 98, in pandas.index.IndexEngine.get_value (pandas/index.c:3557)
File "pandas/index.pyx", line 106, in pandas.index.IndexEngine.get_value (pandas/index.c:3240)
File "pandas/index.pyx", line 154, in pandas.index.IndexEngine.get_loc (pandas/index.c:4279)
File "pandas/src/hashtable_class_helper.pxi", line 404, in pandas.hashtable.Int64HashTable.get_item (pandas/hashtable.c:8564)
File "pandas/src/hashtable_class_helper.pxi", line 410, in pandas.hashtable.Int64HashTable.get_item (pandas/hashtable.c:8508)
KeyError: 24857044
```
<details>
pandas.version
u'0.19.2'
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15920/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15920/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15921
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15921/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15921/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15921/events
|
https://github.com/pandas-dev/pandas/pull/15921
| 219,878,018 |
MDExOlB1bGxSZXF1ZXN0MTE0NTg2MTUz
| 15,921 |
DOC: Added statsmodels to show_versions
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
}
|
[
{
"color": "d93f0b",
"default": false,
"description": "Required and optional dependencies",
"id": 527603109,
"name": "Dependencies",
"node_id": "MDU6TGFiZWw1Mjc2MDMxMDk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dependencies"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 5 | 2017-04-06T12:10:35Z | 2017-05-29T20:30:57Z | 2017-04-06T13:51:17Z |
CONTRIBUTOR
| null |
xref https://github.com/statsmodels/statsmodels/issues/3580
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15921/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15921/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15921.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15921",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15921.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15921"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15922
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15922/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15922/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15922/events
|
https://github.com/pandas-dev/pandas/pull/15922
| 219,929,028 |
MDExOlB1bGxSZXF1ZXN0MTE0NjIyOTQ4
| 15,922 |
TST: skip decimal conversion tests on 32-bit
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "207de5",
"default": false,
"description": "read_json, to_json, json_normalize",
"id": 49379259,
"name": "IO JSON",
"node_id": "MDU6TGFiZWw0OTM3OTI1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON"
},
{
"color": "0e8a16",
"default": false,
"description": "32-bit systems",
"id": 563047854,
"name": "32bit",
"node_id": "MDU6TGFiZWw1NjMwNDc4NTQ=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/32bit"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 1 | 2017-04-06T15:01:58Z | 2017-04-06T16:41:08Z | 2017-04-06T16:41:07Z |
CONTRIBUTOR
| null |
xref #15865
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15922/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15922/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15922.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15922",
"merged_at": "2017-04-06T16:41:07Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15922.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15922"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15923
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15923/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15923/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15923/events
|
https://github.com/pandas-dev/pandas/issues/15923
| 219,946,308 |
MDU6SXNzdWUyMTk5NDYzMDg=
| 15,923 |
BUG pd.get_dummies does not propagate `NaN` correctly
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/5296416?v=4",
"events_url": "https://api.github.com/users/beckermr/events{/privacy}",
"followers_url": "https://api.github.com/users/beckermr/followers",
"following_url": "https://api.github.com/users/beckermr/following{/other_user}",
"gists_url": "https://api.github.com/users/beckermr/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/beckermr",
"id": 5296416,
"login": "beckermr",
"node_id": "MDQ6VXNlcjUyOTY0MTY=",
"organizations_url": "https://api.github.com/users/beckermr/orgs",
"received_events_url": "https://api.github.com/users/beckermr/received_events",
"repos_url": "https://api.github.com/users/beckermr/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/beckermr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/beckermr/subscriptions",
"type": "User",
"url": "https://api.github.com/users/beckermr"
}
|
[
{
"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": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
] |
open
| false | null |
[] |
{
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
}
| 18 | 2017-04-06T15:54:55Z | 2017-04-07T00:38:34Z | null |
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
In [17]: s
Out[17]:
0 a
1 b
2 c
3 NaN
dtype: object
In [18]: pd.get_dummies(s)
Out[18]:
a b c
0 1 0 0
1 0 1 0
2 0 0 1
3 0 0 0
```
#### Problem description
The current implementation does not propagate `NaN` correctly. `NaN` means the data is missing. So if you turn missing data to all zeros when one-hot encoding, you are asserting that the proper label is none of the labels you have. In reality, the proper label could be one of the labels you have, you just do not know the proper label.
I realize people use the `dummy_na` option here, but if that option is not passed, then the output should have the `NaN`s put in the right spot.
#### Expected Output
It should propagate the NaNs.
```python
In [18]: pd.get_dummies(s)
Out[18]:
a b c
0 1 0 0
1 0 1 0
2 0 0 1
3 NaN NaN NaN
```
#### Output of ``pd.show_versions()``
<details>
In [19]: pd.show_versions()
INSTALLED VERSIONS
------------------
commit: None
python: 3.6.1.final.0
python-bits: 64
OS: Darwin
OS-release: 15.6.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
LOCALE: en_US.UTF-8
pandas: 0.19.2
nose: 1.3.7
pip: 9.0.1
setuptools: 33.1.1.post20170320
Cython: 0.25.2
numpy: 1.12.1
scipy: 0.19.0
statsmodels: 0.8.0
xarray: None
IPython: 5.3.0
sphinx: None
patsy: 0.4.1
dateutil: 2.6.0
pytz: 2016.10
blosc: None
bottleneck: None
tables: 3.3.0
numexpr: 2.6.2
matplotlib: 2.0.0
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: 0.999
httplib2: None
apiclient: None
sqlalchemy: 1.1.5
pymysql: None
psycopg2: 2.6.2 (dt dec pq3 ext lo64)
jinja2: 2.9.5
boto: 2.46.1
pandas_datareader: None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15923/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15923/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15924
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15924/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15924/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15924/events
|
https://github.com/pandas-dev/pandas/pull/15924
| 219,976,053 |
MDExOlB1bGxSZXF1ZXN0MTE0NjU2NDUx
| 15,924 |
BUG: use entire size of DatetimeTZBlock when coercing result (#15855)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/453745?v=4",
"events_url": "https://api.github.com/users/chrisaycock/events{/privacy}",
"followers_url": "https://api.github.com/users/chrisaycock/followers",
"following_url": "https://api.github.com/users/chrisaycock/following{/other_user}",
"gists_url": "https://api.github.com/users/chrisaycock/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/chrisaycock",
"id": 453745,
"login": "chrisaycock",
"node_id": "MDQ6VXNlcjQ1Mzc0NQ==",
"organizations_url": "https://api.github.com/users/chrisaycock/orgs",
"received_events_url": "https://api.github.com/users/chrisaycock/received_events",
"repos_url": "https://api.github.com/users/chrisaycock/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/chrisaycock/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chrisaycock/subscriptions",
"type": "User",
"url": "https://api.github.com/users/chrisaycock"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 3 | 2017-04-06T17:41:46Z | 2017-04-07T21:36:37Z | 2017-04-07T20:37:41Z |
CONTRIBUTOR
| null |
- [x] closes #15855
- [x] tests added / passed
- [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff``
- [x] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15924/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15924/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15924.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15924",
"merged_at": "2017-04-07T20:37:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15924.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15924"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15925
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15925/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15925/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15925/events
|
https://github.com/pandas-dev/pandas/pull/15925
| 219,990,496 |
MDExOlB1bGxSZXF1ZXN0MTE0NjY1Njg2
| 15,925 |
ENH: Support malformed row handling in Python engine
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4",
"events_url": "https://api.github.com/users/gfyoung/events{/privacy}",
"followers_url": "https://api.github.com/users/gfyoung/followers",
"following_url": "https://api.github.com/users/gfyoung/following{/other_user}",
"gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gfyoung",
"id": 9273653,
"login": "gfyoung",
"node_id": "MDQ6VXNlcjkyNzM2NTM=",
"organizations_url": "https://api.github.com/users/gfyoung/orgs",
"received_events_url": "https://api.github.com/users/gfyoung/received_events",
"repos_url": "https://api.github.com/users/gfyoung/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gfyoung"
}
|
[
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 6 | 2017-04-06T18:28:34Z | 2017-04-07T19:58:05Z | 2017-04-07T19:47:30Z |
MEMBER
| null |
Support `warn_bad_lines` and `error_bad_lines` for the Python engine.
xref #12686 (master tracker)
Inspired by <a href="https://github.com/pandas-dev/pandas/issues/15910#issuecomment-291998838">#15910 (comment)</a>
In addition, the Python parser now raises `pandas.error.ParserError`, which is in line with what the C engine would do.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15925/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15925/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15925.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15925",
"merged_at": "2017-04-07T19:47:30Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15925.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15925"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15926
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15926/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15926/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15926/events
|
https://github.com/pandas-dev/pandas/pull/15926
| 220,018,446 |
MDExOlB1bGxSZXF1ZXN0MTE0Njg0OTcx
| 15,926 |
ENH add fill_value feature to pd.get_dummies
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/5296416?v=4",
"events_url": "https://api.github.com/users/beckermr/events{/privacy}",
"followers_url": "https://api.github.com/users/beckermr/followers",
"following_url": "https://api.github.com/users/beckermr/following{/other_user}",
"gists_url": "https://api.github.com/users/beckermr/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/beckermr",
"id": 5296416,
"login": "beckermr",
"node_id": "MDQ6VXNlcjUyOTY0MTY=",
"organizations_url": "https://api.github.com/users/beckermr/orgs",
"received_events_url": "https://api.github.com/users/beckermr/received_events",
"repos_url": "https://api.github.com/users/beckermr/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/beckermr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/beckermr/subscriptions",
"type": "User",
"url": "https://api.github.com/users/beckermr"
}
|
[
{
"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": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
] |
closed
| false |
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
}
] | null | 41 | 2017-04-06T20:12:51Z | 2017-08-01T22:54:15Z | 2017-08-01T22:54:15Z |
NONE
| null |
- [x] closes #15923
- [x] tests added / passed
- [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff``
- [x] whatsnew entry
Closes #15923
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15926/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15926/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15926.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15926",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15926.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15926"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15927
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15927/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15927/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15927/events
|
https://github.com/pandas-dev/pandas/issues/15927
| 220,032,698 |
MDU6SXNzdWUyMjAwMzI2OTg=
| 15,927 |
Default iteration behavior of the DataFrame
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/3290052?v=4",
"events_url": "https://api.github.com/users/jadolfbr/events{/privacy}",
"followers_url": "https://api.github.com/users/jadolfbr/followers",
"following_url": "https://api.github.com/users/jadolfbr/following{/other_user}",
"gists_url": "https://api.github.com/users/jadolfbr/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jadolfbr",
"id": 3290052,
"login": "jadolfbr",
"node_id": "MDQ6VXNlcjMyOTAwNTI=",
"organizations_url": "https://api.github.com/users/jadolfbr/orgs",
"received_events_url": "https://api.github.com/users/jadolfbr/received_events",
"repos_url": "https://api.github.com/users/jadolfbr/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jadolfbr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jadolfbr/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jadolfbr"
}
|
[
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
] |
closed
| false | null |
[] |
{
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
}
| 2 | 2017-04-06T21:04:23Z | 2017-04-06T21:18:04Z | 2017-04-06T21:09:15Z |
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
for x in my_data_frame:
print rep(x)
```
#### Problem description
The current behavior is to print the columns during the normal iteration of a data frame. However, most of the time when actually using a DataFrame we want to iterate over the rows. How useful in data analysis is it to iterate over the columns? In my nearly 2 years of using pandas, not once have I had to do this. If one needs this, ```my_data_frame.columns``` works just fine.
In addition, there is no ```my_data_frame.rows``` to work on. The only good way to iterate over rows is to use iterrows:
```python
for index, row in my_data_frame.iterrows():
print row
```
This seems like something that should be much more obvious than it is, and to even find that answer, one would pretty much need to google and find the stack overflow answer.
Is there any way we could iterate over the rows when using the python ```in``` syntax? I think this is a much more obvious thing to do during iteration than going through the columns for most users.
#### Expected Output
Row output using the python ```in``` keyword.
#### Output of ``pd.show_versions()``
<details>
# Paste the output here pd.show_versions() here
loaded rc file /Users/jadolfbr/.matplotlib/matplotlibrc
matplotlib version 1.5.1
verbose.level helpful
interactive is False
platform is darwin
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.10.final.0
python-bits: 64
OS: Darwin
OS-release: 14.5.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
pandas: 0.18.1
nose: 1.3.7
pip: 9.0.1
setuptools: 20.3.1
Cython: None
numpy: 1.11.1
scipy: 0.13.0b1
statsmodels: 0.6.1
xarray: None
IPython: 4.1.2
sphinx: None
patsy: 0.4.0
dateutil: 2.5.3
pytz: 2016.4
blosc: None
bottleneck: None
tables: None
numexpr: None
matplotlib: 1.5.1
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: 2.8
boto: None
pandas_datareader: None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15927/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15927/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15928
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15928/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15928/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15928/events
|
https://github.com/pandas-dev/pandas/issues/15928
| 220,033,564 |
MDU6SXNzdWUyMjAwMzM1NjQ=
| 15,928 |
AttributeError when slicing a datetime MultiIndex level
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1224492?v=4",
"events_url": "https://api.github.com/users/toobaz/events{/privacy}",
"followers_url": "https://api.github.com/users/toobaz/followers",
"following_url": "https://api.github.com/users/toobaz/following{/other_user}",
"gists_url": "https://api.github.com/users/toobaz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/toobaz",
"id": 1224492,
"login": "toobaz",
"node_id": "MDQ6VXNlcjEyMjQ0OTI=",
"organizations_url": "https://api.github.com/users/toobaz/orgs",
"received_events_url": "https://api.github.com/users/toobaz/received_events",
"repos_url": "https://api.github.com/users/toobaz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/toobaz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/toobaz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/toobaz"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
},
{
"color": "cdea3c",
"default": false,
"description": "Unit test(s) needed to prevent regressions",
"id": 986278782,
"name": "Needs Tests",
"node_id": "MDU6TGFiZWw5ODYyNzg3ODI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 5 | 2017-04-06T21:07:33Z | 2020-10-20T02:08:30Z | 2020-10-20T02:08:30Z |
MEMBER
| null |
#### Code Sample, a copy-pastable example if possible
```python
In [2]: df = pd.read_csv(pd.__path__[0]+'/tests/tools/data/quotes2.csv', parse_dates=['time']).set_index(['ticker', 'time']).sort_index()
In [3]: df.loc['AAPL'].loc[slice('2016-05-25 13:30:00'), :].head()
Out[3]:
bid ask
time
2016-05-25 13:30:00.075 98.55 98.56
2016-05-25 13:30:00.076 98.55 98.56
2016-05-25 13:30:00.076 98.55 98.56
2016-05-25 13:30:00.076 98.55 98.56
2016-05-25 13:30:00.080 98.55 98.56
In [4]: df.loc[('AAPL', slice('2016-05-25 13:30:00')), :].head()
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-4-552cfee2e501> in <module>()
----> 1 df.loc[('AAPL', slice('2016-05-25 13:30:00')), :].head()
/home/nobackup/repo/pandas/pandas/core/indexing.py in __getitem__(self, key)
1322 except (KeyError, IndexError):
1323 pass
-> 1324 return self._getitem_tuple(key)
1325 else:
1326 key = com._apply_if_callable(key, self.obj)
/home/nobackup/repo/pandas/pandas/core/indexing.py in _getitem_tuple(self, tup)
833 def _getitem_tuple(self, tup):
834 try:
--> 835 return self._getitem_lowerdim(tup)
836 except IndexingError:
837 pass
/home/nobackup/repo/pandas/pandas/core/indexing.py in _getitem_lowerdim(self, tup)
945 # we may have a nested tuples indexer here
946 if self._is_nested_tuple_indexer(tup):
--> 947 return self._getitem_nested_tuple(tup)
948
949 # we maybe be using a tuple to represent multiple dimensions here
/home/nobackup/repo/pandas/pandas/core/indexing.py in _getitem_nested_tuple(self, tup)
1020
1021 current_ndim = obj.ndim
-> 1022 obj = getattr(obj, self.name)._getitem_axis(key, axis=axis)
1023 axis += 1
1024
/home/nobackup/repo/pandas/pandas/core/indexing.py in _getitem_axis(self, key, axis)
1542 # nested tuple slicing
1543 if is_nested_tuple(key, labels):
-> 1544 locs = labels.get_locs(key)
1545 indexer = [slice(None)] * self.ndim
1546 indexer[axis] = locs
/home/nobackup/repo/pandas/pandas/indexes/multi.py in get_locs(self, tup)
2173 # a slice, include BOTH of the labels
2174 indexer = _update_indexer(_convert_to_indexer(
-> 2175 self._get_level_indexer(k, level=i, indexer=indexer)),
2176 indexer=indexer)
2177 else:
/home/nobackup/repo/pandas/pandas/indexes/multi.py in _get_level_indexer(self, key, level, indexer)
2054 # note that the stop ALREADY includes the stopped point (if
2055 # it was a string sliced)
-> 2056 return convert_indexer(start.start, stop.stop, step)
2057
2058 elif level > 0 or self.lexsort_depth == 0 or step is not None:
AttributeError: 'int' object has no attribute 'start'
```
#### Problem description
The two calls should be perfectly equivalent.
By the way, if I swap the levels, I get a different error:
``` python
In [16]: df = pd.read_csv(pd.__path__[0]+'/tests/tools/data/quotes2.csv', parse_dates=['time']).set_index(['time', 'ticker']).sort_index()
In [26]: df.loc[:'2016-05-25 13:30:00'].head()
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-26-a0298286991a> in <module>()
----> 1 df.loc[:'2016-05-25 13:30:00'].head()
/home/nobackup/repo/pandas/pandas/core/indexing.py in __getitem__(self, key)
1325 else:
1326 key = com._apply_if_callable(key, self.obj)
-> 1327 return self._getitem_axis(key, axis=0)
1328
1329 def _is_scalar_access(self, key):
/home/nobackup/repo/pandas/pandas/core/indexing.py in _getitem_axis(self, key, axis)
1503 if isinstance(key, slice):
1504 self._has_valid_type(key, axis)
-> 1505 return self._get_slice_axis(key, axis=axis)
1506 elif is_bool_indexer(key):
1507 return self._getbool_axis(key, axis=axis)
/home/nobackup/repo/pandas/pandas/core/indexing.py in _get_slice_axis(self, slice_obj, axis)
1353 labels = obj._get_axis(axis)
1354 indexer = labels.slice_indexer(slice_obj.start, slice_obj.stop,
-> 1355 slice_obj.step, kind=self.name)
1356
1357 if isinstance(indexer, slice):
/home/nobackup/repo/pandas/pandas/indexes/base.py in slice_indexer(self, start, end, step, kind)
3226 """
3227 start_slice, end_slice = self.slice_locs(start, end, step=step,
-> 3228 kind=kind)
3229
3230 # return a slice
/home/nobackup/repo/pandas/pandas/indexes/multi.py in slice_locs(self, start, end, step, kind)
1741 # This function adds nothing to its parent implementation (the magic
1742 # happens in get_slice_bound method), but it adds meaningful doc.
-> 1743 return super(MultiIndex, self).slice_locs(start, end, step, kind=kind)
1744
1745 def _partial_tup_index(self, tup, side='left'):
/home/nobackup/repo/pandas/pandas/indexes/base.py in slice_locs(self, start, end, step, kind)
3413 end_slice = None
3414 if end is not None:
-> 3415 end_slice = self.get_slice_bound(end, 'right', kind)
3416 if end_slice is None:
3417 end_slice = len(self)
/home/nobackup/repo/pandas/pandas/indexes/multi.py in get_slice_bound(self, label, side, kind)
1712 if not isinstance(label, tuple):
1713 label = label,
-> 1714 return self._partial_tup_index(label, side=side)
1715
1716 def slice_locs(self, start=None, end=None, step=None, kind=None):
/home/nobackup/repo/pandas/pandas/indexes/multi.py in _partial_tup_index(self, tup, side)
1770 start = start + section.searchsorted(idx, side='left')
1771 else:
-> 1772 return start + section.searchsorted(idx, side=side)
1773
1774 def get_loc(self, key, method=None):
TypeError: unorderable types: int() > slice()
```
... while everything works fine if there is one level only.
#### Expected Output
The same as ``Out[3]:``.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit: 4502e82083f4e253630588665a4fc6002c4f32ed
python: 3.5.3.final.0
python-bits: 64
OS: Linux
OS-release: 4.7.0-1-amd64
machine: x86_64
processor:
byteorder: little
LC_ALL: None
LANG: it_IT.utf8
LOCALE: it_IT.UTF-8
pandas: 0.19.0+743.g4502e8208
pytest: 3.0.6
pip: 9.0.1
setuptools: 33.1.1
Cython: 0.25.2
numpy: 1.12.0
scipy: 0.18.1
xarray: 0.9.1
IPython: 5.1.0.dev
sphinx: 1.4.9
patsy: 0.3.0-dev
dateutil: 2.5.3
pytz: 2016.7
blosc: None
bottleneck: 1.2.0
tables: 3.3.0
numexpr: 2.6.1
feather: 0.3.1
matplotlib: 2.0.0
openpyxl: 2.3.0
xlrd: 1.0.0
xlwt: 1.1.2
xlsxwriter: 0.9.6
lxml: 3.7.1
bs4: 4.5.3
html5lib: 0.999999999
sqlalchemy: 1.0.15
pymysql: None
psycopg2: None
jinja2: 2.8
s3fs: None
pandas_gbq: None
pandas_datareader: 0.2.1
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15928/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15928/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15929
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15929/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15929/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15929/events
|
https://github.com/pandas-dev/pandas/pull/15929
| 220,034,142 |
MDExOlB1bGxSZXF1ZXN0MTE0Njk1ODc3
| 15,929 |
CLN: algos
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
}
|
[
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 2 | 2017-04-06T21:09:42Z | 2017-04-25T10:47:05Z | 2017-04-07T00:16:56Z |
CONTRIBUTOR
| null |
- clean up select_n algos
- clean ensure_data
closes #15903
should make this much simpler going forward. All dtype conversions are now centralized.
Added some doc-strings as well.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15929/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15929/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15929.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15929",
"merged_at": "2017-04-07T00:16:56Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15929.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15929"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15930
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15930/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15930/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15930/events
|
https://github.com/pandas-dev/pandas/issues/15930
| 220,041,382 |
MDU6SXNzdWUyMjAwNDEzODI=
| 15,930 |
Resetting Index on slice
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/3290052?v=4",
"events_url": "https://api.github.com/users/jadolfbr/events{/privacy}",
"followers_url": "https://api.github.com/users/jadolfbr/followers",
"following_url": "https://api.github.com/users/jadolfbr/following{/other_user}",
"gists_url": "https://api.github.com/users/jadolfbr/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jadolfbr",
"id": 3290052,
"login": "jadolfbr",
"node_id": "MDQ6VXNlcjMyOTAwNTI=",
"organizations_url": "https://api.github.com/users/jadolfbr/orgs",
"received_events_url": "https://api.github.com/users/jadolfbr/received_events",
"repos_url": "https://api.github.com/users/jadolfbr/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jadolfbr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jadolfbr/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jadolfbr"
}
|
[
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
] |
closed
| false | null |
[] |
{
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
}
| 7 | 2017-04-06T21:38:41Z | 2017-04-06T23:42:31Z | 2017-04-06T22:21:21Z |
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
# Your code here
df = data_index[data_index['ntorsions'] == 2]
```
#### Problem description
When slicing a dataframe, the index is not reset by default. This becomes an issue if you want to output that dataframe, combine that dataframe with other dataframes (good luck with that), or output the dataframe without two index columns.
Fixing this will not break code in the wild.
#### Expected Output
Index being correct - without the need to manually call reset_index over and over again. This is much more intuitive to end users.
-> At end of slice, call reset_index(drop = True) on the returned dataframe or current dataframe if you are slicing in-place.
#### Output of ``pd.show_versions()``
<details>
loaded rc file /Users/jadolfbr/.matplotlib/matplotlibrc
matplotlib version 1.5.1
verbose.level helpful
interactive is False
platform is darwin
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.10.final.0
python-bits: 64
OS: Darwin
OS-release: 14.5.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
pandas: 0.18.1
nose: 1.3.7
pip: 9.0.1
setuptools: 20.3.1
Cython: None
numpy: 1.11.1
scipy: 0.13.0b1
statsmodels: 0.6.1
xarray: None
IPython: 4.1.2
sphinx: None
patsy: 0.4.0
dateutil: 2.5.3
pytz: 2016.4
blosc: None
bottleneck: None
tables: None
numexpr: None
matplotlib: 1.5.1
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: 2.8
boto: None
pandas_datareader: None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15930/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15930/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15931
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15931/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15931/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15931/events
|
https://github.com/pandas-dev/pandas/pull/15931
| 220,092,580 |
MDExOlB1bGxSZXF1ZXN0MTE0NzMzNzM4
| 15,931 |
DEPR: deprecate relableling dicts in groupby.agg
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
}
|
[
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 27 | 2017-04-07T02:44:53Z | 2017-11-30T20:22:28Z | 2017-04-13T10:18:04Z |
CONTRIBUTOR
| null |
pre-curser to #14668
This is basically in the whatsnew, but:
```
In [1]: df = pd.DataFrame({'A': [1, 1, 1, 2, 2],
...: 'B': range(5),
...: 'C':range(5)})
...: df
...:
Out[1]:
A B C
0 1 0 0
1 1 1 1
2 1 2 2
3 2 3 3
4 2 4 4
```
This is good; multiple aggregations on a dataframe with a dict-of-lists
```
In [2]: df.groupby('A').agg({'B': ['sum', 'max'],
...: 'C': ['count', 'min']})
...:
Out[2]:
B C
sum max count min
A
1 3 2 3 0
2 7 4 2 3
```
This is a dict on a grouped Series -> deprecated
```
In [3]: df.groupby('A').B.agg({'foo': 'count'})
FutureWarning: using a dictionary on a Series for aggregation
is deprecated and will be removed in a future version
Out[3]:
foo
A
1 3
2 2
```
Further this has to go as well, a nested dict that does renaming.
Note once we fix https://github.com/pandas-dev/pandas/issues/4160 (renaming with a level); the following becomes almost trivial to rename in-line.
```
In [4]: df.groupby('A').agg({'B': {'foo': ['sum', 'max']},
'C': {'bar': ['count', 'min']}})
FutureWarning: using a dictionary on a Series for aggregation
is deprecated and will be removed in a future version
Out[4]:
foo bar
sum max count min
A
1 3 2 3 0
2 7 4 2 3
```
Note: I will fix this message (as it doesn't actually apply here)
|
{
"+1": 0,
"-1": 3,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 3,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15931/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15931/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15931.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15931",
"merged_at": "2017-04-13T10:18:04Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15931.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15931"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15932
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15932/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15932/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15932/events
|
https://github.com/pandas-dev/pandas/pull/15932
| 220,094,161 |
MDExOlB1bGxSZXF1ZXN0MTE0NzM0NTgy
| 15,932 |
TST: suppress some warnings
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 2 | 2017-04-07T02:55:59Z | 2017-04-07T12:04:54Z | 2017-04-07T12:03:55Z |
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/15932/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15932/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15932.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15932",
"merged_at": "2017-04-07T12:03:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15932.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15932"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/15933
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15933/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15933/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15933/events
|
https://github.com/pandas-dev/pandas/pull/15933
| 220,104,265 |
MDExOlB1bGxSZXF1ZXN0MTE0NzQwMTY4
| 15,933 |
DOC: Fix a typo in advanced.rst
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/6365769?v=4",
"events_url": "https://api.github.com/users/funnycrab/events{/privacy}",
"followers_url": "https://api.github.com/users/funnycrab/followers",
"following_url": "https://api.github.com/users/funnycrab/following{/other_user}",
"gists_url": "https://api.github.com/users/funnycrab/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/funnycrab",
"id": 6365769,
"login": "funnycrab",
"node_id": "MDQ6VXNlcjYzNjU3Njk=",
"organizations_url": "https://api.github.com/users/funnycrab/orgs",
"received_events_url": "https://api.github.com/users/funnycrab/received_events",
"repos_url": "https://api.github.com/users/funnycrab/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/funnycrab/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/funnycrab/subscriptions",
"type": "User",
"url": "https://api.github.com/users/funnycrab"
}
|
[
{
"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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 2 | 2017-04-07T04:06:09Z | 2017-04-07T12:09:00Z | 2017-04-07T12:08:57Z |
CONTRIBUTOR
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15933/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15933/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15933.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15933",
"merged_at": "2017-04-07T12:08:57Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15933.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15933"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/15934
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15934/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15934/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15934/events
|
https://github.com/pandas-dev/pandas/pull/15934
| 220,106,038 |
MDExOlB1bGxSZXF1ZXN0MTE0NzQxMTY0
| 15,934 |
BUG: Correct Timestamp localization with tz near DST (#11481)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4",
"events_url": "https://api.github.com/users/mroeschke/events{/privacy}",
"followers_url": "https://api.github.com/users/mroeschke/followers",
"following_url": "https://api.github.com/users/mroeschke/following{/other_user}",
"gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mroeschke",
"id": 10647082,
"login": "mroeschke",
"node_id": "MDQ6VXNlcjEwNjQ3MDgy",
"organizations_url": "https://api.github.com/users/mroeschke/orgs",
"received_events_url": "https://api.github.com/users/mroeschke/received_events",
"repos_url": "https://api.github.com/users/mroeschke/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mroeschke"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 4 | 2017-04-07T04:19:44Z | 2017-12-20T02:00:29Z | 2017-04-08T21:59:06Z |
MEMBER
| null |
- [x] closes #11481, #15777
- [x] tests added / passed
- [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff``
- [x] whatsnew entry
Seemed that the `Timestamp` constructor with a string incorrectly localized a naive time with `tz_convert_single` instead of `tz_localize_to_utc` which is similar to how `DatetimeIndex` localizes.
Now the `Timestamp` will raise an error if an ambiguous combination of string and timezone is passed. Should this be the default behavior?
I had to slightly change 2 existing tests. `test_timestamp_to_datetime_tzoffset` used a now ambiguous timestamp and `test_setitem_with_tz_dst` had an incorrect expected timestamp.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15934/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15934/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15934.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15934",
"merged_at": "2017-04-08T21:59:06Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15934.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15934"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15935
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15935/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15935/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15935/events
|
https://github.com/pandas-dev/pandas/pull/15935
| 220,113,529 |
MDExOlB1bGxSZXF1ZXN0MTE0NzQ1MjM4
| 15,935 |
ENH: Minor change to parallel_coordinates (#15908)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1548135?v=4",
"events_url": "https://api.github.com/users/stangirala/events{/privacy}",
"followers_url": "https://api.github.com/users/stangirala/followers",
"following_url": "https://api.github.com/users/stangirala/following{/other_user}",
"gists_url": "https://api.github.com/users/stangirala/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/stangirala",
"id": 1548135,
"login": "stangirala",
"node_id": "MDQ6VXNlcjE1NDgxMzU=",
"organizations_url": "https://api.github.com/users/stangirala/orgs",
"received_events_url": "https://api.github.com/users/stangirala/received_events",
"repos_url": "https://api.github.com/users/stangirala/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/stangirala/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/stangirala/subscriptions",
"type": "User",
"url": "https://api.github.com/users/stangirala"
}
|
[
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 10 | 2017-04-07T05:17:44Z | 2017-04-14T13:30:30Z | 2017-04-14T13:30:24Z |
CONTRIBUTOR
| null |
Add option to sort class lables, add to test
- [x] closes #15908
- [x] tests added / passed
- [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff``
- [x] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15935/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15935/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15935.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15935",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15935.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15935"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15936
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15936/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15936/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15936/events
|
https://github.com/pandas-dev/pandas/issues/15936
| 220,209,342 |
MDU6SXNzdWUyMjAyMDkzNDI=
| 15,936 |
Deprecated pandas.lib redirect messages
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 7 | 2017-04-07T13:10:40Z | 2017-04-16T18:28:33Z | 2017-04-16T18:28:33Z |
MEMBER
| null |
Currently, you get the following message when you try to access one of the `pandas.lib` functions:
```
In [1]: pd.lib.Timedelta
/home/joris/miniconda3/envs/dev/bin/ipython:1: FutureWarning: pandas.lib.Timedelta is deprecated.
Please use pandas._libs.lib.Timedelta instead.
#!/home/joris/miniconda3/envs/dev/bin/python
Out[1]: pandas._libs.tslib.Timedelta
In [1]: pd.lib.is_bool
/home/joris/miniconda3/envs/dev/bin/ipython:1: FutureWarning: pandas.lib.is_bool is deprecated.
Please use pandas._libs.lib.is_bool instead.
#!/home/joris/miniconda3/envs/dev/bin/python
Out[1]: <function pandas._libs.lib.is_bool>
```
(apart from `infer_dtypes`, for which there is already another redirect).
We shouldn't recommend to use `pandas._lib.lib`.
For some there is a public alternative (like `Timestamp`, `Timedelta`), others are probably just private and shouldn't have an alternative.
We could list all of them as `removals` and `moved` in `lib = _DeprecatedModule(..)`, but that will be a long list. Or we could just don't provide an alternative import path by default, and only include some specific ones for which there is an alternative.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15936/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15936/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15937
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15937/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15937/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15937/events
|
https://github.com/pandas-dev/pandas/issues/15937
| 220,210,460 |
MDU6SXNzdWUyMjAyMTA0NjA=
| 15,937 |
BUG: MemoryError on reading big HDF5 files
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2182186?v=4",
"events_url": "https://api.github.com/users/mchwalisz/events{/privacy}",
"followers_url": "https://api.github.com/users/mchwalisz/followers",
"following_url": "https://api.github.com/users/mchwalisz/following{/other_user}",
"gists_url": "https://api.github.com/users/mchwalisz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mchwalisz",
"id": 2182186,
"login": "mchwalisz",
"node_id": "MDQ6VXNlcjIxODIxODY=",
"organizations_url": "https://api.github.com/users/mchwalisz/orgs",
"received_events_url": "https://api.github.com/users/mchwalisz/received_events",
"repos_url": "https://api.github.com/users/mchwalisz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mchwalisz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mchwalisz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mchwalisz"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
}
] |
open
| false | null |
[] |
{
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
}
| 17 | 2017-04-07T13:15:16Z | 2019-10-21T19:52:17Z | null |
CONTRIBUTOR
| null |
#### Code Sample, a copy-pastable example if possible
```python
import pandas as pd
store = pd.get_store('big1.h5')
i = 0
for df in store.select('/MeasurementSamples', chunksize=100):
i += 1
print(i)
store.close()
```
Result:
```
Traceback (most recent call last):
File "memerror.py", line 6, in <module>
for df in store.select(experiment, chunksize=100):
File "/home/chwalisz/Code/ext_tools/pandas/pandas/io/pytables.py", line 721, in select
return it.get_result()
File "/home/chwalisz/Code/ext_tools/pandas/pandas/io/pytables.py", line 1409, in get_result
self.coordinates = self.s.read_coordinates(where=self.where)
File "/home/chwalisz/Code/ext_tools/pandas/pandas/io/pytables.py", line 3652, in read_coordinates
coords = self.selection.select_coords()
File "/home/chwalisz/Code/ext_tools/pandas/pandas/io/pytables.py", line 4718, in select_coords
return np.arange(start, stop)
MemoryError
Closing remaining open files:big1.h5...done
```
#### Problem description
I'm not able to iterate over the chunks of file when the index array is to big and cannot fit into memory. I can also mention that I'm able to view the data with `ViTables` (that use `PyTables` internally to load data).
I'm using more less following code to create file (writing to it long enough to have 20GB of data).
```python
import tables as tb
class FreqSample(tb.IsDescription):
tsf = tb.Int64Col(dflt=-1) # [us] TSF value ticks in micro seconds
timestamp = tb.Int64Col() # [ns] Epoch time
frequency = tb.Float64Col()
power = tb.Float64Col()
h5filters = tb.Filters(complib='blosc', complevel=5)
h5file = tb.open_file(fname, mode="a",
title=title,
filters=h5filters)
tab = h5file.create_table('/Measurement', 'a', FreqSample)
try:
while True:
row = tab.row
row['tsf'] = 1
row['timestamp'] = 2
row['frequency'] = 3
row['power'] = 4
row.append()
except:
pass
tab.autoindex = True
tab.flush()
h5file.close()
```
#### Expected Output
I would expect the above code prints number of chunks.
#### Output of ``pd.show_versions()``
<details>
>>> pd.show_versions()
INSTALLED VERSIONS
------------------
commit: None
python: 3.6.1.final.0
python-bits: 64
OS: Linux
OS-release: 4.9.10-040910-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
LOCALE: en_US.UTF-8
pandas: 0.19.0+739.g7b82e8b
pytest: 3.0.7
pip: 9.0.1
setuptools: 27.2.0
Cython: 0.25.2
numpy: 1.12.1
scipy: 0.19.0
xarray: None
IPython: 5.3.0
sphinx: 1.5.4
patsy: None
dateutil: 2.6.0
pytz: 2017.2
blosc: None
bottleneck: None
tables: 3.3.0
numexpr: 2.6.2
feather: 0.3.1
matplotlib: 2.0.0
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: 0.999
sqlalchemy: 1.1.8
pymysql: None
psycopg2: None
jinja2: 2.9.5
s3fs: None
pandas_gbq: None
pandas_datareader: None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15937/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15937/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15938
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15938/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15938/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15938/events
|
https://github.com/pandas-dev/pandas/issues/15938
| 220,211,749 |
MDU6SXNzdWUyMjAyMTE3NDk=
| 15,938 |
BUG: invalid construction from repr of dt-aware index
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
] |
closed
| false | null |
[] |
{
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
}
| 1 | 2017-04-07T13:20:31Z | 2018-09-21T23:49:17Z | 2018-09-21T23:49:17Z |
CONTRIBUTOR
| null |
thought we had an issue about this....
The data is converted from string and is tz-aware, then the dtype convert is *also* applied.
```
In [1]: dt = pd.date_range('20160101', periods=1, tz='US/Eastern')
In [2]: dt
Out[2]: DatetimeIndex(['2016-01-01 00:00:00-05:00'], dtype='datetime64[ns, US/Eastern]', freq='D')
In [3]: r = DatetimeIndex(['2016-01-01 00:00:00-05:00'], dtype='datetime64[ns, US/Eastern]', freq='D')
In [4]: r
Out[4]: DatetimeIndex(['2016-01-01 05:00:00-05:00'], dtype='datetime64[ns, US/Eastern]', freq='D')
In [5]: dt.equals(r)
Out[5]: False
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15938/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15938/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15939
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15939/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15939/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15939/events
|
https://github.com/pandas-dev/pandas/pull/15939
| 220,212,032 |
MDExOlB1bGxSZXF1ZXN0MTE0ODE0NjE5
| 15,939 |
DOC/TST: add pd.unique doc-string & buggy return of Categorical
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 20 | 2017-04-07T13:21:42Z | 2017-04-09T17:22:28Z | 2017-04-09T15:28:52Z |
CONTRIBUTOR
| null |
closes #9346
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15939/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15939/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15939.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15939",
"merged_at": "2017-04-09T15:28:52Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15939.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15939"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15940
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15940/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15940/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15940/events
|
https://github.com/pandas-dev/pandas/pull/15940
| 220,223,237 |
MDExOlB1bGxSZXF1ZXN0MTE0ODIyNjcw
| 15,940 |
DEPR: deprecate pd.get_store as not api consistent and cluttering
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
},
{
"color": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 1 | 2017-04-07T14:02:46Z | 2017-04-07T15:23:01Z | 2017-04-07T15:21:05Z |
CONTRIBUTOR
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15940/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15940/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15940.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15940",
"merged_at": "2017-04-07T15:21:05Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15940.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15940"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/15941
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15941/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15941/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15941/events
|
https://github.com/pandas-dev/pandas/pull/15941
| 220,279,042 |
MDExOlB1bGxSZXF1ZXN0MTE0ODYzODg4
| 15,941 |
BUG/DOC: Add documentation in types/common.py
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4",
"events_url": "https://api.github.com/users/gfyoung/events{/privacy}",
"followers_url": "https://api.github.com/users/gfyoung/followers",
"following_url": "https://api.github.com/users/gfyoung/following{/other_user}",
"gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gfyoung",
"id": 9273653,
"login": "gfyoung",
"node_id": "MDQ6VXNlcjkyNzM2NTM=",
"organizations_url": "https://api.github.com/users/gfyoung/orgs",
"received_events_url": "https://api.github.com/users/gfyoung/received_events",
"repos_url": "https://api.github.com/users/gfyoung/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gfyoung"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false | null |
[] | null | 2 | 2017-04-07T17:31:33Z | 2017-04-08T00:40:39Z | 2017-04-07T22:42:30Z |
MEMBER
| null |
Adds documentation for all internal functions in `types/common.py`
In addition, caught a bug in which some functions calling `_get_dtype` were not catching the `TypeError`. Documented those functions along the way too.
Partially addresses #15895.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15941/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15941/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15941.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15941",
"merged_at": "2017-04-07T22:42:30Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15941.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15941"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15942
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15942/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15942/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15942/events
|
https://github.com/pandas-dev/pandas/issues/15942
| 220,297,356 |
MDU6SXNzdWUyMjAyOTczNTY=
| 15,942 |
to_datetime drops 00:00:00 from output
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/15041962?v=4",
"events_url": "https://api.github.com/users/cneerdaels/events{/privacy}",
"followers_url": "https://api.github.com/users/cneerdaels/followers",
"following_url": "https://api.github.com/users/cneerdaels/following{/other_user}",
"gists_url": "https://api.github.com/users/cneerdaels/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cneerdaels",
"id": 15041962,
"login": "cneerdaels",
"node_id": "MDQ6VXNlcjE1MDQxOTYy",
"organizations_url": "https://api.github.com/users/cneerdaels/orgs",
"received_events_url": "https://api.github.com/users/cneerdaels/received_events",
"repos_url": "https://api.github.com/users/cneerdaels/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cneerdaels/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cneerdaels/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cneerdaels"
}
|
[
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
},
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 5 | 2017-04-07T18:47:58Z | 2017-04-07T19:51:32Z | 2017-04-07T18:57:15Z |
NONE
| null |
####
```python
import pandas as pd
print (pd.__version__)
data = pd.DataFrame({'Mbps':[10.0], 'Region':['NA'], 'CID':['gsdfd']})
x1 = pd.to_datetime('2017-02-02 00:00:00', format='%Y-%m-%d %H:%M:%S')
data['time1'] = x1
print (x1)
print (data.time1)
x2 = pd.to_datetime('2017-02-02 00:00:05', format='%Y-%m-%d %H:%M:%S')
data['time2'] = x2
print (x2)
print (data.time2)
```
#### Problem description
Regardless of the format specified, to_datetime drops the hours,mins, and seconds when they are all zeros (i.e 00:00:00).
#### Expected Output
```
0.19.2
2017-02-02 00:00:00
0 2017-02-02 00:00:00
Name: time1, dtype: datetime64[ns]
2017-02-02 00:00:05
0 2017-02-02 00:00:05
Name: time2, dtype: datetime64[ns]
```
#### Actual Output
```
0.19.2
2017-02-02 00:00:00
0 2017-02-02
Name: time1, dtype: datetime64[ns]
2017-02-02 00:00:05
0 2017-02-02 00:00:05
Name: time2, dtype: datetime64[ns]
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15942/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15942/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15943
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15943/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15943/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15943/events
|
https://github.com/pandas-dev/pandas/issues/15943
| 220,308,081 |
MDU6SXNzdWUyMjAzMDgwODE=
| 15,943 |
HDFStore - raising an exception when complevel > 0 and complib is None
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1063143?v=4",
"events_url": "https://api.github.com/users/joonro/events{/privacy}",
"followers_url": "https://api.github.com/users/joonro/followers",
"following_url": "https://api.github.com/users/joonro/following{/other_user}",
"gists_url": "https://api.github.com/users/joonro/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/joonro",
"id": 1063143,
"login": "joonro",
"node_id": "MDQ6VXNlcjEwNjMxNDM=",
"organizations_url": "https://api.github.com/users/joonro/orgs",
"received_events_url": "https://api.github.com/users/joonro/received_events",
"repos_url": "https://api.github.com/users/joonro/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/joonro/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/joonro/subscriptions",
"type": "User",
"url": "https://api.github.com/users/joonro"
}
|
[
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
},
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-10-28T18:54:27Z",
"closed_issues": 764,
"created_at": "2017-03-23T13:26:25Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2017-10-27T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/46",
"id": 2406656,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/46/labels",
"node_id": "MDk6TWlsZXN0b25lMjQwNjY1Ng==",
"number": 46,
"open_issues": 0,
"state": "closed",
"title": "0.21.0",
"updated_at": "2018-07-08T21:53:21Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/46"
}
| 5 | 2017-04-07T19:34:30Z | 2017-06-13T23:20:59Z | 2017-06-13T23:20:59Z |
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
HDFStore = pd.HDFStore('mydata.ph5', mode='w', complevel=9)
```
#### Problem description
Hi,
It seems when `complib is None`, `pd.HDFStore` does not use any compression even though a user supplies `complevel > 0`. If there is no good default option for `complib`, then in my opinion, `HDFStore` should raise an exception when `(complib is None) and (complevel > 0)` instead. This is because clearly the user wants compression but it cannot be done - I think explicitly raising an exception is better than silently ignoring the option.
#### Output of ``pd.show_versions()``
<details>
pd.show_versions()
INSTALLED VERSIONS
------------------
commit: None
python: 3.5.2.final.0
python-bits: 64
OS: Windows
OS-release: 10
machine: AMD64
processor: Intel64 Family 6 Model 62 Stepping 4, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None
LOCALE: None.None
pandas: 0.19.2
nose: 1.3.7
pip: 9.0.1
setuptools: 27.2.0
Cython: 0.24.1
numpy: 1.11.3
scipy: 0.18.1
statsmodels: 0.6.1
xarray: 0.9.1
IPython: 5.1.0
sphinx: 1.4.6
patsy: 0.4.1
dateutil: 2.5.3
pytz: 2016.6.1
blosc: None
bottleneck: 1.1.0
tables: 3.2.2
numexpr: 2.6.1
matplotlib: 1.5.3
openpyxl: 2.3.2
xlrd: 1.0.0
xlwt: 1.1.2
xlsxwriter: 0.9.3
lxml: 3.6.4
bs4: 4.5.1
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: 1.0.13
pymysql: None
psycopg2: None
jinja2: 2.8
boto: 2.42.0
pandas_datareader: None
</details>
|
{
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15943/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15943/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15944
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15944/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15944/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15944/events
|
https://github.com/pandas-dev/pandas/issues/15944
| 220,313,815 |
MDU6SXNzdWUyMjAzMTM4MTU=
| 15,944 |
BUG: Resampling PeriodIndex-ed to multiple of frequencies not working as expected
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/5320313?v=4",
"events_url": "https://api.github.com/users/winklerand/events{/privacy}",
"followers_url": "https://api.github.com/users/winklerand/followers",
"following_url": "https://api.github.com/users/winklerand/following{/other_user}",
"gists_url": "https://api.github.com/users/winklerand/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/winklerand",
"id": 5320313,
"login": "winklerand",
"node_id": "MDQ6VXNlcjUzMjAzMTM=",
"organizations_url": "https://api.github.com/users/winklerand/orgs",
"received_events_url": "https://api.github.com/users/winklerand/received_events",
"repos_url": "https://api.github.com/users/winklerand/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/winklerand/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/winklerand/subscriptions",
"type": "User",
"url": "https://api.github.com/users/winklerand"
}
|
[
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
},
{
"color": "eb6420",
"default": false,
"description": "Period data type",
"id": 60635328,
"name": "Period",
"node_id": "MDU6TGFiZWw2MDYzNTMyOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period"
},
{
"color": "207de5",
"default": false,
"description": "resample method",
"id": 74975453,
"name": "Resample",
"node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-10-28T18:54:27Z",
"closed_issues": 764,
"created_at": "2017-03-23T13:26:25Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2017-10-27T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/46",
"id": 2406656,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/46/labels",
"node_id": "MDk6TWlsZXN0b25lMjQwNjY1Ng==",
"number": 46,
"open_issues": 0,
"state": "closed",
"title": "0.21.0",
"updated_at": "2018-07-08T21:53:21Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/46"
}
| 1 | 2017-04-07T19:59:52Z | 2017-09-28T14:29:44Z | 2017-04-07T20:04:14Z |
CONTRIBUTOR
| null |
#### Code Sample, a copy-pastable example if possible
```python
In [1]: import numpy as np
In [2]: import pandas as pd
In [3]: s = pd.Series([2017, 2018], index=pd.period_range('2017', freq='A', periods=2))
In [4]: s.resample('2Q', kind='period').ffill()
Warning: multiple of frequency -> timestamps
Out[4]:
2017-03-31 2017
2017-09-30 2017
2018-03-31 2018
Freq: 2Q-DEC, dtype: int64
In [7]: s2 = pd.Series(np.arange(12), index=pd.period_range('2017-01', freq='M', periods=12))
In [8]: s2.resample('2Q', kind='period').mean()
Warning: multiple of frequency -> timestamps
Out[8]:
2017-03-31 1.0
2017-09-30 5.5
2018-03-31 10.0
Freq: 2Q-DEC, dtype: float64
```
To compare with, results for resampling to base frequency (no multiples) returning PeriodIndex-ed and covering the full original time span:
<details>
```python
In [5]: s.resample('Q', kind='period').ffill()
Out[5]:
2017Q1 2017
2017Q2 2017
2017Q3 2017
2017Q4 2017
2018Q1 2018
2018Q2 2018
2018Q3 2018
2018Q4 2018
Freq: Q-DEC, dtype: int64
In [9]: s2.resample('Q', kind='period').mean()
Out[9]:
2017Q1 1
2017Q2 4
2017Q3 7
2017Q4 10
Freq: Q-DEC, dtype: int64
```
</details>
#### Problem description
* I'd expect resampling PeriodIndex-ed series/dataframes would return a PeriodIndex-ed result by default, even more when given```kind='period'```.
* Moreover, I'd expect the original full time span to be covered by the resampling result (upsampling A->2Q would return 2 periods per year, downsampling M->2Q would return 2 periods per 12 months).
As indicated by the warning message, resampling to multiple of frequencies falls back to timestamp-based resampling. Both work fine when resampling to a "base" frequency without any multiple.
#### Expected Output
```python
In [4]: s.resample('2Q', kind='period').ffill()
Out[4]:
2017Q1 2017
2017Q3 2017
2018Q1 2018
2018Q3 2018
Freq: 2Q-DEC, dtype: int64
In [8]: s2.resample('2Q', kind='period').mean()
Out[8]:
2017Q1 2.5
2017Q3 8.5
Freq: 2Q-DEC, dtype: float64
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 3.6.1.final.0
python-bits: 64
OS: Darwin
OS-release: 15.6.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: None
LANG: de_DE.UTF-8
LOCALE: de_DE.UTF-8
pandas: 0.19.2
nose: None
pip: 9.0.1
setuptools: 33.1.1.post20170320
Cython: None
numpy: 1.12.1
scipy: 0.19.0
statsmodels: 0.8.0
xarray: None
IPython: 5.3.0
sphinx: None
patsy: 0.4.1
dateutil: 2.6.0
pytz: 2016.10
blosc: None
bottleneck: 1.2.0
tables: None
numexpr: 2.6.2
matplotlib: 2.0.0
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: 4.5.3
html5lib: 0.999
httplib2: None
apiclient: None
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: 2.9.5
boto: None
pandas_datareader: None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15944/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15944/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15945
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15945/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15945/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15945/events
|
https://github.com/pandas-dev/pandas/pull/15945
| 220,318,467 |
MDExOlB1bGxSZXF1ZXN0MTE0ODkzMDU3
| 15,945 |
BUG: Validate the skipfooter parameter in read_csv
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4",
"events_url": "https://api.github.com/users/gfyoung/events{/privacy}",
"followers_url": "https://api.github.com/users/gfyoung/followers",
"following_url": "https://api.github.com/users/gfyoung/following{/other_user}",
"gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gfyoung",
"id": 9273653,
"login": "gfyoung",
"node_id": "MDQ6VXNlcjkyNzM2NTM=",
"organizations_url": "https://api.github.com/users/gfyoung/orgs",
"received_events_url": "https://api.github.com/users/gfyoung/received_events",
"repos_url": "https://api.github.com/users/gfyoung/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gfyoung"
}
|
[
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 7 | 2017-04-07T20:21:29Z | 2017-04-08T16:35:56Z | 2017-04-08T13:24:44Z |
MEMBER
| null |
Previously, the `skipfooter` parameter was assumed to be an integer, but that was not checked.
xref <a href="https://github.com/pandas-dev/pandas/pull/15925#discussion_r110283317">#15925 (comment)</a>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15945/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15945/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15945.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15945",
"merged_at": "2017-04-08T13:24:44Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15945.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15945"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15946
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15946/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15946/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15946/events
|
https://github.com/pandas-dev/pandas/pull/15946
| 220,321,369 |
MDExOlB1bGxSZXF1ZXN0MTE0ODk1MTkw
| 15,946 |
MAINT: Refactor Python engine empty line funcs
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4",
"events_url": "https://api.github.com/users/gfyoung/events{/privacy}",
"followers_url": "https://api.github.com/users/gfyoung/followers",
"following_url": "https://api.github.com/users/gfyoung/following{/other_user}",
"gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gfyoung",
"id": 9273653,
"login": "gfyoung",
"node_id": "MDQ6VXNlcjkyNzM2NTM=",
"organizations_url": "https://api.github.com/users/gfyoung/orgs",
"received_events_url": "https://api.github.com/users/gfyoung/received_events",
"repos_url": "https://api.github.com/users/gfyoung/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gfyoung"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 4 | 2017-04-07T20:33:47Z | 2017-04-08T16:35:49Z | 2017-04-08T13:25:24Z |
MEMBER
| null |
The Python engine's `_empty` and `_check_empty` methods were uninformative and undocumented.
This commit renames them to `_is_line_empty` and `_remove_empty_lines` respectively and provides appropriate documentation.
xref <a href="https://github.com/pandas-dev/pandas/pull/15925#discussion_r110377233">#15925 (comment)</a>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15946/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15946/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15946.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15946",
"merged_at": "2017-04-08T13:25:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15946.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15946"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15947
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15947/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15947/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15947/events
|
https://github.com/pandas-dev/pandas/issues/15947
| 220,329,560 |
MDU6SXNzdWUyMjAzMjk1NjA=
| 15,947 |
ENH: add groupby(..).sort_values()
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
}
|
[
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "207de5",
"default": false,
"description": "Requires discussion from core team before further action",
"id": 219960758,
"name": "Needs Discussion",
"node_id": "MDU6TGFiZWwyMTk5NjA3NTg=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion"
}
] |
open
| false | null |
[] |
{
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
}
| 11 | 2017-04-07T21:10:00Z | 2021-05-08T01:56:02Z | null |
CONTRIBUTOR
| null |
might be useful to expose this as a top-level groupby method for intra-group sorting. Anyone have a good usecase for this? We could make this *much* faster that the current impl (not that this is an issue, though potentially it could be).
```
In [10]: df = DataFrame({'A': [1, 1, 2, 2, 2], 'B': [2, 1, 3, 3, 1], 'C':[1, 1, 2, 1, 1]})
In [11]: df
Out[11]:
A B C
0 1 2 1
1 1 1 1
2 2 3 2
3 2 3 1
4 2 1 1
In [12]: df.groupby('A').apply(lambda x: x.sort_values(['B', 'C']))
Out[12]:
A B C
A
1 1 1 1 1
0 1 2 1
2 4 2 1 1
3 2 3 1
2 2 3 2
```
|
{
"+1": 2,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 2,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15947/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15947/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15948
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15948/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15948/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15948/events
|
https://github.com/pandas-dev/pandas/pull/15948
| 220,400,550 |
MDExOlB1bGxSZXF1ZXN0MTE0OTQ1ODA3
| 15,948 |
COMPAT: 32bit compat on indexing for MI.remove_unused_levels
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
}
|
[
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
},
{
"color": "0e8a16",
"default": false,
"description": "32-bit systems",
"id": 563047854,
"name": "32bit",
"node_id": "MDU6TGFiZWw1NjMwNDc4NTQ=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/32bit"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 1 | 2017-04-08T13:43:06Z | 2017-04-08T15:56:35Z | 2017-04-08T14:32:09Z |
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/15948/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15948/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15948.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15948",
"merged_at": "2017-04-08T14:32:09Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15948.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15948"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/15949
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15949/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15949/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15949/events
|
https://github.com/pandas-dev/pandas/pull/15949
| 220,404,031 |
MDExOlB1bGxSZXF1ZXN0MTE0OTQ3Nzkz
| 15,949 |
TST: clean up series/frame api tests inheritance a bit
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 3 | 2017-04-08T14:46:33Z | 2017-04-10T12:12:13Z | 2017-04-10T12:12:01Z |
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/15949/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15949/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15949.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15949",
"merged_at": "2017-04-10T12:12:01Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15949.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15949"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/15950
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15950/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15950/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15950/events
|
https://github.com/pandas-dev/pandas/issues/15950
| 220,415,216 |
MDU6SXNzdWUyMjA0MTUyMTY=
| 15,950 |
np.read_csv C parser uses _try_int64 when converting np.uint64 values
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8685088?v=4",
"events_url": "https://api.github.com/users/kirillsc/events{/privacy}",
"followers_url": "https://api.github.com/users/kirillsc/followers",
"following_url": "https://api.github.com/users/kirillsc/following{/other_user}",
"gists_url": "https://api.github.com/users/kirillsc/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kirillsc",
"id": 8685088,
"login": "kirillsc",
"node_id": "MDQ6VXNlcjg2ODUwODg=",
"organizations_url": "https://api.github.com/users/kirillsc/orgs",
"received_events_url": "https://api.github.com/users/kirillsc/received_events",
"repos_url": "https://api.github.com/users/kirillsc/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kirillsc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kirillsc/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kirillsc"
}
|
[
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 6 | 2017-04-08T17:39:23Z | 2017-04-08T18:20:56Z | 2017-04-08T18:20:56Z |
NONE
| null |
#### Code Sample
```python
#!/usr/bin/python
import numpy as np
import pandas as pd
df = pd.read_csv("test.data", sep=" ",
names=["opcode", "msg_id", "verb", "time_ns", "src_port", "key"],
dtype={"opcode":np.uint32, "msg_id":np.uint64, "time_ns":np.uint64},
error_bad_lines=False,
skip_blank_lines=True
)
print df
print "value ", df.ix[2, "time_ns"]
print "max u43", np.iinfo(np.int64).max
print "max u64", np.iinfo(np.uint64).max
"""
> cat test.data
5 49175 8 6369116884441 121 user5353376006837317496
5 87 8 6369116913924 120 user5020027490740379661
5 16476 5 9636911691583032832 1208 user2127153374092823212
5 49216 8 6369116917983 122 user3650346306886706056
5 64 8 6369117018969 123 user4432592802498709959
"""
```
#### Problem description
In the example above, I am specifying time_ns column to be of type np.uint64, however, it causes an overflow issue when reading the test.data file on the row[2]. As it follows from the trace, int64 is used instead of unsigned int64 which triggers the issue.
A work around that works is to use python parser and convert uint64 column manually as follows:
```python
df = pd.read_csv("test.data", sep=" ",
names=["opcode", "msg_id", "verb", "time_ns", "src_port", "key"],
skip_blank_lines=True,
engine="python"
)
df["time_ns"] = df.apply(lambda x: np.uint64(x["time_ns"]), axis=1)
```
#### Actual Output
> Traceback (most recent call last):
File "./test.py", line 9, in <module>
skip_blank_lines=True
File "/usr/local/lib/python2.7/dist-packages/pandas/io/parsers.py", line 645, in parser_f
return _read(filepath_or_buffer, kwds)
File "/usr/local/lib/python2.7/dist-packages/pandas/io/parsers.py", line 400, in _read
data = parser.read()
File "/usr/local/lib/python2.7/dist-packages/pandas/io/parsers.py", line 938, in read
ret = self._engine.read(nrows)
File "/usr/local/lib/python2.7/dist-packages/pandas/io/parsers.py", line 1507, in read
data = self._reader.read(nrows)
File "pandas/parser.pyx", line 846, in pandas.parser.TextReader.read (pandas/parser.c:10364)
File "pandas/parser.pyx", line 868, in pandas.parser.TextReader._read_low_memory (pandas/parser.c:10640)
File "pandas/parser.pyx", line 945, in pandas.parser.TextReader._read_rows (pandas/parser.c:11677)
File "pandas/parser.pyx", line 1047, in pandas.parser.TextReader._convert_column_data (pandas/parser.c:13111)
File "pandas/parser.pyx", line 1091, in pandas.parser.TextReader._convert_tokens (pandas/parser.c:13856)
File "pandas/parser.pyx", line 1145, in pandas.parser.TextReader._convert_with_dtype (pandas/parser.c:14775)
File "pandas/parser.pyx", line 1749, in pandas.parser._try_int64 (pandas/parser.c:24581)
OverflowError: Overflow
#### Expected Output
opcode msg_id verb time_ns src_port \
0 5 49175 8 6369116884441 121
1 5 87 8 6369116913924 120
2 5 16476 5 9636911691583032832 1208
3 5 49216 8 6369116917983 122
4 5 64 8 6369117018969 123
key
0 user5353376006837317496
1 user5020027490740379661
2 user2127153374092823212
3 user3650346306886706056
4 user4432592802498709959
value 9636911691583032832
max u43 9223372036854775807
max u64 18446744073709551615
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.12.final.0
python-bits: 64
OS: Linux
OS-release: 4.4.0-31-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: en_US.UTF-8
LANG: C
LOCALE: None.None
pandas: 0.19.1
nose: 1.3.7
pip: 9.0.1
setuptools: 34.3.3
Cython: None
numpy: 1.12.1
scipy: 0.18.1
statsmodels: 0.6.1
xarray: None
IPython: 5.3.0
sphinx: None
patsy: 0.4.1
dateutil: 2.6.0
pytz: 2016.10
blosc: None
bottleneck: None
tables: 3.2.2
numexpr: 2.4.3
matplotlib: 1.5.3
openpyxl: 2.3.0
xlrd: 0.9.4
xlwt: 0.7.5
xlsxwriter: None
lxml: 3.5.0
bs4: 4.4.1
html5lib: 0.999
httplib2: None
apiclient: None
sqlalchemy: None
pymysql: 0.7.2.None
psycopg2: None
jinja2: 2.8
boto: None
pandas_datareader: None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15950/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15950/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15951
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15951/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15951/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15951/events
|
https://github.com/pandas-dev/pandas/pull/15951
| 220,419,132 |
MDExOlB1bGxSZXF1ZXN0MTE0OTU2MzI0
| 15,951 |
DOC: Cleanup for nbsphinx output
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
}
|
[
{
"color": "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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 10 | 2017-04-08T18:47:55Z | 2017-05-29T20:43:57Z | 2017-04-08T20:58:17Z |
CONTRIBUTOR
| null |
Followup to https://github.com/pandas-dev/pandas/pull/15581
Using the `nbsphinx: hidden` metadata to hide the ouptut, so
readers don't see matplotlib's fc-list warning.
Make the tables monospaced in CSS.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15951/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15951/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15951.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15951",
"merged_at": "2017-04-08T20:58:17Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15951.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15951"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15952
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15952/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15952/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15952/events
|
https://github.com/pandas-dev/pandas/pull/15952
| 220,423,577 |
MDExOlB1bGxSZXF1ZXN0MTE0OTU5MDM5
| 15,952 |
TST: Add test decorators for redirecting stdout and stderr
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4",
"events_url": "https://api.github.com/users/gfyoung/events{/privacy}",
"followers_url": "https://api.github.com/users/gfyoung/followers",
"following_url": "https://api.github.com/users/gfyoung/following{/other_user}",
"gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gfyoung",
"id": 9273653,
"login": "gfyoung",
"node_id": "MDQ6VXNlcjkyNzM2NTM=",
"organizations_url": "https://api.github.com/users/gfyoung/orgs",
"received_events_url": "https://api.github.com/users/gfyoung/received_events",
"repos_url": "https://api.github.com/users/gfyoung/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gfyoung"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 3 | 2017-04-08T20:00:58Z | 2017-04-08T22:01:08Z | 2017-04-08T21:58:32Z |
MEMBER
| null |
Add testing decorators for redirecting `stdout` and `stderr`.
xref <a href="https://github.com/pandas-dev/pandas/pull/15925#discussion_r110283696">#15925 (comment)</a>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15952/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15952/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15952.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15952",
"merged_at": "2017-04-08T21:58:32Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15952.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15952"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15953
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15953/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15953/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15953/events
|
https://github.com/pandas-dev/pandas/issues/15953
| 220,430,836 |
MDU6SXNzdWUyMjA0MzA4MzY=
| 15,953 |
BUG: Empty DataFrame.style.render raises IndexError
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
},
{
"color": "006b75",
"default": false,
"description": "read_html, to_html, Styler.apply, Styler.applymap",
"id": 57395487,
"name": "IO HTML",
"node_id": "MDU6TGFiZWw1NzM5NTQ4Nw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HTML"
}
] |
closed
| false | null |
[] |
{
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
}
| 1 | 2017-04-08T22:08:25Z | 2017-05-23T16:52:45Z | 2017-05-23T16:52:45Z |
CONTRIBUTOR
| null |
#### Code Sample, a copy-pastable example if possible
```python
In [6]: pd.DataFrame().style.render()
---------------------------------------------------------------------------
IndexError Traceback (most recent call last)
<ipython-input-6-345e1b37074e> in <module>()
----> 1 pd.DataFrame().style.render()
/Users/taugspurger/Envs/dask-dev/lib/python3.6/site-packages/pandas/formats/style.py in render(self)
416 """
417 self._compute()
--> 418 d = self._translate()
419 # filter out empty styles, every cell will have a class
420 # but the list of props may just be [['', '']].
/Users/taugspurger/Envs/dask-dev/lib/python3.6/site-packages/pandas/formats/style.py in _translate(self)
252 "is_visible": True})
253
--> 254 for c in range(len(clabels[0])):
255 cs = [COL_HEADING_CLASS, "level%s" % r, "col%s" % c]
256 cs.extend(cell_context.get(
IndexError: list index out of range
```
#### Problem description
We assume that there's at least one column (and probably row)
#### Expected Output
Should match the output of an empty DataFrame in the notebook
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15953/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15953/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15954
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15954/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15954/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15954/events
|
https://github.com/pandas-dev/pandas/pull/15954
| 220,431,745 |
MDExOlB1bGxSZXF1ZXN0MTE0OTYzNjk0
| 15,954 |
ENH: Style blocks
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
}
|
[
{
"color": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
},
{
"color": "006b75",
"default": false,
"description": "read_html, to_html, Styler.apply, Styler.applymap",
"id": 57395487,
"name": "IO HTML",
"node_id": "MDU6TGFiZWw1NzM5NTQ4Nw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HTML"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 27 | 2017-04-08T22:25:20Z | 2017-05-29T20:44:01Z | 2017-04-15T13:59:00Z |
CONTRIBUTOR
| null |
ENH: Add blocks to Styler template
This will make subclassing the Styler and extending
the templates easier.
REF: Move template to its own file
Use Environment and PackageLoader to load 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/15954/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15954/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15954.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15954",
"merged_at": "2017-04-15T13:59:00Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15954.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15954"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15955
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15955/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15955/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15955/events
|
https://github.com/pandas-dev/pandas/pull/15955
| 220,474,159 |
MDExOlB1bGxSZXF1ZXN0MTE0OTg3Nzgy
| 15,955 |
BUG: Fix MultiIndex names handling in pd.concat
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/6365769?v=4",
"events_url": "https://api.github.com/users/funnycrab/events{/privacy}",
"followers_url": "https://api.github.com/users/funnycrab/followers",
"following_url": "https://api.github.com/users/funnycrab/following{/other_user}",
"gists_url": "https://api.github.com/users/funnycrab/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/funnycrab",
"id": 6365769,
"login": "funnycrab",
"node_id": "MDQ6VXNlcjYzNjU3Njk=",
"organizations_url": "https://api.github.com/users/funnycrab/orgs",
"received_events_url": "https://api.github.com/users/funnycrab/received_events",
"repos_url": "https://api.github.com/users/funnycrab/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/funnycrab/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/funnycrab/subscriptions",
"type": "User",
"url": "https://api.github.com/users/funnycrab"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 2 | 2017-04-09T14:20:46Z | 2017-04-10T16:39:01Z | 2017-04-10T12:10:24Z |
CONTRIBUTOR
| null |
This is a fix attempt for issue #15787.
The discrepancy between definition and corresponding implementation of so-called non-none names in function _get_consensus_names leads to this bug.
- [x] closes #15787
- [x] tests added / passed
- [ ] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff``
- [x] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15955/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15955/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15955.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15955",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15955.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15955"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15956
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15956/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15956/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15956/events
|
https://github.com/pandas-dev/pandas/pull/15956
| 220,474,988 |
MDExOlB1bGxSZXF1ZXN0MTE0OTg4MjYx
| 15,956 |
DOC: Fix a comment typo in pandas/tools/concat.py
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/6365769?v=4",
"events_url": "https://api.github.com/users/funnycrab/events{/privacy}",
"followers_url": "https://api.github.com/users/funnycrab/followers",
"following_url": "https://api.github.com/users/funnycrab/following{/other_user}",
"gists_url": "https://api.github.com/users/funnycrab/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/funnycrab",
"id": 6365769,
"login": "funnycrab",
"node_id": "MDQ6VXNlcjYzNjU3Njk=",
"organizations_url": "https://api.github.com/users/funnycrab/orgs",
"received_events_url": "https://api.github.com/users/funnycrab/received_events",
"repos_url": "https://api.github.com/users/funnycrab/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/funnycrab/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/funnycrab/subscriptions",
"type": "User",
"url": "https://api.github.com/users/funnycrab"
}
|
[
{
"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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 1 | 2017-04-09T14:34:43Z | 2017-04-09T14:56:07Z | 2017-04-09T14:40:13Z |
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/15956/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15956/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15956.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15956",
"merged_at": "2017-04-09T14:40:13Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15956.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15956"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/15957
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15957/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15957/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15957/events
|
https://github.com/pandas-dev/pandas/issues/15957
| 220,486,729 |
MDU6SXNzdWUyMjA0ODY3Mjk=
| 15,957 |
DOC: update api.rst for Categorical accessors / methods
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false | null |
[] |
{
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
}
| 6 | 2017-04-09T17:49:55Z | 2017-04-10T12:16:39Z | 2017-04-10T12:16:39Z |
CONTRIBUTOR
| null |
we have a ``Categorical`` section, but this mainly describes ``.cat``. Maybe split this out into a separate section to document the actual ``Categorical`` methods / accessors (even though it is *slightly* duplicative.
http://pandas-docs.github.io/pandas-docs-travis/api.html#categorical
also need to add other public methods (that are not available on ``.cat``). This is actually a big list, things like:
``isnull``, ``unique``, ``map``, ``value_counts``, etc.
These are all Series like methods / accessors.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15957/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15957/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15958
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15958/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15958/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15958/events
|
https://github.com/pandas-dev/pandas/pull/15958
| 220,487,783 |
MDExOlB1bGxSZXF1ZXN0MTE0OTk1NTM5
| 15,958 |
DOC: suppress some doc build warnings
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
}
|
[
{
"color": "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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 0 | 2017-04-09T18:07:40Z | 2017-04-09T18:24:05Z | 2017-04-09T18:24:05Z |
CONTRIBUTOR
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15958/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15958/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15958.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15958",
"merged_at": "2017-04-09T18:24:05Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15958.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15958"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/15959
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15959/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15959/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15959/events
|
https://github.com/pandas-dev/pandas/issues/15959
| 220,489,481 |
MDU6SXNzdWUyMjA0ODk0ODE=
| 15,959 |
Setting values in empty multi-dimensional dataframe with multi-dimensional data?
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/18585219?v=4",
"events_url": "https://api.github.com/users/joseortiz3/events{/privacy}",
"followers_url": "https://api.github.com/users/joseortiz3/followers",
"following_url": "https://api.github.com/users/joseortiz3/following{/other_user}",
"gists_url": "https://api.github.com/users/joseortiz3/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/joseortiz3",
"id": 18585219,
"login": "joseortiz3",
"node_id": "MDQ6VXNlcjE4NTg1MjE5",
"organizations_url": "https://api.github.com/users/joseortiz3/orgs",
"received_events_url": "https://api.github.com/users/joseortiz3/received_events",
"repos_url": "https://api.github.com/users/joseortiz3/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/joseortiz3/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/joseortiz3/subscriptions",
"type": "User",
"url": "https://api.github.com/users/joseortiz3"
}
|
[
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
] |
closed
| false | null |
[] |
{
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
}
| 7 | 2017-04-09T18:36:48Z | 2017-04-10T08:09:47Z | 2017-04-09T20:15:01Z |
NONE
| null |
I am trying to find a clean, concise way of setting the values of a multi-dimensional, multi-indexed dataframe, using data of lower dimensionality. In this case, I am trying to use two-dimensional data to set values in a four-dimensional dataframe.
Unfortunately, the syntax I am using only works with 2D data if the keys I'm using are already in the dataframe's index/column. But empty dataframes do not have any keys (yet) in their indices/columns.
For single points (0D), this is not a problem. Pandas just adds the missing key(s) appropriately and sets the value. For anything else, the key must be already there, it seems, as the below code shows.
#### Code Sample, a copy-pastable example if possible
```python
import pandas as pd
import numpy as np
# Create an empty 2-level mux (multi-index) for the index.
# The first level is run number ('r'). The second is x-axis values ('x').
mux = pd.MultiIndex(levels=[[]]*2,labels=[[]]*2,names=['r','x'])
# Create an empty 2-level mux for the column
# The first level is parameter value ('p'). The second is y-axis values ('y').
mux2 = pd.MultiIndex(levels=[[]]*2,labels=[[]]*2,names=['p','y'])
# Create the empty multi-indexed and multi-columned dataframe
df = pd.DataFrame(index=mux,columns=mux2)
# run number 0 (r=0), using parameter value 1.024 (p=1.024)...
# ... produces 2D data on an x-y grid.
data = np.array([[1,2,3],[4,5,6]])
ys = np.array([0,1,2])
xs = np.array([0,1])
# Now we want to set values in the 4D dataframe with our 2D data. Throws error.
df.loc[(0,list(xs)),(1.024,list(ys))] = data
Traceback (most recent call last):
KeyError: 0
```
But single points work fine.
```python
# Single points automatically result in new keys
df.loc[(0,xs[0]),(1.024,ys[0])] = 1
df.loc[(0,xs[0]),(1.024,ys[1])] = 2
df.loc[(0,xs[1]),(1.024,ys[0])] = 3
df.loc[(0,xs[1]),(1.024,ys[1])] = 4
# Keys are now found, and this now works.
df.loc[(0,list(xs[0:2])),(1.024,list(ys[0:2]))] = ((5,6),(7,8))
# But this does not work. '1' is not currently a key.
df.loc[(1,list(xs[0:2])),(1.024,list(ys[0:2]))] = ((1,2),(3,4))
Traceback (most recent call last):
KeyError: 1L
```
#### Problem description
It seems the default behavior for setting single points (that is, auto-creation of keys) is different than the behavior of setting multiple points (no auto-creation of keys). This seems pretty arbitrary from my outsider perspective; not sure why the behavior shouldn't be identical.
If there is another way of accomplishing this, I would love to hear about it. But perhaps the point behavior should be extended to multiple dimensions.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.12.final.0
python-bits: 64
OS: Windows
OS-release: 10
machine: AMD64
processor: Intel64 Family 6 Model 60 Stepping 3, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None
LOCALE: None.None
pandas: 0.19.2
nose: 1.3.7
pip: 9.0.1
setuptools: 33.1.0.post20170122
Cython: 0.25.2
numpy: 1.10.4
scipy: 0.17.1
statsmodels: 0.8.0
xarray: 0.9.1
IPython: 5.2.2
sphinx: 1.5.2
patsy: 0.4.1
dateutil: 2.6.0
pytz: 2016.10
blosc: None
bottleneck: 1.2.0
tables: 3.3.0
numexpr: 2.6.1
matplotlib: 2.0.0
openpyxl: 2.4.1
xlrd: 1.0.0
xlwt: 1.2.0
xlsxwriter: 0.9.6
lxml: 3.7.2
bs4: 4.5.3
html5lib: 0.999
httplib2: None
apiclient: None
sqlalchemy: 1.1.5
pymysql: None
psycopg2: None
jinja2: 2.8
boto: 2.45.0
pandas_datareader: 0.2.1
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15959/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15959/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15960
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15960/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15960/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15960/events
|
https://github.com/pandas-dev/pandas/issues/15960
| 220,506,722 |
MDU6SXNzdWUyMjA1MDY3MjI=
| 15,960 |
sort_values not implemented for Panel
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/15961048?v=4",
"events_url": "https://api.github.com/users/pepicello/events{/privacy}",
"followers_url": "https://api.github.com/users/pepicello/followers",
"following_url": "https://api.github.com/users/pepicello/following{/other_user}",
"gists_url": "https://api.github.com/users/pepicello/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/pepicello",
"id": 15961048,
"login": "pepicello",
"node_id": "MDQ6VXNlcjE1OTYxMDQ4",
"organizations_url": "https://api.github.com/users/pepicello/orgs",
"received_events_url": "https://api.github.com/users/pepicello/received_events",
"repos_url": "https://api.github.com/users/pepicello/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/pepicello/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pepicello/subscriptions",
"type": "User",
"url": "https://api.github.com/users/pepicello"
}
|
[
{
"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": "2017-10-28T18:54:27Z",
"closed_issues": 764,
"created_at": "2017-03-23T13:26:25Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2017-10-27T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/46",
"id": 2406656,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/46/labels",
"node_id": "MDk6TWlsZXN0b25lMjQwNjY1Ng==",
"number": 46,
"open_issues": 0,
"state": "closed",
"title": "0.21.0",
"updated_at": "2018-07-08T21:53:21Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/46"
}
| 2 | 2017-04-09T23:03:30Z | 2017-05-31T23:10:24Z | 2017-05-31T23:10:24Z |
CONTRIBUTOR
| null |
#### Code Sample, a copy-pastable example if possible
```python
import pandas as pd
pd.Panel(np.random.randn(2, 5, 4), items=['Item1', 'Item2']).sort_values(by=0)
---------------------------------------------------------------------------
AbstractMethodError Traceback (most recent call last)
<ipython-input-16-f14e23e389bd> in <module>()
1 import pandas as pd
----> 2 pd.Panel(np.random.randn(2, 5, 4), items=['Item1', 'Item2']).sort_values(by=0)
/home/gpepe/software/anaconda3/envs/science/lib/python3.6/site-packages/pandas/core/generic.py in sort_values(self, by, axis, ascending, inplace, kind, na_position)
2010 def sort_values(self, by, axis=0, ascending=True, inplace=False,
2011 kind='quicksort', na_position='last'):
-> 2012 raise AbstractMethodError(self)
2013
2014 _shared_docs['sort_index'] = """
AbstractMethodError: This method must be defined in the concrete class of Panel
```
#### Problem description
It seems like the sort_values() method is not implemented in Panels, but it is not clear from the raised error message. There seems to be a page on this in the API reference: http://pandas.pydata.org/pandas-docs/stable/generated/pandas.Panel.sort_values.html. i would find it highly useful to have such a method.
#### Expected Output
Sorted panel
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 3.6.0.final.0
python-bits: 64
OS: Linux
OS-release: 3.16.0-4-amd64
machine: x86_64
processor:
byteorder: little
LC_ALL: None
LANG: en_GB.utf8
LOCALE: en_GB.UTF-8
pandas: 0.19.2
nose: 1.3.7
pip: 9.0.1
setuptools: 27.2.0
Cython: 0.25.2
numpy: 1.11.3
scipy: 0.18.1
statsmodels: 0.6.1
xarray: None
IPython: 5.1.0
sphinx: 1.5.1
patsy: 0.4.1
dateutil: 2.6.0
pytz: 2016.10
blosc: None
bottleneck: 1.2.0
tables: 3.3.0
numexpr: 2.6.1
matplotlib: 2.0.0
openpyxl: 2.4.1
xlrd: 1.0.0
xlwt: 1.2.0
xlsxwriter: 0.9.6
lxml: 3.7.2
bs4: 4.5.3
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: 1.1.5
pymysql: None
psycopg2: None
jinja2: 2.9.4
boto: 2.45.0
pandas_datareader: None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15960/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15960/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15961
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15961/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15961/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15961/events
|
https://github.com/pandas-dev/pandas/issues/15961
| 220,526,934 |
MDU6SXNzdWUyMjA1MjY5MzQ=
| 15,961 |
FYI, if you build pandas release binaries with 3.6.1, they'll be broken on 3.6.0
|
{
"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://api.github.com/users/njsmith/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/njsmith",
"id": 609896,
"login": "njsmith",
"node_id": "MDQ6VXNlcjYwOTg5Ng==",
"organizations_url": "https://api.github.com/users/njsmith/orgs",
"received_events_url": "https://api.github.com/users/njsmith/received_events",
"repos_url": "https://api.github.com/users/njsmith/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/njsmith/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/njsmith/subscriptions",
"type": "User",
"url": "https://api.github.com/users/njsmith"
}
|
[
{
"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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 3 | 2017-04-10T03:11:08Z | 2017-05-02T04:46:53Z | 2017-04-20T22:33:36Z |
NONE
| null |
As a heads up: https://bugs.python.org/issue29943
Two possible workarounds:
* Make sure to use 3.6.0 if building release binaries (this way they'll work on 3.6.1 as well)
* add a `#ifdef PySlice_GetIndicesEx #undef PySlice_GetIndicesEx #endif` to `pandas/_libs/src/compat_helper.h` (but make sure to only enable this on 3.6, or you'll eventually get broken again
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15961/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15961/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15962
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15962/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15962/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15962/events
|
https://github.com/pandas-dev/pandas/issues/15962
| 220,541,324 |
MDU6SXNzdWUyMjA1NDEzMjQ=
| 15,962 |
Option for showing length of series
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/16749790?v=4",
"events_url": "https://api.github.com/users/Yevgnen/events{/privacy}",
"followers_url": "https://api.github.com/users/Yevgnen/followers",
"following_url": "https://api.github.com/users/Yevgnen/following{/other_user}",
"gists_url": "https://api.github.com/users/Yevgnen/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Yevgnen",
"id": 16749790,
"login": "Yevgnen",
"node_id": "MDQ6VXNlcjE2NzQ5Nzkw",
"organizations_url": "https://api.github.com/users/Yevgnen/orgs",
"received_events_url": "https://api.github.com/users/Yevgnen/received_events",
"repos_url": "https://api.github.com/users/Yevgnen/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Yevgnen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Yevgnen/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Yevgnen"
}
|
[
{
"color": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
},
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 4 | 2017-04-10T05:28:33Z | 2017-04-11T21:43:39Z | 2017-04-10T12:05:39Z |
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
pd.Series(range(10))
```
#### Problem description
There is a option `display.show_dimensions` which allow show the dimension of a `DataFrame`, while it would be useful if the length of a `Series` can be set to show when the index is not a range list.
#### Expected Output
```
0 0
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9
dtype: int64
[10 elements/items/or something else...]
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 3.6.1.final.0
python-bits: 64
OS: Darwin
OS-release: 16.5.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: en_US.UTF-8
LANG: en_US.UTF-8
LOCALE: en_US.UTF-8
pandas: 0.19.2
nose: 1.3.7
pip: 9.0.1
setuptools: 34.3.3
Cython: 0.25.2
numpy: 1.12.1
scipy: 0.19.0
statsmodels: 0.8.0
xarray: 0.9.1
IPython: 5.3.0
sphinx: 1.5.3
patsy: 0.4.1
dateutil: 2.6.0
pytz: 2016.10
blosc: None
bottleneck: 1.2.0
tables: None
numexpr: 2.6.2
matplotlib: 2.0.0
openpyxl: 2.4.5
xlrd: None
xlwt: None
xlsxwriter: 0.9.6
lxml: 3.7.3
bs4: 4.5.3
html5lib: 0.999999999
httplib2: None
apiclient: None
sqlalchemy: 1.1.7
pymysql: None
psycopg2: None
jinja2: 2.9.5
boto: None
pandas_datareader: 0.3.0.post
</details>
|
{
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15962/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15962/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15963
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15963/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15963/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15963/events
|
https://github.com/pandas-dev/pandas/issues/15963
| 220,587,593 |
MDU6SXNzdWUyMjA1ODc1OTM=
| 15,963 |
IO/SAS (sas7bdat) deleted observations are not filtered out
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/53390?v=4",
"events_url": "https://api.github.com/users/Winand/events{/privacy}",
"followers_url": "https://api.github.com/users/Winand/followers",
"following_url": "https://api.github.com/users/Winand/following{/other_user}",
"gists_url": "https://api.github.com/users/Winand/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Winand",
"id": 53390,
"login": "Winand",
"node_id": "MDQ6VXNlcjUzMzkw",
"organizations_url": "https://api.github.com/users/Winand/orgs",
"received_events_url": "https://api.github.com/users/Winand/received_events",
"repos_url": "https://api.github.com/users/Winand/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Winand/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Winand/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Winand"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "SAS: read_sas",
"id": 258745163,
"name": "IO SAS",
"node_id": "MDU6TGFiZWwyNTg3NDUxNjM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SAS"
}
] |
open
| false | null |
[] |
{
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
}
| 5 | 2017-04-10T09:32:57Z | 2019-10-21T19:52:17Z | null |
CONTRIBUTOR
| null |
#### Problem description
I filled a table, then deleted two observations (rows).

[datetime.sas7bdat](https://yadi.sk/d/h1En7L9M3GpDCV)
Pandas reads 5 rows with `read_sas`:
```
Date1 Date2 DateTime DateTimeHi \
0 1960-01-06 1960-01-04 1677-09-21 00:12:44 1677-09-21 00:12:43.145226
1 1960-01-03 1960-01-05 2262-04-11 23:47:16 1960-01-01 00:00:00.000000
2 NaT NaT NaT NaT
3 1960-01-06 1960-01-04 1677-09-21 00:12:44 2262-04-11 23:47:16.854774
4 1960-01-01 1960-01-01 NaT 1960-01-01 00:00:00.000000
Taiw
0 1912-01-01
1 1960-01-02
2 NaT
3 1912-01-01
4 1960-01-01
```
#### Expected Output
DataFrame with 3 rows instead of 5 rows (w/o index no.2 and no.4)
#### Output of ``pd.show_versions()``
last commit is cd24fa9 (ENH: add origin to to_datetime)
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 3.5.3.final.0
python-bits: 64
OS: Windows
OS-release: 7
machine: AMD64
processor: Intel64 Family 6 Model 58 Stepping 9, GenuineIntel
byteorder: little
LC_ALL: None
LANG: en
LOCALE: None.None
pandas: 0+unknown
pytest: 3.0.6
pip: 9.0.1
setuptools: 34.3.2
Cython: 0.25.2
numpy: 1.11.3
scipy: 0.19.0
xarray: 0.9.1
IPython: 5.3.0
sphinx: 1.5.2
patsy: 0.4.1
dateutil: 2.6.0
pytz: 2016.10
blosc: 1.5.0
bottleneck: 1.2.0
tables: 3.3.0
numexpr: 2.6.2
feather: None
matplotlib: 2.0.0
openpyxl: None
xlrd: 1.0.0
xlwt: None
xlsxwriter: 0.9.5
lxml: 3.7.3
bs4: 4.5.3
html5lib: 1.0b10
sqlalchemy: 1.1.6
pymysql: None
psycopg2: None
jinja2: 2.9.5
s3fs: 0.0.9
pandas_gbq: None
pandas_datareader: None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15963/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15963/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15964
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15964/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15964/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15964/events
|
https://github.com/pandas-dev/pandas/pull/15964
| 220,625,859 |
MDExOlB1bGxSZXF1ZXN0MTE1MDg3NDQ1
| 15,964 |
DOC: remove Categorical.unique refs from doc-strings
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 0 | 2017-04-10T12:16:32Z | 2017-04-10T12:16:39Z | 2017-04-10T12:16:39Z |
CONTRIBUTOR
| null |
closes #15957
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15964/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15964/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15964.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15964",
"merged_at": "2017-04-10T12:16:38Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15964.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15964"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15965
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15965/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15965/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15965/events
|
https://github.com/pandas-dev/pandas/pull/15965
| 220,633,888 |
MDExOlB1bGxSZXF1ZXN0MTE1MDkzMjYy
| 15,965 |
TST/DEPR: fix bunch of Panel deprecation warnings
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 2 | 2017-04-10T12:49:42Z | 2017-04-11T10:39:21Z | 2017-04-11T10:29:31Z |
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/15965/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15965/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15965.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15965",
"merged_at": "2017-04-11T10:29:31Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15965.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15965"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/15966
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15966/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15966/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15966/events
|
https://github.com/pandas-dev/pandas/issues/15966
| 220,654,799 |
MDU6SXNzdWUyMjA2NTQ3OTk=
| 15,966 |
BUG: comparing TZ-aware timestamps to a scalar results in exception
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/453745?v=4",
"events_url": "https://api.github.com/users/chrisaycock/events{/privacy}",
"followers_url": "https://api.github.com/users/chrisaycock/followers",
"following_url": "https://api.github.com/users/chrisaycock/following{/other_user}",
"gists_url": "https://api.github.com/users/chrisaycock/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/chrisaycock",
"id": 453745,
"login": "chrisaycock",
"node_id": "MDQ6VXNlcjQ1Mzc0NQ==",
"organizations_url": "https://api.github.com/users/chrisaycock/orgs",
"received_events_url": "https://api.github.com/users/chrisaycock/received_events",
"repos_url": "https://api.github.com/users/chrisaycock/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/chrisaycock/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chrisaycock/subscriptions",
"type": "User",
"url": "https://api.github.com/users/chrisaycock"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2018-05-16T03:09:58Z",
"closed_issues": 1645,
"created_at": "2017-10-20T10:17:09Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.22",
"due_on": "2018-05-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/53",
"id": 2853937,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/53/labels",
"node_id": "MDk6TWlsZXN0b25lMjg1MzkzNw==",
"number": 53,
"open_issues": 0,
"state": "closed",
"title": "0.23.0",
"updated_at": "2018-08-20T06:48:57Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/53"
}
| 3 | 2017-04-10T14:03:08Z | 2017-11-08T20:01:39Z | 2017-11-08T20:01:39Z |
CONTRIBUTOR
| null |
This works as expected:
```
pd.DataFrame({'test': [pd.Timestamp('2012-01-01 13:00:00'),
pd.Timestamp('2012-01-01 13:00:00')]}) == -1
```
However, this raises an exception:
```
pd.DataFrame({'test': [pd.Timestamp('2012-01-01 13:00:00+00:00'),
pd.Timestamp('2012-01-01 13:00:00+00:00')]}) == -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/15966/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15966/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15967
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15967/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15967/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15967/events
|
https://github.com/pandas-dev/pandas/issues/15967
| 220,658,327 |
MDU6SXNzdWUyMjA2NTgzMjc=
| 15,967 |
read_excel skiprows
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/7563201?v=4",
"events_url": "https://api.github.com/users/dwsmith1983/events{/privacy}",
"followers_url": "https://api.github.com/users/dwsmith1983/followers",
"following_url": "https://api.github.com/users/dwsmith1983/following{/other_user}",
"gists_url": "https://api.github.com/users/dwsmith1983/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dwsmith1983",
"id": 7563201,
"login": "dwsmith1983",
"node_id": "MDQ6VXNlcjc1NjMyMDE=",
"organizations_url": "https://api.github.com/users/dwsmith1983/orgs",
"received_events_url": "https://api.github.com/users/dwsmith1983/received_events",
"repos_url": "https://api.github.com/users/dwsmith1983/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dwsmith1983/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dwsmith1983/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dwsmith1983"
}
|
[
{
"color": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
},
{
"color": "207de5",
"default": false,
"description": "Clarification about behavior needed to assess issue",
"id": 307649777,
"name": "Needs Info",
"node_id": "MDU6TGFiZWwzMDc2NDk3Nzc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Info"
}
] |
closed
| false | null |
[] |
{
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
}
| 4 | 2017-04-10T14:14:55Z | 2018-02-14T21:09:04Z | 2018-02-14T21:08:53Z |
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
skip = [0] + [i for i in range(3, 81)]
df = pd.read_excel('excel_file.xls', skiprows=skip)
```
#### Problem description
The dataframe only returns the header from row 1 and row 2 is missing.
Note: changing skip to [0] + [i for i in range(4, 81)] returns a the dataframe with two rows as expected. The problem occurs when I only want one row.
#### Expected Output
A dataframe where row 1 is the header and row 2 is the first row entry.
#### Output of ``pd.show_versions()``
<details>
# Paste the output here pd.show_versions() here
INSTALLED VERSIONS
------------------
commit: None
python: 3.6.0.final.0
python-bits: 64
OS: Windows
OS-release: 7
machine: AMD64
processor: Intel64 Family 6 Model 60 Stepping 3, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None
LOCALE: None.None
pandas: 0.19.2
nose: 1.3.7
pip: 9.0.1
setuptools: 27.2.0
Cython: 0.25.2
numpy: 1.11.3
scipy: 0.18.1
statsmodels: 0.6.1
xarray: None
IPython: 5.1.0
sphinx: 1.5.1
patsy: 0.4.1
dateutil: 2.6.0
pytz: 2016.10
blosc: None
bottleneck: 1.2.0
tables: 3.2.2
numexpr: 2.6.1
matplotlib: 2.0.0
openpyxl: 2.4.1
xlrd: 1.0.0
xlwt: 1.2.0
xlsxwriter: 0.9.6
lxml: 3.7.2
bs4: 4.5.3
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: 1.1.6
pymysql: 0.7.9.None
psycopg2: None
jinja2: 2.9.4
boto: 2.45.0
pandas_datareader: None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15967/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15967/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15968
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15968/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15968/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15968/events
|
https://github.com/pandas-dev/pandas/pull/15968
| 220,694,775 |
MDExOlB1bGxSZXF1ZXN0MTE1MTM3MTc0
| 15,968 |
DOC: Fix typos in doc style.ipynb
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/6365769?v=4",
"events_url": "https://api.github.com/users/funnycrab/events{/privacy}",
"followers_url": "https://api.github.com/users/funnycrab/followers",
"following_url": "https://api.github.com/users/funnycrab/following{/other_user}",
"gists_url": "https://api.github.com/users/funnycrab/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/funnycrab",
"id": 6365769,
"login": "funnycrab",
"node_id": "MDQ6VXNlcjYzNjU3Njk=",
"organizations_url": "https://api.github.com/users/funnycrab/orgs",
"received_events_url": "https://api.github.com/users/funnycrab/received_events",
"repos_url": "https://api.github.com/users/funnycrab/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/funnycrab/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/funnycrab/subscriptions",
"type": "User",
"url": "https://api.github.com/users/funnycrab"
}
|
[
{
"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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 2 | 2017-04-10T16:11:37Z | 2017-04-11T11:37:16Z | 2017-04-11T11:37:02Z |
CONTRIBUTOR
| null |
Simple typo fix.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15968/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15968/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15968.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15968",
"merged_at": "2017-04-11T11:37:02Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15968.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15968"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15969
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15969/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15969/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15969/events
|
https://github.com/pandas-dev/pandas/issues/15969
| 220,757,339 |
MDU6SXNzdWUyMjA3NTczMzk=
| 15,969 |
ERR: Most consistent error handling when passing win_type='freq' in rolling
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
}
|
[
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
},
{
"color": "d4c5f9",
"default": false,
"description": "rolling, ewma, expanding",
"id": 1045950827,
"name": "Window",
"node_id": "MDU6TGFiZWwxMDQ1OTUwODI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 8 | 2017-04-10T20:14:53Z | 2020-12-23T14:27:49Z | 2020-12-23T14:27:49Z |
CONTRIBUTOR
| null |
Working on https://github.com/dask/dask/issues/2190 (df.rolling('5s') for dask), and I think these should all be equivalent.
```python
In [26]: import pandas as pd
In [27]: import numpy as np
In [31]: from pandas.tseries.frequencies import to_offset
In [28]: s = pd.Series(range(10), index=pd.date_range('2017', freq='s', periods=10))
```
```python
>>> s.rolling('2s') # Case 1: correct
>>> s.rolling(window=2000000000, min_periods=1, win_type='freq') # Case 2
>>> s.rolling(window=to_offset('2s'), min_periods=1, win_type='freq') # Case 3
>>> s.rolling(window=pd.Timedelta('2s'), min_periods=1, win_type='freq') # Same as 3
```
I don't *think* there are any parsing ambiguities.
Currently we have
```python
# Case 1
In [33]: s.rolling('2s')
Out[33]: Rolling [window=2000000000,min_periods=1,center=False,win_type=freq,axis=0]
```
```python
# Case 2
In [35]: s.rolling(window=2000000000, min_periods=1, win_type='freq')
```
```pytb
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-2-a24a29dff0ab> in <module>()
----> 1 s.rolling(window=2000000000, min_periods=1, win_type='freq')
/Users/taugspurger/.virtualenvs/dask-dev/lib/python3.6/site-packages/pandas/core/generic.py in rolling(self, window, min_periods, freq, center, win_type, on, axis)
5502 min_periods=min_periods, freq=freq,
5503 center=center, win_type=win_type,
-> 5504 on=on, axis=axis)
5505
5506 cls.rolling = rolling
/Users/taugspurger/.virtualenvs/dask-dev/lib/python3.6/site-packages/pandas/core/window.py in rolling(obj, win_type, **kwds)
1795
1796 if win_type is not None:
-> 1797 return Window(obj, win_type=win_type, **kwds)
1798
1799 return Rolling(obj, **kwds)
/Users/taugspurger/.virtualenvs/dask-dev/lib/python3.6/site-packages/pandas/core/window.py in __init__(self, obj, window, min_periods, freq, center, win_type, axis, on, **kwargs)
76 self.win_type = win_type
77 self.axis = obj._get_axis_number(axis) if axis is not None else None
---> 78 self.validate()
79
80 @property
/Users/taugspurger/.virtualenvs/dask-dev/lib/python3.6/site-packages/pandas/core/window.py in validate(self)
505 raise ValueError('Invalid win_type {0}'.format(self.win_type))
506 if getattr(sig, self.win_type, None) is None:
--> 507 raise ValueError('Invalid win_type {0}'.format(self.win_type))
508 else:
509 raise ValueError('Invalid window {0}'.format(window))
ValueError: Invalid win_type freq
```
```python
# Case 3
In [36]: s.rolling(window=to_offset('2s'), min_periods=1, win_type='freq')
```
```pytb
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-36-93e14a8d05f6> in <module>()
----> 1 s.rolling(window=to_offset('2s'), min_periods=1, win_type='freq')
/Users/taugspurger/Envs/dask-dev/lib/python3.6/site-packages/pandas/core/generic.py in rolling(self, window, min_periods, freq, center, win_type, on, axis)
5502 min_periods=min_periods, freq=freq,
5503 center=center, win_type=win_type,
-> 5504 on=on, axis=axis)
5505
5506 cls.rolling = rolling
/Users/taugspurger/Envs/dask-dev/lib/python3.6/site-packages/pandas/core/window.py in rolling(obj, win_type, **kwds)
1795
1796 if win_type is not None:
-> 1797 return Window(obj, win_type=win_type, **kwds)
1798
1799 return Rolling(obj, **kwds)
/Users/taugspurger/Envs/dask-dev/lib/python3.6/site-packages/pandas/core/window.py in __init__(self, obj, window, min_periods, freq, center, win_type, axis, on, **kwargs)
76 self.win_type = win_type
77 self.axis = obj._get_axis_number(axis) if axis is not None else None
---> 78 self.validate()
79
80 @property
/Users/taugspurger/Envs/dask-dev/lib/python3.6/site-packages/pandas/core/window.py in validate(self)
507 raise ValueError('Invalid win_type {0}'.format(self.win_type))
508 else:
--> 509 raise ValueError('Invalid window {0}'.format(window))
510
511 def _prep_window(self, **kwargs):
ValueError: Invalid window <2 * Seconds>
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15969/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15969/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15970
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15970/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15970/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15970/events
|
https://github.com/pandas-dev/pandas/issues/15970
| 220,764,527 |
MDU6SXNzdWUyMjA3NjQ1Mjc=
| 15,970 |
diff breaks when float64 column cast to float32
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/5497186?v=4",
"events_url": "https://api.github.com/users/jonathanstrong/events{/privacy}",
"followers_url": "https://api.github.com/users/jonathanstrong/followers",
"following_url": "https://api.github.com/users/jonathanstrong/following{/other_user}",
"gists_url": "https://api.github.com/users/jonathanstrong/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jonathanstrong",
"id": 5497186,
"login": "jonathanstrong",
"node_id": "MDQ6VXNlcjU0OTcxODY=",
"organizations_url": "https://api.github.com/users/jonathanstrong/orgs",
"received_events_url": "https://api.github.com/users/jonathanstrong/received_events",
"repos_url": "https://api.github.com/users/jonathanstrong/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jonathanstrong/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jonathanstrong/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jonathanstrong"
}
|
[] |
closed
| false | null |
[] | null | 7 | 2017-04-10T20:42:46Z | 2017-04-11T00:50:53Z | 2017-04-10T21:37:16Z |
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
# x is a DataFrame
(x['time'].iloc[0],
x['time'].dtype,
np.allclose(x['time'], x['time'].astype('float32')),
np.allclose(x['time'].diff(), x['time'].astype('float32').diff(), equal_nan=True))
# (1490702404.462925, dtype('float64'), True, False)
```
#### Problem description
After I cast a float64 column to float32, diff exhibits strange behavior. The call results in many 0. values and some 128. values, which does not match the underlying data in any way I can understand.
#### Expected Output
```python
# (1490702404.462925, dtype('float64'), True, True)
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.12.final.0
python-bits: 64
OS: Linux
OS-release: 4.4.0-66-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
LOCALE: None.None
pandas: 0.19.2
nose: None
pip: 9.0.1
setuptools: 34.4.1
Cython: None
numpy: 1.12.0
scipy: 0.18.1
statsmodels: None
xarray: None
IPython: 5.3.0
sphinx: None
patsy: None
dateutil: 2.6.0
pytz: 2016.10
blosc: None
bottleneck: None
tables: 3.3.0
numexpr: 2.6.2
matplotlib: 2.0.0
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: 0.999999999
httplib2: None
apiclient: None
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: 2.9.6
boto: None
pandas_datareader: None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15970/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15970/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15971
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15971/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15971/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15971/events
|
https://github.com/pandas-dev/pandas/pull/15971
| 220,770,956 |
MDExOlB1bGxSZXF1ZXN0MTE1MTkyNjg1
| 15,971 |
BUG: Fix Empty DataFrame.style.render raises IndexError
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2800397?v=4",
"events_url": "https://api.github.com/users/sandipchatterjee/events{/privacy}",
"followers_url": "https://api.github.com/users/sandipchatterjee/followers",
"following_url": "https://api.github.com/users/sandipchatterjee/following{/other_user}",
"gists_url": "https://api.github.com/users/sandipchatterjee/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sandipchatterjee",
"id": 2800397,
"login": "sandipchatterjee",
"node_id": "MDQ6VXNlcjI4MDAzOTc=",
"organizations_url": "https://api.github.com/users/sandipchatterjee/orgs",
"received_events_url": "https://api.github.com/users/sandipchatterjee/received_events",
"repos_url": "https://api.github.com/users/sandipchatterjee/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sandipchatterjee/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sandipchatterjee/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sandipchatterjee"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "006b75",
"default": false,
"description": "read_html, to_html, Styler.apply, Styler.applymap",
"id": 57395487,
"name": "IO HTML",
"node_id": "MDU6TGFiZWw1NzM5NTQ4Nw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HTML"
}
] |
closed
| false | null |
[] |
{
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
}
| 5 | 2017-04-10T21:07:28Z | 2017-05-30T21:42:39Z | 2017-05-30T21:42:34Z |
NONE
| null |
Fix attempt for Issue #15953
Handles DataFrames and Series with no rows or columns
using `pd.DataFrame().empty` or `pd.Series().empty`
```python
In [1]: import pandas as pd
In [2]: pd.DataFrame().style.render()
Out[2]: '\n <style type="text/css" >\n \n \n </style>\n\n <table id="T_de3b3e8c_1e30_11e7_9abb_a8667f1b25b4" None>\n \n\n <thead>\n \n </thead>\n <tbody>\n \n </tbody>\n </table>\n '
```
- [ ] closes #15953
- [ ] tests added / passed
- [ ] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff``
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15971/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15971/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15971.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15971",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15971.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15971"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15972
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15972/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15972/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15972/events
|
https://github.com/pandas-dev/pandas/issues/15972
| 220,909,429 |
MDU6SXNzdWUyMjA5MDk0Mjk=
| 15,972 |
Crosstab support for setting the margins name
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/16817793?v=4",
"events_url": "https://api.github.com/users/slide333333/events{/privacy}",
"followers_url": "https://api.github.com/users/slide333333/followers",
"following_url": "https://api.github.com/users/slide333333/following{/other_user}",
"gists_url": "https://api.github.com/users/slide333333/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/slide333333",
"id": 16817793,
"login": "slide333333",
"node_id": "MDQ6VXNlcjE2ODE3Nzkz",
"organizations_url": "https://api.github.com/users/slide333333/orgs",
"received_events_url": "https://api.github.com/users/slide333333/received_events",
"repos_url": "https://api.github.com/users/slide333333/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/slide333333/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/slide333333/subscriptions",
"type": "User",
"url": "https://api.github.com/users/slide333333"
}
|
[
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-10-28T18:54:27Z",
"closed_issues": 764,
"created_at": "2017-03-23T13:26:25Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2017-10-27T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/46",
"id": 2406656,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/46/labels",
"node_id": "MDk6TWlsZXN0b25lMjQwNjY1Ng==",
"number": 46,
"open_issues": 0,
"state": "closed",
"title": "0.21.0",
"updated_at": "2018-07-08T21:53:21Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/46"
}
| 0 | 2017-04-11T10:39:55Z | 2017-05-26T14:43:13Z | 2017-05-26T14:43:13Z |
NONE
| null |
`pandas.pivot_table` already provides the parameter `margins_name ` . `pandas.crosstab` currently does not.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15972/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15972/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15973
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15973/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15973/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15973/events
|
https://github.com/pandas-dev/pandas/pull/15973
| 220,919,456 |
MDExOlB1bGxSZXF1ZXN0MTE1Mjk3NTU3
| 15,973 |
ENH: Crosstab support for setting the margins name #15972
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/16817793?v=4",
"events_url": "https://api.github.com/users/slide333333/events{/privacy}",
"followers_url": "https://api.github.com/users/slide333333/followers",
"following_url": "https://api.github.com/users/slide333333/following{/other_user}",
"gists_url": "https://api.github.com/users/slide333333/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/slide333333",
"id": 16817793,
"login": "slide333333",
"node_id": "MDQ6VXNlcjE2ODE3Nzkz",
"organizations_url": "https://api.github.com/users/slide333333/orgs",
"received_events_url": "https://api.github.com/users/slide333333/received_events",
"repos_url": "https://api.github.com/users/slide333333/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/slide333333/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/slide333333/subscriptions",
"type": "User",
"url": "https://api.github.com/users/slide333333"
}
|
[
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
] |
closed
| false | null |
[] |
{
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
}
| 4 | 2017-04-11T11:23:12Z | 2017-05-30T21:44:46Z | 2017-05-30T21:44:39Z |
NONE
| null |
closes #15972
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15973/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15973/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15973.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15973",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15973.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15973"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15974
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15974/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15974/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15974/events
|
https://github.com/pandas-dev/pandas/pull/15974
| 220,945,005 |
MDExOlB1bGxSZXF1ZXN0MTE1MzE1NDM4
| 15,974 |
BUG: show series length in repr when truncated (GH15962)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
}
|
[
{
"color": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 4 | 2017-04-11T13:05:17Z | 2017-04-18T08:44:46Z | 2017-04-18T08:34:37Z |
MEMBER
| null |
Also follow the display.show_dimensions option.
- [x] closes #15962, closes #7117
- [x] tests added / passed
- [ ] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff``
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15974/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15974/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15974.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15974",
"merged_at": "2017-04-18T08:34:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15974.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15974"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15975
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15975/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15975/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15975/events
|
https://github.com/pandas-dev/pandas/issues/15975
| 220,945,038 |
MDU6SXNzdWUyMjA5NDUwMzg=
| 15,975 |
Typo in documentation of pandas.DatetimeIndex.freq
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/5473460?v=4",
"events_url": "https://api.github.com/users/caph1993/events{/privacy}",
"followers_url": "https://api.github.com/users/caph1993/followers",
"following_url": "https://api.github.com/users/caph1993/following{/other_user}",
"gists_url": "https://api.github.com/users/caph1993/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/caph1993",
"id": 5473460,
"login": "caph1993",
"node_id": "MDQ6VXNlcjU0NzM0NjA=",
"organizations_url": "https://api.github.com/users/caph1993/orgs",
"received_events_url": "https://api.github.com/users/caph1993/received_events",
"repos_url": "https://api.github.com/users/caph1993/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/caph1993/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/caph1993/subscriptions",
"type": "User",
"url": "https://api.github.com/users/caph1993"
}
|
[] |
closed
| false | null |
[] |
{
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
}
| 3 | 2017-04-11T13:05:24Z | 2017-04-11T14:49:09Z | 2017-04-11T14:49:04Z |
NONE
| null |
Just a small typo at http://pandas.pydata.org/pandas-docs/stable/generated/pandas.DatetimeIndex.freq.html#pandas.DatetimeIndex.freq
It says "get/set the _frequncy_ of the Index" instead of "get/set the _frequency_ of the Index"
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15975/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15975/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15976
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15976/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15976/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15976/events
|
https://github.com/pandas-dev/pandas/issues/15976
| 220,957,862 |
MDU6SXNzdWUyMjA5NTc4NjI=
| 15,976 |
groupby.transform() fails when performed on column of numpy arrays
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8501935?v=4",
"events_url": "https://api.github.com/users/QuentinAndre/events{/privacy}",
"followers_url": "https://api.github.com/users/QuentinAndre/followers",
"following_url": "https://api.github.com/users/QuentinAndre/following{/other_user}",
"gists_url": "https://api.github.com/users/QuentinAndre/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/QuentinAndre",
"id": 8501935,
"login": "QuentinAndre",
"node_id": "MDQ6VXNlcjg1MDE5MzU=",
"organizations_url": "https://api.github.com/users/QuentinAndre/orgs",
"received_events_url": "https://api.github.com/users/QuentinAndre/received_events",
"repos_url": "https://api.github.com/users/QuentinAndre/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/QuentinAndre/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/QuentinAndre/subscriptions",
"type": "User",
"url": "https://api.github.com/users/QuentinAndre"
}
|
[
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
] |
closed
| false | null |
[] |
{
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
}
| 2 | 2017-04-11T13:48:25Z | 2017-04-11T15:04:37Z | 2017-04-11T15:03:54Z |
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
df = pd.DataFrame.from_dict({"A":[1, 1, 2, 2],
"B":[np.array([1, 2, 3, 4]),
np.array([5, 6, 7, 8]),
np.array([1, 2, 3, 4]),
np.array([5, 6, 7, 8])]})
def mean_of_arrays(x):
"""
Returns the mean of the two arrays.
"""
print((x.iloc[0] + x.iloc[1])/2)
return (x.iloc[0] + x.iloc[1])/2
df.groupby(["A"])["B"].transform(mean_of_arrays)
# Print [3, 4, 5, 6], [3, 4, 5, 6], as expected...
# But returns [3, 4, 3, 4]
```
#### Problem description
When a column contains a list of numpy arrays, and a "transform" operation is completed on those lists,
the lists are not returned by the transform operation. Instead, the n-th element of the list is return, where n is the number of elements for each group.
#### Expected Output
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 3.6.1.final.0
python-bits: 64
OS: Windows
OS-release: 10
machine: AMD64
processor: Intel64 Family 6 Model 69 Stepping 1, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None
LOCALE: None.None
pandas: 0.19.2
nose: 1.3.7
pip: 9.0.1
setuptools: 27.2.0
Cython: 0.25.2
numpy: 1.12.1
scipy: 0.19.0
statsmodels: 0.8.0
xarray: None
IPython: 5.3.0
sphinx: 1.5.4
patsy: 0.4.1
dateutil: 2.6.0
pytz: 2017.2
blosc: None
bottleneck: 1.2.0
tables: 3.2.2
numexpr: 2.6.2
matplotlib: 2.0.0
openpyxl: 2.4.1
xlrd: 1.0.0
xlwt: 1.2.0
xlsxwriter: 0.9.6
lxml: 3.7.3
bs4: 4.5.3
html5lib: 0.999
httplib2: None
apiclient: None
sqlalchemy: 1.1.9
pymysql: None
psycopg2: None
jinja2: 2.9.6
boto: 2.46.1
pandas_datareader: None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15976/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15976/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15977
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15977/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15977/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15977/events
|
https://github.com/pandas-dev/pandas/pull/15977
| 221,054,967 |
MDExOlB1bGxSZXF1ZXN0MTE1Mzk1NzE0
| 15,977 |
typo: comverted -> converted
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/3003997?v=4",
"events_url": "https://api.github.com/users/jeremycg/events{/privacy}",
"followers_url": "https://api.github.com/users/jeremycg/followers",
"following_url": "https://api.github.com/users/jeremycg/following{/other_user}",
"gists_url": "https://api.github.com/users/jeremycg/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jeremycg",
"id": 3003997,
"login": "jeremycg",
"node_id": "MDQ6VXNlcjMwMDM5OTc=",
"organizations_url": "https://api.github.com/users/jeremycg/orgs",
"received_events_url": "https://api.github.com/users/jeremycg/received_events",
"repos_url": "https://api.github.com/users/jeremycg/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jeremycg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jeremycg/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jeremycg"
}
|
[
{
"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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 3 | 2017-04-11T19:25:52Z | 2017-04-11T20:46:31Z | 2017-04-11T20:22:11Z |
NONE
| null |
only one character changed
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15977/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15977/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15977.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15977",
"merged_at": "2017-04-11T20:22:11Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15977.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15977"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15978
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15978/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15978/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15978/events
|
https://github.com/pandas-dev/pandas/pull/15978
| 221,113,268 |
MDExOlB1bGxSZXF1ZXN0MTE1NDM5MDIw
| 15,978 |
merge multi-index with a multi-index
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/6556306?v=4",
"events_url": "https://api.github.com/users/harisbal/events{/privacy}",
"followers_url": "https://api.github.com/users/harisbal/followers",
"following_url": "https://api.github.com/users/harisbal/following{/other_user}",
"gists_url": "https://api.github.com/users/harisbal/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/harisbal",
"id": 6556306,
"login": "harisbal",
"node_id": "MDQ6VXNlcjY1NTYzMDY=",
"organizations_url": "https://api.github.com/users/harisbal/orgs",
"received_events_url": "https://api.github.com/users/harisbal/received_events",
"repos_url": "https://api.github.com/users/harisbal/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/harisbal/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/harisbal/subscriptions",
"type": "User",
"url": "https://api.github.com/users/harisbal"
}
|
[] |
closed
| false | null |
[] |
{
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
}
| 1 | 2017-04-11T23:55:29Z | 2017-04-12T07:22:22Z | 2017-04-11T23:57:48Z |
CONTRIBUTOR
| null |
#6360
Allow the merging of multi-indexed objects with different number of levels.
During tests I receive the following error: pandas/pandas/core/internals.py:4800: ComplexWarning: Casting complex values to real discards the imaginary part
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15978/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15978/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15978.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15978",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15978.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15978"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15979
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15979/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15979/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15979/events
|
https://github.com/pandas-dev/pandas/pull/15979
| 221,114,618 |
MDExOlB1bGxSZXF1ZXN0MTE1NDQwMDEx
| 15,979 |
Multi index operations
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/6556306?v=4",
"events_url": "https://api.github.com/users/harisbal/events{/privacy}",
"followers_url": "https://api.github.com/users/harisbal/followers",
"following_url": "https://api.github.com/users/harisbal/following{/other_user}",
"gists_url": "https://api.github.com/users/harisbal/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/harisbal",
"id": 6556306,
"login": "harisbal",
"node_id": "MDQ6VXNlcjY1NTYzMDY=",
"organizations_url": "https://api.github.com/users/harisbal/orgs",
"received_events_url": "https://api.github.com/users/harisbal/received_events",
"repos_url": "https://api.github.com/users/harisbal/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/harisbal/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/harisbal/subscriptions",
"type": "User",
"url": "https://api.github.com/users/harisbal"
}
|
[] |
closed
| false | null |
[] |
{
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
}
| 1 | 2017-04-12T00:04:25Z | 2017-04-12T07:21:57Z | 2017-04-12T00:05:23Z |
CONTRIBUTOR
| null |
#6360
Allow the merging of multi-indexed objects with different number of levels.
During tests I receive the following error: pandas/pandas/core/internals.py:4800: ComplexWarning: Casting complex values to real discards the imaginary part
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15979/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15979/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15979.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15979",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15979.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15979"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15980
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15980/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15980/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15980/events
|
https://github.com/pandas-dev/pandas/pull/15980
| 221,115,459 |
MDExOlB1bGxSZXF1ZXN0MTE1NDQwNjE0
| 15,980 |
Merge multi-index with a multi-index
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/6556306?v=4",
"events_url": "https://api.github.com/users/harisbal/events{/privacy}",
"followers_url": "https://api.github.com/users/harisbal/followers",
"following_url": "https://api.github.com/users/harisbal/following{/other_user}",
"gists_url": "https://api.github.com/users/harisbal/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/harisbal",
"id": 6556306,
"login": "harisbal",
"node_id": "MDQ6VXNlcjY1NTYzMDY=",
"organizations_url": "https://api.github.com/users/harisbal/orgs",
"received_events_url": "https://api.github.com/users/harisbal/received_events",
"repos_url": "https://api.github.com/users/harisbal/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/harisbal/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/harisbal/subscriptions",
"type": "User",
"url": "https://api.github.com/users/harisbal"
}
|
[
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
] |
closed
| false | null |
[] | null | 6 | 2017-04-12T00:10:24Z | 2017-04-25T23:40:25Z | 2017-04-25T23:33:26Z |
CONTRIBUTOR
| null |
#6360
Allow the merging of multi-indexed objects with different number of levels.
During tests I receive the following error: pandas/pandas/core/internals.py:4800: ComplexWarning: Casting complex values to real discards the imaginary part
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15980/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15980/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15980.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15980",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15980.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15980"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15981
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15981/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15981/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15981/events
|
https://github.com/pandas-dev/pandas/pull/15981
| 221,148,021 |
MDExOlB1bGxSZXF1ZXN0MTE1NDYxMzgz
| 15,981 |
DOC: Fix typo in timeseries.rst
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/6365769?v=4",
"events_url": "https://api.github.com/users/funnycrab/events{/privacy}",
"followers_url": "https://api.github.com/users/funnycrab/followers",
"following_url": "https://api.github.com/users/funnycrab/following{/other_user}",
"gists_url": "https://api.github.com/users/funnycrab/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/funnycrab",
"id": 6365769,
"login": "funnycrab",
"node_id": "MDQ6VXNlcjYzNjU3Njk=",
"organizations_url": "https://api.github.com/users/funnycrab/orgs",
"received_events_url": "https://api.github.com/users/funnycrab/received_events",
"repos_url": "https://api.github.com/users/funnycrab/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/funnycrab/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/funnycrab/subscriptions",
"type": "User",
"url": "https://api.github.com/users/funnycrab"
}
|
[
{
"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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 1 | 2017-04-12T04:22:27Z | 2017-06-03T12:47:29Z | 2017-04-12T07:21:15Z |
CONTRIBUTOR
| null |
Simple typo fix
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15981/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15981/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15981.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15981",
"merged_at": "2017-04-12T07:21:15Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15981.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15981"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15982
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15982/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15982/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15982/events
|
https://github.com/pandas-dev/pandas/issues/15982
| 221,244,203 |
MDU6SXNzdWUyMjEyNDQyMDM=
| 15,982 |
Period converted to overflowing Timestamp in DataFrame.to_csv
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/3883947?v=4",
"events_url": "https://api.github.com/users/snorfalorpagus/events{/privacy}",
"followers_url": "https://api.github.com/users/snorfalorpagus/followers",
"following_url": "https://api.github.com/users/snorfalorpagus/following{/other_user}",
"gists_url": "https://api.github.com/users/snorfalorpagus/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/snorfalorpagus",
"id": 3883947,
"login": "snorfalorpagus",
"node_id": "MDQ6VXNlcjM4ODM5NDc=",
"organizations_url": "https://api.github.com/users/snorfalorpagus/orgs",
"received_events_url": "https://api.github.com/users/snorfalorpagus/received_events",
"repos_url": "https://api.github.com/users/snorfalorpagus/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/snorfalorpagus/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/snorfalorpagus/subscriptions",
"type": "User",
"url": "https://api.github.com/users/snorfalorpagus"
}
|
[
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
},
{
"color": "eb6420",
"default": false,
"description": "Period data type",
"id": 60635328,
"name": "Period",
"node_id": "MDU6TGFiZWw2MDYzNTMyOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 4 | 2017-04-12T12:21:28Z | 2017-04-13T22:11:33Z | 2017-04-13T22:11:33Z |
NONE
| null |
#### Code Sample
```python
import pandas
dates = ["1990-01-01", "2000-01-01", "3005-01-01"]
index = pandas.PeriodIndex(dates, freq="D")
df = pandas.DataFrame([4, 5, 6], index=index)
print(df)
df.to_csv("bug.csv")
```
#### Problem description
I have some data with dates in the far future (e.g. 4000-01-01). Following the documentation I am using `pandas.Period`: http://pandas.pydata.org/pandas-docs/stable/timeseries.html#representing-out-of-bounds-spans
This works, until I come to export the dataframe to a CSV (demonstrated in the code above). Printing the dataframe works as expected:
> 0
> 1990-01-01 4
> 2000-01-01 5
> 3005-01-01 6
But the CSV files looks like this:
> ,0
> 1990-01-01 00:00:00.000000000,4
> 2000-01-01 00:00:00.000000000,5
> 1835-11-23 00:50:52.580896768,6
It looks like the `Period` has been converted to a `Timestamp` and silently overflowed.
Related to #13346, but I think worth a distinct issue.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 3.6.0.final.0
python-bits: 64
OS: Windows
OS-release: 7
machine: AMD64
processor: Intel64 Family 6 Model 58 Stepping 9, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None
LOCALE: None.None
pandas: 0.19.2
nose: None
pip: 9.0.1
setuptools: 33.1.0.post20170122
Cython: 0.25.2
numpy: 1.11.3
scipy: 0.18.1
statsmodels: 0.8.0
xarray: None
IPython: 5.3.0
sphinx: None
patsy: 0.4.1
dateutil: 2.6.0
pytz: 2016.10
blosc: None
bottleneck: None
tables: 3.3.0
numexpr: 2.6.2
matplotlib: 2.0.0
openpyxl: 2.4.1
xlrd: 1.0.0
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: 0.999
httplib2: None
apiclient: None
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: 2.9.5
boto: 2.46.1
pandas_datareader: None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15982/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15982/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15983
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15983/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15983/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15983/events
|
https://github.com/pandas-dev/pandas/pull/15983
| 221,275,372 |
MDExOlB1bGxSZXF1ZXN0MTE1NTUxNDgy
| 15,983 |
BUG:read_json()
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13779893?v=4",
"events_url": "https://api.github.com/users/survivingME/events{/privacy}",
"followers_url": "https://api.github.com/users/survivingME/followers",
"following_url": "https://api.github.com/users/survivingME/following{/other_user}",
"gists_url": "https://api.github.com/users/survivingME/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/survivingME",
"id": 13779893,
"login": "survivingME",
"node_id": "MDQ6VXNlcjEzNzc5ODkz",
"organizations_url": "https://api.github.com/users/survivingME/orgs",
"received_events_url": "https://api.github.com/users/survivingME/received_events",
"repos_url": "https://api.github.com/users/survivingME/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/survivingME/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/survivingME/subscriptions",
"type": "User",
"url": "https://api.github.com/users/survivingME"
}
|
[
{
"color": "207de5",
"default": false,
"description": "read_json, to_json, json_normalize",
"id": 49379259,
"name": "IO JSON",
"node_id": "MDU6TGFiZWw0OTM3OTI1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON"
}
] |
closed
| false | null |
[] |
{
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
}
| 1 | 2017-04-12T14:10:16Z | 2017-04-12T16:02:00Z | 2017-04-12T16:01:44Z |
NONE
| null |
I use pandas to read a json file, but I got an AttributeError, here is my code and error info:
<pre lang="python">import pandas as pd
import numpy as np
import xgboost as xgb
import matplotlib.pyplot as plt
#% matplotlib inline
import seaborn as sns
sns.set(style="whitegrid", color_codes=True)
sns.set(font_scale=1)
train = pd.read_json(train.json)
plt.figure(figsize=(8, 10))
plt.scatter(range(train.shape[0]), train["price"].values,color='purple')
plt.title("Distribution of Price")
plt.show()
runfile('/Users/trembleguy/Desktop/rental ap/plotSomething.py', wdir='/Users/trembleguy/Desktop/rental ap')
Traceback (most recent call last):
File "<ipython-input-14-5beeb67a8bb9>", line 1, in <module>
runfile('/Users/trembleguy/Desktop/rental ap/plotSomething.py', wdir='/Users/trembleguy/Desktop/rental ap')
File "/anaconda/lib/python3.6/site-packages/spyder/utils/site/sitecustomize.py", line 866, in runfile
execfile(filename, namespace)
File "/anaconda/lib/python3.6/site-packages/spyder/utils/site/sitecustomize.py", line 102, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)
File "/Users/trembleguy/Desktop/rental ap/plotSomething.py", line 10, in <module>
train = pd.read_json(train.json)
File "/anaconda/lib/python3.6/site-packages/pandas/core/generic.py", line 2744, in __getattr__
return object.__getattribute__(self, name)
AttributeError: 'DataFrame' object has no attribute 'json'</pre>
I have used read_json() to read json without this error, but this time not.
I delete the .pyc file but didn't work, I think it's a bug.
if not a bug, please tell me the right way to read json, 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/15983/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15983/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15983.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15983",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15983.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15983"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15984
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15984/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15984/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15984/events
|
https://github.com/pandas-dev/pandas/pull/15984
| 221,335,156 |
MDExOlB1bGxSZXF1ZXN0MTE1NTk0OTgx
| 15,984 |
BUG: Don't overflow PeriodIndex in to_csv
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4",
"events_url": "https://api.github.com/users/gfyoung/events{/privacy}",
"followers_url": "https://api.github.com/users/gfyoung/followers",
"following_url": "https://api.github.com/users/gfyoung/following{/other_user}",
"gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gfyoung",
"id": 9273653,
"login": "gfyoung",
"node_id": "MDQ6VXNlcjkyNzM2NTM=",
"organizations_url": "https://api.github.com/users/gfyoung/orgs",
"received_events_url": "https://api.github.com/users/gfyoung/received_events",
"repos_url": "https://api.github.com/users/gfyoung/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gfyoung"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
},
{
"color": "eb6420",
"default": false,
"description": "Period data type",
"id": 60635328,
"name": "Period",
"node_id": "MDU6TGFiZWw2MDYzNTMyOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 10 | 2017-04-12T17:29:24Z | 2017-04-13T22:13:29Z | 2017-04-13T22:11:33Z |
MEMBER
| null |
Don't overflow time-stamp objects if being used as index in `to_csv`.
Closes #15982.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15984/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15984/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15984.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15984",
"merged_at": "2017-04-13T22:11:33Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15984.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15984"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15985
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15985/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15985/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15985/events
|
https://github.com/pandas-dev/pandas/pull/15985
| 221,350,555 |
MDExOlB1bGxSZXF1ZXN0MTE1NjA2MTYx
| 15,985 |
TST: allow the network decorator to catch ssl certificate test failures
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "e4a5f1",
"default": false,
"description": "Local or Cloud (AWS, GCS, etc.) IO Issues",
"id": 49381477,
"name": "IO Network",
"node_id": "MDU6TGFiZWw0OTM4MTQ3Nw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Network"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 2 | 2017-04-12T18:29:00Z | 2017-04-12T19:31:41Z | 2017-04-12T19:29:50Z |
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/15985/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15985/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15985.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15985",
"merged_at": "2017-04-12T19:29:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15985.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15985"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/15986
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15986/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15986/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15986/events
|
https://github.com/pandas-dev/pandas/issues/15986
| 221,356,498 |
MDU6SXNzdWUyMjEzNTY0OTg=
| 15,986 |
ENH: support pendulum objects
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/922776?v=4",
"events_url": "https://api.github.com/users/ericgazoni/events{/privacy}",
"followers_url": "https://api.github.com/users/ericgazoni/followers",
"following_url": "https://api.github.com/users/ericgazoni/following{/other_user}",
"gists_url": "https://api.github.com/users/ericgazoni/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ericgazoni",
"id": 922776,
"login": "ericgazoni",
"node_id": "MDQ6VXNlcjkyMjc3Ng==",
"organizations_url": "https://api.github.com/users/ericgazoni/orgs",
"received_events_url": "https://api.github.com/users/ericgazoni/received_events",
"repos_url": "https://api.github.com/users/ericgazoni/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ericgazoni/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericgazoni/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ericgazoni"
}
|
[
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
] |
closed
| false | null |
[] |
{
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
}
| 10 | 2017-04-12T18:50:57Z | 2020-10-02T13:50:22Z | 2020-01-01T15:56:55Z |
NONE
| null |
```python
import pendulum
import pandas
pandas.date_range(start=pendulum.now(), end=pendulum.tomorrow())
[1] 56829 segmentation fault ipython
```
#### Problem description
As `pendulum` claims to inherit from `datetime.datetime`, I wouldn't expect a segfaut to happen, as `date_range` always worked find with `datetime` objects
From [the documentation](https://pendulum.eustace.io/docs/#introduction):
> The Pendulum class is a drop-in replacement for the native datetime class (it is inherited from it).
I could file an issue on the pendulum bug tracker as well, but that's pandas who's segfaulting, so I think you guys would have better tools to understand what's going on.
#### Expected Output
```
DatetimeIndex(['2017-04-12 20:54:52.305104', '2017-04-13 20:54:52.305104'], dtype='datetime64[ns]', freq='D')
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 3.5.2.final.0
python-bits: 64
OS: Darwin
OS-release: 15.6.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: None
LANG: fr_BE.UTF-8
LOCALE: fr_BE.UTF-8
pandas: 0.19.2
nose: None
pip: 9.0.1
setuptools: 34.4.1
Cython: None
numpy: 1.12.1
scipy: None
statsmodels: None
xarray: None
IPython: 5.3.0
sphinx: None
patsy: None
dateutil: 2.6.0
pytz: 2017.2
blosc: None
bottleneck: None
tables: None
numexpr: None
matplotlib: None
openpyxl: None
xlrd: 1.0.0
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: 1.1.9
pymysql: None
psycopg2: 2.6.2 (dt dec pq3 ext lo64)
jinja2: 2.9.6
boto: None
pandas_datareader: None
</details>
|
{
"+1": 4,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 4,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15986/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15986/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15987
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15987/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15987/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15987/events
|
https://github.com/pandas-dev/pandas/pull/15987
| 221,368,829 |
MDExOlB1bGxSZXF1ZXN0MTE1NjE5NjA2
| 15,987 |
DEPR: Deprecate generic timestamp dtypes
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4",
"events_url": "https://api.github.com/users/gfyoung/events{/privacy}",
"followers_url": "https://api.github.com/users/gfyoung/followers",
"following_url": "https://api.github.com/users/gfyoung/following{/other_user}",
"gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gfyoung",
"id": 9273653,
"login": "gfyoung",
"node_id": "MDQ6VXNlcjkyNzM2NTM=",
"organizations_url": "https://api.github.com/users/gfyoung/orgs",
"received_events_url": "https://api.github.com/users/gfyoung/received_events",
"repos_url": "https://api.github.com/users/gfyoung/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gfyoung"
}
|
[
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 16 | 2017-04-12T19:39:24Z | 2017-04-14T13:50:54Z | 2017-04-14T13:06:46Z |
MEMBER
| null |
We only use the nanosecond frequency, and `numpy` doesn't even handle generic timestamp `dtype` well internally with its `ndarray` object.
xref <a href="https://github.com/pandas-dev/pandas/issues/15524#issuecomment-282922120">#15524 (comment)</a>.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15987/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15987/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15987.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15987",
"merged_at": "2017-04-14T13:06:46Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15987.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15987"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15988
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15988/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15988/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15988/events
|
https://github.com/pandas-dev/pandas/issues/15988
| 221,420,505 |
MDU6SXNzdWUyMjE0MjA1MDU=
| 15,988 |
When using to_sql(), continue if duplicate primary keys are detected?
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/5560065?v=4",
"events_url": "https://api.github.com/users/rosstripi/events{/privacy}",
"followers_url": "https://api.github.com/users/rosstripi/followers",
"following_url": "https://api.github.com/users/rosstripi/following{/other_user}",
"gists_url": "https://api.github.com/users/rosstripi/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rosstripi",
"id": 5560065,
"login": "rosstripi",
"node_id": "MDQ6VXNlcjU1NjAwNjU=",
"organizations_url": "https://api.github.com/users/rosstripi/orgs",
"received_events_url": "https://api.github.com/users/rosstripi/received_events",
"repos_url": "https://api.github.com/users/rosstripi/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rosstripi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rosstripi/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rosstripi"
}
|
[
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "5319e7",
"default": false,
"description": "to_sql, read_sql, read_sql_query",
"id": 47232590,
"name": "IO SQL",
"node_id": "MDU6TGFiZWw0NzIzMjU5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL"
}
] |
open
| false | null |
[] | null | 24 | 2017-04-12T23:42:58Z | 2021-05-18T19:57:38Z | null |
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
df.to_sql('TableNameHere', engine, if_exists='append', chunksize=900, index=False)
```
#### Problem description
I am trying to append a large DataFrame to a SQL table. Some of the rows in the DataFrame are duplicates of those in the SQL table, some are not. But `to_sql()` completely stops executing if even one duplicate is detected.
It would make sense for `to_sql(if_exists='append')` to merely warn the user which rows had duplicate keys and just continue to add the new rows, not completely stop executing. For large datasets, you will likely have duplicates but want to ignore them.
Maybe add an argument to ignore duplicates and keep executing? Perhaps an additional `if_exists` option like `'append_skipdupes'`?
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 3.6.0.final.0
python-bits: 64
OS: Windows
OS-release: 10
machine: AMD64
processor: Intel64 Family 6 Model 60 Stepping 3, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None
LOCALE: English_United States.1252
pandas: 0.19.2
nose: None
pip: 9.0.1
setuptools: 28.8.0
Cython: None
numpy: 1.12.0
scipy: None
statsmodels: None
xarray: None
IPython: 5.3.0
sphinx: None
patsy: None
dateutil: 2.6.0
pytz: 2016.10
blosc: None
bottleneck: None
tables: None
numexpr: None
matplotlib: None
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: 0.999999999
httplib2: None
apiclient: None
sqlalchemy: 1.1.9
pymysql: None
psycopg2: None
jinja2: 2.9.5
boto: None
pandas_datareader: None
</details>
|
{
"+1": 309,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 6,
"hooray": 0,
"laugh": 0,
"rocket": 13,
"total_count": 328,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15988/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15988/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15989
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15989/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15989/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15989/events
|
https://github.com/pandas-dev/pandas/pull/15989
| 221,445,950 |
MDExOlB1bGxSZXF1ZXN0MTE1Njc1NTY1
| 15,989 |
DOC: Demo incorporating pytest into test classes
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4",
"events_url": "https://api.github.com/users/gfyoung/events{/privacy}",
"followers_url": "https://api.github.com/users/gfyoung/followers",
"following_url": "https://api.github.com/users/gfyoung/following{/other_user}",
"gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gfyoung",
"id": 9273653,
"login": "gfyoung",
"node_id": "MDQ6VXNlcjkyNzM2NTM=",
"organizations_url": "https://api.github.com/users/gfyoung/orgs",
"received_events_url": "https://api.github.com/users/gfyoung/received_events",
"repos_url": "https://api.github.com/users/gfyoung/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gfyoung"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 3 | 2017-04-13T03:03:41Z | 2017-04-14T02:13:25Z | 2017-04-13T22:47:39Z |
MEMBER
| null |
Title is self-explanatory. Also changes CI GitHub UI photo to illustrate what most users (who are non-owners) will see (i.e. no "squash and merge").
<a href="https://github.com/pandas-dev/pandas/pull/15987#discussion_r111292547">#15987 (comment)</a>
|
{
"+1": 2,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 2,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15989/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15989/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15989.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15989",
"merged_at": "2017-04-13T22:47:39Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15989.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15989"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15990
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15990/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15990/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15990/events
|
https://github.com/pandas-dev/pandas/issues/15990
| 221,459,777 |
MDU6SXNzdWUyMjE0NTk3Nzc=
| 15,990 |
TST: Converting to Pytest Idiom
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4",
"events_url": "https://api.github.com/users/gfyoung/events{/privacy}",
"followers_url": "https://api.github.com/users/gfyoung/followers",
"following_url": "https://api.github.com/users/gfyoung/following{/other_user}",
"gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gfyoung",
"id": 9273653,
"login": "gfyoung",
"node_id": "MDQ6VXNlcjkyNzM2NTM=",
"organizations_url": "https://api.github.com/users/gfyoung/orgs",
"received_events_url": "https://api.github.com/users/gfyoung/received_events",
"repos_url": "https://api.github.com/users/gfyoung/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gfyoung"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false | null |
[] |
{
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
}
| 20 | 2017-04-13T05:09:55Z | 2017-08-16T15:46:55Z | 2017-05-04T02:38:13Z |
MEMBER
| null |
Our testing framework is a literal hodgepodge of different 3rd-party framework standards (i.e. `nosetest`, `pytest`, `unittest`) that needs to be cleaned up.
A couple of points are clear:
* Use `assert` instead of `self.assert*...`
* When possible, replace `for` loops with `pytest.mark.parametrize`
* All new test classes should inherit from `object` instead of `tm.TestCase`
However, we also have this massive testing module helper `testing.py` that is populated with tons of useful comparison methods as well as wrappers around basic `assert` methods that are used inconsistently throughout the code-base. <b>Thus, the question is whether or not we want to keep using those OR remove them entirely and replace them with basic `assert` statements</b>.
The advantage with using `tm.assert` statements is that they come directly with error messages instead of an empty `AssertionError`, which is what I don't like about raw `assert` statements that are considered more idiomatic with `pytest`.
Thus, it's a question of greater clarity (i.e. our error messages will be more useful by default when we get test failures) vs. idiomatic (raw `assert` with no wrapping is the idiomatic way to go but risks presenting less helpful failure messages).
<strike>Another point I wanted to bring up is with regards to the introduction of decorators in #15952 to capture `stdout` and `stderr`. `pytest` has fixtures to capture those, but incorporating it into the code-base is very difficult due to our heavy reliance still on `unittest.TestCase`, which causes incorporation to fail. The question is: <b>do we eventually want to use the `pytest` fixture or continue using the decorator?</b></strike>
Thoughts?
<hr>
From the discussion that follows, here are the functions that should be removed and replaced:
- [x] `self (tm).assertRaises` --> `pytest.raises`
- [x] (<b>NO ACTION</b>) `self (tm).assertRaisesRegexp` -->
~~~python
with pytest.raises(cls) as exc_info:
...
exc_info.match(regex)
~~~
Per discussion in <a href="https://github.com/pandas-dev/pandas/pull/16089#issuecomment-296316294">#16089 (comment)</a>, we are leaving as is.
- [x] `self.assert*` (examples follow)
* `self.assertIs`
* `self.assertEqual`
* ...and many others
- [x] `self.assert_*` (examples follow)
* `self.assert_numpy_array_equal`
* `self.assert_series_equal`
* `self.assert_frame_equal`
* `self.assert_index_equal`
* ...and many others
- [x] `tm.assert_equal`
- [x] `tm.assertIs(Not)`
- [x] `tm.assert(Not)In`
- [x] `tm.assertIs(Not)None`
- [x] `tm.assert(Not)IsInstance`
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15990/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15990/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15991
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15991/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15991/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15991/events
|
https://github.com/pandas-dev/pandas/issues/15991
| 221,471,058 |
MDU6SXNzdWUyMjE0NzEwNTg=
| 15,991 |
Inconsistent handling of nans in min/max functions
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/10656485?v=4",
"events_url": "https://api.github.com/users/robinsonjj/events{/privacy}",
"followers_url": "https://api.github.com/users/robinsonjj/followers",
"following_url": "https://api.github.com/users/robinsonjj/following{/other_user}",
"gists_url": "https://api.github.com/users/robinsonjj/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/robinsonjj",
"id": 10656485,
"login": "robinsonjj",
"node_id": "MDQ6VXNlcjEwNjU2NDg1",
"organizations_url": "https://api.github.com/users/robinsonjj/orgs",
"received_events_url": "https://api.github.com/users/robinsonjj/received_events",
"repos_url": "https://api.github.com/users/robinsonjj/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/robinsonjj/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/robinsonjj/subscriptions",
"type": "User",
"url": "https://api.github.com/users/robinsonjj"
}
|
[
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
] |
closed
| false | null |
[] |
{
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
}
| 3 | 2017-04-13T06:34:10Z | 2017-04-13T10:02:26Z | 2017-04-13T10:02:19Z |
NONE
| null |
#### Code Sample
```python
In [49]: min(pd.Series([pd.np.nan, 1, 2, pd.np.nan]))
Out[49]: nan
In [50]: min(pd.Series([1, 2, pd.np.nan]))
Out[50]: 1.0
```
#### Problem description
Inconsistent handling of nans depending on whether the series starts with a nan.
#### Expected Output
Either 1.0 in both cases or nan in both cases
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 3.5.2.final.0
python-bits: 64
OS: Linux
OS-release: 4.4.0-66-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_GB.UTF-8
LOCALE: en_GB.UTF-8
pandas: 0.19.2
nose: 1.3.7
pip: 8.1.2
setuptools: 27.2.0
Cython: 0.24.1
numpy: 1.11.3
scipy: 0.18.1
statsmodels: 0.6.1
xarray: None
IPython: 5.1.0
sphinx: 1.4.6
patsy: 0.4.1
dateutil: 2.5.3
pytz: 2016.6.1
blosc: None
bottleneck: 1.1.0
tables: 3.2.3.1
numexpr: 2.6.1
matplotlib: 1.5.3
openpyxl: 2.3.2
xlrd: 1.0.0
xlwt: 1.1.2
xlsxwriter: 0.9.3
lxml: 3.6.4
bs4: 4.5.1
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: 1.0.13
pymysql: 0.7.9.None
psycopg2: None
jinja2: 2.8
boto: 2.42.0
pandas_datareader: None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15991/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15991/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15992
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15992/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15992/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15992/events
|
https://github.com/pandas-dev/pandas/pull/15992
| 221,534,080 |
MDExOlB1bGxSZXF1ZXN0MTE1NzM2MDIz
| 15,992 |
TST: use checkstack level as per comments in groupby.agg with dicts depr testing
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 3 | 2017-04-13T11:24:17Z | 2017-04-13T11:54:40Z | 2017-04-13T11:41:04Z |
CONTRIBUTOR
| null |
as per @jorisvandenbossche comments
https://github.com/pandas-dev/pandas/pull/15931#discussion_r111355878
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15992/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15992/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15992.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15992",
"merged_at": "2017-04-13T11:41:04Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15992.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15992"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15993
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15993/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15993/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15993/events
|
https://github.com/pandas-dev/pandas/issues/15993
| 221,734,172 |
MDU6SXNzdWUyMjE3MzQxNzI=
| 15,993 |
Fast way to exclude columns
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/4677339?v=4",
"events_url": "https://api.github.com/users/citynorman/events{/privacy}",
"followers_url": "https://api.github.com/users/citynorman/followers",
"following_url": "https://api.github.com/users/citynorman/following{/other_user}",
"gists_url": "https://api.github.com/users/citynorman/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/citynorman",
"id": 4677339,
"login": "citynorman",
"node_id": "MDQ6VXNlcjQ2NzczMzk=",
"organizations_url": "https://api.github.com/users/citynorman/orgs",
"received_events_url": "https://api.github.com/users/citynorman/received_events",
"repos_url": "https://api.github.com/users/citynorman/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/citynorman/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/citynorman/subscriptions",
"type": "User",
"url": "https://api.github.com/users/citynorman"
}
|
[
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
] |
closed
| false | null |
[] |
{
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
}
| 1 | 2017-04-14T03:30:59Z | 2017-04-14T11:43:25Z | 2017-04-14T11:43:14Z |
NONE
| null |
It would be great to be able to exclude/slice columns like you can with np arrays.
```
df = pd.DataFrame(np.random.rand(4,4), columns = list('abcd'))
df[-('b')] #neat!
```
instead of
```
df.drop('b', axis=1)
df.ix[:, df.columns != 'b']
```
etc
see
http://stackoverflow.com/questions/29763620/how-to-select-all-columns-except-one-column-in-pandas-using-ix
http://stackoverflow.com/questions/14940743/selecting-excluding-sets-of-columns-in-pandas
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15993/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15993/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15994
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15994/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15994/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15994/events
|
https://github.com/pandas-dev/pandas/issues/15994
| 221,785,974 |
MDU6SXNzdWUyMjE3ODU5NzQ=
| 15,994 |
No implicit casting of int -> float on full indexing of multiindex
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1224492?v=4",
"events_url": "https://api.github.com/users/toobaz/events{/privacy}",
"followers_url": "https://api.github.com/users/toobaz/followers",
"following_url": "https://api.github.com/users/toobaz/following{/other_user}",
"gists_url": "https://api.github.com/users/toobaz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/toobaz",
"id": 1224492,
"login": "toobaz",
"node_id": "MDQ6VXNlcjEyMjQ0OTI=",
"organizations_url": "https://api.github.com/users/toobaz/orgs",
"received_events_url": "https://api.github.com/users/toobaz/received_events",
"repos_url": "https://api.github.com/users/toobaz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/toobaz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/toobaz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/toobaz"
}
|
[
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2018-05-16T03:09:58Z",
"closed_issues": 1645,
"created_at": "2017-10-20T10:17:09Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.22",
"due_on": "2018-05-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/53",
"id": 2853937,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/53/labels",
"node_id": "MDk6TWlsZXN0b25lMjg1MzkzNw==",
"number": 53,
"open_issues": 0,
"state": "closed",
"title": "0.23.0",
"updated_at": "2018-08-20T06:48:57Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/53"
}
| 3 | 2017-04-14T10:36:05Z | 2018-01-28T11:53:06Z | 2018-01-28T11:53:06Z |
MEMBER
| null |
#### Code Sample, a copy-pastable example if possible
```python
In [2]: mi = pd.MultiIndex.from_product([[0., 1.], ['begin', 'end']])
In [3]: mi.get_loc(1)
Out[3]: slice(2, 4, None)
In [4]: mi.get_indexer_for([(1, 'end')])
Out[4]: array([3])
In [5]: mi.get_loc((1, 'end'))
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
<ipython-input-5-eb387fc9b362> in <module>()
----> 1 mi.get_loc((1, 'end'))
/home/pietro/nobackup/repo/pandas/pandas/indexes/multi.py in get_loc(self, key, method)
1962 key = _values_from_object(key)
1963 key = tuple(map(_maybe_str_to_time_stamp, key, self.levels))
-> 1964 return self._engine.get_loc(key)
1965
1966 # -- partial selection or non-unique index
/home/pietro/nobackup/repo/pandas/pandas/_libs/index.pyx in pandas._libs.index.MultiIndexEngine.get_loc (pandas/_libs/index.c:13171)()
/home/pietro/nobackup/repo/pandas/pandas/_libs/index.pyx in pandas._libs.index.MultiIndexEngine.get_loc (pandas/_libs/index.c:13018)()
/home/pietro/nobackup/repo/pandas/pandas/_libs/hashtable_class_helper.pxi in pandas._libs.hashtable.MultiIndexHashTable.get_item (pandas/_libs/hashtable.c:23625)()
/home/pietro/nobackup/repo/pandas/pandas/_libs/hashtable_class_helper.pxi in pandas._libs.hashtable.MultiIndexHashTable.get_item (pandas/_libs/hashtable.c:23578)()
KeyError: (1, 'end')
```
#### Problem description
We implicitly cast if indexing only one level, and if asking a list of (complete) keys: we should do the same for a single complete key.
#### Expected Output
``` python
In [6]: mi.get_loc((1., 'end'))
Out[6]: 3
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 3.5.3.final.0
python-bits: 64
OS: Linux
OS-release: 4.7.0-1-amd64
machine: x86_64
processor:
byteorder: little
LC_ALL: None
LANG: it_IT.utf8
LOCALE: it_IT.UTF-8
pandas: 0.19.0+783.gcd35d22a0.dirty
pytest: 3.0.6
pip: 9.0.1
setuptools: 33.1.1
Cython: 0.25.2
numpy: 1.12.0
scipy: 0.18.1
xarray: 0.9.1
IPython: 5.1.0.dev
sphinx: 1.4.9
patsy: 0.3.0-dev
dateutil: 2.5.3
pytz: 2016.7
blosc: None
bottleneck: 1.2.0
tables: 3.3.0
numexpr: 2.6.1
feather: 0.3.1
matplotlib: 2.0.0
openpyxl: 2.3.0
xlrd: 1.0.0
xlwt: 1.1.2
xlsxwriter: 0.9.6
lxml: 3.7.1
bs4: 4.5.3
html5lib: 0.999999999
sqlalchemy: 1.0.15
pymysql: None
psycopg2: None
jinja2: 2.8
s3fs: None
pandas_gbq: None
pandas_datareader: 0.2.1
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15994/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15994/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15995
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15995/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15995/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15995/events
|
https://github.com/pandas-dev/pandas/issues/15995
| 221,832,326 |
MDU6SXNzdWUyMjE4MzIzMjY=
| 15,995 |
How can np.nan be the representation of None when np.nan evaluates to `True`
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/3467650?v=4",
"events_url": "https://api.github.com/users/JadSayegh/events{/privacy}",
"followers_url": "https://api.github.com/users/JadSayegh/followers",
"following_url": "https://api.github.com/users/JadSayegh/following{/other_user}",
"gists_url": "https://api.github.com/users/JadSayegh/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/JadSayegh",
"id": 3467650,
"login": "JadSayegh",
"node_id": "MDQ6VXNlcjM0Njc2NTA=",
"organizations_url": "https://api.github.com/users/JadSayegh/orgs",
"received_events_url": "https://api.github.com/users/JadSayegh/received_events",
"repos_url": "https://api.github.com/users/JadSayegh/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/JadSayegh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JadSayegh/subscriptions",
"type": "User",
"url": "https://api.github.com/users/JadSayegh"
}
|
[
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
},
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
] |
closed
| false | null |
[] |
{
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
}
| 1 | 2017-04-14T15:35:01Z | 2017-04-14T16:19:02Z | 2017-04-14T16:18:49Z |
NONE
| null |
In reference to @jreback 's answer on [this related issue](https://github.com/pandas-dev/pandas/issues/10871), it seems a bit counter-intuitive for me that `np.nan` evaluates to `True` while `None` does not.
```python
In[1]: not np.nan
Out[1]: False
In[2]: not None
Out[2]: True
```
This proved to be a source of trouble in some of my code, as building a dataframe object using inputs containing `None` turns them into `np.nan` which means they go from evaluating to `False`, to evaluating to `True`. How does this not prevent `np.nan` from being the representation of `None`?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15995/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15995/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15996
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15996/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15996/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15996/events
|
https://github.com/pandas-dev/pandas/issues/15996
| 221,835,665 |
MDU6SXNzdWUyMjE4MzU2NjU=
| 15,996 |
Table Schema bombs with MultiIndex
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/836375?v=4",
"events_url": "https://api.github.com/users/rgbkrk/events{/privacy}",
"followers_url": "https://api.github.com/users/rgbkrk/followers",
"following_url": "https://api.github.com/users/rgbkrk/following{/other_user}",
"gists_url": "https://api.github.com/users/rgbkrk/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rgbkrk",
"id": 836375,
"login": "rgbkrk",
"node_id": "MDQ6VXNlcjgzNjM3NQ==",
"organizations_url": "https://api.github.com/users/rgbkrk/orgs",
"received_events_url": "https://api.github.com/users/rgbkrk/received_events",
"repos_url": "https://api.github.com/users/rgbkrk/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rgbkrk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rgbkrk/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rgbkrk"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
] |
closed
| false | null |
[] |
{
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
}
| 13 | 2017-04-14T15:52:26Z | 2017-04-25T23:55:20Z | 2017-04-25T23:55:20Z |
CONTRIBUTOR
| null |
Using the new (ok, yet to be released) table schemaized with the generated MultiIndex as mentioned in #15379, I noticed that it creates a traceback (and falls back on HTML)
#### Code Sample
```python
import pandas as pd
import numpy as np
pd.options.display.html.table_schema = True
midx = pd.MultiIndex.from_product([['A', 'B'], ['a', 'b', 'c']])
df = pd.DataFrame(np.random.randn(5, len(midx)), columns=midx)
df
```
#### Problem description
<details>
<summary>Full Traceback</summary>
```
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/Users/kylek/code/src/github.com/pandas-dev/pandas/pandas/indexes/multi.py in _convert_can_do_setop(self, other)
2513 try:
-> 2514 other = MultiIndex.from_tuples(other)
2515 except:
/Users/kylek/code/src/github.com/pandas-dev/pandas/pandas/indexes/multi.py in from_tuples(cls, tuples, sortorder, names)
1128 elif isinstance(tuples, list):
-> 1129 arrays = list(lib.to_object_array_tuples(tuples).T)
1130 else:
TypeError: Argument 'rows' has incorrect type (expected list, got FrozenList)
During handling of the above exception, another exception occurred:
TypeError Traceback (most recent call last)
/usr/local/lib/python3.6/site-packages/IPython/core/formatters.py in __call__(self, obj)
880 method = get_real_method(obj, self.print_method)
881 if method is not None:
--> 882 method()
883 return True
884
/Users/kylek/code/src/github.com/pandas-dev/pandas/pandas/core/generic.py in _ipython_display_(self)
138 latex = self._repr_latex_() if hasattr(self, '_repr_latex_') else None
139 html = self._repr_html_() if hasattr(self, '_repr_html_') else None
--> 140 table_schema = self._repr_table_schema_()
141 # We need the inital newline since we aren't going through the
142 # usual __repr__. See
/Users/kylek/code/src/github.com/pandas-dev/pandas/pandas/core/generic.py in _repr_table_schema_(self)
156 if config.get_option("display.html.table_schema"):
157 data = self.head(config.get_option('display.max_rows'))
--> 158 payload = json.loads(data.to_json(orient='table'),
159 object_pairs_hook=collections.OrderedDict)
160 return payload
/Users/kylek/code/src/github.com/pandas-dev/pandas/pandas/core/generic.py in to_json(self, path_or_buf, orient, date_format, double_precision, force_ascii, date_unit, default_handler, lines)
1232 force_ascii=force_ascii, date_unit=date_unit,
1233 default_handler=default_handler,
-> 1234 lines=lines)
1235
1236 def to_hdf(self, path_or_buf, key, **kwargs):
/Users/kylek/code/src/github.com/pandas-dev/pandas/pandas/io/json/json.py in to_json(path_or_buf, obj, orient, date_format, double_precision, force_ascii, date_unit, default_handler, lines)
44 obj, orient=orient, date_format=date_format,
45 double_precision=double_precision, ensure_ascii=force_ascii,
---> 46 date_unit=date_unit, default_handler=default_handler).write()
47
48 if lines:
/Users/kylek/code/src/github.com/pandas-dev/pandas/pandas/io/json/json.py in __init__(self, obj, orient, date_format, double_precision, ensure_ascii, date_unit, default_handler)
141 # TODO: Do this timedelta properly in objToJSON.c See GH #15137
142 if ((obj.ndim == 1) and (obj.name in set(obj.index.names)) or
--> 143 len(obj.columns & obj.index.names)):
144 msg = "Overlapping names between the index and columns"
145 raise ValueError(msg)
/Users/kylek/code/src/github.com/pandas-dev/pandas/pandas/indexes/base.py in __and__(self, other)
2046
2047 def __and__(self, other):
-> 2048 return self.intersection(other)
2049
2050 def __or__(self, other):
/Users/kylek/code/src/github.com/pandas-dev/pandas/pandas/indexes/multi.py in intersection(self, other)
2447 """
2448 self._assert_can_do_setop(other)
-> 2449 other, result_names = self._convert_can_do_setop(other)
2450
2451 if self.equals(other):
/Users/kylek/code/src/github.com/pandas-dev/pandas/pandas/indexes/multi.py in _convert_can_do_setop(self, other)
2514 other = MultiIndex.from_tuples(other)
2515 except:
-> 2516 raise TypeError(msg)
2517 else:
2518 result_names = self.names if self.names == other.names else None
TypeError: other must be a MultiIndex or a list of tuples
```
</details>
The key line in there is `expected list, got FrozenList` from `arrays = list(lib.to_object_array_tuples(tuples).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/15996/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15996/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15997
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15997/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15997/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15997/events
|
https://github.com/pandas-dev/pandas/pull/15997
| 221,844,545 |
MDExOlB1bGxSZXF1ZXN0MTE1OTU1OTY1
| 15,997 |
CLN: move .formats
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
}
|
[
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 0 | 2017-04-14T16:42:24Z | 2017-04-14T16:49:04Z | 2017-04-14T16:49:04Z |
CONTRIBUTOR
| null |
xref #13634
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15997/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15997/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15997.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15997",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15997.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15997"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15998
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15998/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15998/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15998/events
|
https://github.com/pandas-dev/pandas/pull/15998
| 221,852,875 |
MDExOlB1bGxSZXF1ZXN0MTE1OTYxOTYx
| 15,998 |
CLN: move top-level dirs
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
}
|
[
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 14 | 2017-04-14T17:29:21Z | 2017-04-16T08:59:41Z | 2017-04-15T23:54:46Z |
CONTRIBUTOR
| null |
xref #13634
- [x] ``from pandas.types.concat import union_categoricals`` ?
- ``pandas.types`` -> ``pandas.core.typed``
- ``pandas.computation`` -> ``pandas.core.computation``
- ``pandas.sparse`` -> ``pandas.core.sparse``
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15998/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15998/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15998.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15998",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15998.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15998"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15999
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15999/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15999/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15999/events
|
https://github.com/pandas-dev/pandas/issues/15999
| 221,860,701 |
MDU6SXNzdWUyMjE4NjA3MDE=
| 15,999 |
Series.map should return default dictionary values rather than NaN
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1117703?v=4",
"events_url": "https://api.github.com/users/dhimmel/events{/privacy}",
"followers_url": "https://api.github.com/users/dhimmel/followers",
"following_url": "https://api.github.com/users/dhimmel/following{/other_user}",
"gists_url": "https://api.github.com/users/dhimmel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dhimmel",
"id": 1117703,
"login": "dhimmel",
"node_id": "MDQ6VXNlcjExMTc3MDM=",
"organizations_url": "https://api.github.com/users/dhimmel/orgs",
"received_events_url": "https://api.github.com/users/dhimmel/received_events",
"repos_url": "https://api.github.com/users/dhimmel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dhimmel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dhimmel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dhimmel"
}
|
[
{
"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": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 7 | 2017-04-14T18:11:49Z | 2017-04-15T13:46:44Z | 2017-04-15T13:46:44Z |
CONTRIBUTOR
| null |
`collections.Counter` and `collections.defaultdict` both have default values. However, [`pandas.Series.map`](https://github.com/pandas-dev/pandas/blob/614a48e3e6640b5694fd1ed6cbe56a760e89dd50/pandas/core/series.py#L2042-L2145) does not respect these defaults and instead returns missing values.
The issue is illustrated below:
```python
import pandas
from collections import Counter, defaultdict
input = pandas.Series(range(5))
counter = Counter()
counter[1] += 1
output = input.map(counter)
expected = series.map(lambda x: counter[x])
pandas.DataFrame({
'input': input,
'output': output,
'expected': expected,
})
```
Here's the output:
```
expected input output
0 0 0 NaN
1 1 1 1.0
2 0 2 NaN
3 0 3 NaN
4 0 4 NaN
```
The workaround is rather easy (`lambda x: dictionary[x]`) and shouldn't be to hard to implement. Are people on board with the change? Is there a performance concern with looking up each key independently?
|
{
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15999/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15999/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/16000
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/16000/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/16000/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/16000/events
|
https://github.com/pandas-dev/pandas/issues/16000
| 221,867,110 |
MDU6SXNzdWUyMjE4NjcxMTA=
| 16,000 |
groupby fails when elements are lists
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/117456?v=4",
"events_url": "https://api.github.com/users/nbecker/events{/privacy}",
"followers_url": "https://api.github.com/users/nbecker/followers",
"following_url": "https://api.github.com/users/nbecker/following{/other_user}",
"gists_url": "https://api.github.com/users/nbecker/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/nbecker",
"id": 117456,
"login": "nbecker",
"node_id": "MDQ6VXNlcjExNzQ1Ng==",
"organizations_url": "https://api.github.com/users/nbecker/orgs",
"received_events_url": "https://api.github.com/users/nbecker/received_events",
"repos_url": "https://api.github.com/users/nbecker/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/nbecker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nbecker/subscriptions",
"type": "User",
"url": "https://api.github.com/users/nbecker"
}
|
[
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
] |
closed
| false | null |
[] |
{
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
}
| 1 | 2017-04-14T18:46:37Z | 2017-04-14T20:59:28Z | 2017-04-14T19:10:47Z |
NONE
| null |
```
import pandas as pd
df = pd.DataFrame ({'a' : [[1,2,3]]})
g = df.groupby ('a')
g.groups
TypeError: unhashable type: 'list'
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/16000/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/16000/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/16001
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/16001/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/16001/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/16001/events
|
https://github.com/pandas-dev/pandas/pull/16001
| 221,874,398 |
MDExOlB1bGxSZXF1ZXN0MTE1OTc3NjY3
| 16,001 |
DEPR: more deprecation warnings
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 1 | 2017-04-14T19:28:36Z | 2017-04-14T20:11:54Z | 2017-04-14T19:55:20Z |
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/16001/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/16001/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/16001.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/16001",
"merged_at": "2017-04-14T19:55:20Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/16001.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/16001"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/16002
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/16002/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/16002/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/16002/events
|
https://github.com/pandas-dev/pandas/pull/16002
| 221,876,976 |
MDExOlB1bGxSZXF1ZXN0MTE1OTc5NTM4
| 16,002 |
Support dicts with default values in series.map
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1117703?v=4",
"events_url": "https://api.github.com/users/dhimmel/events{/privacy}",
"followers_url": "https://api.github.com/users/dhimmel/followers",
"following_url": "https://api.github.com/users/dhimmel/following{/other_user}",
"gists_url": "https://api.github.com/users/dhimmel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dhimmel",
"id": 1117703,
"login": "dhimmel",
"node_id": "MDQ6VXNlcjExMTc3MDM=",
"organizations_url": "https://api.github.com/users/dhimmel/orgs",
"received_events_url": "https://api.github.com/users/dhimmel/received_events",
"repos_url": "https://api.github.com/users/dhimmel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dhimmel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dhimmel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dhimmel"
}
|
[
{
"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": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 11 | 2017-04-14T19:43:47Z | 2017-04-15T23:10:32Z | 2017-04-15T13:46:44Z |
CONTRIBUTOR
| null |
Closes https://github.com/pandas-dev/pandas/issues/15999
Still a work in progress.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/16002/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/16002/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/16002.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/16002",
"merged_at": "2017-04-15T13:46:44Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/16002.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/16002"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/16003
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/16003/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/16003/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/16003/events
|
https://github.com/pandas-dev/pandas/pull/16003
| 221,882,064 |
MDExOlB1bGxSZXF1ZXN0MTE1OTgyODkz
| 16,003 |
API: expose public testing functions in pandas.testing (GH9895)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 10 | 2017-04-14T20:11:15Z | 2017-04-23T03:02:50Z | 2017-04-16T14:05:18Z |
MEMBER
| null |
Closes #9895
This just exposes a few of our testing functions publicly in `pandas.testing`.
- Alternative is to move the full testing module to `pandas.testing` (the actual code), question is then however how to only expose a subset of it publicly.
- I now only included the 3 most obvious ones (frame, series, index). Are there other ones that people would want to use? (the sparse ones?)
- We have quite a lot of keywords to those assert_* functions. We could op to only expose a subset of those publicly (redefining in pandas.testing instead of importing and only passing subset of the kwargs through)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/16003/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/16003/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/16003.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/16003",
"merged_at": "2017-04-16T14:05:18Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/16003.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/16003"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/16004
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/16004/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/16004/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/16004/events
|
https://github.com/pandas-dev/pandas/pull/16004
| 221,892,863 |
MDExOlB1bGxSZXF1ZXN0MTE1OTkwNzQ4
| 16,004 |
TST: test addl feather dtypes
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 3 | 2017-04-14T21:14:49Z | 2017-04-15T00:22:54Z | 2017-04-14T21:31:32Z |
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/16004/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/16004/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/16004.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/16004",
"merged_at": "2017-04-14T21:31:32Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/16004.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/16004"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/16005
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/16005/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/16005/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/16005/events
|
https://github.com/pandas-dev/pandas/pull/16005
| 221,912,133 |
MDExOlB1bGxSZXF1ZXN0MTE2MDA0NzMx
| 16,005 |
CLN/API: move plotting funcs to pandas.plotting
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
}
|
[
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 8 | 2017-04-14T23:53:22Z | 2017-04-16T08:18:46Z | 2017-04-15T16:02:25Z |
MEMBER
| null |
closes #12548, rebase of #13579
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/16005/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/16005/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/16005.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/16005",
"merged_at": "2017-04-15T16:02:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/16005.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/16005"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/16006
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/16006/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/16006/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/16006/events
|
https://github.com/pandas-dev/pandas/pull/16006
| 221,913,590 |
MDExOlB1bGxSZXF1ZXN0MTE2MDA1Nzg1
| 16,006 |
TST: 32bit compat for interval get_indexer
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
}
|
[
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "0e8a16",
"default": false,
"description": "32-bit systems",
"id": 563047854,
"name": "32bit",
"node_id": "MDU6TGFiZWw1NjMwNDc4NTQ=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/32bit"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 1 | 2017-04-15T00:10:31Z | 2017-04-15T02:03:56Z | 2017-04-15T02:02:51Z |
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/16006/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/16006/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/16006.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/16006",
"merged_at": "2017-04-15T02:02:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/16006.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/16006"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/16007
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/16007/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/16007/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/16007/events
|
https://github.com/pandas-dev/pandas/issues/16007
| 221,922,477 |
MDU6SXNzdWUyMjE5MjI0Nzc=
| 16,007 |
HDFStore() create a new file by mode 'a' ,but file name can't be incorrect
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/25627831?v=4",
"events_url": "https://api.github.com/users/imelee/events{/privacy}",
"followers_url": "https://api.github.com/users/imelee/followers",
"following_url": "https://api.github.com/users/imelee/following{/other_user}",
"gists_url": "https://api.github.com/users/imelee/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/imelee",
"id": 25627831,
"login": "imelee",
"node_id": "MDQ6VXNlcjI1NjI3ODMx",
"organizations_url": "https://api.github.com/users/imelee/orgs",
"received_events_url": "https://api.github.com/users/imelee/received_events",
"repos_url": "https://api.github.com/users/imelee/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/imelee/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/imelee/subscriptions",
"type": "User",
"url": "https://api.github.com/users/imelee"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "444444",
"default": false,
"description": "Unicode strings",
"id": 36380025,
"name": "Unicode",
"node_id": "MDU6TGFiZWwzNjM4MDAyNQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Unicode"
},
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
},
{
"color": "fbca04",
"default": false,
"description": "Windows OS",
"id": 57186974,
"name": "Windows",
"node_id": "MDU6TGFiZWw1NzE4Njk3NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Windows"
}
] |
open
| false | null |
[] | null | 6 | 2017-04-15T02:58:46Z | 2020-04-05T00:21:03Z | null |
NONE
| null |
#### Code Sample, a copy-pastable example if possible
with pd.HDFStore(r'e:\网易历史资金.h5') as f:
#### Problem description
all went on well before update,i got this problem after update python3.52 to python3.6 and conda update --all
#### Expected Output
the filename should be 网易历史资金.h5 but i got 缃戞槗鍘嗗彶璧勯噾.h5
#### Output of ``pd.show_versions()``
<details>
# Paste the output here pd.show_versions() here
INSTALLED VERSIONS
------------------
commit: None
python: 3.6.1.final.0
python-bits: 64
OS: Windows
OS-release: 10
machine: AMD64
processor: Intel64 Family 6 Model 60 Stepping 3, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None
LOCALE: None.None
pandas: 0.19.2
nose: 1.3.7
pip: 9.0.1
setuptools: 27.2.0
Cython: 0.25.2
numpy: 1.12.1
scipy: 0.19.0
statsmodels: 0.8.0
xarray: None
IPython: 5.3.0
sphinx: 1.5.4
patsy: 0.4.1
dateutil: 2.6.0
pytz: 2017.2
blosc: None
bottleneck: 1.2.0
tables: 3.2.2
numexpr: 2.6.2
matplotlib: 2.0.0
openpyxl: 2.4.1
xlrd: 1.0.0
xlwt: 1.2.0
xlsxwriter: 0.9.6
lxml: 3.7.3
bs4: 4.5.3
html5lib: 0.999
httplib2: None
apiclient: None
sqlalchemy: 1.1.9
pymysql: None
psycopg2: None
jinja2: 2.9.6
boto: 2.46.1
pandas_datareader: None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/16007/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/16007/timeline
| null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.