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/9002
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9002/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9002/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9002/events
https://github.com/pandas-dev/pandas/issues/9002
51,029,381
MDU6SXNzdWU1MTAyOTM4MQ==
9,002
StopIteration error when trying to import specific columns from Excel file using parse_cols
{ "avatar_url": "https://avatars.githubusercontent.com/u/3989299?v=4", "events_url": "https://api.github.com/users/pybokeh/events{/privacy}", "followers_url": "https://api.github.com/users/pybokeh/followers", "following_url": "https://api.github.com/users/pybokeh/following{/other_user}", "gists_url": "https://api.github.com/users/pybokeh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/pybokeh", "id": 3989299, "login": "pybokeh", "node_id": "MDQ6VXNlcjM5ODkyOTk=", "organizations_url": "https://api.github.com/users/pybokeh/orgs", "received_events_url": "https://api.github.com/users/pybokeh/received_events", "repos_url": "https://api.github.com/users/pybokeh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/pybokeh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pybokeh/subscriptions", "type": "User", "url": "https://api.github.com/users/pybokeh" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "bfe5bf", "default": false, "description": "read_excel, to_excel", "id": 49254273, "name": "IO Excel", "node_id": "MDU6TGFiZWw0OTI1NDI3Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel" } ]
closed
false
null
[]
{ "closed_at": "2016-03-12T16:19:08Z", "closed_issues": 469, "created_at": "2015-07-19T20:18:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-03-13T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/36", "id": 1214851, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/36/labels", "node_id": "MDk6TWlsZXN0b25lMTIxNDg1MQ==", "number": 36, "open_issues": 0, "state": "closed", "title": "0.18.0", "updated_at": "2016-12-06T21:34:41Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/36" }
9
2014-12-04T21:09:36Z
2016-02-29T09:46:03Z
2016-02-27T15:09:05Z
NONE
null
``` df = pd.read_excel(r'\\path_to_Excel_file', 'Sheet1', parse_cols=['MODEL_YEAR']) returns: --------------------------------------------------------------------------- StopIteration Traceback (most recent call last) <ipython-input-29-336e4fd9eea1> in <module>() 4 5 df = pd.read_excel(r'\\path_to_Excel_file', ----> 6 'Sheet1', parse_cols=["MODEL_YEAR"]) D:\Miniconda3\envs\notebook\lib\site-packages\pandas\io\excel.py in read_excel(io, sheetname, **kwds) 125 engine = kwds.pop('engine', None) 126 --> 127 return ExcelFile(io, engine=engine).parse(sheetname=sheetname, **kwds) 128 129 D:\Miniconda3\envs\notebook\lib\site-packages\pandas\io\excel.py in parse(self, sheetname, header, skiprows, skip_footer, index_col, parse_cols, parse_dates, date_parser, na_values, thousands, chunksize, convert_float, has_index_names, **kwds) 236 skip_footer=skip_footer, 237 convert_float=convert_float, --> 238 **kwds) 239 240 def _should_parse(self, i, parse_cols): D:\Miniconda3\envs\notebook\lib\site-packages\pandas\io\excel.py in _parse_excel(self, sheetname, header, skiprows, skip_footer, index_col, has_index_names, parse_cols, parse_dates, date_parser, na_values, thousands, chunksize, convert_float, **kwds) 355 skip_footer=skip_footer, 356 chunksize=chunksize, --> 357 **kwds) 358 359 return parser.read() D:\Miniconda3\envs\notebook\lib\site-packages\pandas\io\parsers.py in TextParser(*args, **kwds) 1285 """ 1286 kwds['engine'] = 'python' -> 1287 return TextFileReader(*args, **kwds) 1288 1289 D:\Miniconda3\envs\notebook\lib\site-packages\pandas\io\parsers.py in __init__(self, f, engine, **kwds) 555 self.options['has_index_names'] = kwds['has_index_names'] 556 --> 557 self._make_engine(self.engine) 558 559 def _get_options_with_defaults(self, engine): D:\Miniconda3\envs\notebook\lib\site-packages\pandas\io\parsers.py in _make_engine(self, engine) 698 elif engine == 'python-fwf': 699 klass = FixedWidthFieldParser --> 700 self._engine = klass(self.f, **self.options) 701 702 def _failover_to_python(self): D:\Miniconda3\envs\notebook\lib\site-packages\pandas\io\parsers.py in __init__(self, f, **kwds) 1392 # infer column indices from self.usecols if is is specified. 1393 self._col_indices = None -> 1394 self.columns, self.num_original_columns = self._infer_columns() 1395 1396 # Now self.columns has the set of columns that we will process. D:\Miniconda3\envs\notebook\lib\site-packages\pandas\io\parsers.py in _infer_columns(self) 1607 columns = [] 1608 for level, hr in enumerate(header): -> 1609 line = self._buffered_line() 1610 1611 while self.line_pos <= hr: D:\Miniconda3\envs\notebook\lib\site-packages\pandas\io\parsers.py in _buffered_line(self) 1734 return self.buf[0] 1735 else: -> 1736 return self._next_line() 1737 1738 def _empty(self, line): D:\Miniconda3\envs\notebook\lib\site-packages\pandas\io\parsers.py in _next_line(self) 1758 break 1759 except IndexError: -> 1760 raise StopIteration 1761 else: 1762 while self.pos in self.skiprows: StopIteration: ``` Documentation says the following: parse_cols : int or list, default None - If None then parse all columns - If int then indicates last column to be parsed - If list of ints then indicates list of column numbers to be parsed - If string then indicates comma separated list of column names and column ranges (e.g. “A:E” or “A,C,E:F”) Also did: ``` df = pd.read_excel(r'\\path_to_Excel_file', 'Sheet1', parse_cols="MODEL_YEAR") ``` But still got the same error. ``` Using Windows 7 with Miniconda3 conda list output: beautiful-soup 4.3.2 py34_0 beautifulsoup4 4.3.2 <pip> brewer2mpl 1.4.1 <pip> dateutil 2.1 py34_2 ggplot 0.6.5 <pip> ipython 2.3.1 py34_0 jdcal 1.0 py34_0 jinja2 2.7.3 py34_1 lxml 3.4.0 py34_0 markupsafe 0.23 py34_0 matplotlib 1.4.2 np19py34_0 numexpr 2.3.1 np19py34_0 numpy 1.9.1 py34_0 openpyxl 2.0.2 py34_0 pandas 0.15.1 np19py34_0 patsy 0.3.0 np19py34_0 pip 1.5.6 py34_0 pycrypto 2.6.1 py34_2 pygments 2.0.1 py34_0 pyodbc 3.0.7 py34_0 pyparsing 2.0.1 py34_0 pyqt 4.10.4 py34_0 pyreadline 2.0 py34_0 python 3.4.2 0 python-dateutil 2.1 <pip> pytz 2014.9 py34_0 pywin32 219 py34_0 pyzmq 14.4.1 py34_0 requests 2.4.3 py34_0 scipy 0.14.0 np19py34_0 seaborn 0.5.0 <pip> setuptools 7.0 py34_0 six 1.8.0 py34_0 statsmodels 0.6.0 np19py34_0 tornado 4.0.2 py34_0 xlrd 0.9.3 py34_0 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9002/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9002/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9003
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9003/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9003/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9003/events
https://github.com/pandas-dev/pandas/issues/9003
51,034,159
MDU6SXNzdWU1MTAzNDE1OQ==
9,003
Memory leak with pandas plot
{ "avatar_url": "https://avatars.githubusercontent.com/u/5360878?v=4", "events_url": "https://api.github.com/users/alexisglr/events{/privacy}", "followers_url": "https://api.github.com/users/alexisglr/followers", "following_url": "https://api.github.com/users/alexisglr/following{/other_user}", "gists_url": "https://api.github.com/users/alexisglr/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/alexisglr", "id": 5360878, "login": "alexisglr", "node_id": "MDQ6VXNlcjUzNjA4Nzg=", "organizations_url": "https://api.github.com/users/alexisglr/orgs", "received_events_url": "https://api.github.com/users/alexisglr/received_events", "repos_url": "https://api.github.com/users/alexisglr/repos", "site_admin": false, "starred_url": "https://api.github.com/users/alexisglr/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/alexisglr/subscriptions", "type": "User", "url": "https://api.github.com/users/alexisglr" }
[ { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" }, { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" } ]
closed
false
null
[]
{ "closed_at": "2015-10-09T18:34:35Z", "closed_issues": 593, "created_at": "2015-03-23T10:47:38Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2015-10-10T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/34", "id": 1033710, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels", "node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==", "number": 34, "open_issues": 0, "state": "closed", "title": "0.17.0", "updated_at": "2016-12-11T14:02:02Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34" }
9
2014-12-04T21:51:47Z
2015-07-29T14:05:50Z
2015-07-29T14:05:50Z
NONE
null
SO : http://stackoverflow.com/questions/27295220/matplotlib-simple-case-memory-leak-with-pandas Seems to be a leak memory bug with pandas.plot. It works well with plt.plot(df.index, df.test) (see below) Simple case here : ``` import sys import gc import numpy as np import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt import pandas as pd pdindex = pd.date_range(start='01/01/2013', freq='15min', end='01/01/2019') df = pd.DataFrame({'test':np.random.normal(0,1,len(pdindex))}, index=pdindex) def memplot_plot(df, i): df.test.plot() plt.title('graph' + str(i)) plt.savefig(str(i) + '.png', dpi=144) plt.close() for i in range(1, 100): print '*******************************' print 'i : ' + str(i) print len( gc.get_objects()) print sys.getsizeof(gc.get_objects()) memplot_plot(df, i) gc.collect() ``` And the output is (memory error as of i=6): ``` ******************************* i : 1 74682 325680 ******************************* i : 2 290627 1190248 ******************************* i : 3 506420 2145012 ******************************* i : 4 721993 3054204 ******************************* i : 5 937566 3865524 ******************************* i : 6 1153139 4892352 Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Anaconda\lib\site- packages\spyderlib\widgets\externalshell\sitecustomize.py", line 580, in runfile execfile(filename, namespace) File "C:/PERSO/script_backtesting.py", line 124, in <module> memplot_plot(df, i) File "C:/PERSO/script_backtesting.py", line 107, in memplot_plot plt.savefig(str(i) + '.png', dpi=144) File "C:\Anaconda\lib\site-packages\matplotlib\pyplot.py", line 576, in savefig res = fig.savefig(*args, **kwargs) File "C:\Anaconda\lib\site-packages\matplotlib\figure.py", line 1470, in savefig self.canvas.print_figure(*args, **kwargs) File "C:\Anaconda\lib\site-packages\matplotlib\backend_bases.py", line 2192, in print_figure **kwargs) File "C:\Anaconda\lib\site-packages\matplotlib\backends\backend_agg.py", line 513, in print_png FigureCanvasAgg.draw(self) File "C:\Anaconda\lib\site-packages\matplotlib\backends\backend_agg.py", line 461, in draw self.figure.draw(self.renderer) File "C:\Anaconda\lib\site-packages\matplotlib\artist.py", line 59, in draw_wrapper draw(artist, renderer, *args, **kwargs) File "C:\Anaconda\lib\site-packages\matplotlib\figure.py", line 1079, in draw func(*args) File "C:\Anaconda\lib\site-packages\matplotlib\artist.py", line 59, in draw_wrapper draw(artist, renderer, *args, **kwargs) File "C:\Anaconda\lib\site-packages\matplotlib\axes\_base.py", line 2092, in draw a.draw(renderer) File "C:\Anaconda\lib\site-packages\matplotlib\artist.py", line 59, in draw_wrapper draw(artist, renderer, *args, **kwargs) File "C:\Anaconda\lib\site-packages\matplotlib\axis.py", line 1103, in draw ticks_to_draw = self._update_ticks(renderer) File "C:\Anaconda\lib\site-packages\matplotlib\axis.py", line 957, in _update_ticks tick_tups = [t for t in self.iter_ticks()] File "C:\Anaconda\lib\site-packages\matplotlib\axis.py", line 903, in iter_ticks self.major.formatter.set_locs(majorLocs) File "C:\Anaconda\lib\site-packages\pandas\tseries\converter.py", line 982, in set_locs self._set_default_format(vmin, vmax) File "C:\Anaconda\lib\site-packages\pandas\tseries\converter.py", line 966, in _set_default_format format = np.compress(info['maj'], info) File "C:\Anaconda\lib\site-packages\numpy\core\fromnumeric.py", line 1563, in compress return compress(condition, axis, out) MemoryError ``` Graph of the memory for the computer from launch the script to breack and to kill the console. ![enter image description here](http://i.stack.imgur.com/Ka4gM.png)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9003/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9003/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9004
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9004/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9004/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9004/events
https://github.com/pandas-dev/pandas/pull/9004
51,038,261
MDExOlB1bGxSZXF1ZXN0MjU1MzQyNTM=
9,004
update NDFrame __setattr__ to match behavior of __getattr__
{ "avatar_url": "https://avatars.githubusercontent.com/u/781659?v=4", "events_url": "https://api.github.com/users/jakevdp/events{/privacy}", "followers_url": "https://api.github.com/users/jakevdp/followers", "following_url": "https://api.github.com/users/jakevdp/following{/other_user}", "gists_url": "https://api.github.com/users/jakevdp/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jakevdp", "id": 781659, "login": "jakevdp", "node_id": "MDQ6VXNlcjc4MTY1OQ==", "organizations_url": "https://api.github.com/users/jakevdp/orgs", "received_events_url": "https://api.github.com/users/jakevdp/received_events", "repos_url": "https://api.github.com/users/jakevdp/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jakevdp/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jakevdp/subscriptions", "type": "User", "url": "https://api.github.com/users/jakevdp" }
[ { "color": "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": "2014-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.15.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
12
2014-12-04T22:29:27Z
2014-12-07T21:13:31Z
2014-12-07T15:15:07Z
CONTRIBUTOR
null
This addresses the issue raised in #8994. Here is the behavior before this PR: ``` python data = pd.DataFrame({'x':[1, 2, 3]}) data.y = 2 data['y'] = [2, 4, 6] data.y = 5 print(data.y) #2 print(data['y'].values) # [5, 5, 5] ``` Here is the behavior after this PR: ``` python data = pd.DataFrame({'x':[1, 2, 3]}) data.y = 2 data['y'] = [2, 4, 6] data.y = 5 print(data.y) #5 print(data['y'].values) # [2, 4, 6] ``` The fix boils down to the fact that when `data.y` is called, Python first calls `data.__getattribute__('y')` before calling `data.__getattr__('y')`, but when `data.y = 5` is called, Python goes directly to `data.__setattr__('y', 5)` without any prior search for defined attributes. I don't think there are any unintended side-effects to this change, but I'd appreciate some other folks thinking through whether this is the right solution. 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/9004/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9004/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/9004.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/9004", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/9004.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9004" }
https://api.github.com/repos/pandas-dev/pandas/issues/9005
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9005/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9005/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9005/events
https://github.com/pandas-dev/pandas/issues/9005
51,042,657
MDU6SXNzdWU1MTA0MjY1Nw==
9,005
BUG: comparing 'NaT' in series with series returns True
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
9
2014-12-04T23:13:52Z
2016-07-11T01:37:09Z
2016-07-11T01:37:08Z
MEMBER
null
xref #12877 (test on Series & DataFrame) When having a 'NaT' in a datetime series and comparing this to a datetime series, the comparison with NaT returns True (and shouldn't comparisons with NA not always return False?) Comparing it with a scalar does return False: ``` In [54]: s = pd.Series([pd.Timestamp('2012-01-01'), pd.Timestamp('NaT')]) In [55]: s2 = pd.Series([pd.Timestamp('2013-01-01'), pd.Timestamp('2014-01-01')]) In [57]: s Out[57]: 0 2012-01-01 1 NaT dtype: datetime64[ns] In [58]: s2 Out[58]: 0 2013-01-01 1 2014-01-01 dtype: datetime64[ns] In [59]: s < s2 Out[59]: 0 True 1 True dtype: bool In [60]: s < pd.Timestamp('2013-01-01') Out[60]: 0 True 1 False dtype: bool ``` Original from http://stackoverflow.com/questions/27305324/pandas-comparison-with-variable-number-of-columns/27305661#27305661
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9005/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9005/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9006
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9006/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9006/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9006/events
https://github.com/pandas-dev/pandas/issues/9006
51,044,980
MDU6SXNzdWU1MTA0NDk4MA==
9,006
BUG: comparing multicolumn dataframe with datetime64 values to series gives TypeError
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "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": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
4
2014-12-04T23:41:06Z
2021-04-11T06:00:29Z
null
MEMBER
null
When trying to compare a dataframe to a column/series (I know, in the following case not useful due to the alignement of the series with the columns of the dataframe and not the rows, but it is something typical users will try), I get the correct results if there are strings in the dataframe and series, but a TypeError when the dataframe contains datetime values: ``` In [1]: from io import StringIO In [2]: s = """id date birth_date_1 birth_date_2 ...: 1 2000-01-01 2000-01-03 2000-01-05 ...: 1 2000-01-07 2000-01-03 2000-01-05 ...: 2 2000-01-02 2000-01-10 2000-01-01 ...: 2 2000-01-05 2000-01-10 2000-01-01""" In [3]: df = pd.read_csv(StringIO(s), sep='\s+') In [5]: df[['birth_date_1','birth_date_2']] > df['date'] Out[5]: 0 1 2 3 birth_date_1 birth_date_2 0 False False False False True True 1 False False False False True True 2 False False False False True True 3 False False False False True True In [7]: df = pd.read_csv(StringIO(s), sep='\s+', parse_dates=[1,2,3]) In [8]: df[['birth_date_1','birth_date_2']] > df['date'] ... c:\users\vdbosscj\scipy\pandas-joris\pandas\core\internals.pyc in handle_error() 954 if raise_on_error: 955 raise TypeError('Could not operate %s with block values %s' --> 956 % (repr(other), str(detail))) 957 else: 958 # return the values TypeError: Could not operate array(['2000-01-01T01:00:00.000000000+0100', '2000-01-07T01:00:00.000000000+0100', '2000-01-02T01:00:00.000000000+0100', '2000-01-05T01:00:00.000000000+0100'], dtype='datetime64[ns]') with block values invalid type promotion ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9006/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9006/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9007
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9007/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9007/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9007/events
https://github.com/pandas-dev/pandas/pull/9007
51,048,270
MDExOlB1bGxSZXF1ZXN0MjU1NDA3MjA=
9,007
Fix groupby().transform() example in cookbook.rst
{ "avatar_url": "https://avatars.githubusercontent.com/u/2830459?v=4", "events_url": "https://api.github.com/users/stevesimmons/events{/privacy}", "followers_url": "https://api.github.com/users/stevesimmons/followers", "following_url": "https://api.github.com/users/stevesimmons/following{/other_user}", "gists_url": "https://api.github.com/users/stevesimmons/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/stevesimmons", "id": 2830459, "login": "stevesimmons", "node_id": "MDQ6VXNlcjI4MzA0NTk=", "organizations_url": "https://api.github.com/users/stevesimmons/orgs", "received_events_url": "https://api.github.com/users/stevesimmons/received_events", "repos_url": "https://api.github.com/users/stevesimmons/repos", "site_admin": false, "starred_url": "https://api.github.com/users/stevesimmons/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/stevesimmons/subscriptions", "type": "User", "url": "https://api.github.com/users/stevesimmons" }
[ { "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": "2014-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.15.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
2
2014-12-05T00:24:42Z
2014-12-05T06:11:47Z
2014-12-05T02:11:13Z
CONTRIBUTOR
null
@jorisvandenbossche : Fixes code in example, and makes final averaging by len(x) stylistically similar to previous adds. New pull request replacing my earlier one, which contained some other erroneous commits. closes #8944
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9007/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9007/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/9007.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/9007", "merged_at": "2014-12-05T02:11:13Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/9007.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9007" }
https://api.github.com/repos/pandas-dev/pandas/issues/9008
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9008/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9008/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9008/events
https://github.com/pandas-dev/pandas/pull/9008
51,054,644
MDExOlB1bGxSZXF1ZXN0MjU1NDQ2OTc=
9,008
BUG: Bug in using a pd.Grouper(key=...) with no level/axis or level only (GH8795, GH8866)
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" } ]
closed
false
null
[]
{ "closed_at": "2014-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.15.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
0
2014-12-05T01:58:13Z
2014-12-05T02:34:01Z
2014-12-05T02:34:01Z
CONTRIBUTOR
null
closes #8795 closes #8866
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9008/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9008/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/9008.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/9008", "merged_at": "2014-12-05T02:34:01Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/9008.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9008" }
https://api.github.com/repos/pandas-dev/pandas/issues/9009
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9009/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9009/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9009/events
https://github.com/pandas-dev/pandas/issues/9009
51,058,180
MDU6SXNzdWU1MTA1ODE4MA==
9,009
No way to specify higher precision (e.g. Double) when saving DataFrame with floating number to MySQL
{ "avatar_url": "https://avatars.githubusercontent.com/u/5100315?v=4", "events_url": "https://api.github.com/users/zhopan77/events{/privacy}", "followers_url": "https://api.github.com/users/zhopan77/followers", "following_url": "https://api.github.com/users/zhopan77/following{/other_user}", "gists_url": "https://api.github.com/users/zhopan77/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/zhopan77", "id": 5100315, "login": "zhopan77", "node_id": "MDQ6VXNlcjUxMDAzMTU=", "organizations_url": "https://api.github.com/users/zhopan77/orgs", "received_events_url": "https://api.github.com/users/zhopan77/received_events", "repos_url": "https://api.github.com/users/zhopan77/repos", "site_admin": false, "starred_url": "https://api.github.com/users/zhopan77/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/zhopan77/subscriptions", "type": "User", "url": "https://api.github.com/users/zhopan77" }
[ { "color": "5319e7", "default": false, "description": "to_sql, read_sql, read_sql_query", "id": 47232590, "name": "IO SQL", "node_id": "MDU6TGFiZWw0NzIzMjU5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL" } ]
closed
false
null
[]
null
2
2014-12-05T03:01:25Z
2015-01-25T18:01:04Z
2015-01-25T18:01:04Z
NONE
null
When saving DataFrame to MySQL, Pandas will map Python float (by default double precision) to MySQL FLOAT (by default single precision). I couldn't find a way to either specify the use of MySQL DOUBLE, or MySQL DECIMAL. When saving some financial data this will cause loss of precision. For example, 2-year treasury future price quotes are multiples of 1/4/32 = 0.0078125, and there are usually 3 digits before the decimal point. A real-world example is 109.8828125 (TUZ4 settlement price on 12/04/2014). Saving a DataFrame with this number to MySQL results in the rounded 109.883. The error itself is not huge (2.4% of a tick), but still undesirable, especially considering using MySQL DOUBLE or DECIMAL can easily improve the precision. Currently a workaround is to modify pandas/io/sql.py to map Python float to MySQL FLOAT(53), which forces the use of DOUBLE. There are two places to change, one inside method definition SQLTable._sqlalchemy_type(self, col), the other inside dictionary definition _SQL_TYPES. This work around will waste storage when only single precision is needed. It will be better if some option is provided to utilize MySQL DOUBLE and DECIMAL only when needed.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9009/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9009/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9010
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9010/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9010/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9010/events
https://github.com/pandas-dev/pandas/issues/9010
51,063,586
MDU6SXNzdWU1MTA2MzU4Ng==
9,010
Yahoo options DataReader can't parse underlying prices with commas
{ "avatar_url": "https://avatars.githubusercontent.com/u/337588?v=4", "events_url": "https://api.github.com/users/PollyP/events{/privacy}", "followers_url": "https://api.github.com/users/PollyP/followers", "following_url": "https://api.github.com/users/PollyP/following{/other_user}", "gists_url": "https://api.github.com/users/PollyP/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/PollyP", "id": 337588, "login": "PollyP", "node_id": "MDQ6VXNlcjMzNzU4OA==", "organizations_url": "https://api.github.com/users/PollyP/orgs", "received_events_url": "https://api.github.com/users/PollyP/received_events", "repos_url": "https://api.github.com/users/PollyP/repos", "site_admin": false, "starred_url": "https://api.github.com/users/PollyP/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/PollyP/subscriptions", "type": "User", "url": "https://api.github.com/users/PollyP" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" } ]
closed
false
null
[]
{ "closed_at": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "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.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
3
2014-12-05T04:59:56Z
2015-03-05T23:28:23Z
2015-03-05T23:28:23Z
NONE
null
I ran into this problem retrieving option data for the SPX settlement index: ``` >>> options_object = web.Options('^spxpm', 'yahoo') >>> options_object.get_call_data( expiry=datetime.date(2014, 12, 20) ) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/pollyp/anaconda/lib/python2.7/site-packages/pandas/io/data.py", line 785, in get_call_data return self._get_data_in_date_range(expiry, call=True, put=False) File "/Users/pollyp/anaconda/lib/python2.7/site-packages/pandas/io/data.py", line 1098, in _get_data_in_date_range frame = self._get_option_data(expiry=expiry_date, name=name) File "/Users/pollyp/anaconda/lib/python2.7/site-packages/pandas/io/data.py", line 717, in _get_option_data frames = self._get_option_frames_from_yahoo(expiry) File "/Users/pollyp/anaconda/lib/python2.7/site-packages/pandas/io/data.py", line 655, in _get_option_frames_from_yahoo option_frames = self._option_frames_from_url(url) File "/Users/pollyp/anaconda/lib/python2.7/site-packages/pandas/io/data.py", line 684, in _option_frames_from_url self.underlying_price, self.quote_time = self._get_underlying_price(url) File "/Users/pollyp/anaconda/lib/python2.7/site-packages/pandas/io/data.py", line 696, in _get_underlying_price .getchildren()[0].text) ValueError: invalid literal for float(): 2,071.92 ``` Here's my show_versions output: ``` >>> pd.show_versions() INSTALLED VERSIONS ------------------ commit: None python: 2.7.8.final.0 python-bits: 64 OS: Darwin OS-release: 13.4.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: None LANG: None pandas: 0.15.1 nose: 1.3.4 Cython: 0.21 numpy: 1.9.0 scipy: 0.14.0 statsmodels: 0.5.0 IPython: 2.2.0 sphinx: 1.2.3 patsy: 0.3.0 dateutil: 2.2 pytz: 2014.7 bottleneck: None tables: 3.1.1 numexpr: 2.3.1 matplotlib: 1.4.0 openpyxl: 1.8.5 xlrd: 0.9.3 xlwt: 0.7.5 xlsxwriter: 0.5.7 lxml: 3.4.0 bs4: 4.3.2 html5lib: 0.9999-dev httplib2: None apiclient: None rpy2: None sqlalchemy: 0.9.7 pymysql: None psycopg2: None ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9010/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9010/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9011
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9011/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9011/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9011/events
https://github.com/pandas-dev/pandas/issues/9011
51,087,741
MDU6SXNzdWU1MTA4Nzc0MQ==
9,011
TimedeltaIndex constructor gives wild output
{ "avatar_url": "https://avatars.githubusercontent.com/u/6638265?v=4", "events_url": "https://api.github.com/users/ahjulstad/events{/privacy}", "followers_url": "https://api.github.com/users/ahjulstad/followers", "following_url": "https://api.github.com/users/ahjulstad/following{/other_user}", "gists_url": "https://api.github.com/users/ahjulstad/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ahjulstad", "id": 6638265, "login": "ahjulstad", "node_id": "MDQ6VXNlcjY2MzgyNjU=", "organizations_url": "https://api.github.com/users/ahjulstad/orgs", "received_events_url": "https://api.github.com/users/ahjulstad/received_events", "repos_url": "https://api.github.com/users/ahjulstad/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ahjulstad/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ahjulstad/subscriptions", "type": "User", "url": "https://api.github.com/users/ahjulstad" }
[ { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" }, { "color": "5319e7", "default": false, "description": "Timedelta data type", "id": 49597148, "name": "Timedelta", "node_id": "MDU6TGFiZWw0OTU5NzE0OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta" } ]
closed
false
null
[]
{ "closed_at": "2014-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.15.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
5
2014-12-05T11:13:14Z
2014-12-09T11:16:05Z
2014-12-05T13:20:41Z
NONE
null
``` python import pandas as pd a = pd.TimedeltaIndex(range(3),unit='S') print (a[1]) ``` gives output ``` 11574 days 01:46:40 ``` I would expect the same output as from ``` python import pandas as pd import numpy as np npa = np.array(range(3),dtype='timedelta64[s]') a = pd.TimedeltaIndex(npa) print(a[1]) ``` giving output ``` 0 days 00:00:01 ``` This is pandas 0.15.1 as installed by conda update pandas from a fresh python 3.4 install of anaconda. ``` INSTALLED VERSIONS ------------------ commit: None python: 3.4.1.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: nb_NO pandas: 0.15.1 nose: 1.3.4 Cython: 0.21 numpy: 1.9.1 scipy: 0.14.0 statsmodels: 0.5.0 IPython: 2.2.0 sphinx: 1.2.3 patsy: 0.3.0 dateutil: 2.1 pytz: 2014.9 bottleneck: None tables: 3.1.1 numexpr: 2.3.1 matplotlib: 1.4.0 openpyxl: 1.8.5 xlrd: 0.9.3 xlwt: None xlsxwriter: 0.5.7 lxml: 3.4.0 bs4: 4.3.2 html5lib: None httplib2: None apiclient: None rpy2: None sqlalchemy: 0.9.7 pymysql: None psycopg2: None ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9011/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9011/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9012
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9012/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9012/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9012/events
https://github.com/pandas-dev/pandas/issues/9012
51,102,009
MDU6SXNzdWU1MTEwMjAwOQ==
9,012
Plotting problem in pandas 0.15.1 for DataFrame with datetime-index
{ "avatar_url": "https://avatars.githubusercontent.com/u/60383?v=4", "events_url": "https://api.github.com/users/davaco/events{/privacy}", "followers_url": "https://api.github.com/users/davaco/followers", "following_url": "https://api.github.com/users/davaco/following{/other_user}", "gists_url": "https://api.github.com/users/davaco/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/davaco", "id": 60383, "login": "davaco", "node_id": "MDQ6VXNlcjYwMzgz", "organizations_url": "https://api.github.com/users/davaco/orgs", "received_events_url": "https://api.github.com/users/davaco/received_events", "repos_url": "https://api.github.com/users/davaco/repos", "site_admin": false, "starred_url": "https://api.github.com/users/davaco/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/davaco/subscriptions", "type": "User", "url": "https://api.github.com/users/davaco" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" } ]
closed
false
null
[]
{ "closed_at": "2014-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.15.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
9
2014-12-05T14:05:11Z
2014-12-11T10:28:32Z
2014-12-11T01:34:25Z
NONE
null
Hi have the following snippet: ``` from datetime import datetime import matplotlib.pyplot as plt import numpy as np import pandas as pd plot_df = pd.DataFrame( np.random.rand(21, 2), index=pd.bdate_range(datetime(2000, 1, 1), datetime(2000, 1, 31)), columns=['a', 'b']) fig = plt.figure() ax = fig.add_subplot(111) ax = plot_df.plot(ax=ax) plt.axhline(y=0) ``` This gives an exception in Pandas 0.15.2, **not** in Pandas 0.14.1. Trace: ``` Traceback (most recent call last): File "test_p15.py", line 14, in <module> plt.axhline(y=0) File "/Users/dcoevord/anaconda/envs/p15/lib/python2.7/site-packages/matplotlib/pyplot.py", line 2501, in axhline ret = ax.axhline(y=y, xmin=xmin, xmax=xmax, **kwargs) File "/Users/dcoevord/anaconda/envs/p15/lib/python2.7/site-packages/matplotlib/axes/_axes.py", line 729, in axhline self.add_line(l) File "/Users/dcoevord/anaconda/envs/p15/lib/python2.7/site-packages/matplotlib/axes/_base.py", line 1486, in add_line self._update_line_limits(line) File "/Users/dcoevord/anaconda/envs/p15/lib/python2.7/site-packages/matplotlib/axes/_base.py", line 1497, in _update_line_limits path = line.get_path() File "/Users/dcoevord/anaconda/envs/p15/lib/python2.7/site-packages/matplotlib/lines.py", line 871, in get_path self.recache() File "/Users/dcoevord/anaconda/envs/p15/lib/python2.7/site-packages/matplotlib/lines.py", line 568, in recache xconv = self.convert_xunits(self._xorig) File "/Users/dcoevord/anaconda/envs/p15/lib/python2.7/site-packages/matplotlib/artist.py", line 163, in convert_xunits return ax.xaxis.convert_units(x) File "/Users/dcoevord/anaconda/envs/p15/lib/python2.7/site-packages/matplotlib/axis.py", line 1448, in convert_units ret = self.converter.convert(x, self.units, self) File "/Users/dcoevord/anaconda/envs/p15/lib/python2.7/site-packages/pandas/tseries/converter.py", line 121, in convert return PeriodIndex(values, freq=axis.freq).values File "/Users/dcoevord/anaconda/envs/p15/lib/python2.7/site-packages/pandas/tseries/period.py", line 641, in __new__ ordinal, freq = cls._from_arraylike(data, freq, tz) File "/Users/dcoevord/anaconda/envs/p15/lib/python2.7/site-packages/pandas/tseries/period.py", line 691, in _from_arraylike data = _get_ordinals(data, freq) File "/Users/dcoevord/anaconda/envs/p15/lib/python2.7/site-packages/pandas/tseries/period.py", line 507, in _get_ordinals return lib.map_infer(data, f) File "pandas/src/inference.pyx", line 1020, in pandas.lib.map_infer (pandas/lib.c:56502) File "/Users/dcoevord/anaconda/envs/p15/lib/python2.7/site-packages/pandas/tseries/period.py", line 503, in <lambda> f = lambda x: Period(x, freq=freq).ordinal File "/Users/dcoevord/anaconda/envs/p15/lib/python2.7/site-packages/pandas/tseries/period.py", line 126, in __init__ dt, _, reso = parse_time_string(value, freq) File "/Users/dcoevord/anaconda/envs/p15/lib/python2.7/site-packages/pandas/tseries/tools.py", line 460, in parse_time_string raise DateParseError(e) pandas.tseries.tools.DateParseError: day is out of range for month ``` Version info: ``` INSTALLED VERSIONS ------------------ commit: None python: 2.7.8.final.0 python-bits: 64 OS: Darwin OS-release: 14.0.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: None LANG: None pandas: 0.15.1 nose: None Cython: None numpy: 1.9.1 scipy: 0.14.0 statsmodels: None IPython: 2.3.1 sphinx: None patsy: None dateutil: 1.5 pytz: 2014.9 bottleneck: None tables: None numexpr: None matplotlib: 1.4.2 openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml: None bs4: None html5lib: None httplib2: None apiclient: None rpy2: None sqlalchemy: None pymysql: None psycopg2: None ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9012/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9012/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9013
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9013/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9013/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9013/events
https://github.com/pandas-dev/pandas/issues/9013
51,103,717
MDU6SXNzdWU1MTEwMzcxNw==
9,013
Dropping rows from inner level of multiindex not removing name of rows from index
{ "avatar_url": "https://avatars.githubusercontent.com/u/1286830?v=4", "events_url": "https://api.github.com/users/danzelmo/events{/privacy}", "followers_url": "https://api.github.com/users/danzelmo/followers", "following_url": "https://api.github.com/users/danzelmo/following{/other_user}", "gists_url": "https://api.github.com/users/danzelmo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/danzelmo", "id": 1286830, "login": "danzelmo", "node_id": "MDQ6VXNlcjEyODY4MzA=", "organizations_url": "https://api.github.com/users/danzelmo/orgs", "received_events_url": "https://api.github.com/users/danzelmo/received_events", "repos_url": "https://api.github.com/users/danzelmo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/danzelmo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/danzelmo/subscriptions", "type": "User", "url": "https://api.github.com/users/danzelmo" }
[ { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": "2014-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.15.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
3
2014-12-05T14:23:10Z
2014-12-05T14:37:09Z
2014-12-05T14:30:23Z
NONE
null
Dropping rows is removing the values from a multiindex dataframe but not removing the key values from the multiindex. I don't think this is intended behavior. This is pandas 15.1 ``` python In [33]: s = pd.Series(np.random.randn(8), index=arrays) In [34]: df = pd.DataFrame(np.random.randn(8, 4), index=arrays) In [35]: df Out[35]: 0 1 2 3 bar one -0.236317 0.105585 -0.611251 0.016047 two 0.296703 -2.415282 -0.595308 0.388648 baz one 1.388280 0.261497 0.717756 0.407535 two 0.379969 -0.592787 1.093628 0.082563 foo one 0.100581 -0.186784 -0.150018 -0.032548 two 2.009603 -0.516111 0.801641 0.693063 qux one -0.194570 0.952694 0.913118 0.299275 two 1.716092 0.465544 1.453519 -0.679434 In [36]: df.index Out[36]: MultiIndex(levels=[[u'bar', u'baz', u'foo', u'qux'], [u'one', u'two']], labels=[[0, 0, 1, 1, 2, 2, 3, 3], [0, 1, 0, 1, 0, 1, 0, 1]]) In [37]: df.drop('two', level=1, axis=0,inplace=True) In [38]: df Out[38]: 0 1 2 3 bar one -0.236317 0.105585 -0.611251 0.016047 baz one 1.388280 0.261497 0.717756 0.407535 foo one 0.100581 -0.186784 -0.150018 -0.032548 qux one -0.194570 0.952694 0.913118 0.299275 In [39]: df.index Out[39]: MultiIndex(levels=[[u'bar', u'baz', u'foo', u'qux'], [u'one', u'two']], labels=[[0, 1, 2, 3], [0, 0, 0, 0]]) ``` I noticed this because when I then try to create a panel from from the dataframe I get: ``` python In [40]: panel = df.to_panel() In [41]: panel Out[41]: <class 'pandas.core.panel.Panel'> Dimensions: 4 (items) x 4 (major_axis) x 2 (minor_axis) Items axis: 0 to 3 Major_axis axis: bar to qux Minor_axis axis: one to two ``` I also noticed this same behavior when I used query on a multiindex dataframe and then tried to create a panel from the result. Is there a way to get around having to drop extra array from the panel?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9013/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9013/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9014
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9014/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9014/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9014/events
https://github.com/pandas-dev/pandas/pull/9014
51,139,403
MDExOlB1bGxSZXF1ZXN0MjU1OTU3NjM=
9,014
ENH: Implement Series.StringMethod.slice_replace
{ "avatar_url": "https://avatars.githubusercontent.com/u/2702341?v=4", "events_url": "https://api.github.com/users/billletson/events{/privacy}", "followers_url": "https://api.github.com/users/billletson/followers", "following_url": "https://api.github.com/users/billletson/following{/other_user}", "gists_url": "https://api.github.com/users/billletson/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/billletson", "id": 2702341, "login": "billletson", "node_id": "MDQ6VXNlcjI3MDIzNDE=", "organizations_url": "https://api.github.com/users/billletson/orgs", "received_events_url": "https://api.github.com/users/billletson/received_events", "repos_url": "https://api.github.com/users/billletson/repos", "site_admin": false, "starred_url": "https://api.github.com/users/billletson/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/billletson/subscriptions", "type": "User", "url": "https://api.github.com/users/billletson" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "5319e7", "default": false, "description": "String extension data type and string data", "id": 57522093, "name": "Strings", "node_id": "MDU6TGFiZWw1NzUyMjA5Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings" } ]
closed
false
null
[]
{ "closed_at": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "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.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
7
2014-12-05T19:57:58Z
2015-01-08T02:01:29Z
2015-01-08T01:59:16Z
CONTRIBUTOR
null
closes #8888 This does not implement immerrr's suggestion of implementing `__setitem__`, as all `StringMethod` methods return a new `Series` (or `DataFrame`) rather than mutating.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9014/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9014/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/9014.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/9014", "merged_at": "2015-01-08T01:59:16Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/9014.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9014" }
https://api.github.com/repos/pandas-dev/pandas/issues/9015
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9015/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9015/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9015/events
https://github.com/pandas-dev/pandas/pull/9015
51,143,336
MDExOlB1bGxSZXF1ZXN0MjU1OTgyODU=
9,015
TST: better testing for test_where (GH8997)
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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": "2014-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.15.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
2
2014-12-05T20:38:36Z
2015-05-05T08:23:02Z
2014-12-06T15:17:00Z
CONTRIBUTOR
null
closes #8996
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9015/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9015/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/9015.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/9015", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/9015.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9015" }
https://api.github.com/repos/pandas-dev/pandas/issues/9016
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9016/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9016/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9016/events
https://github.com/pandas-dev/pandas/issues/9016
51,148,846
MDU6SXNzdWU1MTE0ODg0Ng==
9,016
Bitwise operation weirdness
{ "avatar_url": "https://avatars.githubusercontent.com/u/304831?v=4", "events_url": "https://api.github.com/users/benkuhn/events{/privacy}", "followers_url": "https://api.github.com/users/benkuhn/followers", "following_url": "https://api.github.com/users/benkuhn/following{/other_user}", "gists_url": "https://api.github.com/users/benkuhn/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/benkuhn", "id": 304831, "login": "benkuhn", "node_id": "MDQ6VXNlcjMwNDgzMQ==", "organizations_url": "https://api.github.com/users/benkuhn/orgs", "received_events_url": "https://api.github.com/users/benkuhn/received_events", "repos_url": "https://api.github.com/users/benkuhn/repos", "site_admin": false, "starred_url": "https://api.github.com/users/benkuhn/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/benkuhn/subscriptions", "type": "User", "url": "https://api.github.com/users/benkuhn" }
[ { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" } ]
closed
false
null
[]
{ "closed_at": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "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.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
10
2014-12-05T21:36:18Z
2015-02-05T11:37:52Z
2015-02-05T11:37:52Z
NONE
null
It seems like `pd.Series([x]) | pd.Series([y])` with `x, y` integers returns `pd.Series([x | y]).astype(bool)`. This is a reasonable semantic, but `pd.Series([x]) & pd.Series([y])` seems to return `pd.Series([x & y % 2]) == 1`, which is a lot weirder. Is there a justification for this? I couldn't find one in the documentation (`&` is hard to search!), so it may be a bug.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9016/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9016/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9017
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9017/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9017/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9017/events
https://github.com/pandas-dev/pandas/issues/9017
51,152,828
MDU6SXNzdWU1MTE1MjgyOA==
9,017
Pandas Dataflow
{ "avatar_url": "https://avatars.githubusercontent.com/u/6318811?v=4", "events_url": "https://api.github.com/users/arogozhnikov/events{/privacy}", "followers_url": "https://api.github.com/users/arogozhnikov/followers", "following_url": "https://api.github.com/users/arogozhnikov/following{/other_user}", "gists_url": "https://api.github.com/users/arogozhnikov/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/arogozhnikov", "id": 6318811, "login": "arogozhnikov", "node_id": "MDQ6VXNlcjYzMTg4MTE=", "organizations_url": "https://api.github.com/users/arogozhnikov/orgs", "received_events_url": "https://api.github.com/users/arogozhnikov/received_events", "repos_url": "https://api.github.com/users/arogozhnikov/repos", "site_admin": false, "starred_url": "https://api.github.com/users/arogozhnikov/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/arogozhnikov/subscriptions", "type": "User", "url": "https://api.github.com/users/arogozhnikov" }
[]
closed
false
null
[]
null
3
2014-12-05T22:19:10Z
2014-12-18T18:58:15Z
2014-12-18T18:58:15Z
NONE
null
Hello, I'm using pandas together with IPython (btw, thanks for your library!). At this moment I met a problem of processing big files - there is not enough memory on the server, and the swap is disabled (can't change this). As long as I am writing library for data processing / machine learning, I eager to create some pipeline which will involve pandas (as most popular and simple way to operate data) and different classifiers (in particular `sklearn`, but more advanced classifiers also will be available, which will train on large files and predict large files as well). Large files processing also needed to be resolved. Finally I came to the following concept, which I called `PandasFlow`. Streams are very useful abstraction, this is chunk version of stream. Each operation returns a **lazily-evaluated sequence of DataFrames** (say, ~10000 rows each). Some simplest examples: ``` # nothing done really PF.from_csv(filename, features) # this will return pandas.DataFrame with two columns PF.from_csv(filename, features).where('width * height > 10').select_columns(width='width', volume='width * height * length').to_pandas() # this will save with one additional column PF.from_hdf(filename, path, features).where(lambda x: x.width * x.height > 10).add_columns(prediction=lambda x:classifier.predict(x)).to_csv(new_filename) ``` So, I believe this is 1. not hard to implement 2. easy to use 3. NB: you can prepare a query and pass to classifier - if classifier uses pandas (as `sklearn`) - it will convert this to pandas. If it trains on `csv` - it will save your query to `csv` file. Some other format not a problem as well. No need to think about final format that will be used If there is something like that already available? If not, any suggestions/links are appreciated.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9017/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9017/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9018
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9018/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9018/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9018/events
https://github.com/pandas-dev/pandas/pull/9018
51,164,233
MDExOlB1bGxSZXF1ZXN0MjU2MTE0NzA=
9,018
BUG: Prevent index header column from being added on MultiIndex when ind...
{ "avatar_url": "https://avatars.githubusercontent.com/u/4346513?v=4", "events_url": "https://api.github.com/users/dxe4/events{/privacy}", "followers_url": "https://api.github.com/users/dxe4/followers", "following_url": "https://api.github.com/users/dxe4/following{/other_user}", "gists_url": "https://api.github.com/users/dxe4/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dxe4", "id": 4346513, "login": "dxe4", "node_id": "MDQ6VXNlcjQzNDY1MTM=", "organizations_url": "https://api.github.com/users/dxe4/orgs", "received_events_url": "https://api.github.com/users/dxe4/received_events", "repos_url": "https://api.github.com/users/dxe4/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dxe4/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dxe4/subscriptions", "type": "User", "url": "https://api.github.com/users/dxe4" }
[ { "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": "2014-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.15.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
3
2014-12-06T01:01:08Z
2014-12-07T22:27:24Z
2014-12-07T22:27:17Z
CONTRIBUTOR
null
Fix for #8452 Index column was added when index=False.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9018/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9018/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/9018.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/9018", "merged_at": "2014-12-07T22:27:17Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/9018.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9018" }
https://api.github.com/repos/pandas-dev/pandas/issues/9019
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9019/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9019/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9019/events
https://github.com/pandas-dev/pandas/pull/9019
51,187,034
MDExOlB1bGxSZXF1ZXN0MjU2MjAyMTI=
9,019
reindex multi-index at level with reordered labels
{ "avatar_url": "https://avatars.githubusercontent.com/u/1288998?v=4", "events_url": "https://api.github.com/users/behzadnouri/events{/privacy}", "followers_url": "https://api.github.com/users/behzadnouri/followers", "following_url": "https://api.github.com/users/behzadnouri/following{/other_user}", "gists_url": "https://api.github.com/users/behzadnouri/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/behzadnouri", "id": 1288998, "login": "behzadnouri", "node_id": "MDQ6VXNlcjEyODg5OTg=", "organizations_url": "https://api.github.com/users/behzadnouri/orgs", "received_events_url": "https://api.github.com/users/behzadnouri/received_events", "repos_url": "https://api.github.com/users/behzadnouri/repos", "site_admin": false, "starred_url": "https://api.github.com/users/behzadnouri/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/behzadnouri/subscriptions", "type": "User", "url": "https://api.github.com/users/behzadnouri" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "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": "2014-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.15.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
3
2014-12-06T15:51:22Z
2014-12-07T00:29:18Z
2014-12-07T00:18:23Z
CONTRIBUTOR
null
closes https://github.com/pydata/pandas/issues/4088 on branch: ``` >>> df vals first second third mid 3rd 992 1.96 562 12.06 1st 73 -6.46 818 -15.75 658 5.90 btm 2nd 915 9.75 474 -1.47 905 -6.03 1st 717 8.01 909 -21.12 3rd 616 11.91 675 1.06 579 -4.01 top 1st 241 1.79 363 1.71 3rd 677 13.38 238 -16.77 407 17.19 2nd 728 -21.55 36 8.09 >>> df.reindex(['top', 'mid', 'btm'], level='first') vals first second third top 1st 241 1.79 363 1.71 3rd 677 13.38 238 -16.77 407 17.19 2nd 728 -21.55 36 8.09 mid 3rd 992 1.96 562 12.06 1st 73 -6.46 818 -15.75 658 5.90 btm 2nd 915 9.75 474 -1.47 905 -6.03 1st 717 8.01 909 -21.12 3rd 616 11.91 675 1.06 579 -4.01 >>> df.reindex(['1st', '2nd', '3rd'], level='second') vals first second third mid 1st 73 -6.46 818 -15.75 658 5.90 3rd 992 1.96 562 12.06 btm 1st 717 8.01 909 -21.12 2nd 915 9.75 474 -1.47 905 -6.03 3rd 616 11.91 675 1.06 579 -4.01 top 1st 241 1.79 363 1.71 2nd 728 -21.55 36 8.09 3rd 677 13.38 238 -16.77 407 17.19 >>> df.reindex(['top', 'btm'], level='first').reindex(['1st', '2nd'], level='second') vals first second third top 1st 241 1.79 363 1.71 2nd 728 -21.55 36 8.09 btm 1st 717 8.01 909 -21.12 2nd 915 9.75 474 -1.47 905 -6.03 ```
{ "+1": 3, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 3, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9019/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9019/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/9019.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/9019", "merged_at": "2014-12-07T00:18:23Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/9019.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9019" }
https://api.github.com/repos/pandas-dev/pandas/issues/9020
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9020/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9020/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9020/events
https://github.com/pandas-dev/pandas/issues/9020
51,187,589
MDU6SXNzdWU1MTE4NzU4OQ==
9,020
CLN: reorg sorting 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": "fbca04", "default": false, "description": "Related to non-user accessible pandas implementation", "id": 49094459, "name": "Internals", "node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals" }, { "color": "eb6420", "default": false, "description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff", "id": 57296398, "name": "Algos", "node_id": "MDU6TGFiZWw1NzI5NjM5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos" } ]
closed
false
null
[]
{ "closed_at": "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
2014-12-06T16:11:36Z
2017-02-27T21:47:19Z
2017-02-27T21:47:15Z
CONTRIBUTOR
null
currently much of the sorting algorithms are in groupby.py (e.g. _index_from_factorized, _lexsort_indexer), the whole section under 'misc utilities'. I think it makes sense to move these to algorithms.py. (OR maybe to sorting.py). Likewise might make sense to pull out 'sorting' type cython algos and to add a section / extension (or at least group the code a bit more). xref #9019
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9020/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9020/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9021
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9021/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9021/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9021/events
https://github.com/pandas-dev/pandas/issues/9021
51,188,058
MDU6SXNzdWU1MTE4ODA1OA==
9,021
TST: dateutil 2.3
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "fbca04", "default": false, "description": "Windows OS", "id": 57186974, "name": "Windows", "node_id": "MDU6TGFiZWw1NzE4Njk3NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Windows" } ]
closed
false
null
[]
{ "closed_at": "2014-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.15.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
1
2014-12-06T16:28:33Z
2014-12-07T22:26:13Z
2014-12-07T22:26:13Z
CONTRIBUTOR
null
cc @dbew xref #8639 appears that python-dateutil 2.3 (just release) is breaking everything on windows (linux/mac) seem to be ok I think that the naming convention 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/9021/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9021/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9022
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9022/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9022/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9022/events
https://github.com/pandas-dev/pandas/pull/9022
51,191,416
MDExOlB1bGxSZXF1ZXN0MjU2MjE4OTA=
9,022
Make Timestamp('now') equivalent to Timestamp.now()
{ "avatar_url": "https://avatars.githubusercontent.com/u/3195015?v=4", "events_url": "https://api.github.com/users/rockg/events{/privacy}", "followers_url": "https://api.github.com/users/rockg/followers", "following_url": "https://api.github.com/users/rockg/following{/other_user}", "gists_url": "https://api.github.com/users/rockg/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rockg", "id": 3195015, "login": "rockg", "node_id": "MDQ6VXNlcjMxOTUwMTU=", "organizations_url": "https://api.github.com/users/rockg/orgs", "received_events_url": "https://api.github.com/users/rockg/received_events", "repos_url": "https://api.github.com/users/rockg/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rockg/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rockg/subscriptions", "type": "User", "url": "https://api.github.com/users/rockg" }
[ { "color": "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": "2014-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.15.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
3
2014-12-06T18:27:51Z
2014-12-22T14:55:29Z
2014-12-07T21:01:06Z
CONTRIBUTOR
null
closes #9000 I opted to not change np_datetime_strings but instead short-circuit in Timestamp. I don't have a strong preference one way or another.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9022/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9022/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/9022.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/9022", "merged_at": "2014-12-07T21:01:06Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/9022.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9022" }
https://api.github.com/repos/pandas-dev/pandas/issues/9023
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9023/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9023/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9023/events
https://github.com/pandas-dev/pandas/pull/9023
51,192,645
MDExOlB1bGxSZXF1ZXN0MjU2MjIzNjM=
9,023
ENH/API: DataFrame.stack() support for level=None, sequentially=True/False, and NaN level values.
{ "avatar_url": "https://avatars.githubusercontent.com/u/7441788?v=4", "events_url": "https://api.github.com/users/seth-p/events{/privacy}", "followers_url": "https://api.github.com/users/seth-p/followers", "following_url": "https://api.github.com/users/seth-p/following{/other_user}", "gists_url": "https://api.github.com/users/seth-p/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/seth-p", "id": 7441788, "login": "seth-p", "node_id": "MDQ6VXNlcjc0NDE3ODg=", "organizations_url": "https://api.github.com/users/seth-p/orgs", "received_events_url": "https://api.github.com/users/seth-p/received_events", "repos_url": "https://api.github.com/users/seth-p/repos", "site_admin": false, "starred_url": "https://api.github.com/users/seth-p/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/seth-p/subscriptions", "type": "User", "url": "https://api.github.com/users/seth-p" }
[ { "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" }
76
2014-12-06T19:11:36Z
2017-01-01T16:32:21Z
2016-01-20T14:14:44Z
CONTRIBUTOR
null
closes #8851 closes #9399 closes #9406 closes #9533
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9023/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9023/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/9023.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/9023", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/9023.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9023" }
https://api.github.com/repos/pandas-dev/pandas/issues/9024
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9024/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9024/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9024/events
https://github.com/pandas-dev/pandas/pull/9024
51,193,769
MDExOlB1bGxSZXF1ZXN0MjU2MjI4NDg=
9,024
Gh9010 yahoo options parsing bug
{ "avatar_url": "https://avatars.githubusercontent.com/u/337588?v=4", "events_url": "https://api.github.com/users/PollyP/events{/privacy}", "followers_url": "https://api.github.com/users/PollyP/followers", "following_url": "https://api.github.com/users/PollyP/following{/other_user}", "gists_url": "https://api.github.com/users/PollyP/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/PollyP", "id": 337588, "login": "PollyP", "node_id": "MDQ6VXNlcjMzNzU4OA==", "organizations_url": "https://api.github.com/users/PollyP/orgs", "received_events_url": "https://api.github.com/users/PollyP/received_events", "repos_url": "https://api.github.com/users/PollyP/repos", "site_admin": false, "starred_url": "https://api.github.com/users/PollyP/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/PollyP/subscriptions", "type": "User", "url": "https://api.github.com/users/PollyP" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" } ]
closed
false
null
[]
{ "closed_at": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "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.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
11
2014-12-06T19:52:43Z
2015-01-05T23:51:07Z
2015-01-05T23:51:07Z
NONE
null
closes #9010. Fix for Yahoo Options parse error for underlying prices of 1,000.00 or larger.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9024/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9024/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/9024.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/9024", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/9024.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9024" }
https://api.github.com/repos/pandas-dev/pandas/issues/9025
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9025/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9025/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9025/events
https://github.com/pandas-dev/pandas/pull/9025
51,195,024
MDExOlB1bGxSZXF1ZXN0MjU2MjMzNjE=
9,025
BUG: Fix Datareader dtypes if there are missing values from Google.
{ "avatar_url": "https://avatars.githubusercontent.com/u/5957850?v=4", "events_url": "https://api.github.com/users/davidastephens/events{/privacy}", "followers_url": "https://api.github.com/users/davidastephens/followers", "following_url": "https://api.github.com/users/davidastephens/following{/other_user}", "gists_url": "https://api.github.com/users/davidastephens/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/davidastephens", "id": 5957850, "login": "davidastephens", "node_id": "MDQ6VXNlcjU5NTc4NTA=", "organizations_url": "https://api.github.com/users/davidastephens/orgs", "received_events_url": "https://api.github.com/users/davidastephens/received_events", "repos_url": "https://api.github.com/users/davidastephens/repos", "site_admin": false, "starred_url": "https://api.github.com/users/davidastephens/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/davidastephens/subscriptions", "type": "User", "url": "https://api.github.com/users/davidastephens" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0052cc", "default": false, "description": "pandas-gbq compatability", "id": 57351315, "name": "IO Google", "node_id": "MDU6TGFiZWw1NzM1MTMxNQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Google" } ]
closed
false
null
[]
{ "closed_at": "2014-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.15.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
2
2014-12-06T20:34:01Z
2014-12-07T00:07:27Z
2014-12-07T00:07:23Z
CONTRIBUTOR
null
Fixes #8980
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9025/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9025/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/9025.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/9025", "merged_at": "2014-12-07T00:07:23Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/9025.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9025" }
https://api.github.com/repos/pandas-dev/pandas/issues/9026
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9026/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9026/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9026/events
https://github.com/pandas-dev/pandas/pull/9026
51,195,400
MDExOlB1bGxSZXF1ZXN0MjU2MjM1MDM=
9,026
BUG: Datareader index name shows unicode characters
{ "avatar_url": "https://avatars.githubusercontent.com/u/5957850?v=4", "events_url": "https://api.github.com/users/davidastephens/events{/privacy}", "followers_url": "https://api.github.com/users/davidastephens/followers", "following_url": "https://api.github.com/users/davidastephens/following{/other_user}", "gists_url": "https://api.github.com/users/davidastephens/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/davidastephens", "id": 5957850, "login": "davidastephens", "node_id": "MDQ6VXNlcjU5NTc4NTA=", "organizations_url": "https://api.github.com/users/davidastephens/orgs", "received_events_url": "https://api.github.com/users/davidastephens/received_events", "repos_url": "https://api.github.com/users/davidastephens/repos", "site_admin": false, "starred_url": "https://api.github.com/users/davidastephens/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/davidastephens/subscriptions", "type": "User", "url": "https://api.github.com/users/davidastephens" }
[ { "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": "0052cc", "default": false, "description": "pandas-gbq compatability", "id": 57351315, "name": "IO Google", "node_id": "MDU6TGFiZWw1NzM1MTMxNQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Google" } ]
closed
false
null
[]
{ "closed_at": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "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.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
9
2014-12-06T20:45:54Z
2015-03-07T21:17:28Z
2015-03-07T21:11:28Z
CONTRIBUTOR
null
Fixes #8967
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9026/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9026/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/9026.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/9026", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/9026.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9026" }
https://api.github.com/repos/pandas-dev/pandas/issues/9027
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9027/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9027/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9027/events
https://github.com/pandas-dev/pandas/issues/9027
51,196,511
MDU6SXNzdWU1MTE5NjUxMQ==
9,027
BUG: to_json failing on mixed with Timedelta
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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": "read_json, to_json, json_normalize", "id": 49379259, "name": "IO JSON", "node_id": "MDU6TGFiZWw0OTM3OTI1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON" }, { "color": "5319e7", "default": false, "description": "Timedelta data type", "id": 49597148, "name": "Timedelta", "node_id": "MDU6TGFiZWw0OTU5NzE0OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta" } ]
closed
false
null
[]
{ "closed_at": "2014-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.15.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
1
2014-12-06T21:21:50Z
2014-12-07T20:25:34Z
2014-12-07T20:25:34Z
CONTRIBUTOR
null
``` In [6]: df = DataFrame({'A' : [pd.Timedelta('1 day 1 sec')],'B' : [5], 'C' : [pd.Timestamp('20130101') ]}) In [7]: df Out[7]: A B C 0 1 days 00:00:01 5 2013-01-01 In [8]: df.dtypes Out[8]: A timedelta64[ns] B int64 C datetime64[ns] dtype: object In [9]: df[['A']].to_json() Out[9]: '{"A":{"0":86401000}}' In [10]: df.to_json(default_handler=lambda x: x.asm8) Out[10]: '{"A":{"0":86401000000000},"B":{"0":5},"C":{"0":1356998400000}}' In [11]: df.to_json() OverflowError: Maximum recursion level reached ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9027/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9027/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9028
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9028/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9028/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9028/events
https://github.com/pandas-dev/pandas/pull/9028
51,198,650
MDExOlB1bGxSZXF1ZXN0MjU2MjQ3NTM=
9,028
Implement timedeltas for to_json
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" }, { "color": "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
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" } ]
{ "closed_at": "2014-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.15.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
3
2014-12-06T22:27:31Z
2014-12-07T20:25:39Z
2014-12-07T20:25:34Z
MEMBER
null
Closes #9027
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9028/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9028/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/9028.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/9028", "merged_at": "2014-12-07T20:25:34Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/9028.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9028" }
https://api.github.com/repos/pandas-dev/pandas/issues/9029
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9029/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9029/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9029/events
https://github.com/pandas-dev/pandas/pull/9029
51,199,327
MDExOlB1bGxSZXF1ZXN0MjU2MjUwMTM=
9,029
BUG: Fixed maximum columns limit when using usecols for csv. #8985
{ "avatar_url": "https://avatars.githubusercontent.com/u/4346513?v=4", "events_url": "https://api.github.com/users/dxe4/events{/privacy}", "followers_url": "https://api.github.com/users/dxe4/followers", "following_url": "https://api.github.com/users/dxe4/following{/other_user}", "gists_url": "https://api.github.com/users/dxe4/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dxe4", "id": 4346513, "login": "dxe4", "node_id": "MDQ6VXNlcjQzNDY1MTM=", "organizations_url": "https://api.github.com/users/dxe4/orgs", "received_events_url": "https://api.github.com/users/dxe4/received_events", "repos_url": "https://api.github.com/users/dxe4/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dxe4/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dxe4/subscriptions", "type": "User", "url": "https://api.github.com/users/dxe4" }
[ { "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
[]
null
1
2014-12-06T22:47:34Z
2014-12-07T12:33:36Z
2014-12-07T12:33:36Z
CONTRIBUTOR
null
fixes #8985
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9029/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9029/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/9029.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/9029", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/9029.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9029" }
https://api.github.com/repos/pandas-dev/pandas/issues/9030
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9030/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9030/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9030/events
https://github.com/pandas-dev/pandas/pull/9030
51,200,481
MDExOlB1bGxSZXF1ZXN0MjU2MjU0Njg=
9,030
Calling qcut with too many duplicates now gives an informative error
{ "avatar_url": "https://avatars.githubusercontent.com/u/676432?v=4", "events_url": "https://api.github.com/users/edjoesu/events{/privacy}", "followers_url": "https://api.github.com/users/edjoesu/followers", "following_url": "https://api.github.com/users/edjoesu/following{/other_user}", "gists_url": "https://api.github.com/users/edjoesu/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/edjoesu", "id": 676432, "login": "edjoesu", "node_id": "MDQ6VXNlcjY3NjQzMg==", "organizations_url": "https://api.github.com/users/edjoesu/orgs", "received_events_url": "https://api.github.com/users/edjoesu/received_events", "repos_url": "https://api.github.com/users/edjoesu/repos", "site_admin": false, "starred_url": "https://api.github.com/users/edjoesu/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/edjoesu/subscriptions", "type": "User", "url": "https://api.github.com/users/edjoesu" }
[ { "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": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
4
2014-12-06T23:27:06Z
2015-05-09T16:05:51Z
2015-05-09T16:05:51Z
NONE
null
Closes #7751.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9030/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9030/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/9030.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/9030", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/9030.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9030" }
https://api.github.com/repos/pandas-dev/pandas/issues/9031
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9031/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9031/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9031/events
https://github.com/pandas-dev/pandas/issues/9031
51,203,165
MDU6SXNzdWU1MTIwMzE2NQ==
9,031
FrozenNDArray cannot repr scalars
{ "avatar_url": "https://avatars.githubusercontent.com/u/1288998?v=4", "events_url": "https://api.github.com/users/behzadnouri/events{/privacy}", "followers_url": "https://api.github.com/users/behzadnouri/followers", "following_url": "https://api.github.com/users/behzadnouri/following{/other_user}", "gists_url": "https://api.github.com/users/behzadnouri/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/behzadnouri", "id": 1288998, "login": "behzadnouri", "node_id": "MDQ6VXNlcjEyODg5OTg=", "organizations_url": "https://api.github.com/users/behzadnouri/orgs", "received_events_url": "https://api.github.com/users/behzadnouri/received_events", "repos_url": "https://api.github.com/users/behzadnouri/repos", "site_admin": false, "starred_url": "https://api.github.com/users/behzadnouri/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/behzadnouri/subscriptions", "type": "User", "url": "https://api.github.com/users/behzadnouri" }
[ { "color": "fbca04", "default": false, "description": "Related to non-user accessible pandas implementation", "id": 49094459, "name": "Internals", "node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals" }, { "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": "2019-01-26T00:51:26Z", "closed_issues": 2048, "created_at": "2018-03-29T12:00:12Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "", "due_on": "2019-01-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/55", "id": 3228419, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/55/labels", "node_id": "MDk6TWlsZXN0b25lMzIyODQxOQ==", "number": 55, "open_issues": 0, "state": "closed", "title": "0.24.0", "updated_at": "2019-01-29T07:42:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/55" }
4
2014-12-07T01:11:21Z
2018-10-30T12:29:32Z
2018-10-30T12:29:32Z
CONTRIBUTOR
null
on master: ``` >>> from pandas.core.base import FrozenNDArray >>> a = FrozenNDArray(1) >>> a Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.4/site-packages/pandas-0.15.1_192_g7bd1b24-py3.4-linux-x86_64.egg/pandas/core/base.py", line 65, in __repr__ return str(self) File "/usr/lib/python3.4/site-packages/pandas-0.15.1_192_g7bd1b24-py3.4-linux-x86_64.egg/pandas/core/base.py", line 44, in __str__ return self.__unicode__() File "/usr/lib/python3.4/site-packages/pandas-0.15.1_192_g7bd1b24-py3.4-linux-x86_64.egg/pandas/core/base.py", line 268, in __unicode__ ... ... RuntimeError: maximum recursion depth exceeded while calling a Python object ``` keeps going back and forth between `__str__` and `__unicode__`. a workaround would be to change `self` on [this line](https://github.com/pydata/pandas/blob/e51eb9eca56f31055309d83c592cbefa4a14e42c/pandas/core/base.py#L267) to `self if self.ndim else self.item()`. I ran into this bug while taking `.max` on the array: ``` >>> xs FrozenNDArray([1, 2, 3], dtype='int64') >>> xs.max() RuntimeError: maximum recursion depth exceeded while calling a Python object ``` it is kind of unusual to me that here `.max` returns a zero dimensional array, whereas numpy returns a scalar: ``` >>> xs FrozenNDArray([1, 2, 3], dtype='int64') >>> type(xs.max()) <class 'pandas.core.base.FrozenNDArray'> >>> type(np.array([1, 2, 3]).max()) <class 'numpy.int64'> ``` in particular, `np.isscalar` returns differently for the two: ``` >>> np.isscalar(np.array([1, 2, 3]).max()) True >>> np.isscalar(FrozenNDArray([1, 2, 3]).max()) 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/9031/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9031/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9032
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9032/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9032/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9032/events
https://github.com/pandas-dev/pandas/issues/9032
51,204,873
MDU6SXNzdWU1MTIwNDg3Mw==
9,032
DOC: cleanup outdated caveats for HTML parsing (Anaconda LXML)
{ "avatar_url": "https://avatars.githubusercontent.com/u/50891?v=4", "events_url": "https://api.github.com/users/westurner/events{/privacy}", "followers_url": "https://api.github.com/users/westurner/followers", "following_url": "https://api.github.com/users/westurner/following{/other_user}", "gists_url": "https://api.github.com/users/westurner/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/westurner", "id": 50891, "login": "westurner", "node_id": "MDQ6VXNlcjUwODkx", "organizations_url": "https://api.github.com/users/westurner/orgs", "received_events_url": "https://api.github.com/users/westurner/received_events", "repos_url": "https://api.github.com/users/westurner/repos", "site_admin": false, "starred_url": "https://api.github.com/users/westurner/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/westurner/subscriptions", "type": "User", "url": "https://api.github.com/users/westurner" }
[ { "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" }
5
2014-12-07T02:37:01Z
2016-11-26T02:19:06Z
2016-11-25T22:47:50Z
CONTRIBUTOR
null
Anaconda now ships with lxml 3.4.0: - http://docs.continuum.io/anaconda/pkg-docs.html http://pandas.pydata.org/pandas-docs/stable/gotchas.html#html-table-parsing > Issues with using Anaconda > > Anaconda ships with lxml version 3.2.0; the following workaround for Anaconda was successfully used to deal with the versioning issues surrounding lxml and BeautifulSoup4. Is this still a issue, now that Anaconda ships with lxml 3.4.0? (e.g. is there a test for this)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9032/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9032/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9033
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9033/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9033/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9033/events
https://github.com/pandas-dev/pandas/issues/9033
51,220,796
MDU6SXNzdWU1MTIyMDc5Ng==
9,033
API: make attribute setting de-facto insert column
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 278, "created_at": "2013-01-06T03:02:01Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)", "due_on": "2022-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/20", "id": 239227, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels", "node_id": "MDk6TWlsZXN0b25lMjM5MjI3", "number": 20, "open_issues": 108, "state": "open", "title": "Someday", "updated_at": "2021-08-08T01:48:22Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20" }
7
2014-12-07T15:20:52Z
2021-04-11T06:01:01Z
null
CONTRIBUTOR
null
xref #8994 xref #5904 xref #8572 This might be a bit controversial, but the issues raised in #8994 and #5904 point to some continued confusion w.r.t. attribute setting 'being' column setting so if we now have ``` df = DataFrame({'A' : [1,2,3], 'B' : 5 }) df.C = 5 ``` is an attribute set it _could_ be a column set e.g. de-facto `df['C'] = 5` If someone actually wants an attribute to 'stick' around. (meaning they would have to intercept the `__finalize__` methods and actually deal with them properly, then I think it is reasonable to also have them add to the `_internal_names` as well (see #8572) So basically would try to set a column (unless its an internal name). (note that `getattr` is de-facto already equivalent to `__getitem__`, e.g. `df.B === df['B']`) (don't mind my JS equivalence notion :)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9033/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9033/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9034
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9034/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9034/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9034/events
https://github.com/pandas-dev/pandas/issues/9034
51,227,579
MDU6SXNzdWU1MTIyNzU3OQ==
9,034
Selection on MultiIndex wrong after applying .iloc[::n] on unsorted Series/DataFrame
{ "avatar_url": "https://avatars.githubusercontent.com/u/4295843?v=4", "events_url": "https://api.github.com/users/feilchenfeldt/events{/privacy}", "followers_url": "https://api.github.com/users/feilchenfeldt/followers", "following_url": "https://api.github.com/users/feilchenfeldt/following{/other_user}", "gists_url": "https://api.github.com/users/feilchenfeldt/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/feilchenfeldt", "id": 4295843, "login": "feilchenfeldt", "node_id": "MDQ6VXNlcjQyOTU4NDM=", "organizations_url": "https://api.github.com/users/feilchenfeldt/orgs", "received_events_url": "https://api.github.com/users/feilchenfeldt/received_events", "repos_url": "https://api.github.com/users/feilchenfeldt/repos", "site_admin": false, "starred_url": "https://api.github.com/users/feilchenfeldt/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/feilchenfeldt/subscriptions", "type": "User", "url": "https://api.github.com/users/feilchenfeldt" }
[ { "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
[]
null
1
2014-12-07T19:15:15Z
2014-12-07T19:28:16Z
2014-12-07T19:28:05Z
NONE
null
Hi, When slicing a Series/DataFrame which has a multilevel index which is not sorted on the first level, selecting on the first level with .ix or .loc returns an empty dataframe instead of the true values. ``` python In [524]: s = pd.Series(range(30),index=pd.MultiIndex.from_arrays([["A"]*10+["C"]*10+["B"]*10,range(30)])) In [526]: x = s.iloc[::3] In [527]: x Out[527]: A 0 0 3 3 6 6 9 9 C 12 12 15 15 18 18 B 21 21 24 24 27 27 dtype: int64 In [528]: x.ix["B"] Out[528]: Series([], dtype: int64) ``` It works if "C" and "B" are exchanged in In [524]. ## INSTALLED VERSIONS commit: None python: 2.7.3.final.0 python-bits: 64 OS: Linux OS-release: 3.2.0-70-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.14.0 nose: 1.3.3 Cython: 0.20.2 numpy: 1.8.1 scipy: 0.14.0 statsmodels: None IPython: 2.1.0 sphinx: None patsy: None scikits.timeseries: None dateutil: 2.2 pytz: 2014.4 bottleneck: None tables: 3.1.1 numexpr: 2.4 matplotlib: 1.3.1 openpyxl: 1.8.6 xlrd: None xlwt: 0.7.5 xlsxwriter: None lxml: None bs4: None html5lib: None bq: None apiclient: None rpy2: None sqlalchemy: 0.9.8 pymysql: 0.6.2.None psycopg2: None
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9034/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9034/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9035
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9035/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9035/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9035/events
https://github.com/pandas-dev/pandas/pull/9035
51,230,569
MDExOlB1bGxSZXF1ZXN0MjU2MzY5Mjg=
9,035
DOC: fix categorical comparison example (GH8946)
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2014-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.15.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
1
2014-12-07T20:38:08Z
2014-12-07T21:42:53Z
2014-12-07T21:42:53Z
MEMBER
null
See discussion https://github.com/pydata/pandas/pull/8946/files#r21376839
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9035/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9035/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/9035.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/9035", "merged_at": "2014-12-07T21:42:53Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/9035.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9035" }
https://api.github.com/repos/pandas-dev/pandas/issues/9036
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9036/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9036/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9036/events
https://github.com/pandas-dev/pandas/pull/9036
51,231,070
MDExOlB1bGxSZXF1ZXN0MjU2MzcxNDE=
9,036
COMPAT: dateutil fixups for 2.3 (GH9021, GH8639)
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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": "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": "2014-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.15.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
16
2014-12-07T20:51:49Z
2014-12-08T14:46:53Z
2014-12-07T22:26:13Z
CONTRIBUTOR
null
fixes #9021 but going to reopen #8639
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9036/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9036/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/9036.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/9036", "merged_at": "2014-12-07T22:26:13Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/9036.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9036" }
https://api.github.com/repos/pandas-dev/pandas/issues/9037
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9037/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9037/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9037/events
https://github.com/pandas-dev/pandas/issues/9037
51,231,210
MDU6SXNzdWU1MTIzMTIxMA==
9,037
PERF: json should process data column-by-column (and not use .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": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" }, { "color": "207de5", "default": false, "description": "read_json, to_json, json_normalize", "id": 49379259, "name": "IO JSON", "node_id": "MDU6TGFiZWw0OTM3OTI1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON" } ]
closed
false
null
[]
{ "closed_at": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "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.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
3
2014-12-07T20:56:17Z
2014-12-24T15:53:33Z
2014-12-24T15:53:33Z
CONTRIBUTOR
null
xref #9027 So `to_json` first converts all the a DataFrame by using `.values`. This converts everything to object dtype (if its a mixed frame) and is pretty expensive perf wise. If you do this column by column you get excellent perf (and tiny bit more complexity in the code). cc @Komnomnomnom @cpcloud
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9037/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9037/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9038
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9038/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9038/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9038/events
https://github.com/pandas-dev/pandas/pull/9038
51,232,020
MDExOlB1bGxSZXF1ZXN0MjU2Mzc1NTI=
9,038
DOC: expand docs on sql type conversion
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "5319e7", "default": false, "description": "to_sql, read_sql, read_sql_query", "id": 47232590, "name": "IO SQL", "node_id": "MDU6TGFiZWw0NzIzMjU5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL" } ]
closed
false
null
[]
{ "closed_at": "2014-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.15.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
1
2014-12-07T21:21:55Z
2014-12-08T11:59:49Z
2014-12-08T11:59:49Z
MEMBER
null
Some doc changes related to #8926 and #8973
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9038/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9038/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/9038.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/9038", "merged_at": "2014-12-08T11:59:49Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/9038.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9038" }
https://api.github.com/repos/pandas-dev/pandas/issues/9039
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9039/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9039/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9039/events
https://github.com/pandas-dev/pandas/issues/9039
51,265,525
MDU6SXNzdWU1MTI2NTUyNQ==
9,039
append & data_columns=True
{ "avatar_url": "https://avatars.githubusercontent.com/u/995919?v=4", "events_url": "https://api.github.com/users/luluprat/events{/privacy}", "followers_url": "https://api.github.com/users/luluprat/followers", "following_url": "https://api.github.com/users/luluprat/following{/other_user}", "gists_url": "https://api.github.com/users/luluprat/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/luluprat", "id": 995919, "login": "luluprat", "node_id": "MDQ6VXNlcjk5NTkxOQ==", "organizations_url": "https://api.github.com/users/luluprat/orgs", "received_events_url": "https://api.github.com/users/luluprat/received_events", "repos_url": "https://api.github.com/users/luluprat/repos", "site_admin": false, "starred_url": "https://api.github.com/users/luluprat/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/luluprat/subscriptions", "type": "User", "url": "https://api.github.com/users/luluprat" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" }, { "color": "5319e7", "default": false, "description": "read_hdf, HDFStore", "id": 47229190, "name": "IO HDF5", "node_id": "MDU6TGFiZWw0NzIyOTE5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5" } ]
closed
false
null
[]
null
5
2014-12-08T07:34:55Z
2014-12-11T11:34:49Z
2014-12-11T11:34:49Z
NONE
null
Hello i create a new store and i am trying to append it. all is right when i did : store.append("table", dataframe) but when i did the whole thing with data_columns=dataframe.columns or data_columns=True i can write the first append and then nothing .... no more data input tore.append("table", dataframe,data_columns=dataframe.columns ) any help ? sorry for the delay i was in week end. CODE dt = '405B' dataall = np.fromfile(fname, dtype=dt) dataall = np.delete(dataall, 0, axis=0) data = dataall datas = pd.DataFrame(data) DU = datetime.timedelta(minutes=1) DT = datetime.datetime(an, mois, jour, data[0,0], data[0,1], data[0,2], data[0,3]) DF = DT + DU path = "/stream2" datas["datetime"]=pd.to_datetime(d[0] + "T" +datas[0].astype(str)+":"+datas[1].astype(str)+":"+datas[2].astype(str)+"."+datas[3].astype(str), format='%d/%m/%yT%H:%M:%S.%f') ind = datas["datetime"] polarite = np.empty((data.shape[0],1),dtype ="U") polarite[::2,0]="D" polarite[1::2,0]="G" DATA = data[:,coldeb:colfin] L = [] for j in np.arange(0,400): z = str(j) z = "f"+z L.append(z) dt = np.dtype((str, 4)) Z = np.fromiter(L, dt) table = pd.DataFrame(DATA,index=ind,columns=Z) table["polarite"] = polarite table["status"]=data[:,-1] store.append(path, table,format='table', data_columns=True, append=True ) INSTALLED VERSIONS commit: None python: 3.4.0.final.0 python-bits: 64 OS: Linux OS-release: 3.13.0-40-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.15.1 nose: 1.3.4 Cython: 0.21.1 numpy: 1.9.1 scipy: 0.14.0 statsmodels: 0.6.1 IPython: 2.3.1 sphinx: None patsy: 0.3.0 dateutil: 2.2 pytz: 2014.10 bottleneck: None tables: 3.1.1 numexpr: 2.4 matplotlib: 1.4.2 openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml: None bs4: None html5lib: None httplib2: None apiclient: None rpy2: None sqlalchemy: None pymysql: None psycopg2: None DF.INFOS() <class 'pandas.core.frame.DataFrame'> DatetimeIndex: 57469 entries, 2013-02-02 08:05:06 to 2013-02-02 16:03:59.610000 Columns: 402 entries, f0 to status dtypes: object(1), uint8(401) memory usage: 22.9 MB
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9039/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9039/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9040
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9040/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9040/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9040/events
https://github.com/pandas-dev/pandas/pull/9040
51,265,725
MDExOlB1bGxSZXF1ZXN0MjU2NDk4Njg=
9,040
Return from to_timedelta is forced to dtype timedelta64[ns].
{ "avatar_url": "https://avatars.githubusercontent.com/u/6638265?v=4", "events_url": "https://api.github.com/users/ahjulstad/events{/privacy}", "followers_url": "https://api.github.com/users/ahjulstad/followers", "following_url": "https://api.github.com/users/ahjulstad/following{/other_user}", "gists_url": "https://api.github.com/users/ahjulstad/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ahjulstad", "id": 6638265, "login": "ahjulstad", "node_id": "MDQ6VXNlcjY2MzgyNjU=", "organizations_url": "https://api.github.com/users/ahjulstad/orgs", "received_events_url": "https://api.github.com/users/ahjulstad/received_events", "repos_url": "https://api.github.com/users/ahjulstad/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ahjulstad/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ahjulstad/subscriptions", "type": "User", "url": "https://api.github.com/users/ahjulstad" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "Timedelta data type", "id": 49597148, "name": "Timedelta", "node_id": "MDU6TGFiZWw0OTU5NzE0OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta" } ]
closed
false
null
[]
{ "closed_at": "2014-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.15.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
18
2014-12-08T07:38:37Z
2014-12-12T14:37:30Z
2014-12-09T21:23:19Z
NONE
null
This is a revised change, fixing the issue I experienced (issue #9011). The proper change seems to be setting the dtype to `'timedelta64[ns]'`, as was already done for the other cases in the `to_timedelta` routine. I have also added more tests, and moved them to the `test_timedeltas` function (next to the other tests of the functionality of the constructor method). I have not looked too much at #8886, it is difficult for me to understand the issue.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9040/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9040/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/9040.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/9040", "merged_at": "2014-12-09T21:23:19Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/9040.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9040" }
https://api.github.com/repos/pandas-dev/pandas/issues/9041
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9041/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9041/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9041/events
https://github.com/pandas-dev/pandas/pull/9041
51,267,881
MDExOlB1bGxSZXF1ZXN0MjU2NTExMTg=
9,041
ENH: Store in SQL using double precision
{ "avatar_url": "https://avatars.githubusercontent.com/u/833768?v=4", "events_url": "https://api.github.com/users/artemyk/events{/privacy}", "followers_url": "https://api.github.com/users/artemyk/followers", "following_url": "https://api.github.com/users/artemyk/following{/other_user}", "gists_url": "https://api.github.com/users/artemyk/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/artemyk", "id": 833768, "login": "artemyk", "node_id": "MDQ6VXNlcjgzMzc2OA==", "organizations_url": "https://api.github.com/users/artemyk/orgs", "received_events_url": "https://api.github.com/users/artemyk/received_events", "repos_url": "https://api.github.com/users/artemyk/repos", "site_admin": false, "starred_url": "https://api.github.com/users/artemyk/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/artemyk/subscriptions", "type": "User", "url": "https://api.github.com/users/artemyk" }
[ { "color": "5319e7", "default": false, "description": "to_sql, read_sql, read_sql_query", "id": 47232590, "name": "IO SQL", "node_id": "MDU6TGFiZWw0NzIzMjU5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL" } ]
closed
false
null
[]
{ "closed_at": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "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.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
17
2014-12-08T08:17:20Z
2015-01-25T18:01:21Z
2015-01-25T18:01:04Z
CONTRIBUTOR
null
Closes #9009 . @jorisvandenbossche -- do you think this should test/use single precision ? We could test for float32 perhaps? My own feeling is that this is the safer default.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9041/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9041/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/9041.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/9041", "merged_at": "2015-01-25T18:01:04Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/9041.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9041" }
https://api.github.com/repos/pandas-dev/pandas/issues/9042
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9042/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9042/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9042/events
https://github.com/pandas-dev/pandas/issues/9042
51,291,959
MDU6SXNzdWU1MTI5MTk1OQ==
9,042
API/ENH: query an HDF5 store with a named 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": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "5319e7", "default": false, "description": "read_hdf, HDFStore", "id": 47229190, "name": "IO HDF5", "node_id": "MDU6TGFiZWw0NzIyOTE5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5" } ]
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
2014-12-08T11:22:11Z
2021-04-11T06:01:14Z
null
CONTRIBUTOR
null
from [SO](http://stackoverflow.com/questions/27354281/query-term-is-not-valid-condition-none/27356827#27356827) ``` In [1]: df = pd.DataFrame.from_dict({'A':[1,2],'B':[100,200], 'C':[42,11]}) In [2]: df_a = df.set_index('A') In [3]: df_a Out[3]: B C A 1 100 42 2 200 11 In [4]: store = pd.HDFStore('foo.h5','w') In [5]: store.put('bar', df_a, format='table', data_columns=True) In [7]: store.select('bar','index==1') ``` ``` store.select('bar','A==1) ``` should work as well (obviously only for a named 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/9042/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9042/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9043
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9043/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9043/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9043/events
https://github.com/pandas-dev/pandas/pull/9043
51,309,073
MDExOlB1bGxSZXF1ZXN0MjU2NzAxOTU=
9,043
BUG: series.fillna() fails with quoted numbers
{ "avatar_url": "https://avatars.githubusercontent.com/u/153965?v=4", "events_url": "https://api.github.com/users/jlowin/events{/privacy}", "followers_url": "https://api.github.com/users/jlowin/followers", "following_url": "https://api.github.com/users/jlowin/following{/other_user}", "gists_url": "https://api.github.com/users/jlowin/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jlowin", "id": 153965, "login": "jlowin", "node_id": "MDQ6VXNlcjE1Mzk2NQ==", "organizations_url": "https://api.github.com/users/jlowin/orgs", "received_events_url": "https://api.github.com/users/jlowin/received_events", "repos_url": "https://api.github.com/users/jlowin/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jlowin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jlowin/subscriptions", "type": "User", "url": "https://api.github.com/users/jlowin" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
3
2014-12-08T14:44:13Z
2015-05-09T16:05:40Z
2015-05-09T16:05:40Z
NONE
null
Here's a simple example: ``` python import pandas as pd import numpy as np x = pd.Series(range(5)) x.iloc[1] = np.nan x.fillna(0) # works x.fillna('foo') # works x.fillna('0') # crash ``` in the function `_putmask_smart()`, two numpy arrays are compared to determine if they have compatible dtypes. However if one array contains quoted numbers, then the test does NOT resolve as element wise compare, but rather as a "normal" python comparison. This means the result is `False`, rather than an array, and the attempt to get `False.all()` obviously fails. Not sure exactly why the arrays don't compare as expected -- perhaps there are other criteria that would trigger it -- but an easy fix is to add `AttributeError` to the try/except clause as a "valid" error.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9043/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9043/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/9043.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/9043", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/9043.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9043" }
https://api.github.com/repos/pandas-dev/pandas/issues/9044
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9044/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9044/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9044/events
https://github.com/pandas-dev/pandas/pull/9044
51,314,088
MDExOlB1bGxSZXF1ZXN0MjU2NzMzMzA=
9,044
Fix timedelta json on windows
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "fbca04", "default": false, "description": "Windows OS", "id": 57186974, "name": "Windows", "node_id": "MDU6TGFiZWw1NzE4Njk3NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Windows" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" } ]
{ "closed_at": "2014-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.15.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
1
2014-12-08T15:29:40Z
2014-12-09T00:51:22Z
2014-12-08T16:32:56Z
MEMBER
null
some fixes for different int sizes on windows
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9044/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9044/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/9044.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/9044", "merged_at": "2014-12-08T16:32:56Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/9044.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9044" }
https://api.github.com/repos/pandas-dev/pandas/issues/9045
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9045/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9045/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9045/events
https://github.com/pandas-dev/pandas/issues/9045
51,315,919
MDU6SXNzdWU1MTMxNTkxOQ==
9,045
read_csv and read_table fail with some CSV files. May be related to universal-newline
{ "avatar_url": "https://avatars.githubusercontent.com/u/4734283?v=4", "events_url": "https://api.github.com/users/aullrich2013/events{/privacy}", "followers_url": "https://api.github.com/users/aullrich2013/followers", "following_url": "https://api.github.com/users/aullrich2013/following{/other_user}", "gists_url": "https://api.github.com/users/aullrich2013/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/aullrich2013", "id": 4734283, "login": "aullrich2013", "node_id": "MDQ6VXNlcjQ3MzQyODM=", "organizations_url": "https://api.github.com/users/aullrich2013/orgs", "received_events_url": "https://api.github.com/users/aullrich2013/received_events", "repos_url": "https://api.github.com/users/aullrich2013/repos", "site_admin": false, "starred_url": "https://api.github.com/users/aullrich2013/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/aullrich2013/subscriptions", "type": "User", "url": "https://api.github.com/users/aullrich2013" }
[ { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
null
6
2014-12-08T15:45:38Z
2019-12-12T02:09:15Z
2019-12-12T02:09:15Z
NONE
null
Using pandas 0.15.1 I have a csv file which unfortunately I cannot share (sanitizing it resolved the error) that gives me trouble when reading using the default (c) engine for parsing files. I switched to the python version which also failed but gave me the hint that it might be a problem with "universal-newline". If I pass a file buffer instead that was opened with the universal-newline option then all works as expected. This is the error I receive: ``` *** error: can't allocate region *** set a breakpoint in malloc_error_break to debug python(732,0x7fff7bc25300) malloc: *** mach_vm_map(size=18446744071562067968) failed (error code=3) ``` I've narrowed it down to the following (commented) interactions: ``` filePath = '/Volumes/Macintosh HD/data/FPGA Compile Cloud/aug14-nov14.csv' fUniv = open(filePath, 'U') f = open(filePath) d = pd.read_csv(filePath,parse_dates=False, engine='c') # kernel restarts or malloc region error continuously and must be manually killed d = pd.read_csv(f,parse_dates=False, engine='c') # kernel restarts or malloc region error continuously and must be manually killed d = pd.read_csv(f,parse_dates=False, engine='python') # gives universal-newline error when passing file handle or filePath d = pd.read_csv(fUniv,parse_dates=False, engine='c') # reads the dataframe correctly ``` This is my installed software: anyreadline (0.1.1) apptools (4.2.0) argcomplete (0.6.7) astropy (0.3.2) atom (0.3.7) awake (1.0) backports.ssl-match-hostname (3.4.0.2) beautifulsoup4 (4.3.1) binstar (0.5.3) biopython (1.62) bitarray (0.8.1) blaze (0.5) blz (0.6.2) bokeh (0.4.4) boto (2.28.0) brewer2mpl (1.4) casuarius (1.1) cdecimal (2.3) chaco (4.4.1) colorama (0.2.5) conda (3.5.5) configobj (5.0.5) cubes (0.10.2) Cython (0.20.1) DataShape (0.2) dill (0.2b1) distribute (0.6.45) Django (1.5.4) docutils (0.11) enable (4.3.0) enaml (0.9.1) envisage (4.3.0) Flask (0.9) Flask-KVSession (0.3.2) future (0.12.1) gevent (1.0.1) gevent-websocket (0.9.3) gevent-zeromq (0.2.2) ggplot (0.5.8) gnureadline (6.3.3) google-api-python-client (1.1) greenlet (0.4.2) grin (1.2.1) guppy (0.1.10) h5py (2.3.0) httplib2 (0.8) icalendar (3.5) ipdb (0.8) ipython (2.3.1) iso8601 (0.1.10) itsdangerous (0.24) jdcal (1.0) Jinja2 (2.7.3) keyring (3.2) kiwisolver (0.1.2) line-profiler (1.0b3) llvmmath (0.1) llvmpy (0.12.6) lxml (3.3.5) MarkupSafe (0.23) matplotlib (1.3.1) matplotlylib (0.1.0) mayavi (4.3.0) MDP (3.3) memory-profiler (0.31) meta (development) mock (1.0.1) multipledispatch (0.4.3) netCDF4 (1.0.6) networkx (1.8.1) nltk (2.0.4) nose (1.3.3) numba (0.13.2) numexpr (2.3.1) numpy (1.9.1) numpydoc (0.4) openpyxl (1.8.5) pandas (0.15.1) patsy (0.2.1) pep8 (1.5.6) PIL (1.1.7) pip (1.5.2) plotly (1.4.0) ply (3.4) prettytable (0.7.2) progressbar (2.2) psutil (2.1.1) py (1.4.20) PyAudio (0.2.7) pycosat (0.6.1) pycparser (2.10) pycrypto (2.6.1) pycurl (7.19.3.1) pydot (1.0.2) pyface (4.4.0) pyflakes (0.8.1) Pygments (1.6) pykit (0.1) pylev (1.2.0) pypandoc (0.8.1) pyparsing (1.5.7) PySAL (1.6.0) pysam (0.6) pytest (2.5.2) python-dateutil (2.3) python-gflags (2.0) pytz (2014.10) pyxDamerauLevenshtein (1.1) PyYAML (3.11) pyzmq (14.3.1) qgrid (0.1.1) redis (2.9.1) requests (2.3.0) rope (0.9.4) runipy (0.1.1) scikit-image (0.10.1) scikit-learn (0.15.2) scipy (0.14.0) selenium (2.44.0) setuptools (0.6c11) simplekv (0.9.2) six (1.8.0) sklearn-compiledtrees (1.2) Sphinx (1.2.2) spyder (2.3.0rc) SQLAlchemy (0.9.4) statsmodels (0.5.0) sympy (0.7.5) tables (3.1.1) tornado (3.2.1) traits (4.4.0) traitsui (4.4.0) ujson (1.33) VTK (5.10.1) websocket-client (0.12.0) Werkzeug (0.9.6) wsgiref (0.1.2) xlrd (0.9.3) XlsxWriter (0.5.5) xlwt (0.7.5) yhat (0.7.5)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9045/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9045/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9046
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9046/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9046/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9046/events
https://github.com/pandas-dev/pandas/issues/9046
51,316,614
MDU6SXNzdWU1MTMxNjYxNA==
9,046
DataFrame.to_latex() should honor na_rep after formatter.
{ "avatar_url": "https://avatars.githubusercontent.com/u/276007?v=4", "events_url": "https://api.github.com/users/moorepants/events{/privacy}", "followers_url": "https://api.github.com/users/moorepants/followers", "following_url": "https://api.github.com/users/moorepants/following{/other_user}", "gists_url": "https://api.github.com/users/moorepants/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/moorepants", "id": 276007, "login": "moorepants", "node_id": "MDQ6VXNlcjI3NjAwNw==", "organizations_url": "https://api.github.com/users/moorepants/orgs", "received_events_url": "https://api.github.com/users/moorepants/received_events", "repos_url": "https://api.github.com/users/moorepants/repos", "site_admin": false, "starred_url": "https://api.github.com/users/moorepants/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/moorepants/subscriptions", "type": "User", "url": "https://api.github.com/users/moorepants" }
[ { "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": "006b75", "default": false, "description": "to_latex", "id": 251382258, "name": "IO LaTeX", "node_id": "MDU6TGFiZWwyNTEzODIyNTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20LaTeX" } ]
closed
false
null
[]
{ "closed_at": "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" }
1
2014-12-08T15:51:33Z
2020-10-24T02:49:09Z
2020-10-24T02:49:09Z
NONE
null
In the example below I would expect that 'np.nan' would be replaced by 'aaah'. ``` In [3]: df = pd.DataFrame({'a': np.arange(3), 'b': [0.1, np.nan, 0.2]}) In [4]: df Out[4]: a b 0 0 0.1 1 1 NaN 2 2 0.2 In [5]: print(df.to_latex(formatters={'b': lambda x: '{:0.4f}'.format(x)}, na_rep='aaah')) \begin{tabular}{lrr} \toprule {} & a & b \\ \midrule 0 & 0 & 0.1000 \\ 1 & 1 & nan \\ 2 & 2 & 0.2000 \\ \bottomrule \end{tabular} ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9046/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9046/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9047
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9047/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9047/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9047/events
https://github.com/pandas-dev/pandas/pull/9047
51,376,349
MDExOlB1bGxSZXF1ZXN0MjU3MTI1MTI=
9,047
TST: dateutil fixes (GH8639)
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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": "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": "2014-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.15.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
0
2014-12-09T01:21:31Z
2014-12-10T11:11:03Z
2014-12-10T11:11:03Z
CONTRIBUTOR
null
xref #8639
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9047/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9047/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/9047.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/9047", "merged_at": "2014-12-10T11:11:03Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/9047.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9047" }
https://api.github.com/repos/pandas-dev/pandas/issues/9048
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9048/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9048/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9048/events
https://github.com/pandas-dev/pandas/issues/9048
51,420,301
MDU6SXNzdWU1MTQyMDMwMQ==
9,048
COMPAT: Floating point fractional hours for timedeltas gives unexpected precision issue
{ "avatar_url": "https://avatars.githubusercontent.com/u/6638265?v=4", "events_url": "https://api.github.com/users/ahjulstad/events{/privacy}", "followers_url": "https://api.github.com/users/ahjulstad/followers", "following_url": "https://api.github.com/users/ahjulstad/following{/other_user}", "gists_url": "https://api.github.com/users/ahjulstad/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ahjulstad", "id": 6638265, "login": "ahjulstad", "node_id": "MDQ6VXNlcjY2MzgyNjU=", "organizations_url": "https://api.github.com/users/ahjulstad/orgs", "received_events_url": "https://api.github.com/users/ahjulstad/received_events", "repos_url": "https://api.github.com/users/ahjulstad/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ahjulstad/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ahjulstad/subscriptions", "type": "User", "url": "https://api.github.com/users/ahjulstad" }
[ { "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": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" }, { "color": "5319e7", "default": false, "description": "Timedelta data type", "id": 49597148, "name": "Timedelta", "node_id": "MDU6TGFiZWw0OTU5NzE0OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
6
2014-12-09T12:12:51Z
2020-03-31T04:31:46Z
null
NONE
null
Creating a timedelta with fractional hours gives an unexpected large round-off error. ``` >>> to_timedelta(1.0/3, unit='h') Timedelta('0 days 00:19:59.998800') ``` This is indicates a precision around 2x10^-7 ( 1/(1000_60_60) ), which is less than a single precision float.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9048/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9048/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9049
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9049/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9049/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9049/events
https://github.com/pandas-dev/pandas/issues/9049
51,432,188
MDU6SXNzdWU1MTQzMjE4OA==
9,049
PERF: pandas 0.15.2 multi-indexed DataFrame sum
{ "avatar_url": "https://avatars.githubusercontent.com/u/5827110?v=4", "events_url": "https://api.github.com/users/xdliao/events{/privacy}", "followers_url": "https://api.github.com/users/xdliao/followers", "following_url": "https://api.github.com/users/xdliao/following{/other_user}", "gists_url": "https://api.github.com/users/xdliao/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/xdliao", "id": 5827110, "login": "xdliao", "node_id": "MDQ6VXNlcjU4MjcxMTA=", "organizations_url": "https://api.github.com/users/xdliao/orgs", "received_events_url": "https://api.github.com/users/xdliao/received_events", "repos_url": "https://api.github.com/users/xdliao/repos", "site_admin": false, "starred_url": "https://api.github.com/users/xdliao/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/xdliao/subscriptions", "type": "User", "url": "https://api.github.com/users/xdliao" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" }, { "color": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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" } ]
{ "closed_at": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "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.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
4
2014-12-09T14:19:34Z
2015-02-10T14:52:04Z
2015-02-10T14:52:04Z
NONE
null
Problem: data.sum(level=...) for multi-index table produce different result (lots of NAs) than groupby in certain cases. It's also much slower than groupby. Seems that the new version produced a cross join of the keys and produce NAs for pair of keys with no data, which makes the result bigger and significantly slower. data.groupby(level=...).sum(). This happens in the following example: Code: ``` python import pandas as pd print "-------------- pandas version: ", pd.__version__ max_num_of_syms = 4000 list_of_df = [] for i,a in enumerate(pd.Series(range(100)).astype(str)): #Each 'A' has difference number of 'B' entries in order to produce the problem num_of_syms = int(i*max_num_of_syms/100.0)# if i<3 else max_num_of_syms #print num_of_syms d = pd.DataFrame({'A': [a]*num_of_syms , 'B': pd.Series(range(num_of_syms)).astype(str), 'C':1}) list_of_df.append(d) data = pd.concat(list_of_df).set_index(['A','B']) %time a= data.sum(level=['A','B']) print a.shape #This is a lot faster %time a= data.reset_index().groupby(['A','B']).sum() print a.shape ``` -------------- pandas version: 0.15.1.dev CPU times: user 876 ms, sys: 17 ms, total: 893 ms Wall time: 894 ms (392040, 1) CPU times: user 109 ms, sys: 0 ns, total: 109 ms Wall time: 108 ms (198000, 1) -------------- pandas version: 0.14.1 CPU times: user 94 ms, sys: 0 ns, total: 94 ms Wall time: 94.2 ms (198000, 1) CPU times: user 120 ms, sys: 0 ns, total: 120 ms Wall time: 120 ms (198000, 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/9049/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9049/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9050
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9050/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9050/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9050/events
https://github.com/pandas-dev/pandas/pull/9050
51,553,489
MDExOlB1bGxSZXF1ZXN0MjU4MTg5MTE=
9,050
BUG: fix PeriodConverter issue when given a list of integers (GH9012)
{ "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" } ]
closed
false
null
[]
{ "closed_at": "2014-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.15.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
16
2014-12-10T12:38:24Z
2014-12-11T01:34:14Z
2014-12-11T01:34:14Z
MEMBER
null
For example coming up when [0, 1] is passed by axhline Closes #9012 test and whatsnew are coming
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9050/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9050/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/9050.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/9050", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/9050.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9050" }
https://api.github.com/repos/pandas-dev/pandas/issues/9051
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9051/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9051/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9051/events
https://github.com/pandas-dev/pandas/issues/9051
51,578,584
MDU6SXNzdWU1MTU3ODU4NA==
9,051
lexsort_depth not returning the correct number
{ "avatar_url": "https://avatars.githubusercontent.com/u/1969965?v=4", "events_url": "https://api.github.com/users/gbakalian/events{/privacy}", "followers_url": "https://api.github.com/users/gbakalian/followers", "following_url": "https://api.github.com/users/gbakalian/following{/other_user}", "gists_url": "https://api.github.com/users/gbakalian/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gbakalian", "id": 1969965, "login": "gbakalian", "node_id": "MDQ6VXNlcjE5Njk5NjU=", "organizations_url": "https://api.github.com/users/gbakalian/orgs", "received_events_url": "https://api.github.com/users/gbakalian/received_events", "repos_url": "https://api.github.com/users/gbakalian/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gbakalian/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbakalian/subscriptions", "type": "User", "url": "https://api.github.com/users/gbakalian" }
[ { "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
[]
null
9
2014-12-10T16:27:04Z
2014-12-11T16:35:25Z
2014-12-10T22:11:21Z
NONE
null
``` python keys = [('a', 'b', 'c'), ('d', 'e', 'f', 'g', 'h'), ('i', 'j', 'k', 'l')] pd.MultiIndex.from_tuples(keys).lexsort_depth Out[106]: 5 ``` work correctly while: ``` python keys = [('spot_es', 'spot', 'es'), ('prod_de_wind_ecen', 'prod', 'de', 'wind', 'ecen'), ('avu_fr_maxe-1', 'avu', 'fr', 'maxe-1')] pd.MultiIndex.from_tuples(keys).lexsort_depth Out[108]: 0 ``` does not ``` python pd.__version__ Out[128]: '0.15.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/9051/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9051/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9052
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9052/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9052/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9052/events
https://github.com/pandas-dev/pandas/issues/9052
51,602,367
MDU6SXNzdWU1MTYwMjM2Nw==
9,052
DOC: Dict of Dicts for renaming Groupby Aggregations
{ "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": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" } ]
closed
false
null
[]
{ "closed_at": "2016-03-12T16:19:08Z", "closed_issues": 469, "created_at": "2015-07-19T20:18:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-03-13T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/36", "id": 1214851, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/36/labels", "node_id": "MDk6TWlsZXN0b25lMTIxNDg1MQ==", "number": 36, "open_issues": 0, "state": "closed", "title": "0.18.0", "updated_at": "2016-12-06T21:34:41Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/36" }
12
2014-12-10T19:47:53Z
2017-01-28T15:02:37Z
2016-02-15T20:28:58Z
CONTRIBUTOR
null
I didn't realize this was possible, and didn't see it in the docs. ``` df = pd.DataFrame({'A': [1, 2, 3], 'B': ['a', 'a', 'b'], 'C': [3, 4, 5]}) df.groupby('B').agg({'A': {'mean1': 'mean', 'med1': 'median'}, 'C': {'mean2': 'mean', 'med2': 'median'}}) ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9052/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9052/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9053
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9053/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9053/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9053/events
https://github.com/pandas-dev/pandas/issues/9053
51,667,625
MDU6SXNzdWU1MTY2NzYyNQ==
9,053
BUG/VIS: can't add a line with DatetimeIndex/datetime64 as x-values on timeseries plot
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
open
false
null
[]
null
1
2014-12-11T10:03:00Z
2017-11-24T15:18:30Z
null
MEMBER
null
If you do a time series plot: ``` s = pd.Series(np.random.randn(100), index=pd.date_range('1970-01-02', periods=100, freq='T')) fig, ax = plt.subplots() s.plot(ax=ax) ``` and then want to add a line through matplotlib using the index or datetime64 values, this does not work (it plots the data at a totally wrong place outside of sight in this case): ``` ax.plot(s.index, s.values, color='g') # or ax.plot(s.index.values, s.values, color='r') ``` This is because `PeriodConverter` cannot deal with datetime64 values (`Period`/`PeriodIndex` also cannot deal with them), while when plotting this through the pandas plot interface, the datetime64 values will first be converted to periods.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9053/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9053/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9054
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9054/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9054/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9054/events
https://github.com/pandas-dev/pandas/issues/9054
51,668,306
MDU6SXNzdWU1MTY2ODMwNg==
9,054
ENH: Period to accept datetime64 value?
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "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": "eb6420", "default": false, "description": "Period data type", "id": 60635328, "name": "Period", "node_id": "MDU6TGFiZWw2MDYzNTMyOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period" } ]
closed
false
null
[]
{ "closed_at": "2015-05-11T15:46:03Z", "closed_issues": 237, "created_at": "2014-10-07T14:39:07Z", "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.16.0 of course!", "due_on": "2015-05-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/29", "id": 816810, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/29/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODEw", "number": 29, "open_issues": 0, "state": "closed", "title": "0.16.1", "updated_at": "2017-04-16T08:39:48Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/29" }
1
2014-12-11T10:10:25Z
2015-04-14T16:14:49Z
2015-04-14T16:14:49Z
MEMBER
null
I didn't directly find something about this, but is there a reason why the `Period(Index)` constructor does not take datetime64 values? As it does accept `datetime`: ``` In [15]: t = pd.Timestamp('2012-01-01') In [16]: t.to_pydatetime() Out[16]: datetime.datetime(2012, 1, 1, 0, 0) In [17]: t.asm8 Out[17]: numpy.datetime64('2012-01-01T01:00:00.000000000+0100') In [19]: pd.Period(t, freq='D') Out[19]: Period('2012-01-01', 'D') In [20]: pd.Period(t.to_pydatetime(), freq='D') Out[20]: Period('2012-01-01', 'D') In [21]: pd.Period(t.asm8, freq='D') --------------------------------------------------------------------------- ValueError Traceback (most recent call last) <ipython-input-21-f08079765cf6> in <module>() ----> 1 pd.Period(t.asm8, freq='D') C:\Anaconda\lib\site-packages\pandas\tseries\period.pyc in __init__(self, value, freq, ordinal, year, month, quarter, day, hour, minute, second) 141 else: 142 msg = "Value must be Period, string, integer, or datetime" --> 143 raise ValueError(msg) 144 145 base, mult = _gfc(freq) ValueError: Value must be Period, string, integer, or datetime ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9054/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9054/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9055
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9055/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9055/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9055/events
https://github.com/pandas-dev/pandas/pull/9055
51,670,153
MDExOlB1bGxSZXF1ZXN0MjU4ODk3MTg=
9,055
TST: start tests for PeriodConverter
{ "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": "eb6420", "default": false, "description": "Period data type", "id": 60635328, "name": "Period", "node_id": "MDU6TGFiZWw2MDYzNTMyOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period" } ]
closed
false
null
[]
{ "closed_at": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "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.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
4
2014-12-11T10:29:35Z
2014-12-12T15:25:07Z
2014-12-12T15:25:07Z
MEMBER
null
@jreback The tests I started related to PR #9050
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9055/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9055/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/9055.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/9055", "merged_at": "2014-12-12T15:25:07Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/9055.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9055" }
https://api.github.com/repos/pandas-dev/pandas/issues/9056
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9056/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9056/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9056/events
https://github.com/pandas-dev/pandas/issues/9056
51,672,194
MDU6SXNzdWU1MTY3MjE5NA==
9,056
Period(Index) claims to be relative to 0001-01-01 00:00:00
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "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": 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
2014-12-11T10:50:54Z
2017-06-01T19:59:44Z
2017-06-01T19:59:44Z
MEMBER
null
See the docstring of PeriodIndex: https://github.com/pydata/pandas/blob/master/pandas/tseries/period.py#L557, it says: ``` A value of 1 is the period containing the Gregorian proleptic datetime Jan 1, 0001 00:00:00. This ordinal representation is from the scikits.timeseries project. For instance, # construct period for day 1/1/1 and get the first second i = Period(year=1,month=1,day=1,freq='D').asfreq('S', 'S') i.ordinal ===> 1 ``` but that is not really the truth: ``` In [24]: pd.Period('1970-01-01', freq='D') Out[24]: Period('1970-01-01', 'D') In [25]: pd.Period('1970-01-01', freq='D').ordinal Out[25]: 0 In [34]: pd.Period(year=1,month=1,day=1,freq='D').ordinal Out[34]: -719162 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9056/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9056/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9057
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9057/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9057/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9057/events
https://github.com/pandas-dev/pandas/issues/9057
51,676,364
MDU6SXNzdWU1MTY3NjM2NA==
9,057
BUG: to_hdf failing with integer columns and data_columns=True
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "5319e7", "default": false, "description": "read_hdf, HDFStore", "id": 47229190, "name": "IO HDF5", "node_id": "MDU6TGFiZWw0NzIyOTE5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5" } ]
closed
false
null
[]
{ "closed_at": "2015-06-13T17:49:05Z", "closed_issues": 119, "created_at": "2015-06-02T19:23:30Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "", "due_on": "2015-06-12T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/35", "id": 1145853, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35/labels", "node_id": "MDk6TWlsZXN0b25lMTE0NTg1Mw==", "number": 35, "open_issues": 0, "state": "closed", "title": "0.16.2", "updated_at": "2016-07-22T08:55:52Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35" }
1
2014-12-11T11:36:40Z
2015-06-07T22:28:37Z
2015-06-07T22:28:37Z
CONTRIBUTOR
null
``` In [39]: N = 1000 In [40]: df = DataFrame(np.random.randint(0,8,size=N*400).astype('uint8').reshape(N,-1),index=pd.date_range('20130206',periods=N,freq='ms')) In [41]: df.to_hdf('test.h5','df',mode='w',format='table') In [42]: df.to_hdf('test.h5','df',mode='w',format='table',data_columns=True) AttributeError: 'numpy.int64' object has no attribute 'startswith' ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9057/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9057/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9058
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9058/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9058/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9058/events
https://github.com/pandas-dev/pandas/pull/9058
51,686,674
MDExOlB1bGxSZXF1ZXN0MjU4OTk1NzA=
9,058
DOC: fix-up docs for 0.15.2 release
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "006b75", "default": false, "description": null, "id": 131473665, "name": "Release", "node_id": "MDU6TGFiZWwxMzE0NzM2NjU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Release" } ]
closed
false
null
[]
{ "closed_at": "2014-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.15.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
0
2014-12-11T13:32:05Z
2014-12-11T13:41:59Z
2014-12-11T13:41:59Z
MEMBER
null
@jreback some more clean-up of whatsnew - some small fixes so now everything builds ok, ready for release I also reworded a little bit the intro of the minor release (I thought was a bit more appropriate for minor release vs major release)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9058/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9058/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/9058.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/9058", "merged_at": "2014-12-11T13:41:59Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/9058.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9058" }
https://api.github.com/repos/pandas-dev/pandas/issues/9059
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9059/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9059/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9059/events
https://github.com/pandas-dev/pandas/issues/9059
51,718,088
MDU6SXNzdWU1MTcxODA4OA==
9,059
bunch of errored/failed tests with 0.15.2
{ "avatar_url": "https://avatars.githubusercontent.com/u/39889?v=4", "events_url": "https://api.github.com/users/yarikoptic/events{/privacy}", "followers_url": "https://api.github.com/users/yarikoptic/followers", "following_url": "https://api.github.com/users/yarikoptic/following{/other_user}", "gists_url": "https://api.github.com/users/yarikoptic/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/yarikoptic", "id": 39889, "login": "yarikoptic", "node_id": "MDQ6VXNlcjM5ODg5", "organizations_url": "https://api.github.com/users/yarikoptic/orgs", "received_events_url": "https://api.github.com/users/yarikoptic/received_events", "repos_url": "https://api.github.com/users/yarikoptic/repos", "site_admin": false, "starred_url": "https://api.github.com/users/yarikoptic/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/yarikoptic/subscriptions", "type": "User", "url": "https://api.github.com/users/yarikoptic" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" } ]
closed
false
null
[]
{ "closed_at": "2015-06-13T17:49:05Z", "closed_issues": 119, "created_at": "2015-06-02T19:23:30Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "", "due_on": "2015-06-12T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/35", "id": 1145853, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35/labels", "node_id": "MDk6TWlsZXN0b25lMTE0NTg1Mw==", "number": 35, "open_issues": 0, "state": "closed", "title": "0.16.2", "updated_at": "2016-07-22T08:55:52Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35" }
3
2014-12-11T18:00:54Z
2015-06-02T19:25:19Z
2015-05-15T20:26:36Z
CONTRIBUTOR
null
tried to build on my debian box and got flooded... for now just a quick report and I would appreciate any help/advise full build log http://www.onerussian.com/tmp/pandas_0.15.2-1_amd64.build ``` ERROR: test moving from daylight savings to standard time ERROR: test moving from standard to daylight savings ERROR: test_timestamp_tz_convert (pandas.tseries.tests.test_timezones.TestTimeZoneSupportDateutil) ERROR: test_utc_with_system_utc (pandas.tseries.tests.test_timezones.TestTimeZoneSupportDateutil) ERROR: test_with_tz (pandas.tseries.tests.test_timezones.TestTimeZoneSupportDateutil) ERROR: test_tz_convert_roundtrip (pandas.tseries.tests.test_timezones.TestTimeZones) ERROR: test_tz_convert_roundtrip (pandas.tseries.tests.test_tslib.TestTimestamp) FAIL: test_append_with_timezones_dateutil (pandas.io.tests.test_pytables.TestHDFStore) FAIL: test_period_resample_with_local_timezone_dateutil (pandas.tseries.tests.test_timeseries.TestTimeSeries) FAIL: test_ambiguous_flags (pandas.tseries.tests.test_timezones.TestTimeZoneSupportDateutil) FAIL: test_ambiguous_infer (pandas.tseries.tests.test_timezones.TestTimeZoneSupportDateutil) FAIL: test_ambiguous_nat (pandas.tseries.tests.test_timezones.TestTimeZoneSupportDateutil) FAIL: test_datetimeindex_tz_nat (pandas.tseries.tests.test_timezones.TestTimeZoneSupportDateutil) FAIL: test_frame_no_datetime64_dtype (pandas.tseries.tests.test_timezones.TestTimeZoneSupportDateutil) FAIL: test_index_with_timezone_repr (pandas.tseries.tests.test_timezones.TestTimeZoneSupportDateutil) FAIL: test_infer_tz (pandas.tseries.tests.test_timezones.TestTimeZoneSupportDateutil) FAIL: test_localize_utc_conversion (pandas.tseries.tests.test_timezones.TestTimeZoneSupportDateutil) FAIL: test_localize_utc_conversion_explicit (pandas.tseries.tests.test_timezones.TestTimeZoneSupportDateutil) FAIL: test_timedelta_push_over_dst_boundary (pandas.tseries.tests.test_timezones.TestTimeZoneSupportDateutil) FAIL: test_timedelta_push_over_dst_boundary_explicit (pandas.tseries.tests.test_timezones.TestTimeZoneSupportDateutil) FAIL: test_tz_localize_dti (pandas.tseries.tests.test_timezones.TestTimeZoneSupportDateutil) FAIL: test_utc_box_timestamp_and_localize (pandas.tseries.tests.test_timezones.TestTimeZoneSupportDateutil) FAIL: test_with_tz_ambiguous_times (pandas.tseries.tests.test_timezones.TestTimeZoneSupportDateutil) FAIL: test_tz_localize_roundtrip (pandas.tseries.tests.test_timezones.TestTimeZones) FAIL: test_constructor (pandas.tseries.tests.test_tslib.TestTimestamp) FAIL: test_repr (pandas.tseries.tests.test_tslib.TestTimestamp) FAIL: test_tz_localize_roundtrip (pandas.tseries.tests.test_tslib.TestTimestamp) FAIL: test_getitem_setitem_datetime_tz_dateutil (pandas.tests.test_series.TestSeries) FAILED (SKIP=252, errors=7, failures=21) ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9059/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9059/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9060
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9060/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9060/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9060/events
https://github.com/pandas-dev/pandas/issues/9060
51,758,846
MDU6SXNzdWU1MTc1ODg0Ng==
9,060
Python3: No module named 'openpyxl.style'
{ "avatar_url": "https://avatars.githubusercontent.com/u/6992345?v=4", "events_url": "https://api.github.com/users/upthewazoo/events{/privacy}", "followers_url": "https://api.github.com/users/upthewazoo/followers", "following_url": "https://api.github.com/users/upthewazoo/following{/other_user}", "gists_url": "https://api.github.com/users/upthewazoo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/upthewazoo", "id": 6992345, "login": "upthewazoo", "node_id": "MDQ6VXNlcjY5OTIzNDU=", "organizations_url": "https://api.github.com/users/upthewazoo/orgs", "received_events_url": "https://api.github.com/users/upthewazoo/received_events", "repos_url": "https://api.github.com/users/upthewazoo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/upthewazoo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/upthewazoo/subscriptions", "type": "User", "url": "https://api.github.com/users/upthewazoo" }
[ { "color": "bfe5bf", "default": false, "description": "read_excel, to_excel", "id": 49254273, "name": "IO Excel", "node_id": "MDU6TGFiZWw0OTI1NDI3Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel" }, { "color": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" } ]
closed
false
null
[]
null
6
2014-12-12T00:59:14Z
2014-12-14T01:41:50Z
2014-12-14T01:31:39Z
NONE
null
There is no module named openpyxl.style on the Python3 version of openpyxl. There is, however a openpyxl.styles module in the namespace of openpyxl. But a simply name change update on line 577 of pandas/io/excel.py isn't the quick fix as there are other differences causing errors. My offending code: `diff_output = diff_panel.apply(report_diff, axis=0)` `def has_change(row):` `if "--->" in row.to_string():` `return "Y"` `else:` `return "N"` `diff_output['has_change'] = diff_output.apply(has_change, axis=1)` -->`diff_output[(diff_output.has_change == 'Y')].to_excel('my-diff.xlsx')` ## Stacktrace tail . . . /usr/lib/python3/dist-packages/pandas/io/excel.py in _convert_to_style(cls, style_dict) 575 """ 576 --> 577 from openpyxl.style import Style 578 xls_style = Style() 579 for key, value in style_dict.items(): ImportError: No module named 'openpyxl.style' Name: openpyxl Version: 2.1.3 Location: /usr/local/lib/python3.4/dist-packages Requires: jdcal Name: jdcal Version: 1.0 Location: /usr/local/lib/python3.4/dist-packages Requires: Python 3.4.0 (default, Apr 11 2014, 13:05:11) Type "copyright", "credits" or "license" for more information. IPython 1.2.1 -- An enhanced Interactive Python. ? -> Introduction and overview of IPython's features. %quickref -> Quick reference. help -> Python's own help system. object? -> Details about 'object', use 'object??' for extra details. `In [1]: import pandas` `In [2]: pandas.__version__` `Out[2]: '0.13.1'` ## Modified 577 (-)`from openpyxl.style import Style` (+)`from openpyxl.styles import Styles` ## New Stacktrace --- TypeError Traceback (most recent call last) <ipython-input-10-a608c8865a0a> in <module>() ----> `1 diff_output[(diff_output.has_change == 'Y')].to_excel('my-diff.xlsx')` /usr/lib/python3/dist-packages/pandas/core/frame.py in to_excel(self, excel_writer, sheet_name, na_rep, float_format, cols, header, index, index_label, startrow, startcol, engine, merge_cells) 1202 formatted_cells = formatter.get_formatted_cells() 1203 excel_writer.write_cells(formatted_cells, sheet_name, -> 1204 startrow=startrow, startcol=startcol) 1205 if need_save: 1206 excel_writer.save() /usr/lib/python3/dist-packages/pandas/io/excel.py in write_cells(self, cells, sheet_name, startrow, startcol) 528 style = None 529 if cell.style: --> 530 style = self._convert_to_style(cell.style) 531 for field in style.__fields__: 532 xcell.style.**setattr**(field, /usr/lib/python3/dist-packages/pandas/io/excel.py in _convert_to_style(cls, style_dict) 583 .__setattr__('border_style', nv)) 584 else: --> 585 xls_style.**getattribute**(key).**setattr**(nk, nv) 586 587 return xls_style /usr/local/lib/python3.4/dist-packages/openpyxl/styles/hashable.py in **setattr**(self, _args, *_kwargs) 51 getattr(self, name) is not None 52 and not isinstance(getattr(self, name), Descriptor)): ---> 53 raise TypeError('cannot set %s attribute' % name) 54 return object.**setattr**(self, _args, *_kwargs) 55 TypeError: cannot set bold attribute It appears to me that there seems to be sufficient differences in openpyxl between Python2 and Python3. Something the pandas devs might want to be aware of.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9060/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9060/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9061
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9061/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9061/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9061/events
https://github.com/pandas-dev/pandas/pull/9061
51,763,005
MDExOlB1bGxSZXF1ZXN0MjU5NDc4Mzk=
9,061
pivot & unstack with nan in the index
{ "avatar_url": "https://avatars.githubusercontent.com/u/1288998?v=4", "events_url": "https://api.github.com/users/behzadnouri/events{/privacy}", "followers_url": "https://api.github.com/users/behzadnouri/followers", "following_url": "https://api.github.com/users/behzadnouri/following{/other_user}", "gists_url": "https://api.github.com/users/behzadnouri/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/behzadnouri", "id": 1288998, "login": "behzadnouri", "node_id": "MDQ6VXNlcjEyODg5OTg=", "organizations_url": "https://api.github.com/users/behzadnouri/orgs", "received_events_url": "https://api.github.com/users/behzadnouri/received_events", "repos_url": "https://api.github.com/users/behzadnouri/repos", "site_admin": false, "starred_url": "https://api.github.com/users/behzadnouri/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/behzadnouri/subscriptions", "type": "User", "url": "https://api.github.com/users/behzadnouri" }
[ { "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": "fbca04", "default": false, "description": "Related to non-user accessible pandas implementation", "id": 49094459, "name": "Internals", "node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "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.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
8
2014-12-12T02:10:36Z
2015-01-10T20:21:07Z
2014-12-22T13:08:53Z
CONTRIBUTOR
null
closes https://github.com/pydata/pandas/issues/7466 on branch: ``` >>> df a b c 0 R1 C1 10 1 R2 C2 15 2 NaN C3 17 3 R4 C4 20 >>> df.pivot('a', 'b', 'c').fillna('.') b C1 C2 C3 C4 a NaN . . 17 . R1 10 . . . R2 . 15 . . R4 . . . 20 >>> df.pivot('b', 'a', 'c').fillna('.') a NaN R1 R2 R4 b C1 . 10 . . C2 . . 15 . C3 17 . . . C4 . . . 20 ``` the `pivot` function requires the `unstack` function to work with `nan`s in the index: ``` >>> df 4th 5th 1st 2nd 3rd d y 67 d.y.67 67.y.d 39 d.y.39 39.y.d w 53 d.w.53 53.w.d NaN w 72 .w.72 72.w. 57 .w.57 57.w. NaN 80 . .80 80. . 31 . .31 31. . 18 . .18 18. . a z 11 a.z.11 11.z.a 30 a.z.30 30.z.a c z 59 c.z.59 59.z.c 50 c.z.50 50.z.c NaN 62 c. .62 62. .c e NaN 59 e. .59 59. .e 76 e. .76 76. .e b x 52 b.x.52 52.x.b 14 b.x.14 14.x.b 53 b.x.53 53.x.b NaN 60 b. .60 60. .b 51 b. .51 51. .b ``` the `4th` and `5th` column are so that it is easy to verify the frame: ``` >>> df.unstack(level=1).fillna('-') 4th 5th 2nd NaN w x y z NaN w x y z 1st 3rd NaN 18 . .18 - - - - 18. . - - - - 31 . .31 - - - - 31. . - - - - 57 - .w.57 - - - - 57.w. - - - 72 - .w.72 - - - - 72.w. - - - 80 . .80 - - - - 80. . - - - - a 11 - - - - a.z.11 - - - - 11.z.a 30 - - - - a.z.30 - - - - 30.z.a b 14 - - b.x.14 - - - - 14.x.b - - 51 b. .51 - - - - 51. .b - - - - 52 - - b.x.52 - - - - 52.x.b - - 53 - - b.x.53 - - - - 53.x.b - - 60 b. .60 - - - - 60. .b - - - - c 50 - - - - c.z.50 - - - - 50.z.c 59 - - - - c.z.59 - - - - 59.z.c 62 c. .62 - - - - 62. .c - - - - d 39 - - - d.y.39 - - - - 39.y.d - 53 - d.w.53 - - - - 53.w.d - - - 67 - - - d.y.67 - - - - 67.y.d - e 59 e. .59 - - - - 59. .e - - - - 76 e. .76 - - - - 76. .e - - - - ``` `nan` values are kept out of levels and are handled by labels: ``` >>> df.unstack(level=1).index MultiIndex(levels=[['a', 'b', 'c', 'd', 'e'], [11, 14, 18, 30, 31, 39, 50, 51, 52, 53, 57, 59, 60, 62, 67, 72, 76, 80]], labels=[[-1, -1, -1, -1, -1, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4], [2, 4, 10, 15, 17, 0, 3, 1, 7, 8, 9, 12, 6, 11, 13, 5, 9, 14, 11, 16]], names=['1st', '3rd']) >>> df.unstack(level=1).columns MultiIndex(levels=[['4th', '5th'], ['w', 'x', 'y', 'z']], labels=[[0, 0, 0, 0, 0, 1, 1, 1, 1, 1], [-1, 0, 1, 2, 3, -1, 0, 1, 2, 3]], names=[None, '2nd']) ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9061/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9061/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/9061.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/9061", "merged_at": "2014-12-22T13:08:52Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/9061.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9061" }
https://api.github.com/repos/pandas-dev/pandas/issues/9062
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9062/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9062/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9062/events
https://github.com/pandas-dev/pandas/issues/9062
51,763,525
MDU6SXNzdWU1MTc2MzUyNQ==
9,062
File size increase by import/export from/to Stata
{ "avatar_url": "https://avatars.githubusercontent.com/u/650534?v=4", "events_url": "https://api.github.com/users/ozak/events{/privacy}", "followers_url": "https://api.github.com/users/ozak/followers", "following_url": "https://api.github.com/users/ozak/following{/other_user}", "gists_url": "https://api.github.com/users/ozak/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ozak", "id": 650534, "login": "ozak", "node_id": "MDQ6VXNlcjY1MDUzNA==", "organizations_url": "https://api.github.com/users/ozak/orgs", "received_events_url": "https://api.github.com/users/ozak/received_events", "repos_url": "https://api.github.com/users/ozak/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ozak/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ozak/subscriptions", "type": "User", "url": "https://api.github.com/users/ozak" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" }, { "color": "5319e7", "default": false, "description": "read_stata, to_stata", "id": 104865385, "name": "IO Stata", "node_id": "MDU6TGFiZWwxMDQ4NjUzODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Stata" } ]
closed
false
null
[]
null
3
2014-12-12T02:20:57Z
2015-01-07T02:42:03Z
2015-01-07T02:42:03Z
NONE
null
Hi, I have noticed that importing/exporting data from/to Stata seems to increase file size a lot (sometimes more than double). I thought it mostly was caused by export to Stata, where string variables would be initially set to a length of 256 or something like that (usually after exporting I have to run the compress command in Stata and save the file again in order to save space). But now I noticed that importing data in Stata format and then exporting it to CSV causes similar increases in file size, even after dropping variables from the original file (so one would expect the file to be smaller). Any ideas of what is going on? An example of a stata file with the exported csv file and script can be found [here](https://www.dropbox.com/s/xdimn6k40t7fmf4/Export_filesize_issue.zip?dl=0). I ran the following commands in a script (included in the zip file): ``` #!/usr/bin/env python # coding: utf-8 from __future__ import division import sys, os, time # Math, data import numpy as np import pandas as pd # Print filesize original print('Original filesize= '+str(os.path.getsize('./cn59_mat.dta'))) #Original filesize= 2883761 # Load data df=pd.read_stata('cn59_mat.dta') # Drop one variable df.drop('index', axis=1, inplace=True) # Export df.to_csv('cn59.csv', encoding='utf-8', index=False) # Print filesize original print('New filesize= '+str(os.path.getsize('./cn59.csv'))) #New filesize= 4984671 ``` So as you can see it doubled in size. I am using Python 2.7.6 with Pandas 0.15.1 on OS X 10.9.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9062/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9062/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9063
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9063/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9063/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9063/events
https://github.com/pandas-dev/pandas/issues/9063
51,799,441
MDU6SXNzdWU1MTc5OTQ0MQ==
9,063
generic.py: NDFrame.truncate() parameter meaning swapped
{ "avatar_url": "https://avatars.githubusercontent.com/u/1426162?v=4", "events_url": "https://api.github.com/users/mjharte/events{/privacy}", "followers_url": "https://api.github.com/users/mjharte/followers", "following_url": "https://api.github.com/users/mjharte/following{/other_user}", "gists_url": "https://api.github.com/users/mjharte/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mjharte", "id": 1426162, "login": "mjharte", "node_id": "MDQ6VXNlcjE0MjYxNjI=", "organizations_url": "https://api.github.com/users/mjharte/orgs", "received_events_url": "https://api.github.com/users/mjharte/received_events", "repos_url": "https://api.github.com/users/mjharte/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mjharte/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mjharte/subscriptions", "type": "User", "url": "https://api.github.com/users/mjharte" }
[]
closed
false
null
[]
null
2
2014-12-12T12:08:29Z
2014-12-12T12:52:39Z
2014-12-12T12:52:39Z
NONE
null
The meaning of the `before` and `after` parameters of `truncate()` are swapped. The code returns a `slice(before, after)` so `before` actually is the lower-bound and everything _after_ it is returned; and vice versa for `after`.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9063/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9063/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9064
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9064/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9064/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9064/events
https://github.com/pandas-dev/pandas/issues/9064
51,811,261
MDU6SXNzdWU1MTgxMTI2MQ==
9,064
ENH: add to_offset method to Timedelta
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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": "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": "Timedelta data type", "id": 49597148, "name": "Timedelta", "node_id": "MDU6TGFiZWw0OTU5NzE0OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta" }, { "color": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" } ]
closed
false
null
[]
{ "closed_at": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "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.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
6
2014-12-12T14:28:38Z
2015-01-18T20:53:40Z
2015-01-18T20:53:40Z
CONTRIBUTOR
null
from [SO](http://stackoverflow.com/questions/27444949/build-a-pandas-pd-tseries-offsets-from-timedelta) This works, but I think `td.to_offset()` makes sense ``` In [1]: td = Timedelta('1h') In [2]: td Out[2]: Timedelta('0 days 01:00:00') In [7]: pd.DateOffset(hours=td.hours) Out[7]: <DateOffset: kwds={'hours': 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/9064/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9064/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9065
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9065/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9065/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9065/events
https://github.com/pandas-dev/pandas/issues/9065
51,814,091
MDU6SXNzdWU1MTgxNDA5MQ==
9,065
update() produces 'invalid type promotion' error when used with datetime columns and overwrite=False
{ "avatar_url": "https://avatars.githubusercontent.com/u/10167353?v=4", "events_url": "https://api.github.com/users/Sereger13/events{/privacy}", "followers_url": "https://api.github.com/users/Sereger13/followers", "following_url": "https://api.github.com/users/Sereger13/following{/other_user}", "gists_url": "https://api.github.com/users/Sereger13/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Sereger13", "id": 10167353, "login": "Sereger13", "node_id": "MDQ6VXNlcjEwMTY3MzUz", "organizations_url": "https://api.github.com/users/Sereger13/orgs", "received_events_url": "https://api.github.com/users/Sereger13/received_events", "repos_url": "https://api.github.com/users/Sereger13/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Sereger13/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Sereger13/subscriptions", "type": "User", "url": "https://api.github.com/users/Sereger13" }
[ { "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": "fbca04", "default": false, "description": "Related to non-user accessible pandas implementation", "id": 49094459, "name": "Internals", "node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals" } ]
closed
false
null
[]
{ "closed_at": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "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.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
3
2014-12-12T14:55:48Z
2014-12-12T15:54:51Z
2014-12-12T15:54:26Z
NONE
null
xref #3025 To reproduce: ``` python import pandas as pd df = pd.DataFrame({'A': [1, 2, 3], 'B': ['20140101', nan, '20140101'], 'C': [nan, nan, nan]}) df2 = pd.DataFrame({'A': [1, 2], 'B': ['20140104', '20140105'], }) df.B = pd.to_datetime(df.B, coerce=True) df2.B = pd.to_datetime(df2.B, coerce=True) df.set_index('A', inplace=True) df2.set_index('A', inplace=True) #df.update(df2[['B']]) # Works fine df.update(df2[['B']], overwrite=False) # Fails with 'invalid type promotion' error. ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9065/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9065/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9066
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9066/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9066/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9066/events
https://github.com/pandas-dev/pandas/issues/9066
51,828,011
MDU6SXNzdWU1MTgyODAxMQ==
9,066
expanduser in to_file methods
{ "avatar_url": "https://avatars.githubusercontent.com/u/296164?v=4", "events_url": "https://api.github.com/users/jseabold/events{/privacy}", "followers_url": "https://api.github.com/users/jseabold/followers", "following_url": "https://api.github.com/users/jseabold/following{/other_user}", "gists_url": "https://api.github.com/users/jseabold/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jseabold", "id": 296164, "login": "jseabold", "node_id": "MDQ6VXNlcjI5NjE2NA==", "organizations_url": "https://api.github.com/users/jseabold/orgs", "received_events_url": "https://api.github.com/users/jseabold/received_events", "repos_url": "https://api.github.com/users/jseabold/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jseabold/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jseabold/subscriptions", "type": "User", "url": "https://api.github.com/users/jseabold" }
[ { "color": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" } ]
closed
false
null
[]
{ "closed_at": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "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.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
1
2014-12-12T16:57:43Z
2014-12-24T19:11:56Z
2014-12-24T19:11:56Z
CONTRIBUTOR
null
Right now AFAIK there isn't any ~ expansion. Seems like nice, low-hanging fruit.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9066/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9066/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9067
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9067/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9067/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9067/events
https://github.com/pandas-dev/pandas/issues/9067
51,830,369
MDU6SXNzdWU1MTgzMDM2OQ==
9,067
Strip header names?
{ "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": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
open
false
null
[]
null
6
2014-12-12T17:19:49Z
2021-04-16T04:25:29Z
null
CONTRIBUTOR
null
In csv files that have odd spacing ``` name, amount Alice,100 Bob,200 ``` Loaded dataframes can sometimes have column names with leading or trailing whitespace. Should these column names be stripped by default? ``` Python In [4]: pd.read_csv('foo.csv').columns Out[4]: Index([u'name', u' amount'], dtype='object') ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9067/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9067/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9068
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9068/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9068/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9068/events
https://github.com/pandas-dev/pandas/issues/9068
51,834,672
MDU6SXNzdWU1MTgzNDY3Mg==
9,068
ENH: add StringMethods (e.g. .str) to 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": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" } ]
closed
false
null
[]
{ "closed_at": "2015-05-11T15:46:03Z", "closed_issues": 237, "created_at": "2014-10-07T14:39:07Z", "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.16.0 of course!", "due_on": "2015-05-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/29", "id": 816810, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/29/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODEw", "number": 29, "open_issues": 0, "state": "closed", "title": "0.16.1", "updated_at": "2017-04-16T08:39:48Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/29" }
0
2014-12-12T18:01:49Z
2015-04-10T13:50:14Z
2015-04-10T13:50:14Z
CONTRIBUTOR
null
currently `Series.str.strip()` works but `Index(Series(Index.values).str.strip())` would be necessary for an index should be very straightforward to move the `.str` accessor to `IndexOpsMixin` (from Series) to support this (would need to prevent Index sub-classes from using it though as they don't support string ops.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9068/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9068/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9069
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9069/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9069/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9069/events
https://github.com/pandas-dev/pandas/issues/9069
51,870,679
MDU6SXNzdWU1MTg3MDY3OQ==
9,069
Feature request: Categorical plotting
{ "avatar_url": "https://avatars.githubusercontent.com/u/69774?v=4", "events_url": "https://api.github.com/users/michaelaye/events{/privacy}", "followers_url": "https://api.github.com/users/michaelaye/followers", "following_url": "https://api.github.com/users/michaelaye/following{/other_user}", "gists_url": "https://api.github.com/users/michaelaye/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/michaelaye", "id": 69774, "login": "michaelaye", "node_id": "MDQ6VXNlcjY5Nzc0", "organizations_url": "https://api.github.com/users/michaelaye/orgs", "received_events_url": "https://api.github.com/users/michaelaye/received_events", "repos_url": "https://api.github.com/users/michaelaye/repos", "site_admin": false, "starred_url": "https://api.github.com/users/michaelaye/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/michaelaye/subscriptions", "type": "User", "url": "https://api.github.com/users/michaelaye" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
5
2014-12-13T01:07:55Z
2017-07-08T02:32:50Z
2017-07-08T02:32:47Z
CONTRIBUTOR
null
In the case of the index being a DateTimeIndex, I think there's a nice easy default case for plotting a categorical column: Let each category assume one value on the y-axis (user-providable, or range(len(categories)) by default) and plot a symbol ('*' by default maybe) at every point in time the categorical value has an entry. The y-axis tick labels should be the categorical values of course. This can provide nice overviews in astronomy or other remote sensing sciences for example to indicate what kind of observation happened when and in what sequence. Or which of some set of lab experiments was executed when. What do you guys think?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9069/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9069/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9070
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9070/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9070/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9070/events
https://github.com/pandas-dev/pandas/pull/9070
51,885,373
MDExOlB1bGxSZXF1ZXN0MjYwMjA1Nzg=
9,070
ENH: Open Document Format ODS support in read_excel()
{ "avatar_url": "https://avatars.githubusercontent.com/u/2007257?v=4", "events_url": "https://api.github.com/users/davidovitch/events{/privacy}", "followers_url": "https://api.github.com/users/davidovitch/followers", "following_url": "https://api.github.com/users/davidovitch/following{/other_user}", "gists_url": "https://api.github.com/users/davidovitch/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/davidovitch", "id": 2007257, "login": "davidovitch", "node_id": "MDQ6VXNlcjIwMDcyNTc=", "organizations_url": "https://api.github.com/users/davidovitch/orgs", "received_events_url": "https://api.github.com/users/davidovitch/received_events", "repos_url": "https://api.github.com/users/davidovitch/repos", "site_admin": false, "starred_url": "https://api.github.com/users/davidovitch/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/davidovitch/subscriptions", "type": "User", "url": "https://api.github.com/users/davidovitch" }
[ { "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": "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": 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" }
59
2014-12-13T11:45:25Z
2019-02-24T07:00:20Z
2015-09-01T18:52:24Z
CONTRIBUTOR
null
This work should eventually lead to a reader and writer for ods spreadsheets (LibreOffice / OpenOffice Open Document Format). I am doing this work in the master of my clone of pandas. From the wiki I understood it is fine for me to commit to my master and rebase with upstream from time to time. Please let me know if I should follow another git workflow (this is my first PR). This is what I have so far: - It seems to make sense to implement an OdsFile and OdsWriter in pandas/io/excel.py - I created ods test files identical to the other Excel test files. - Basic reading works, but does not handle all corner cases correctly yet - Tests and WritingOds are not implemented yet I am not sure how to approach the following issues: - For the tests, it would make sense to also use pandas/io/tests/test_excel.py (there would be a lot of code duplication otherwise). However, this would require some kind of a more elaborate test skipping mechanism than currently implemented. One could have ods dependencies installed, but not the Excel ones and vice versa. - When considering pandas could support more spreadsheet formats, does it make sense to rename pandas/io/excel.py to spreadsheet.py, and correspondingly, read_excel to read_spreadsheet? I guess this is not easy since it a lot of stuff out there already counts on the excel naming scheme. For the record, there is one message on the [mailing list](https://groups.google.com/forum/?fromgroups#!topic/pydata/Zv-BXJNsP2U), and this PR will fix issue #2311. ods support depends on [ezodf](https://github.com/T0ha/ezodf), and issue #2311 mentions some of the alternatives.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9070/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9070/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/9070.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/9070", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/9070.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9070" }
https://api.github.com/repos/pandas-dev/pandas/issues/9071
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9071/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9071/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9071/events
https://github.com/pandas-dev/pandas/issues/9071
51,897,091
MDU6SXNzdWU1MTg5NzA5MQ==
9,071
Feature request: add interval kwarg to pandas.io.data.get_data_yahoo
{ "avatar_url": "https://avatars.githubusercontent.com/u/226037?v=4", "events_url": "https://api.github.com/users/alexamici/events{/privacy}", "followers_url": "https://api.github.com/users/alexamici/followers", "following_url": "https://api.github.com/users/alexamici/following{/other_user}", "gists_url": "https://api.github.com/users/alexamici/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/alexamici", "id": 226037, "login": "alexamici", "node_id": "MDQ6VXNlcjIyNjAzNw==", "organizations_url": "https://api.github.com/users/alexamici/orgs", "received_events_url": "https://api.github.com/users/alexamici/received_events", "repos_url": "https://api.github.com/users/alexamici/repos", "site_admin": false, "starred_url": "https://api.github.com/users/alexamici/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/alexamici/subscriptions", "type": "User", "url": "https://api.github.com/users/alexamici" }
[]
closed
false
null
[]
{ "closed_at": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "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.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
1
2014-12-13T19:28:52Z
2015-01-05T23:50:41Z
2015-01-05T23:50:41Z
CONTRIBUTOR
null
Please, expose the interval flag of the Yahoo CSV API. Right now is hardcoded to have daily interval.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9071/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9071/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9072
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9072/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9072/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9072/events
https://github.com/pandas-dev/pandas/pull/9072
51,897,124
MDExOlB1bGxSZXF1ZXN0MjYwMjUyNjE=
9,072
ENH: add interval kwarg to get_data_yahoo issue #9071
{ "avatar_url": "https://avatars.githubusercontent.com/u/226037?v=4", "events_url": "https://api.github.com/users/alexamici/events{/privacy}", "followers_url": "https://api.github.com/users/alexamici/followers", "following_url": "https://api.github.com/users/alexamici/following{/other_user}", "gists_url": "https://api.github.com/users/alexamici/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/alexamici", "id": 226037, "login": "alexamici", "node_id": "MDQ6VXNlcjIyNjAzNw==", "organizations_url": "https://api.github.com/users/alexamici/orgs", "received_events_url": "https://api.github.com/users/alexamici/received_events", "repos_url": "https://api.github.com/users/alexamici/repos", "site_admin": false, "starred_url": "https://api.github.com/users/alexamici/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/alexamici/subscriptions", "type": "User", "url": "https://api.github.com/users/alexamici" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" } ]
closed
false
null
[]
{ "closed_at": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "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.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
12
2014-12-13T19:30:10Z
2015-01-05T23:50:25Z
2015-01-05T23:49:33Z
CONTRIBUTOR
null
PR for the issue #9071
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9072/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9072/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/9072.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/9072", "merged_at": "2015-01-05T23:49:33Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/9072.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9072" }
https://api.github.com/repos/pandas-dev/pandas/issues/9073
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9073/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9073/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9073/events
https://github.com/pandas-dev/pandas/issues/9073
51,900,493
MDU6SXNzdWU1MTkwMDQ5Mw==
9,073
saving on memory can cost both memory and performance
{ "avatar_url": "https://avatars.githubusercontent.com/u/1288998?v=4", "events_url": "https://api.github.com/users/behzadnouri/events{/privacy}", "followers_url": "https://api.github.com/users/behzadnouri/followers", "following_url": "https://api.github.com/users/behzadnouri/following{/other_user}", "gists_url": "https://api.github.com/users/behzadnouri/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/behzadnouri", "id": 1288998, "login": "behzadnouri", "node_id": "MDQ6VXNlcjEyODg5OTg=", "organizations_url": "https://api.github.com/users/behzadnouri/orgs", "received_events_url": "https://api.github.com/users/behzadnouri/received_events", "repos_url": "https://api.github.com/users/behzadnouri/repos", "site_admin": false, "starred_url": "https://api.github.com/users/behzadnouri/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/behzadnouri/subscriptions", "type": "User", "url": "https://api.github.com/users/behzadnouri" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" } ]
closed
false
null
[]
null
2
2014-12-13T21:38:33Z
2019-10-06T01:08:57Z
2019-10-06T01:08:57Z
CONTRIBUTOR
null
xref: https://github.com/pydata/pandas/pull/8676#issuecomment-66888559 **memory cost**: with `int16` labels: ``` $ python -m memory_profiler mem-profile.py Filename: mem-profile.py Line # Mem usage Increment Line Contents ================================================ 4 80.156 MiB 0.000 MiB @profile 5 def ix(obj): 6 87.809 MiB 7.652 MiB obj.ix[999] ``` with `int64` labels: ``` $ python -m memory_profiler mem-profile.py Filename: mem-profile.py Line # Mem usage Increment Line Contents ================================================ 4 79.387 MiB 0.000 MiB @profile 5 def ix(obj): 6 79.387 MiB 0.000 MiB obj.ix[999] ``` **performance cost**: ``` ------------------------------------------------------------------------------- Test name | head[ms] | base[ms] | ratio | ------------------------------------------------------------------------------- frame_xs_mi_ix | 8.5303 | 0.6206 | 13.7452 | series_xs_mi_ix | 8.0659 | 0.5600 | 14.4023 | ------------------------------------------------------------------------------- Test name | head[ms] | base[ms] | ratio | ------------------------------------------------------------------------------- Ratio < 1.0 means the target commit is faster then the baseline. Seed used: 1234 Target [c11e75c] : PERF: set multiindex labels with coerced dtype (GH8456) Base [6bbb39e] : Merge pull request #8675 from pydata/setitem ``` the `mem-profile.py` used for memory profiling: ``` @profile def ix(obj): obj.ix[999] if __name__ == '__main__': import numpy as np from pandas import MultiIndex, Series mi = MultiIndex.from_tuples([(x,y) for x in range(1000) for y in range(1000)]) ts = Series(np.random.randn(1000000), index=mi) ix(ts) ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9073/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9073/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9074
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9074/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9074/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9074/events
https://github.com/pandas-dev/pandas/pull/9074
51,910,674
MDExOlB1bGxSZXF1ZXN0MjYwMzA5Nzc=
9,074
fixing highly confusing typo.
{ "avatar_url": "https://avatars.githubusercontent.com/u/69774?v=4", "events_url": "https://api.github.com/users/michaelaye/events{/privacy}", "followers_url": "https://api.github.com/users/michaelaye/followers", "following_url": "https://api.github.com/users/michaelaye/following{/other_user}", "gists_url": "https://api.github.com/users/michaelaye/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/michaelaye", "id": 69774, "login": "michaelaye", "node_id": "MDQ6VXNlcjY5Nzc0", "organizations_url": "https://api.github.com/users/michaelaye/orgs", "received_events_url": "https://api.github.com/users/michaelaye/received_events", "repos_url": "https://api.github.com/users/michaelaye/repos", "site_admin": false, "starred_url": "https://api.github.com/users/michaelaye/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/michaelaye/subscriptions", "type": "User", "url": "https://api.github.com/users/michaelaye" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "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.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
1
2014-12-14T06:05:46Z
2014-12-14T22:14:09Z
2014-12-14T21:50:02Z
CONTRIBUTOR
null
The power of an 'e'.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9074/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9074/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/9074.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/9074", "merged_at": "2014-12-14T21:50:02Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/9074.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9074" }
https://api.github.com/repos/pandas-dev/pandas/issues/9075
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9075/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9075/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9075/events
https://github.com/pandas-dev/pandas/issues/9075
51,929,421
MDU6SXNzdWU1MTkyOTQyMQ==
9,075
change in MultiIndex.has_duplicates behavior from 0.15.0 -> 0.15.2
{ "avatar_url": "https://avatars.githubusercontent.com/u/218546?v=4", "events_url": "https://api.github.com/users/lebedov/events{/privacy}", "followers_url": "https://api.github.com/users/lebedov/followers", "following_url": "https://api.github.com/users/lebedov/following{/other_user}", "gists_url": "https://api.github.com/users/lebedov/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lebedov", "id": 218546, "login": "lebedov", "node_id": "MDQ6VXNlcjIxODU0Ng==", "organizations_url": "https://api.github.com/users/lebedov/orgs", "received_events_url": "https://api.github.com/users/lebedov/received_events", "repos_url": "https://api.github.com/users/lebedov/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lebedov/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lebedov/subscriptions", "type": "User", "url": "https://api.github.com/users/lebedov" }
[ { "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": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "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.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
1
2014-12-14T19:51:04Z
2014-12-18T11:40:22Z
2014-12-18T11:40:22Z
NONE
null
The following code prints False when run with Pandas 0.15.0, but True with 0.15.2; I'm using Python 2.7.6 on Ubuntu 14.04.1 in both cases. Is this change in behavior expected? (I was using has_duplicates to detect duplicate tuples in the index.) ``` import pandas as pd t = [(u'x', u'out', u'z', 5, u'y', u'in', u'z', 169), (u'x', u'out', u'z', 7, u'y', u'in', u'z', 119), (u'x', u'out', u'z', 9, u'y', u'in', u'z', 135), (u'x', u'out', u'z', 13, u'y', u'in', u'z', 145), (u'x', u'out', u'z', 14, u'y', u'in', u'z', 158), (u'x', u'out', u'z', 16, u'y', u'in', u'z', 122), (u'x', u'out', u'z', 17, u'y', u'in', u'z', 160), (u'x', u'out', u'z', 18, u'y', u'in', u'z', 180), (u'x', u'out', u'z', 20, u'y', u'in', u'z', 143), (u'x', u'out', u'z', 21, u'y', u'in', u'z', 128), (u'x', u'out', u'z', 22, u'y', u'in', u'z', 129), (u'x', u'out', u'z', 25, u'y', u'in', u'z', 111), (u'x', u'out', u'z', 28, u'y', u'in', u'z', 114), (u'x', u'out', u'z', 29, u'y', u'in', u'z', 121), (u'x', u'out', u'z', 31, u'y', u'in', u'z', 126), (u'x', u'out', u'z', 32, u'y', u'in', u'z', 155), (u'x', u'out', u'z', 33, u'y', u'in', u'z', 123), (u'x', u'out', u'z', 12, u'y', u'in', u'z', 144)] idx = pd.MultiIndex.from_tuples(t) print idx.has_duplicates ``` Reference on StackOverflow [here](http://stackoverflow.com/questions/27473093/understanding-the-pandas-multiindex-has-duplicates-property).
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9075/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9075/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9076
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9076/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9076/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9076/events
https://github.com/pandas-dev/pandas/pull/9076
51,933,506
MDExOlB1bGxSZXF1ZXN0MjYwMzk4NjU=
9,076
Add SparseSeries.to_coo method, a single test and one example.
{ "avatar_url": "https://avatars.githubusercontent.com/u/223276?v=4", "events_url": "https://api.github.com/users/cottrell/events{/privacy}", "followers_url": "https://api.github.com/users/cottrell/followers", "following_url": "https://api.github.com/users/cottrell/following{/other_user}", "gists_url": "https://api.github.com/users/cottrell/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cottrell", "id": 223276, "login": "cottrell", "node_id": "MDQ6VXNlcjIyMzI3Ng==", "organizations_url": "https://api.github.com/users/cottrell/orgs", "received_events_url": "https://api.github.com/users/cottrell/received_events", "repos_url": "https://api.github.com/users/cottrell/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cottrell/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cottrell/subscriptions", "type": "User", "url": "https://api.github.com/users/cottrell" }
[ { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "009800", "default": false, "description": "Sparse Data Type", "id": 49182326, "name": "Sparse", "node_id": "MDU6TGFiZWw0OTE4MjMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Sparse" } ]
closed
false
null
[]
{ "closed_at": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "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.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
28
2014-12-14T21:58:32Z
2015-03-04T21:13:49Z
2015-03-03T01:04:51Z
CONTRIBUTOR
null
xref #4343 closes #8048 This passes locally run nosetests but is failing on Travis. I think the latest Travis CI changes might have caused failures. I was able to get master to pass on Travis last week but now it is failing.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9076/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9076/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/9076.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/9076", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/9076.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9076" }
https://api.github.com/repos/pandas-dev/pandas/issues/9077
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9077/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9077/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9077/events
https://github.com/pandas-dev/pandas/pull/9077
51,937,288
MDExOlB1bGxSZXF1ZXN0MjYwNDEzODQ=
9,077
BUG: Bug in MultiIndex.has_duplicates when having many levels causes an indexer overflow (GH9075)
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "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.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
6
2014-12-14T23:55:41Z
2014-12-18T11:39:07Z
2014-12-18T11:39:07Z
CONTRIBUTOR
null
closes #9075
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9077/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9077/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/9077.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/9077", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/9077.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9077" }
https://api.github.com/repos/pandas-dev/pandas/issues/9078
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9078/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9078/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9078/events
https://github.com/pandas-dev/pandas/pull/9078
51,958,881
MDExOlB1bGxSZXF1ZXN0MjYwNTI2ODE=
9,078
Closes #8943: COMPAT: periods needs coercion to np.int64
{ "avatar_url": "https://avatars.githubusercontent.com/u/6614695?v=4", "events_url": "https://api.github.com/users/Garrett-R/events{/privacy}", "followers_url": "https://api.github.com/users/Garrett-R/followers", "following_url": "https://api.github.com/users/Garrett-R/following{/other_user}", "gists_url": "https://api.github.com/users/Garrett-R/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Garrett-R", "id": 6614695, "login": "Garrett-R", "node_id": "MDQ6VXNlcjY2MTQ2OTU=", "organizations_url": "https://api.github.com/users/Garrett-R/orgs", "received_events_url": "https://api.github.com/users/Garrett-R/received_events", "repos_url": "https://api.github.com/users/Garrett-R/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Garrett-R/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Garrett-R/subscriptions", "type": "User", "url": "https://api.github.com/users/Garrett-R" }
[ { "color": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" } ]
closed
false
null
[]
{ "closed_at": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "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.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
7
2014-12-15T08:11:15Z
2014-12-18T02:06:30Z
2014-12-17T22:14:26Z
CONTRIBUTOR
null
Let me know if this needs any work. closes #8943
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9078/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9078/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/9078.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/9078", "merged_at": "2014-12-17T22:14:26Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/9078.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9078" }
https://api.github.com/repos/pandas-dev/pandas/issues/9079
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9079/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9079/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9079/events
https://github.com/pandas-dev/pandas/issues/9079
51,983,535
MDU6SXNzdWU1MTk4MzUzNQ==
9,079
Pandas v0.15.2 breaks read_csv with skiprows, delim_whitespace=True and explicit naming of columns
{ "avatar_url": "https://avatars.githubusercontent.com/u/380927?v=4", "events_url": "https://api.github.com/users/cpaulik/events{/privacy}", "followers_url": "https://api.github.com/users/cpaulik/followers", "following_url": "https://api.github.com/users/cpaulik/following{/other_user}", "gists_url": "https://api.github.com/users/cpaulik/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpaulik", "id": 380927, "login": "cpaulik", "node_id": "MDQ6VXNlcjM4MDkyNw==", "organizations_url": "https://api.github.com/users/cpaulik/orgs", "received_events_url": "https://api.github.com/users/cpaulik/received_events", "repos_url": "https://api.github.com/users/cpaulik/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpaulik/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpaulik/subscriptions", "type": "User", "url": "https://api.github.com/users/cpaulik" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "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.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
3
2014-12-15T13:03:45Z
2014-12-20T20:31:45Z
2014-12-20T20:31:45Z
CONTRIBUTOR
null
Hi, The latest version of pandas 0.15.2 can no longer read a file that was no problem before. The file has the following format. ``` SMOSMANIA SMOSMANIA Narbonne 43.15000 2.95670 112.00 0.05 0.05 ThetaProbe-ML2X 2007/01/01 01:00 0.2140 U M 2007/01/01 02:00 0.2140 U M 2007/01/01 03:00 0.2140 U M ``` The file can be found [here](https://raw.githubusercontent.com/TUW-GEO/pytesmo/master/tests/test_ismn/test_data/format_header_values/SMOSMANIA/SMOSMANIA_SMOSMANIA_Narbonne_sm_0.050000_0.050000_ThetaProbe-ML2X_20070101_20070131.stm) Since the first line is not directly related to the number of columns below I use skiprows=1 and specify the names explicitly. ``` fname='https://raw.githubusercontent.com/TUW-GEO/pytesmo/master/tests/test_ismn/test_data/format_header_values/SMOSMANIA/SMOSMANIA_SMOSMANIA_Narbonne_sm_0.050000_0.050000_ThetaProbe-ML2X_20070101_20070131.stm' pd.read_csv(fname, skiprows=1, delim_whitespace=True, names=['date', 'time', 'variable','flag','orig_flag']) ``` Please compare the two code sample below. The first using pandas 0.15.2, the second one 0.15.1 ### 0.15.2 ``` In [1]: import pandas as pd In [2]: from pandas.util.print_versions import show_versions In [3]: show_versions() INSTALLED VERSIONS ------------------ commit: None python: 2.7.6.final.0 python-bits: 64 OS: Linux OS-release: 3.13.0-24-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.15.2 nose: 1.3.4 Cython: 0.21.1 numpy: 1.9.1 scipy: 0.14.0 statsmodels: 0.6.0 IPython: 2.3.1 sphinx: 1.2.3 patsy: 0.3.0 dateutil: 2.2 pytz: 2014.9 bottleneck: None tables: None numexpr: None matplotlib: 1.4.2 openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml: None bs4: None html5lib: None httplib2: None apiclient: None rpy2: None sqlalchemy: None pymysql: None psycopg2: None In [4]: pd.read_csv('https://raw.githubusercontent.com/TUW-GEO/pytesmo/master/tests/test_ismn/test_data/format_header_values/SMOSMANIA/SMOSMANIA_SMOSMANIA_Narbonne_sm_0.050000_0.050000_ThetaProbe-ML2X_20070101_20070131.stm', skiprows=1, delim_whitespace=True, names=['date', 'time', 'variable','flag','orig_flag']) Out[4]: Empty DataFrame Columns: [date, time, variable, flag, orig_flag] Index: [] ``` ### 0.15.1 ``` In [1]: import pandas as pd In [2]: from pandas.util.print_versions import show_versions In [3]: show_versions() INSTALLED VERSIONS ------------------ commit: None python: 2.7.6.final.0 python-bits: 64 OS: Linux OS-release: 3.13.0-24-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.15.1 nose: 1.3.4 Cython: 0.21.1 numpy: 1.9.1 scipy: 0.14.0 statsmodels: 0.6.0 IPython: 2.3.1 sphinx: 1.2.3 patsy: 0.3.0 dateutil: 2.2 pytz: 2014.9 bottleneck: None tables: None numexpr: None matplotlib: 1.4.2 openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml: None bs4: None html5lib: None httplib2: None apiclient: None rpy2: None sqlalchemy: None pymysql: None psycopg2: None In [4]: pd.read_csv('https://raw.githubusercontent.com/TUW-GEO/pytesmo/master/tests/test_ismn/test_data/format_header_values/SMOSMANIA/SMOSMANIA_SMOSMANIA_Narbonne_sm_0.050000_0.050000_ThetaProbe-ML2X_20070101_20070131.stm', skiprows=1, delim_whitespace=True, names=['date', 'time', 'variable','flag','orig_flag']) Out[4]: date time variable flag orig_flag 0 2007/01/01 01:00 0.2140 U M 1 2007/01/01 02:00 0.2140 U M 2 2007/01/01 03:00 0.2140 U M 3 2007/01/01 04:00 0.2140 U M 4 2007/01/01 05:00 0.2140 U M 5 2007/01/01 06:00 0.2140 U M 6 2007/01/01 07:00 0.2135 U M 7 2007/01/01 08:00 0.2135 U M 8 2007/01/01 09:00 0.2135 U M 9 2007/01/01 10:00 0.2140 U M 10 2007/01/01 11:00 0.2140 U M 11 2007/01/01 12:00 0.2145 U M 12 2007/01/01 13:00 0.2149 U M 13 2007/01/01 14:00 0.2149 U M 14 2007/01/01 15:00 0.2149 U M 15 2007/01/01 16:00 0.2145 U M 16 2007/01/01 17:00 0.2135 U M 17 2007/01/01 18:00 0.2130 U M 18 2007/01/01 19:00 0.2130 U M 19 2007/01/01 20:00 0.2126 U M 20 2007/01/01 21:00 0.2121 U M 21 2007/01/01 22:00 0.2121 U NaN 22 2007/01/01 23:00 0.2116 U M 23 2007/01/02 00:00 0.2116 U M 24 2007/01/02 01:00 0.2112 U M 25 2007/01/02 02:00 0.2107 U M 26 2007/01/02 03:00 0.2107 U M 27 2007/01/02 04:00 0.2102 U M 28 2007/01/02 05:00 0.2098 U M 29 2007/01/02 06:00 0.2098 U M .. ... ... ... ... ... 711 2007/01/30 18:00 0.1538 U M 712 2007/01/30 19:00 0.1534 U M 713 2007/01/30 20:00 0.1534 U M 714 2007/01/30 21:00 0.1534 U M 715 2007/01/30 22:00 0.1534 U M 716 2007/01/30 23:00 0.1534 U M 717 2007/01/31 00:00 0.1534 U M 718 2007/01/31 01:00 0.1531 U M 719 2007/01/31 02:00 0.1531 U M 720 2007/01/31 03:00 0.1527 U M 721 2007/01/31 04:00 0.1527 U M 722 2007/01/31 05:00 0.1524 U M 723 2007/01/31 06:00 0.1524 U M 724 2007/01/31 07:00 0.1524 U M 725 2007/01/31 08:00 0.1521 U M 726 2007/01/31 09:00 0.1521 U M 727 2007/01/31 10:00 0.1521 U M 728 2007/01/31 11:00 0.1524 U M 729 2007/01/31 12:00 0.1527 U M 730 2007/01/31 13:00 0.1534 U M 731 2007/01/31 14:00 0.1541 U M 732 2007/01/31 15:00 0.1545 U M 733 2007/01/31 16:00 0.1541 U M 734 2007/01/31 17:00 0.1538 U M 735 2007/01/31 18:00 0.1534 U M 736 2007/01/31 19:00 0.1531 U M 737 2007/01/31 20:00 0.1527 U M 738 2007/01/31 21:00 0.1527 U M 739 2007/01/31 22:00 0.1524 U M 740 2007/01/31 23:00 0.1524 U M [741 rows x 5 columns] ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9079/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9079/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9080
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9080/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9080/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9080/events
https://github.com/pandas-dev/pandas/issues/9080
51,989,999
MDU6SXNzdWU1MTk4OTk5OQ==
9,080
Problem assigning values to a 1d slice of Panel with MultiIndex along major axis
{ "avatar_url": "https://avatars.githubusercontent.com/u/9717992?v=4", "events_url": "https://api.github.com/users/eoincondron/events{/privacy}", "followers_url": "https://api.github.com/users/eoincondron/followers", "following_url": "https://api.github.com/users/eoincondron/following{/other_user}", "gists_url": "https://api.github.com/users/eoincondron/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/eoincondron", "id": 9717992, "login": "eoincondron", "node_id": "MDQ6VXNlcjk3MTc5OTI=", "organizations_url": "https://api.github.com/users/eoincondron/orgs", "received_events_url": "https://api.github.com/users/eoincondron/received_events", "repos_url": "https://api.github.com/users/eoincondron/repos", "site_admin": false, "starred_url": "https://api.github.com/users/eoincondron/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/eoincondron/subscriptions", "type": "User", "url": "https://api.github.com/users/eoincondron" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": 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
2014-12-15T14:13:23Z
2018-07-06T20:21:06Z
2017-07-10T21:06:29Z
NONE
null
I've encountered a problem when using .loc and .iloc to assign values to a 1D slice of a Panel when the axis in the direction of the slice has a MulitIndex. Here is a simple example to demonstrate: ``` import pandas as pd import numpy as np pn = pd.Panel(np.zeros((3, 3, 3))) pn.loc[0, :, 0] = [1, 2, 3] pn.major_axis = pd.MultiIndex.from_tuples(zip([1, 2, 3], list('abc'))) pn.loc[0, :, 0] = [1, 2, 3] ``` Running this code gives an IndexError at the last line with the message 'tuple index out of range'. Note how the error is only raised after the major axis has been set with the MulitIndex. Using .iloc or .ix instead produces the same error. A similar procedure using either of the other two axes produces no error. Pandas version is 0.15.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/9080/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9080/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9081
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9081/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9081/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9081/events
https://github.com/pandas-dev/pandas/issues/9081
51,991,589
MDU6SXNzdWU1MTk5MTU4OQ==
9,081
ENH: Adapt window size of rolling statistics for first values
{ "avatar_url": "https://avatars.githubusercontent.com/u/6635129?v=4", "events_url": "https://api.github.com/users/chennipman/events{/privacy}", "followers_url": "https://api.github.com/users/chennipman/followers", "following_url": "https://api.github.com/users/chennipman/following{/other_user}", "gists_url": "https://api.github.com/users/chennipman/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/chennipman", "id": 6635129, "login": "chennipman", "node_id": "MDQ6VXNlcjY2MzUxMjk=", "organizations_url": "https://api.github.com/users/chennipman/orgs", "received_events_url": "https://api.github.com/users/chennipman/received_events", "repos_url": "https://api.github.com/users/chennipman/repos", "site_admin": false, "starred_url": "https://api.github.com/users/chennipman/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/chennipman/subscriptions", "type": "User", "url": "https://api.github.com/users/chennipman" }
[ { "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": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" } ]
closed
false
null
[]
null
3
2014-12-15T14:28:43Z
2014-12-23T18:28:36Z
2014-12-23T18:28:36Z
NONE
null
Now rolling functions like _rolling_mean_ give NaN's if the window size is outside the input series. I would like to have an extra option that the window size shrinkes if the window is outside the input series. Or to put it different: use an expanding mean for the first values and the rolling mean for all the intermediate values. Below an example of such a code and my workaround. ``` python import pandas as pd import numpy as np import matplotlib.pyplot as plt #%% create data df = pd.DataFrame() data = np.cumsum(np.random.random(10)-0.5) df['data'] = data #%% do the calculations # now: window_size = 5 df['rolling_mean'] = pd.rolling_mean(df['data'], window=window_size) # or: df['expanding']= pd.expanding_mean(df['data'],) # what I wont df['whatIwant'] = df['rolling_mean'].fillna(df['expanding']) #%% create picture fig, ax = plt.subplots() ax.plot(df.index, df['data'], lw=5, label='data') ax.plot(df.index, df['rolling_mean'], lw=5, label='rolling mean') ax.plot(df.index, df['expanding'], lw=5, label='expanding') ax.plot(df.index, df['whatIwant'], lw=2, label='what I want') ax.legend() ``` This workaround works quite good, and is sort of clear. But if _rolling_mean_ is used in combination with _center=True_ this becomes more complicated. This workaround is also not very usefull when some data is missing. I think pandas can be improved by adding this option into the rolling_statistics functions. Disclaimer: This is the first issue ever that I add.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9081/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9081/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9082
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9082/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9082/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9082/events
https://github.com/pandas-dev/pandas/issues/9082
51,996,222
MDU6SXNzdWU1MTk5NjIyMg==
9,082
BUG: "index_col=False" not working when "usecols" is specified in read_csv
{ "avatar_url": "https://avatars.githubusercontent.com/u/296164?v=4", "events_url": "https://api.github.com/users/jseabold/events{/privacy}", "followers_url": "https://api.github.com/users/jseabold/followers", "following_url": "https://api.github.com/users/jseabold/following{/other_user}", "gists_url": "https://api.github.com/users/jseabold/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jseabold", "id": 296164, "login": "jseabold", "node_id": "MDQ6VXNlcjI5NjE2NA==", "organizations_url": "https://api.github.com/users/jseabold/orgs", "received_events_url": "https://api.github.com/users/jseabold/received_events", "repos_url": "https://api.github.com/users/jseabold/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jseabold/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jseabold/subscriptions", "type": "User", "url": "https://api.github.com/users/jseabold" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "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.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
4
2014-12-15T15:08:08Z
2017-02-02T19:38:14Z
2015-01-10T17:33:40Z
CONTRIBUTOR
null
Wes' old [blog post](http://wesmckinney.com/blog/update-on-upcoming-pandas-v0-10-new-file-parser-other-performance-wins/) indicates that you can read the malformed FEC data by passing `index_col=False`, the docstring for read_csv seems to also say this. It doesn't look like this works anymore? ``` [9]: cat test.csv cmte_id,cand_id,cand_nm,contbr_nm,contbr_city,contbr_st,contbr_zip,contbr_employer,contbr_occupation,contb_receipt_amt,contb_receipt_dt,receipt_desc,memo_cd,memo_text,form_tp,file_num,tran_id,election_tp C00410118,"P20002978","Bachmann, Michele","HARVEY, WILLIAM","MOBILE","AL","366010290","RETIRED","RETIRED",250,20-JUN-11,"","","","SA17A","736166","A1FDABC23D2D545A1B83","P2012", C00410118,"P20002978","Bachmann, Michele","HARVEY, WILLIAM","MOBILE","AL","366010290","RETIRED","RETIRED",50,23-JUN-11,"","","","SA17A","736166","A899B9B0E223743EFA63","P2012", [10]: cols = ['cand_nm', 'contbr_st', 'contbr_employer', 'contb_receipt_amt', 'contbr_occupation', 'contb_receipt_amt', 'contb_receipt_dt'] # raises an error pd.read_csv("test.csv", usecols=cols, index_col=False) # gets "incorrect" columns pd.read_csv("test.csv", usecols=cols) ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9082/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9082/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9083
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9083/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9083/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9083/events
https://github.com/pandas-dev/pandas/issues/9083
51,998,905
MDU6SXNzdWU1MTk5ODkwNQ==
9,083
BUG: error in handling a sqlalchemy type with arguments (instantiated type, not class)
{ "avatar_url": "https://avatars.githubusercontent.com/u/5238649?v=4", "events_url": "https://api.github.com/users/pilotstew/events{/privacy}", "followers_url": "https://api.github.com/users/pilotstew/followers", "following_url": "https://api.github.com/users/pilotstew/following{/other_user}", "gists_url": "https://api.github.com/users/pilotstew/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/pilotstew", "id": 5238649, "login": "pilotstew", "node_id": "MDQ6VXNlcjUyMzg2NDk=", "organizations_url": "https://api.github.com/users/pilotstew/orgs", "received_events_url": "https://api.github.com/users/pilotstew/received_events", "repos_url": "https://api.github.com/users/pilotstew/repos", "site_admin": false, "starred_url": "https://api.github.com/users/pilotstew/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pilotstew/subscriptions", "type": "User", "url": "https://api.github.com/users/pilotstew" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "to_sql, read_sql, read_sql_query", "id": 47232590, "name": "IO SQL", "node_id": "MDU6TGFiZWw0NzIzMjU5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL" } ]
closed
false
null
[]
{ "closed_at": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "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.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
13
2014-12-15T15:29:25Z
2018-05-19T05:43:47Z
2014-12-24T10:36:06Z
NONE
null
I'm trying to use DataFrame().to_sql to input a time aware dataframe series. Here is an example of my code. ``` times = ['201412120154', '201412110254'] df = pd.DataFrame() df['time'] = pd.to_datetime(times, utc=True) df.time.to_sql('test', engine, dtype={'time': sqlalchemy.TIMESTAMP(timezone=True)}) ``` The error I recieve is: ``` TypeError: issubclass() arg 1 must be a class ``` The following code works but obviously results in a postgresql column that is not timezone aware. ``` times = ['201412120154', '201412110254'] df = pd.DataFrame() df['time'] = pd.to_datetime(times, utc=True) df.time.to_sql('test', engine, dtype={'time': sqlalchemy.TIMESTAMP}) ``` I'm using python 2.7, pandas 0.15.2, postsgresql 9.3 and SQLAlchemy 0.9.7. This same issue also occurs with sqlalchemy.DATETIME(timezone=True) vs sqlalchemy.DATETIME Full Traceback: ``` --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-161-ec79a553e6d0> in <module>() ----> 1 df.time.to_sql('test', w.engine, dtype={'time': sqlalchemy.TIMESTAMP(timezone=True)}) /home/stew/.pyenv/versions/p276/lib/python2.7/site-packages/pandas/core/generic.pyc in to_sql(self, name, con, flavor, schema, if_exists, index, index_label, chunksize, dtype) 964 self, name, con, flavor=flavor, schema=schema, if_exists=if_exists, 965 index=index, index_label=index_label, chunksize=chunksize, --> 966 dtype=dtype) 967 968 def to_pickle(self, path): /home/stew/.pyenv/versions/p276/lib/python2.7/site-packages/pandas/io/sql.pyc in to_sql(frame, name, con, flavor, schema, if_exists, index, index_label, chunksize, dtype) 536 pandas_sql.to_sql(frame, name, if_exists=if_exists, index=index, 537 index_label=index_label, schema=schema, --> 538 chunksize=chunksize, dtype=dtype) 539 540 /home/stew/.pyenv/versions/p276/lib/python2.7/site-packages/pandas/io/sql.pyc in to_sql(self, frame, name, if_exists, index, index_label, schema, chunksize, dtype) 1162 import sqlalchemy.sql.type_api as type_api 1163 for col, my_type in dtype.items(): -> 1164 if not issubclass(my_type, type_api.TypeEngine): 1165 raise ValueError('The type of %s is not a SQLAlchemy ' 1166 'type ' % col) TypeError: issubclass() arg 1 must be a class ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9083/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9083/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9084
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9084/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9084/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9084/events
https://github.com/pandas-dev/pandas/issues/9084
52,006,098
MDU6SXNzdWU1MjAwNjA5OA==
9,084
ENH: support index=True for SQL io.sql.get_schema
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "5319e7", "default": false, "description": "to_sql, read_sql, read_sql_query", "id": 47232590, "name": "IO SQL", "node_id": "MDU6TGFiZWw0NzIzMjU5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL" } ]
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" }
2
2014-12-15T16:21:49Z
2021-04-12T04:38:51Z
null
MEMBER
null
`pd.io.sql.get_schema` can be used to see the schema 'create table' statement. This function should support including the index (which is actually the default for `to_sql`) ``` In [31]: df = pd.DataFrame({'col':[1,2,3]}, index=pd.date_range('2012-01-01', periods=3)) In [33]: print pd.io.sql.get_schema(df, 'test_schema', con=engine_postgres) CREATE TABLE test_schema ( col BIGINT ) In [34]: print pd.io.sql.get_schema(df.reset_index(), 'test_schema', con=engine_postgres) CREATE TABLE test_schema ( index TIMESTAMP WITHOUT TIME ZONE, col BIGINT ) ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9084/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9084/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9085
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9085/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9085/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9085/events
https://github.com/pandas-dev/pandas/issues/9085
52,008,988
MDU6SXNzdWU1MjAwODk4OA==
9,085
BUG: Timestamps in object column not written as DateTime data in to_sql
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "5319e7", "default": false, "description": "to_sql, read_sql, read_sql_query", "id": 47232590, "name": "IO SQL", "node_id": "MDU6TGFiZWw0NzIzMjU5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL" } ]
closed
false
null
[]
{ "closed_at": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "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.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
0
2014-12-15T16:44:17Z
2014-12-20T22:30:13Z
2014-12-20T22:30:13Z
MEMBER
null
When you have datetime data with timezone info attached, the data is stored as `Timestamp` objects in a `object` dtyped column, instead of in a ´datetime64´ column (as this cannot hold the timezone info). But, this causes `to_sql` to gives this the `TEXT` type: With a postgresql engine: ``` In [48]: times = ['201412120154', '201412110254'] ....: df = pd.DataFrame() ....: df['time'] = pd.to_datetime(times, utc=True) In [49]: df Out[49]: time 0 2014-12-12 01:54:00+00:00 1 2014-12-11 02:54:00+00:00 In [50]: df.dtypes Out[50]: time object dtype: object In [51]: df.time.values Out[51]: array([Timestamp('2014-12-12 01:54:00+0000', tz='UTC'), Timestamp('2014-12-11 02:54:00+0000', tz='UTC')], dtype=object) In [53]: print pd.io.sql.get_schema(df, 'test', con=engine_postgres) CREATE TABLE test ( time TEXT ) ``` This is because: ``` In [54]: pd.lib.infer_dtype(df['time']) Out[54]: 'datetime' ``` instead of `datetime64`, and this case is not handled at the moment.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9085/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9085/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9086
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9086/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9086/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9086/events
https://github.com/pandas-dev/pandas/issues/9086
52,009,689
MDU6SXNzdWU1MjAwOTY4OQ==
9,086
ENH/SQL: support writing timestamps with timezone in to_sql
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "5319e7", "default": false, "description": "to_sql, read_sql, read_sql_query", "id": 47232590, "name": "IO SQL", "node_id": "MDU6TGFiZWw0NzIzMjU5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL" }, { "color": "5319e7", "default": false, "description": "Timezone data dtype", "id": 60458168, "name": "Timezones", "node_id": "MDU6TGFiZWw2MDQ1ODE2OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones" } ]
closed
false
null
[]
{ "closed_at": "2019-01-26T00:51:26Z", "closed_issues": 2048, "created_at": "2018-03-29T12:00:12Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "", "due_on": "2019-01-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/55", "id": 3228419, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/55/labels", "node_id": "MDk6TWlsZXN0b25lMzIyODQxOQ==", "number": 55, "open_issues": 0, "state": "closed", "title": "0.24.0", "updated_at": "2019-01-29T07:42:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/55" }
2
2014-12-15T16:49:41Z
2018-11-08T14:55:50Z
2018-11-08T14:55:50Z
MEMBER
null
This currently works a bit for datetime values in the index (not in the columns, reason for this is that is then are object columns: #9085). I say 'a bit', as it does give a 'timestamp with time zone' type (example for postgresql), but it is the time localized in your local timezone (I suppose because this is the way numpy works on input/output of datetimes). In any case, also the code here (https://github.com/pydata/pandas/blob/v0.15.2/pandas/io/sql.py#L916) is not working (as columns never have a `tzinfo` attribute), and there are also no tests for this. So in practice, timezones are not yet supported.
{ "+1": 5, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 5, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9086/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9086/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9087
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9087/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9087/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9087/events
https://github.com/pandas-dev/pandas/issues/9087
52,010,877
MDU6SXNzdWU1MjAxMDg3Nw==
9,087
SQL: test with oldest supported sqlalchemy
{ "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": "5319e7", "default": false, "description": "to_sql, read_sql, read_sql_query", "id": 47232590, "name": "IO SQL", "node_id": "MDU6TGFiZWw0NzIzMjU5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
2
2014-12-15T16:58:53Z
2019-12-30T18:51:39Z
2019-12-30T18:51:39Z
MEMBER
null
Noticed when looking at #9083 that we used an sqlalchemy feature in #8926 that is not supported in at least sqlalchemy Concrete, it is about `import sqlalchemy.sql.type_api as type_api` (https://github.com/pydata/pandas/blob/v0.15.2/pandas/io/sql.py#L1162). I cannot import this 0.8.2 (and in any case, this should better be `sqlalchemy.types.TypeEngine` instead of `type_api.TypeEngine`) We should check if we test older slqalchemy versions (0.8.x series, or even 0.7.x series?), or why this has not been caught by the tests.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9087/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9087/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9088
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9088/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9088/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9088/events
https://github.com/pandas-dev/pandas/issues/9088
52,034,961
MDU6SXNzdWU1MjAzNDk2MQ==
9,088
DOC/BUG: Pandas Adds a Dashed Line in Bar Plot (unnecessarily?)
{ "avatar_url": "https://avatars.githubusercontent.com/u/684965?v=4", "events_url": "https://api.github.com/users/joehand/events{/privacy}", "followers_url": "https://api.github.com/users/joehand/followers", "following_url": "https://api.github.com/users/joehand/following{/other_user}", "gists_url": "https://api.github.com/users/joehand/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/joehand", "id": 684965, "login": "joehand", "node_id": "MDQ6VXNlcjY4NDk2NQ==", "organizations_url": "https://api.github.com/users/joehand/orgs", "received_events_url": "https://api.github.com/users/joehand/received_events", "repos_url": "https://api.github.com/users/joehand/repos", "site_admin": false, "starred_url": "https://api.github.com/users/joehand/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/joehand/subscriptions", "type": "User", "url": "https://api.github.com/users/joehand" }
[ { "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": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" } ]
closed
false
null
[]
{ "closed_at": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "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.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
3
2014-12-15T20:32:57Z
2015-01-19T13:21:47Z
2015-01-19T13:21:47Z
NONE
null
When using `df.plot(kind='bar')` pandas adds a dotted line to the x-axis (`kind='barh'`, line is added to y-axis). Why is the dotted line added ([line in the code](https://github.com/pydata/pandas/blob/master/pandas/tools/plotting.py#L1899))? This line is undocumented and there is no way to remove it without a hack. It'd be nice to have it documented (if it is necessary) or removed.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9088/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9088/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9089
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9089/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9089/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9089/events
https://github.com/pandas-dev/pandas/issues/9089
52,040,557
MDU6SXNzdWU1MjA0MDU1Nw==
9,089
Period.end_time should be exclusive or Period should provide duration property
{ "avatar_url": "https://avatars.githubusercontent.com/u/10038333?v=4", "events_url": "https://api.github.com/users/malina-kirn/events{/privacy}", "followers_url": "https://api.github.com/users/malina-kirn/followers", "following_url": "https://api.github.com/users/malina-kirn/following{/other_user}", "gists_url": "https://api.github.com/users/malina-kirn/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/malina-kirn", "id": 10038333, "login": "malina-kirn", "node_id": "MDQ6VXNlcjEwMDM4MzMz", "organizations_url": "https://api.github.com/users/malina-kirn/orgs", "received_events_url": "https://api.github.com/users/malina-kirn/received_events", "repos_url": "https://api.github.com/users/malina-kirn/repos", "site_admin": false, "starred_url": "https://api.github.com/users/malina-kirn/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/malina-kirn/subscriptions", "type": "User", "url": "https://api.github.com/users/malina-kirn" }
[ { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "eb6420", "default": false, "description": "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": 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" }
7
2014-12-15T21:24:10Z
2018-11-16T19:36:06Z
2018-11-16T17:24:13Z
NONE
null
A user may expect that the end_time of a Period minus the start_time of a Period returns its duration. Unfortunately, the end_time of a Period is inclusive, consequently, subtracting start from end yields an incorrect period duration: ``` jan = Period('2014-01', freq='M') (jan.end_time - jan.start_time).days # returns 30, not 31 ``` This can be manually rectified by the user: ``` jan = Period('2014-01', freq='M') (Timestamp(jan.end_time.value + 1) - jan.start_time).days # correctly returns 31 ``` However, this is not intuitive. The end_time should either be exclusive or Period should provide a duration property. Although a strong argument can be made that the definitions of duration, start_time, and end_time should all be consistent, changing the end_time definition to exclusive is a significant modification of long-standing behavior. Consequently, I propose the addition of a duration property that is logically inconsistent with subtracting start_time from end_time.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9089/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9089/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9090
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9090/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9090/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9090/events
https://github.com/pandas-dev/pandas/pull/9090
52,059,006
MDExOlB1bGxSZXF1ZXN0MjYxMTQ0MDM=
9,090
Fixes .nth() with groupby multiple columns
{ "avatar_url": "https://avatars.githubusercontent.com/u/660712?v=4", "events_url": "https://api.github.com/users/benjschiller/events{/privacy}", "followers_url": "https://api.github.com/users/benjschiller/followers", "following_url": "https://api.github.com/users/benjschiller/following{/other_user}", "gists_url": "https://api.github.com/users/benjschiller/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/benjschiller", "id": 660712, "login": "benjschiller", "node_id": "MDQ6VXNlcjY2MDcxMg==", "organizations_url": "https://api.github.com/users/benjschiller/orgs", "received_events_url": "https://api.github.com/users/benjschiller/received_events", "repos_url": "https://api.github.com/users/benjschiller/repos", "site_admin": false, "starred_url": "https://api.github.com/users/benjschiller/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/benjschiller/subscriptions", "type": "User", "url": "https://api.github.com/users/benjschiller" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" } ]
closed
false
null
[]
{ "closed_at": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "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.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
5
2014-12-16T00:37:56Z
2015-01-02T16:29:36Z
2015-01-02T16:29:36Z
NONE
null
closes #8979 Let me know if this makes sense Problem mentioned in issue 8979 too
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9090/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9090/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/9090.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/9090", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/9090.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9090" }
https://api.github.com/repos/pandas-dev/pandas/issues/9091
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9091/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9091/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9091/events
https://github.com/pandas-dev/pandas/issues/9091
52,064,845
MDU6SXNzdWU1MjA2NDg0NQ==
9,091
Panel.describe() method documented but raises NotImplementedError
{ "avatar_url": "https://avatars.githubusercontent.com/u/292855?v=4", "events_url": "https://api.github.com/users/hobson/events{/privacy}", "followers_url": "https://api.github.com/users/hobson/followers", "following_url": "https://api.github.com/users/hobson/following{/other_user}", "gists_url": "https://api.github.com/users/hobson/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hobson", "id": 292855, "login": "hobson", "node_id": "MDQ6VXNlcjI5Mjg1NQ==", "organizations_url": "https://api.github.com/users/hobson/orgs", "received_events_url": "https://api.github.com/users/hobson/received_events", "repos_url": "https://api.github.com/users/hobson/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hobson/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hobson/subscriptions", "type": "User", "url": "https://api.github.com/users/hobson" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
3
2014-12-16T02:03:07Z
2018-07-06T20:21:06Z
2017-07-10T21:06:38Z
NONE
null
Panel.describe() docs for v15.2 [here](http://pandas.pydata.org/pandas-docs/stable/generated/pandas.Panel.describe.html) **Environment:** fedora 20 pandas 15.2 Python 2.7.5 IPython 2.3.0 **To duplicate:** ``` $ pip install --upgrade pandas In [8]: thresh = pd.Panel({'1': pd.DataFrame(pd.np.arange(2,3)), '2': pd.DataFrame(pd.np.arange(1,2))}) In [9]: thresh Out[9]: <class 'pandas.core.panel.Panel'> Dimensions: 2 (items) x 1 (major_axis) x 1 (minor_axis) Items axis: 1 to 2 Major_axis axis: 0 to 0 Minor_axis axis: 0 to 0 In [10]: thresh['1'].describe() Out[10]: 0 count 1 mean 2 std NaN min 2 25% 2 50% 2 75% 2 max 2 In [11]: thresh.describe() --------------------------------------------------------------------------- NotImplementedError Traceback (most recent call last) /usr/src/projects/predict/predict/webapp/dashboard/models.pyc in <module>() ----> 1 thresh.describe() /usr/local/share/.virtualenvs/predict/lib/python2.7/site-packages/pandas/core/generic.pyc in describe(self, percentile_width, percentiles, include, exclude) 3748 if self.ndim >= 3: 3749 msg = "describe is not implemented on on Panel or PanelND objects." -> 3750 raise NotImplementedError(msg) 3751 3752 if percentile_width is not None and percentiles is not None: NotImplementedError: describe is not implemented on on Panel or PanelND objects. In [12]: pd.__version__ Out[12]: '0.15.2' In [13]: type(thresh) Out[13]: pandas.core.panel.Panel ```
{ "+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/9091/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9091/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9092
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9092/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9092/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9092/events
https://github.com/pandas-dev/pandas/issues/9092
52,066,930
MDU6SXNzdWU1MjA2NjkzMA==
9,092
Unexpected behaviour / potential bug in Dataframe.shift() with duplicated column titles
{ "avatar_url": "https://avatars.githubusercontent.com/u/9305529?v=4", "events_url": "https://api.github.com/users/koschink/events{/privacy}", "followers_url": "https://api.github.com/users/koschink/followers", "following_url": "https://api.github.com/users/koschink/following{/other_user}", "gists_url": "https://api.github.com/users/koschink/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/koschink", "id": 9305529, "login": "koschink", "node_id": "MDQ6VXNlcjkzMDU1Mjk=", "organizations_url": "https://api.github.com/users/koschink/orgs", "received_events_url": "https://api.github.com/users/koschink/received_events", "repos_url": "https://api.github.com/users/koschink/repos", "site_admin": false, "starred_url": "https://api.github.com/users/koschink/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/koschink/subscriptions", "type": "User", "url": "https://api.github.com/users/koschink" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" } ]
closed
false
null
[]
{ "closed_at": "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" }
6
2014-12-16T02:38:35Z
2017-07-02T17:39:17Z
2017-07-02T17:38:59Z
NONE
null
Hi, I have recently come across an unexpexted behaviour of the dataframe "shift" function. When column titles are duplicated (or present more often), a column-specific shift using index-based positioning (by "iloc") does not only shift the specified columns, but all columns sharing the same name. From the behaviour I guess that internally, the column names and not the indices are used, causing all identically named columns to shift. This behaviour did not occur (at least to my knowledge ) with v. 0.13, but is present in both 0.15.1 and 0.15.2. Please find attached a small code snippet which demonstrates the behaviour, and the system information. Thanks a lot for any help Kay #### Begin example code ``` python from pandas import * import pandas as pd data = DataFrame(np.random.randn(20, 5)) # Generating a random data frame data2 = data.copy() data3 = data.copy() shifting_matrix = [1,2,3,4,5] # shifting matrix - we want to shift the columns by these values #Shifting the columns: Expected behaviour. Column 1 is shifter by 1, Column 2 by 2 and so on for position, movement in enumerate(shifting_matrix): print position print movement data.iloc[:, position] = data.iloc[:,position].shift(movement) ## Changing the titles of the dataframe titles = [1,1,1,1,1] data2.columns = titles # Shifting the columns again. Since we are using index based positions, the shifting behaviour should be the same as above for position, movement in enumerate(shifting_matrix): print position print movement data2.iloc[:, position] = data2.iloc[:,position].shift(movement) titles2 = [1,1,2,2,1] # Making mixed column titles, duplicating data3.columns = titles2 # Shifting the columns again. Since we are using index based positions, the shifting behaviour should be the same as above for position, movement in enumerate(shifting_matrix): print position print movement data3.iloc[:, position] = data3.iloc[:,position].shift(movement) print data print data2 print data3 ``` #### End example code ## INSTALLED VERSIONS commit: None python: 2.7.6.final.0 python-bits: 32 OS: Windows OS-release: 7 machine: AMD64 processor: Intel64 Family 6 Model 58 Stepping 9, GenuineIntel byteorder: little LC_ALL: None LANG: nb_NO pandas: 0.15.2 nose: 1.3.3 Cython: 0.20.1 numpy: 1.8.1 scipy: 0.14.0 statsmodels: 0.5.0 IPython: 2.1.0 sphinx: 1.2.2 patsy: 0.2.1 dateutil: 2.2 pytz: 2014.3 bottleneck: 0.8.0 tables: None numexpr: 2.4 matplotlib: 1.3.1 openpyxl: 2.1.0 xlrd: None xlwt: 0.7.5 xlsxwriter: 0.5.8 lxml: 3.3.5 bs4: 4.3.2 html5lib: 0.999 httplib2: None apiclient: None rpy2: None sqlalchemy: 0.9.4 pymysql: None psycopg2: None
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9092/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9092/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9093
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9093/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9093/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9093/events
https://github.com/pandas-dev/pandas/issues/9093
52,084,453
MDU6SXNzdWU1MjA4NDQ1Mw==
9,093
[Feature Request] Add concise xlabel=, ylabel=, option in plot() method
{ "avatar_url": "https://avatars.githubusercontent.com/u/1189869?v=4", "events_url": "https://api.github.com/users/xgdgsc/events{/privacy}", "followers_url": "https://api.github.com/users/xgdgsc/followers", "following_url": "https://api.github.com/users/xgdgsc/following{/other_user}", "gists_url": "https://api.github.com/users/xgdgsc/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/xgdgsc", "id": 1189869, "login": "xgdgsc", "node_id": "MDQ6VXNlcjExODk4Njk=", "organizations_url": "https://api.github.com/users/xgdgsc/orgs", "received_events_url": "https://api.github.com/users/xgdgsc/received_events", "repos_url": "https://api.github.com/users/xgdgsc/repos", "site_admin": false, "starred_url": "https://api.github.com/users/xgdgsc/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/xgdgsc/subscriptions", "type": "User", "url": "https://api.github.com/users/xgdgsc" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" }, { "color": "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": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
9
2014-12-16T08:15:59Z
2020-06-26T00:37:09Z
2020-06-26T00:37:09Z
CONTRIBUTOR
null
The current [plot()](http://pandas.pydata.org/pandas-docs/version/0.15.1/generated/pandas.DataFrame.plot.html#pandas.DataFrame.plot) method for Dataframe cannot set the x/y label in it. [Result](http://stackoverflow.com/questions/21487329/add-x-and-y-labels-to-a-pandas-plot?lq=1) is more lines of code for just doing this. As someone commented in that post: > Is there a particular reason why x and y labels can't be added as arguments to pd.plot()? Given the additional concision of pd.plot() over plt.plot() it seems it would make sense to make it even more succinct instead of having to call ax.set_ylabel()
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9093/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9093/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9094
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9094/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9094/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9094/events
https://github.com/pandas-dev/pandas/issues/9094
52,109,643
MDU6SXNzdWU1MjEwOTY0Mw==
9,094
API: datetimeindex subtraction
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "5319e7", "default": false, "description": "Timedelta data type", "id": 49597148, "name": "Timedelta", "node_id": "MDU6TGFiZWw0OTU5NzE0OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta" } ]
closed
false
null
[]
{ "closed_at": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "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.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
14
2014-12-16T12:58:35Z
2016-09-13T21:34:01Z
2015-03-11T10:21:41Z
CONTRIBUTOR
null
from [SO](http://stackoverflow.com/questions/27502406/convert-pandas-datetimeindex-to-fractional-day-of-year) and previous discussions currently you cannot subtract 2 datetimeindexes ('-' is actually a set op). This is the ONLY valid numerical type of operation (e.g. you cannot add dti). We current support pretty much the fully gamut of obvious ops, with `dti-dti` being the exception. full list of tests are here: https://github.com/pydata/pandas/blob/master/pandas/tseries/tests/test_base.py#L434 I will propose `dti.sub(dti)` to rectify this thoughts
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9094/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9094/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9095
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9095/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9095/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9095/events
https://github.com/pandas-dev/pandas/issues/9095
52,183,033
MDU6SXNzdWU1MjE4MzAzMw==
9,095
v0.15.1 breaks index set operations
{ "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": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
closed
false
null
[]
{ "closed_at": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "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.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
12
2014-12-16T23:41:59Z
2015-03-11T10:21:41Z
2015-03-11T10:21:41Z
MEMBER
null
In 0.15.0, the `-` index set operation raises a warning as is explained in the whatsnew docs: http://pandas.pydata.org/pandas-docs/stable/whatsnew.html#deprecations ``` In [1]: pd.__version__ Out[1]: '0.15.0' In [2]: idx = pd.Index([1,2]) In [3]: idx Out[3]: Int64Index([1, 2], dtype='int64') In [4]: idx - idx C:\Anaconda\envs\pandas0150\lib\site-packages\pandas\core\index.py:1162: FutureW arning: using '-' to provide set differences with Indexes is deprecated, use .di fference() "use .difference()",FutureWarning) Out[4]: Index([], dtype='object') In [6]: idx = pd.date_range('2012-01-01', periods=2) In [7]: idx - idx Out[7]: Index([], dtype='object') In [8]: idx = pd.Index([1.1,2]) In [10]: idx Out[10]: Float64Index([1.1, 2.0], dtype='float64') In [11]: idx - idx Out[11]: Index([], dtype='object') In [12]: idx = pd.Index(['a', 'b']) In [13]: idx - idx Out[13]: Index([], dtype='object') ``` But in 0.15.1: ``` In [1]: pd.__version__ Out[1]: '0.15.1' In [2]: idx = pd.Index([1,2]) In [3]: idx Out[3]: Int64Index([1, 2], dtype='int64') In [4]: idx - idx Out[4]: Int64Index([0, 0], dtype='int64') In [5]: idx = pd.date_range('2012-01-01', periods=2) In [6]: idx - idx Out[6]: Index([], dtype='object') In [7]: idx = pd.Index([1.1,2]) In [8]: idx - idx Out[8]: Float64Index([0.0, 0.0], dtype='float64') In [9]: idx = pd.Index(['a', 'b']) In [10]: idx - idx pandas\core\index.py:1172: FutureWarning: using '-' to provide set differences w ith Indexes is deprecated, use .difference() "use .difference()",FutureWarning) Out[10]: Index([], dtype='object') ``` So - for int/float index, it is a numeric operation and not set -> api break - for datetime it is set operation, but does not raise a warning - only for object (`Index` object itself) it raises the warning And the same on master (and 0.15.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/9095/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9095/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9096
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9096/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9096/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9096/events
https://github.com/pandas-dev/pandas/issues/9096
52,217,764
MDU6SXNzdWU1MjIxNzc2NA==
9,096
Groupby "negative dimensions are not allowed" error and bad key behaviour when there are NaNs values.
{ "avatar_url": "https://avatars.githubusercontent.com/u/1315429?v=4", "events_url": "https://api.github.com/users/jordeu/events{/privacy}", "followers_url": "https://api.github.com/users/jordeu/followers", "following_url": "https://api.github.com/users/jordeu/following{/other_user}", "gists_url": "https://api.github.com/users/jordeu/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jordeu", "id": 1315429, "login": "jordeu", "node_id": "MDQ6VXNlcjEzMTU0Mjk=", "organizations_url": "https://api.github.com/users/jordeu/orgs", "received_events_url": "https://api.github.com/users/jordeu/received_events", "repos_url": "https://api.github.com/users/jordeu/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jordeu/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jordeu/subscriptions", "type": "User", "url": "https://api.github.com/users/jordeu" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" } ]
closed
false
null
[]
{ "closed_at": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "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.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
10
2014-12-17T09:26:06Z
2020-07-06T11:30:42Z
2015-01-31T16:23:42Z
NONE
null
On a groupby with a composed key if the product of all possible values is bigger than 2^63 we get a `ValueError "negative dimensions are not allowed"` when we call `len(grouped_data)`. A simple version to reproduce it: ``` python values = range(55109) data = pd.DataFrame.from_dict({'a': values, 'b': values, 'c': values, 'd': values}) grouped = data.groupby(['a', 'b', 'c', 'd']) len(grouped) ``` A side effect of this error is that if there are NaN values as possible keys it won't ignore them, it will replace the NaN values with some other values present in the index. Here there is a complete IPython notebook example to reproduce it: http://nbviewer.ipython.org/gist/jordeu/cd86fc99f5f89451cf93
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9096/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9096/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9097
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9097/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9097/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9097/events
https://github.com/pandas-dev/pandas/issues/9097
52,219,664
MDU6SXNzdWU1MjIxOTY2NA==
9,097
TST: start testing with SQL server via appveyor CI
{ "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": "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" }, { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 278, "created_at": "2013-01-06T03:02:01Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)", "due_on": "2022-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/20", "id": 239227, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels", "node_id": "MDk6TWlsZXN0b25lMjM5MjI3", "number": 20, "open_issues": 108, "state": "open", "title": "Someday", "updated_at": "2021-08-08T01:48:22Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20" }
5
2014-12-17T09:47:00Z
2019-12-02T07:14:11Z
2019-12-01T21:19:03Z
MEMBER
null
http://www.appveyor.com/docs/services-databases We could add tests for SQL Server to test_sql.py, as AppVeyor supports this.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9097/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9097/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9098
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9098/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9098/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9098/events
https://github.com/pandas-dev/pandas/issues/9098
52,223,628
MDU6SXNzdWU1MjIyMzYyOA==
9,098
index_col and usecols do not work reliably together in read_csv
{ "avatar_url": "https://avatars.githubusercontent.com/u/212939?v=4", "events_url": "https://api.github.com/users/awhan/events{/privacy}", "followers_url": "https://api.github.com/users/awhan/followers", "following_url": "https://api.github.com/users/awhan/following{/other_user}", "gists_url": "https://api.github.com/users/awhan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/awhan", "id": 212939, "login": "awhan", "node_id": "MDQ6VXNlcjIxMjkzOQ==", "organizations_url": "https://api.github.com/users/awhan/orgs", "received_events_url": "https://api.github.com/users/awhan/received_events", "repos_url": "https://api.github.com/users/awhan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/awhan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/awhan/subscriptions", "type": "User", "url": "https://api.github.com/users/awhan" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
10
2014-12-17T10:24:44Z
2019-10-21T19:52:14Z
null
NONE
null
This code shows 3 situations. ``` python import pandas as pd from io import StringIO import random import sys def fun(s,n,u): random.seed(s) names = [str(e) for e in range(1, n)] data = ','.join([str(e) for e in names]) usecols = random.sample(names, u) index_col = random.choice(usecols) print('usecols', usecols) print('index_col', index_col) try: df = pd.read_csv(StringIO(data), names=names, usecols=usecols, index_col=index_col, header=None) print(df) except: print(sys.exc_info()) df = pd.read_csv(StringIO(data), names=names, usecols=usecols, header=None) df.set_index(index_col, inplace=True) print(df) print('--------------------------------------------------') fun(123, 10, 4) # exception fun(123, 10, 5) # works fun(123, 20, 4) # works BUT index name and value are not proper ``` here are the results fun(123, 10, 4), an exception occurs but when `index_col` is ommitted and later `set_index` is used then it works ok. ``` python usecols ['1', '5', '9', '4'] index_col 9 (<class 'IndexError'>, IndexError('list index out of range',), <traceback object at 0x7f129001a348>) 1 4 5 9 9 1 4 5 -------------------------------------------------- ``` fun(123, 10, 5), this worked ok. ``` python usecols ['1', '5', '9', '4', '3'] index_col 1 3 4 5 9 1 1 3 4 5 9 -------------------------------------------------- ``` fun(123, 20, 4), this worked ok but it picked up the wrong value for the index ``` python usecols ['2', '9', '3', '14'] index_col 3 2 3 14 3 9 2 3 14 -------------------------------------------------- ``` `pandas.__version__` is '0.15.2' 64 bit archlinux $ python --version Python 3.4.2
{ "+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/9098/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9098/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9099
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9099/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9099/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9099/events
https://github.com/pandas-dev/pandas/issues/9099
52,243,312
MDU6SXNzdWU1MjI0MzMxMg==
9,099
BUG: DataFrame constructor ignores copy=True argument if dtype is set
{ "avatar_url": "https://avatars.githubusercontent.com/u/407010?v=4", "events_url": "https://api.github.com/users/mairas/events{/privacy}", "followers_url": "https://api.github.com/users/mairas/followers", "following_url": "https://api.github.com/users/mairas/following{/other_user}", "gists_url": "https://api.github.com/users/mairas/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mairas", "id": 407010, "login": "mairas", "node_id": "MDQ6VXNlcjQwNzAxMA==", "organizations_url": "https://api.github.com/users/mairas/orgs", "received_events_url": "https://api.github.com/users/mairas/received_events", "repos_url": "https://api.github.com/users/mairas/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mairas/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mairas/subscriptions", "type": "User", "url": "https://api.github.com/users/mairas" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" } ]
closed
false
null
[]
{ "closed_at": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "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.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
2
2014-12-17T14:05:44Z
2014-12-20T20:05:52Z
2014-12-20T20:05:52Z
NONE
null
I just noticed that `DataFrame` constructor ignores the `copy=True` argument if `dtype` is set. In the code snippet below, the `orig` dataframe should stay unmodified after any modification of `new1` and `new2`. Instead, the columns of `new2` (or at least the first one as shown in the snippet) are references to the same data, as highlighted by the modification shown on statement 13 and onwards. ``` python In [1]: import numpy as np In [2]: import pandas as pd In [3]: pd.show_versions() INSTALLED VERSIONS ------------------ commit: None python: 2.7.8.final.0 python-bits: 64 OS: Linux OS-release: 3.16.0-25-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.15.2 nose: 1.3.4 Cython: 0.21.1 numpy: 1.9.1 scipy: 0.14.0 statsmodels: 0.4.3 IPython: 2.3.1 sphinx: 1.1.2 patsy: 0.3.0 dateutil: 2.3 pytz: 2014.10 bottleneck: 0.6.0 tables: None numexpr: 2.4 matplotlib: 1.3.1 openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml: None bs4: None html5lib: 0.999 httplib2: 0.7.4 apiclient: None rpy2: None sqlalchemy: 0.9.7 pymysql: None psycopg2: None In [4]: orig_data = { ...: 'col1': [1.], ...: 'col2': [2.], ...: 'col3': [3.],} In [5]: orig = pd.DataFrame(orig_data) In [6]: new1 = pd.DataFrame(orig, copy=True) In [7]: new2 = pd.DataFrame(orig, dtype=float, copy=True) In [8]: new1 Out[8]: col1 col2 col3 0 1 2 3 In [9]: new2 Out[9]: col1 col2 col3 0 1 2 3 In [10]: new1['col1'] = 100. In [11]: new1 Out[11]: col1 col2 col3 0 100 2 3 In [12]: orig Out[12]: col1 col2 col3 0 1 2 3 In [13]: new2['col1'] = 200. In [14]: new2 Out[14]: col1 col2 col3 0 200 2 3 In [15]: orig Out[15]: col1 col2 col3 0 200 2 3 In [16]: ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9099/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9099/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9100
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9100/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9100/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9100/events
https://github.com/pandas-dev/pandas/issues/9100
52,273,870
MDU6SXNzdWU1MjI3Mzg3MA==
9,100
0.15.2: Iteration over datetime index
{ "avatar_url": "https://avatars.githubusercontent.com/u/5361193?v=4", "events_url": "https://api.github.com/users/Oxtay/events{/privacy}", "followers_url": "https://api.github.com/users/Oxtay/followers", "following_url": "https://api.github.com/users/Oxtay/following{/other_user}", "gists_url": "https://api.github.com/users/Oxtay/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Oxtay", "id": 5361193, "login": "Oxtay", "node_id": "MDQ6VXNlcjUzNjExOTM=", "organizations_url": "https://api.github.com/users/Oxtay/orgs", "received_events_url": "https://api.github.com/users/Oxtay/received_events", "repos_url": "https://api.github.com/users/Oxtay/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Oxtay/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Oxtay/subscriptions", "type": "User", "url": "https://api.github.com/users/Oxtay" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" } ]
closed
false
null
[]
{ "closed_at": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "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.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
2
2014-12-17T18:26:03Z
2014-12-19T21:03:11Z
2014-12-19T21:03:11Z
NONE
null
When iterating over a Series of datetime objects that have timezone info on them, the returned value has the timezone info but also alters the time according to that timezone info, as seen in example below: `time_points` is the index of a dataframe with values: ``` [2014-12-01 03:32:39.987000-08:00, ..., 2014-12-01 04:12:34.987000-08:00] Length: 4, Freq: None, Timezone: tzoffset(None, -28800) 2014-12-01 03:32:39.987000-08:00 2014-12-01 03:52:38.987000-08:00 2014-12-01 04:02:36.987000-08:00 2014-12-01 04:12:34.987000-08:00 ``` However, for the following command: ``` for time in time_points: print time ``` the output is: ``` 2014-12-01 11:32:39.987000-08:00 2014-12-01 11:52:38.987000-08:00 2014-12-01 12:02:36.987000-08:00 2014-12-01 12:12:34.987000-08:00 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9100/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9100/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/9101
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/9101/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/9101/comments
https://api.github.com/repos/pandas-dev/pandas/issues/9101/events
https://github.com/pandas-dev/pandas/pull/9101
52,314,081
MDExOlB1bGxSZXF1ZXN0MjYyNzA4MTY=
9,101
overflow bug in multi-index when checking for duplicates
{ "avatar_url": "https://avatars.githubusercontent.com/u/1288998?v=4", "events_url": "https://api.github.com/users/behzadnouri/events{/privacy}", "followers_url": "https://api.github.com/users/behzadnouri/followers", "following_url": "https://api.github.com/users/behzadnouri/following{/other_user}", "gists_url": "https://api.github.com/users/behzadnouri/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/behzadnouri", "id": 1288998, "login": "behzadnouri", "node_id": "MDQ6VXNlcjEyODg5OTg=", "organizations_url": "https://api.github.com/users/behzadnouri/orgs", "received_events_url": "https://api.github.com/users/behzadnouri/received_events", "repos_url": "https://api.github.com/users/behzadnouri/repos", "site_admin": false, "starred_url": "https://api.github.com/users/behzadnouri/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/behzadnouri/subscriptions", "type": "User", "url": "https://api.github.com/users/behzadnouri" }
[ { "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": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "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.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
3
2014-12-18T01:10:15Z
2014-12-21T13:52:03Z
2014-12-18T11:40:22Z
CONTRIBUTOR
null
closes https://github.com/pydata/pandas/issues/9075
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/9101/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/9101/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/9101.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/9101", "merged_at": "2014-12-18T11:40:22Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/9101.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/9101" }