title
stringlengths
1
185
diff
stringlengths
0
32.2M
body
stringlengths
0
123k
url
stringlengths
57
58
created_at
stringlengths
20
20
closed_at
stringlengths
20
20
merged_at
stringlengths
20
20
updated_at
stringlengths
20
20
BUG: raise on frozenset construction by Series
diff --git a/doc/source/release.rst b/doc/source/release.rst index 00309b7a3dc0d..95ce03a858570 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -133,6 +133,8 @@ pandas 0.13 (:issue:`4016`) - Fixed Panel assignment with a transposed frame (:issue:`3830`) - Raise on set indexing with a Pane...
https://api.github.com/repos/pandas-dev/pandas/pulls/4482
2013-08-06T16:15:53Z
2013-08-08T00:14:49Z
2013-08-08T00:14:49Z
2014-06-30T00:19:56Z
BUG: revert 2/3 changes in vbsuite
diff --git a/vb_suite/groupby.py b/vb_suite/groupby.py index ded6a064eebd3..f38f42c89f5de 100644 --- a/vb_suite/groupby.py +++ b/vb_suite/groupby.py @@ -1,6 +1,5 @@ from vbench.api import Benchmark from datetime import datetime -from pandas.compat import map common_setup = """from pandas_vb_common import * """ @@...
Fixes #4477, #4474
https://api.github.com/repos/pandas-dev/pandas/pulls/4478
2013-08-06T11:12:28Z
2013-08-07T00:25:47Z
2013-08-07T00:25:47Z
2014-07-16T08:21:54Z
Sql alchemy tests
diff --git a/pandas/io/sql.py b/pandas/io/sql.py index 3d0acb09ca0cc..5acacdb110958 100644 --- a/pandas/io/sql.py +++ b/pandas/io/sql.py @@ -5,7 +5,7 @@ from __future__ import print_function from datetime import datetime, date -from pandas.compat import range, lzip, map, zip +from pandas.compat import range, lzip, ...
WIP for #4163. Not ready to merge yet New test structure for sql, and working through sql/test_sql with abstract syntax (aim is to not be sql-platform specific anywhere).
https://api.github.com/repos/pandas-dev/pandas/pulls/4475
2013-08-06T03:40:33Z
2014-01-19T05:05:35Z
null
2014-06-18T16:01:24Z
BUG: Boxplot to return axes, not dict
diff --git a/pandas/tests/test_graphics.py b/pandas/tests/test_graphics.py index faaac1cbb5419..dd7ccee770d7d 100644 --- a/pandas/tests/test_graphics.py +++ b/pandas/tests/test_graphics.py @@ -565,8 +565,7 @@ def test_boxplot(self): _check_plot_works(df.boxplot) _check_plot_works(df.boxplot, column=...
Fixes #4264.
https://api.github.com/repos/pandas-dev/pandas/pulls/4472
2013-08-05T23:02:19Z
2014-05-10T23:57:57Z
null
2014-07-06T10:05:31Z
ENH: allow where to be a list/array or a boolean mask of locations (GH4467)
diff --git a/doc/source/io.rst b/doc/source/io.rst index 03afd37555b67..d51bf4c83ad0b 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -2069,6 +2069,22 @@ These do not currently accept the ``where`` selector (coming soon) store.select_column('df_dc', 'index') store.select_column('df_dc', 'string') +....
closes #4467
https://api.github.com/repos/pandas-dev/pandas/pulls/4470
2013-08-05T21:53:53Z
2013-08-05T23:05:05Z
2013-08-05T23:05:05Z
2014-06-28T10:41:55Z
BUG: bug when using chunksize and writing ndim > 2
diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py index 0f429234ba3dc..2f0374e60c955 100644 --- a/pandas/io/pytables.py +++ b/pandas/io/pytables.py @@ -3037,7 +3037,11 @@ def write(self, obj, axes=None, append=False, complib=None, self.write_data(chunksize) def write_data(self, chunksize): - ...
https://api.github.com/repos/pandas-dev/pandas/pulls/4462
2013-08-05T13:23:02Z
2013-08-05T13:28:34Z
2013-08-05T13:28:34Z
2014-07-16T08:21:48Z
rename multi-index
diff --git a/pandas/core/internals.py b/pandas/core/internals.py index abe70e9037264..849ae296a0d13 100644 --- a/pandas/core/internals.py +++ b/pandas/core/internals.py @@ -2148,7 +2148,7 @@ def rename_axis(self, mapper, axis=1): index = self.axes[axis] if isinstance(index, MultiIndex): - ...
## Fix Issue #4160 While renamed a `MultiIndex`, the `mapper` walk through every tuple in the MultiIndex and every element in a tuple. So the mapper { (index1, index2): (new_index1, new_index2) } didn't work for the MultiIndex case. This pull request is to modify it to walk through every tuple in a MultiIndex and use...
https://api.github.com/repos/pandas-dev/pandas/pulls/4461
2013-08-05T09:23:07Z
2015-01-18T21:39:22Z
null
2023-05-11T01:12:16Z
BUG: values array for non-unique, interleaved cols incorrect
diff --git a/pandas/core/internals.py b/pandas/core/internals.py index abe70e9037264..56a6c8081d556 100644 --- a/pandas/core/internals.py +++ b/pandas/core/internals.py @@ -1546,15 +1546,16 @@ def _interleave(self, items): result[indexer] = block.get_values(dtype) itemmask[indexer] = 1...
I came across this problem when I was doing some work for #4362. When a frame with mixed dtypes including Timestamps has dupe column labels the values array returned is different, as illustrated below (master branch): ``` python In [3]: df = pd.DataFrame([[pd.Timestamp('20130101'),3.5],[pd.Timestamp('20130102'),4.5]],...
https://api.github.com/repos/pandas-dev/pandas/pulls/4460
2013-08-05T02:06:35Z
2013-08-05T11:41:19Z
2013-08-05T11:41:18Z
2014-06-20T16:03:18Z
BUG: Fix Panel instance variable namespace issue GH3440
diff --git a/doc/source/release.rst b/doc/source/release.rst index 74b68938d62eb..3da064a09519f 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -121,6 +121,8 @@ pandas 0.13 (:issue:`4405`, :issue:`4437`) - Fixed a py3 compat issue where bytes were being repr'd as tuples (:issue:`4455`) ...
The change is minor but so easy I thought I'd submit it: If you switch the list comprehensions to generators, it sidesteps leaking the temporary variables into the class variable scope. This will be microscopically slower, but they are just class variables so it really doesn't matter. fixes #3440 https://travis-ci.or...
https://api.github.com/repos/pandas-dev/pandas/pulls/4459
2013-08-04T19:10:44Z
2013-08-05T01:44:08Z
2013-08-05T01:44:08Z
2014-06-26T11:48:10Z
Get dummies
diff --git a/doc/source/api.rst b/doc/source/api.rst index a377fa3960d4c..e964ce569532a 100644 --- a/doc/source/api.rst +++ b/doc/source/api.rst @@ -126,6 +126,13 @@ Data manipulations merge concat +.. currentmodule:: pandas.core.reshape + +.. autosummary:: + :toctree: generated/ + + get_dummies + Top-le...
fixes #4446, #4444 Added new functionality dummy_na (thoughts?). it's slightly different to a possible dropna argument, which I haven't included (which can be achieved using `pd.get_dummies(s.dropna())`. Example: ``` In [3]: s = ['a', 'b', np.nan] In [4]: pd.get_dummies(s) Out[4]: a b 0 1 0 1 0 1 2 0 0 I...
https://api.github.com/repos/pandas-dev/pandas/pulls/4458
2013-08-04T17:32:01Z
2013-08-26T23:43:59Z
2013-08-26T23:43:59Z
2014-06-17T22:55:05Z
PERF: enhance HDFStore Table writing performance
diff --git a/doc/source/release.rst b/doc/source/release.rst index ddf0ecfc52d61..473e1792cb0d0 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -46,6 +46,7 @@ pandas 0.13 ``read_table``, ``read_csv``, etc. - Added a more informative error message when plot arguments contain overlapping ...
Took out all of the cython code, turns out you can assign directly to numpy recarrays per column if you put in the correct shape yourself ``` Invoked with : --ncalls: 5 --repeats: 5 ------------------------------------------------------------------------------- Test name | head[ms] ...
https://api.github.com/repos/pandas-dev/pandas/pulls/4457
2013-08-03T17:38:27Z
2013-08-05T12:06:32Z
2013-08-05T12:06:32Z
2014-07-16T08:21:39Z
BUG/OFMT: fix repring of python3 bytes objects
diff --git a/doc/source/release.rst b/doc/source/release.rst index ddf0ecfc52d61..74b68938d62eb 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -119,6 +119,8 @@ pandas 0.13 called using the top level matplotlib API (:issue:`4408`) - Fixed a bug where calling ``Series.astype(str)`` would trun...
closes #4455.
https://api.github.com/repos/pandas-dev/pandas/pulls/4456
2013-08-03T01:21:45Z
2013-08-03T20:01:22Z
2013-08-03T20:01:22Z
2014-06-18T13:51:07Z
TST: pandas/util/testing : test improvements and cleanups
diff --git a/pandas/io/tests/test_pytables.py b/pandas/io/tests/test_pytables.py index d6eeb38076a42..c2564a6e12145 100644 --- a/pandas/io/tests/test_pytables.py +++ b/pandas/io/tests/test_pytables.py @@ -1763,7 +1763,10 @@ def test_index_types(self): values = np.random.randn(2) - func = lambda l, r...
A few things 1. Make with-statement-capable `assertRaises` and `assertRaisesRegexp` (which I want to use later in a cleanup of some of the parser tests). 2. Earlier introduction of `assert_attr_equal` changed it so that, if one object had an attribute that was `None` and the other did not have that attribute at all, it...
https://api.github.com/repos/pandas-dev/pandas/pulls/4451
2013-08-02T21:25:27Z
2013-08-02T23:21:57Z
2013-08-02T23:21:57Z
2014-07-16T08:21:34Z
DOC: lrange, lzip --> list(range and list(zip
diff --git a/doc/source/basics.rst b/doc/source/basics.rst index 479dd23b819da..c37776b3a3cd8 100644 --- a/doc/source/basics.rst +++ b/doc/source/basics.rst @@ -1093,7 +1093,7 @@ By default integer types are ``int64`` and float types are ``float64``, DataFrame([1, 2], columns=['a']).dtypes DataFrame({'a': [1,...
Internally, definitely want to use `lzip` and `lrange`, but for clarity I think it's better to just use the written out versions of them, especially since they aren't really key components of pandas. (and generally would not expect someone working through an example to care about compatibility issues). This only chang...
https://api.github.com/repos/pandas-dev/pandas/pulls/4450
2013-08-02T21:04:09Z
2013-08-02T23:17:27Z
2013-08-02T23:17:27Z
2014-06-29T23:18:48Z
TST: test updates for testing
diff --git a/pandas/util/testing.py b/pandas/util/testing.py index 7a1240e28c9e5..8cb9138f4d2f6 100644 --- a/pandas/util/testing.py +++ b/pandas/util/testing.py @@ -130,25 +130,23 @@ def assert_isinstance(obj, class_type_or_tuple): "Expected object to be of type %r, found %r instead" % ( type(obj)...
fixup testing as @jtratener suggest
https://api.github.com/repos/pandas-dev/pandas/pulls/4445
2013-08-02T12:49:38Z
2013-08-02T12:49:43Z
2013-08-02T12:49:43Z
2014-06-22T03:02:33Z
BUG: allow cumprod and cumsum to work with bool dtypes
diff --git a/doc/source/release.rst b/doc/source/release.rst index 92822e3038545..9af04a8d703cf 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -127,6 +127,8 @@ pandas 0.13 (:issue:`3440`) - Fixed an issue where duplicate indexes were raising when plotting (:issue:`4486`) + - Fixed an ...
closes #4170.
https://api.github.com/repos/pandas-dev/pandas/pulls/4440
2013-08-02T04:30:40Z
2013-08-07T19:17:18Z
2013-08-07T19:17:18Z
2014-06-14T00:02:11Z
ENH Pass kwds from ExcelFile ctr to xlrd.open_workbook. For example, thi...
diff --git a/pandas/io/excel.py b/pandas/io/excel.py index 534a88e303dbf..031081f557794 100644 --- a/pandas/io/excel.py +++ b/pandas/io/excel.py @@ -78,10 +78,10 @@ def __init__(self, path_or_buf, kind=None, **kwds): self.tmpfile = None if isinstance(path_or_buf, compat.string_types): - s...
...s allows setting formatting_info=True (GH4438) closes #4438
https://api.github.com/repos/pandas-dev/pandas/pulls/4439
2013-08-02T04:14:51Z
2013-09-24T03:43:05Z
null
2014-06-19T06:15:44Z
BUG: fix string truncation for astype(str)
diff --git a/doc/source/release.rst b/doc/source/release.rst index 1cdc2818b5fae..ddf0ecfc52d61 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -117,6 +117,8 @@ pandas 0.13 set _ref_locs (:issue:`4403`) - Fixed an issue where hist subplots were being overwritten when they were called us...
closes #4405.
https://api.github.com/repos/pandas-dev/pandas/pulls/4437
2013-08-02T04:07:23Z
2013-08-03T03:29:56Z
2013-08-03T03:29:56Z
2014-06-13T02:10:37Z
DOC: Fix typo
diff --git a/doc/source/groupby.rst b/doc/source/groupby.rst index c87f21511473f..f322df1d3f0c0 100644 --- a/doc/source/groupby.rst +++ b/doc/source/groupby.rst @@ -513,7 +513,7 @@ than 2. sf = Series([1, 1, 2, 3, 3, 3]) sf.groupby(sf).filter(lambda x: x.sum() > 2) -The argument of ``filter`` must a function ...
Fixes minor typo in groupby documentation
https://api.github.com/repos/pandas-dev/pandas/pulls/4436
2013-08-02T03:03:21Z
2013-08-02T03:43:08Z
2013-08-02T03:43:08Z
2014-07-16T08:21:25Z
BUG: Fixes issue #3334: brittle margin computation in pivot_table
diff --git a/doc/source/release.rst b/doc/source/release.rst index 90f7585ba7ab9..ba1446d033010 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -102,6 +102,7 @@ pandas 0.13 set _ref_locs (:issue:`4403`) - Fixed an issue where hist subplots were being overwritten when they were called us...
Adds support for margin computation when all columns are used in rows and cols. Issue was that pivot tables that use all columns of the original DataFrame in rows and cols failed on the margin computation. This is a special case for margins: one should use the index itself as the value. ``` >> df = DataFrame({'Respon...
https://api.github.com/repos/pandas-dev/pandas/pulls/4433
2013-08-01T19:08:57Z
2013-08-01T19:14:11Z
null
2013-08-01T19:14:11Z
BUG: Fixes issue #3334: brittle margin in pivot_table.
diff --git a/doc/source/release.rst b/doc/source/release.rst index 90f7585ba7ab9..4a4040d638141 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -102,6 +102,7 @@ pandas 0.13 set _ref_locs (:issue:`4403`) - Fixed an issue where hist subplots were being overwritten when they were called us...
closes #3334 Brittle pivot margins Issue was that pivot tables that use all columns of the original DataFrame in rows and cols failed on the margin computation. This is a special case for margins: one should use the index itself as the value. ``` >> df = DataFrame({'Response' : ['Y', 'N' ,'N', 'Y', 'Y', 'N'], ...
https://api.github.com/repos/pandas-dev/pandas/pulls/4432
2013-08-01T18:41:53Z
2013-08-01T18:47:28Z
null
2014-06-23T03:12:36Z
TST: better assertion messages on test failures (GH4397)
diff --git a/pandas/util/testing.py b/pandas/util/testing.py index 0628d6705c769..7a1240e28c9e5 100644 --- a/pandas/util/testing.py +++ b/pandas/util/testing.py @@ -88,6 +88,8 @@ def set_trace(): #------------------------------------------------------------------------------ # contextmanager to ensure the file clea...
closes #4397 a start at least
https://api.github.com/repos/pandas-dev/pandas/pulls/4430
2013-08-01T13:56:39Z
2013-08-01T14:31:05Z
2013-08-01T14:31:05Z
2014-07-16T08:21:21Z
providing kwargs to create_index at store.append()
diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py index a7daa7e7c8691..c8578ad342838 100644 --- a/pandas/io/pytables.py +++ b/pandas/io/pytables.py @@ -927,7 +927,7 @@ def _write_to_group(self, key, value, index=True, table=False, append=False, s.write(obj = value, append=append, complib=complib, **...
This should enable the creation of a 'full' index at append time.
https://api.github.com/repos/pandas-dev/pandas/pulls/4425
2013-08-01T01:52:06Z
2013-08-01T18:52:39Z
null
2013-08-04T06:53:01Z
FIX: doc imports
diff --git a/ci/script.sh b/ci/script.sh index e8c3cf66bd9ba..2e466e58bf377 100755 --- a/ci/script.sh +++ b/ci/script.sh @@ -2,7 +2,7 @@ echo "inside $0" -if [ x"$LOCALE_OVERRIDE" != x"" ]; then +if [ -n "$LOCALE_OVERRIDE" ]; then export LC_ALL="$LOCALE_OVERRIDE"; echo "Setting LC_ALL to $LOCALE_OVERRIDE...
Bunch of doc build cleanups closes #4418.
https://api.github.com/repos/pandas-dev/pandas/pulls/4419
2013-07-31T15:38:31Z
2013-08-01T11:41:40Z
2013-08-01T11:41:40Z
2014-07-16T08:21:17Z
API: GH4409 HDFStore adds an is_open property / CLOSED message
diff --git a/doc/source/io.rst b/doc/source/io.rst index 21c3866e73576..963461b9290ce 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -1717,13 +1717,14 @@ Closing a Store, Context Manager .. ipython:: python - # closing a store store.close() + store + store.is_open # Working with, and aut...
closes #4409 closes #4367
https://api.github.com/repos/pandas-dev/pandas/pulls/4417
2013-07-31T15:22:50Z
2013-08-02T00:33:27Z
2013-08-02T00:33:26Z
2014-06-16T14:00:58Z
BUG/VIS: fix Series.hist so that users can create hist subplots without the mpl API
diff --git a/doc/source/release.rst b/doc/source/release.rst index a2b525a737879..90f7585ba7ab9 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -44,6 +44,8 @@ pandas 0.13 - Text parser now treats anything that reads like inf ("inf", "Inf", "-Inf", "iNf", etc.) to infinity. (:issue:`4220`, :i...
closes #4408. closes #4402.
https://api.github.com/repos/pandas-dev/pandas/pulls/4414
2013-07-31T03:56:52Z
2013-07-31T15:33:34Z
2013-07-31T15:33:33Z
2014-06-25T07:26:53Z
BUG: Fix an issue in merging blocks where the resulting DataFrame had partially set _ref_locs
diff --git a/doc/source/release.rst b/doc/source/release.rst index ba3d0c359be9e..a2b525a737879 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -94,8 +94,10 @@ pandas 0.13 - Fixed an issue where ``PeriodIndex`` joining with self was returning a new instance rather than the same instance (:is...
closes #4403
https://api.github.com/repos/pandas-dev/pandas/pulls/4410
2013-07-31T00:17:47Z
2013-07-31T01:06:11Z
2013-07-31T01:06:11Z
2014-06-19T20:25:43Z
BUG: Fix an issue with the csv cparser when usecols is used
diff --git a/doc/source/release.rst b/doc/source/release.rst index e9af4ccf50dc4..c5856666ca02a 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -92,6 +92,8 @@ pandas 0.13 - Fixed an issue where ``PeriodIndex`` joining with self was returning a new instance rather than the same instance (:iss...
closes #3192 This pull request fixes a problem arising from using the csv parser with the usecols option. In that case, all the dtypes will be converted to object. This code fixes that issue, resulting in the correct dtypes. Thanks, Tiago
https://api.github.com/repos/pandas-dev/pandas/pulls/4406
2013-07-30T18:13:27Z
2013-07-30T23:10:06Z
2013-07-30T23:10:05Z
2014-06-24T15:22:39Z
fix the excel reader: hours & header
in the excel.py there is a fix enabling reading xlsx files with both datemodes: (see #4332) in the parsers.py there is the fix for readinh the header even if there are additional rows (to be skipped) between a header and the data (see: #4340) I hope this PR is adequate. If not, please let me know. I can supply the sam...
https://api.github.com/repos/pandas-dev/pandas/pulls/4404
2013-07-30T13:57:58Z
2013-08-21T23:15:09Z
2013-08-21T23:15:09Z
2014-06-17T12:47:53Z
DOC: typo fix
diff --git a/doc/source/timeseries.rst b/doc/source/timeseries.rst index bb7715b5e3dc0..78c3e832bf0f9 100644 --- a/doc/source/timeseries.rst +++ b/doc/source/timeseries.rst @@ -333,7 +333,7 @@ We are stopping on the included end-point as its part of the index .. warning:: - The following selection will raises a ...
Just some typo I discovered while reading the docs.
https://api.github.com/repos/pandas-dev/pandas/pulls/4399
2013-07-29T15:52:35Z
2013-07-30T00:17:22Z
2013-07-30T00:17:21Z
2014-07-16T08:21:00Z
DOC: added Google Finance to pandas.io.DataReader documentation
diff --git a/LICENSES/SIX b/LICENSES/SIX new file mode 100644 index 0000000000000..6fd669af222d3 --- /dev/null +++ b/LICENSES/SIX @@ -0,0 +1,21 @@ +six license (substantial portions used in the python 3 compatibility module) +=========================================================================== +Copyright (c) 201...
The docstring for DataReader is not showing the "google" option, even though it is already in the source code
https://api.github.com/repos/pandas-dev/pandas/pulls/4395
2013-07-29T00:49:05Z
2013-08-09T03:45:37Z
null
2014-06-13T13:40:41Z
BUG: Fix .iat indexing with a PeriodIndex GH4390
diff --git a/doc/source/release.rst b/doc/source/release.rst index 198948259be15..779ec9852118d 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -62,6 +62,7 @@ pandas 0.13 - deprecated ``iterkv``, which will be removed in a future release (was just an alias of iteritems used to get around ``2...
closes #4390 Interesting fixed this as well (only affects `get`) ``` In [1]: s = Series(randn(10),date_range('20130101',periods=10)) In [2]: s[0] Out[2]: 1.1755210838393764 In [3]: s Out[3]: 2013-01-01 1.175521 2013-01-02 0.007910 2013-01-03 -1.235595 2013-01-04 0.478245 2013-01-05 -0.140616 2013-01-0...
https://api.github.com/repos/pandas-dev/pandas/pulls/4394
2013-07-28T23:42:30Z
2013-07-30T00:27:21Z
2013-07-30T00:27:21Z
2014-06-26T01:31:52Z
ENH: add git names to test_perf.py
diff --git a/vb_suite/test_perf.py b/vb_suite/test_perf.py index f171f48410ce0..ca98b94e4fbbd 100755 --- a/vb_suite/test_perf.py +++ b/vb_suite/test_perf.py @@ -45,6 +45,15 @@ HEAD_COL="head[ms]" BASE_COL="base[ms]" + +class RevParseAction(argparse.Action): + def __call__(self, parser, namespace, values, option_...
Let users pass nice git names so that they don't have to manually pass sha1 hashes to test between commits.
https://api.github.com/repos/pandas-dev/pandas/pulls/4392
2013-07-28T21:03:04Z
2013-07-29T01:13:07Z
2013-07-29T01:13:07Z
2014-06-21T18:41:15Z
ENH: suppress display.height DeprecationWarning
diff --git a/pandas/core/format.py b/pandas/core/format.py index 2f4432e44b9f6..c9beb729b2436 100644 --- a/pandas/core/format.py +++ b/pandas/core/format.py @@ -1721,7 +1721,8 @@ def get_console_size(): Returns (None,None) in non-interactive session. """ display_width = get_option('display.width') - d...
related https://github.com/pydata/pandas/issues/4026?source=cc The `display.height` option is dperecated. It's value is interogated by `get_conosole_size()`, whose only caller in the codebase summarily ignores that bit of the `(width,height)` retval. Another ugly ricochet from the `repr()` cluster***\* of 0.11. a tar ...
https://api.github.com/repos/pandas-dev/pandas/pulls/4391
2013-07-28T21:01:55Z
2013-07-28T21:02:07Z
2013-07-28T21:02:07Z
2014-06-19T05:25:32Z
BUG: fixes for GH4377
diff --git a/doc/source/release.rst b/doc/source/release.rst index 8c6cf34b0dbbe..198948259be15 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -83,6 +83,10 @@ pandas 0.13 - In ``to_json``, raise if a passed ``orient`` would cause loss of data because of a duplicate index (:issue:`4359`) ...
closes #4377 - Fixed bug with `.values` raising an error on a DataFrame with duplicate columns and mixed dtypes, surfaced in GH4377 - Fixed bug with duplicate columns and type conversion in `read_json` when `orient='split'`
https://api.github.com/repos/pandas-dev/pandas/pulls/4388
2013-07-28T16:55:41Z
2013-07-30T00:17:43Z
2013-07-30T00:17:42Z
2014-07-16T08:20:50Z
CLN/ENH/BLD: Remove need for 2to3 for Python 3.
diff --git a/LICENSES/SIX b/LICENSES/SIX new file mode 100644 index 0000000000000..6fd669af222d3 --- /dev/null +++ b/LICENSES/SIX @@ -0,0 +1,21 @@ +six license (substantial portions used in the python 3 compatibility module) +=========================================================================== +Copyright (c) 201...
Fixes #4375 and #4372. Many changes to make codebase compatible in 2 and 3. For `range`, `zip`, `map`, etc. tried to favor iterators over needing to use lists. Changes: - No more 2to3 in setup.py - merges util/compat and util/py3compat into pandas/compat - incorporates useful parts of the six library into compat (+ a...
https://api.github.com/repos/pandas-dev/pandas/pulls/4384
2013-07-27T20:58:22Z
2013-07-29T23:49:59Z
2013-07-29T23:49:59Z
2014-06-19T03:06:39Z
TST/BUG: fix NameError in network decorator
diff --git a/doc/source/release.rst b/doc/source/release.rst index 37550f7ff5fb0..651c995e3e7bb 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -62,6 +62,8 @@ pandas 0.13 - Fixed an issue where ``DataFrame.sum`` was slower than ``DataFrame.mean`` for integer valued frames (:issue:`4365`) ...
https://api.github.com/repos/pandas-dev/pandas/pulls/4381
2013-07-27T20:19:43Z
2013-07-27T21:47:50Z
2013-07-27T21:47:50Z
2014-06-26T17:52:39Z
Fix typo.
diff --git a/doc/source/v0.12.0.txt b/doc/source/v0.12.0.txt index b7d52c6fed7e0..9054ef4a5444e 100644 --- a/doc/source/v0.12.0.txt +++ b/doc/source/v0.12.0.txt @@ -6,7 +6,7 @@ v0.12.0 (July 24, 2013) This is a major release from 0.11.0 and includes several new features and enhancements along with a large number of b...
Change 'highlites' to 'highlights'.
https://api.github.com/repos/pandas-dev/pandas/pulls/4380
2013-07-27T20:13:21Z
2013-07-27T20:42:02Z
2013-07-27T20:42:02Z
2014-07-16T08:20:41Z
BUG: fix period index object instantiation when joining with self
diff --git a/doc/source/release.rst b/doc/source/release.rst index 779ec9852118d..e9af4ccf50dc4 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -89,6 +89,9 @@ pandas 0.13 - Fixed bug with duplicate columns and type conversion in ``read_json`` when ``orient='split'`` (:issue:`4377`) - Fix ...
This PR fixes an issue where joining a PeriodIndex with itself resulted in a new object.
https://api.github.com/repos/pandas-dev/pandas/pulls/4379
2013-07-27T18:05:20Z
2013-07-30T06:53:35Z
2013-07-30T06:53:35Z
2014-06-24T19:44:31Z
BUG: to_json should raise exception for non-unique index / columns (#4359)
diff --git a/pandas/io/json.py b/pandas/io/json.py index fff4d0085b18a..d3bea36b57e77 100644 --- a/pandas/io/json.py +++ b/pandas/io/json.py @@ -78,6 +78,9 @@ class SeriesWriter(Writer): _default_orient = 'index' def _format_axes(self): + if not self.obj.index.is_unique and self.orient == 'index': + ...
Issue #4359 to_json will raise ValueErrors where non-unique indices or columns would cause invalid JSON to be produced. Updated docstring and added some tests.
https://api.github.com/repos/pandas-dev/pandas/pulls/4376
2013-07-27T02:47:08Z
2013-07-28T15:41:54Z
2013-07-28T15:41:54Z
2021-06-01T10:18:20Z
BUG: Fixed passing keep_default_na=False when na_values=None (GH4318)
diff --git a/doc/source/io.rst b/doc/source/io.rst index 7cc6d6eecfd6c..2537d52df6dac 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -546,6 +546,53 @@ The ``thousands`` keyword allows integers to be parsed correctly os.remove('tmp.csv') +.. _io.na_values: + +NA Values +~~~~~~~~~ + +To control which v...
closes #4318
https://api.github.com/repos/pandas-dev/pandas/pulls/4374
2013-07-26T19:03:05Z
2013-07-30T00:07:39Z
2013-07-30T00:07:39Z
2014-06-16T23:53:36Z
TST: Make network tests run twice
diff --git a/pandas/util/testing.py b/pandas/util/testing.py index 0dc80f59e4699..3e13f2bf223a5 100644 --- a/pandas/util/testing.py +++ b/pandas/util/testing.py @@ -692,7 +692,7 @@ def dec(f): @optional_args def network(t, raise_on_error=_RAISE_NETWORK_ERROR_DEFAULT, - error_classes=_network_error_classe...
Might help with issues like #4242 cc @cpcloud
https://api.github.com/repos/pandas-dev/pandas/pulls/4369
2013-07-26T02:11:22Z
2013-07-26T15:23:06Z
2013-07-26T15:23:06Z
2014-07-02T21:24:23Z
ENH: Make categorical repr nicer.
diff --git a/pandas/core/categorical.py b/pandas/core/categorical.py index b085738018950..b9fc97e8980f4 100644 --- a/pandas/core/categorical.py +++ b/pandas/core/categorical.py @@ -6,6 +6,10 @@ from pandas.core.base import PandasObject from pandas.core.index import Index import pandas.core.common as com +from pandas...
Make looking at Categorical types a little nicer. Needs some tests still, but works fine locally so far.
https://api.github.com/repos/pandas-dev/pandas/pulls/4368
2013-07-25T19:58:38Z
2013-09-26T00:41:13Z
null
2014-06-23T05:08:19Z
BUG: fix sum over integer frames
diff --git a/doc/source/release.rst b/doc/source/release.rst index 7b174611652de..225d4fde8d5c0 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -54,6 +54,8 @@ pandas 0.13 representation of the index (:issue:`4136`) - Fix running of stata IO tests. Now uses temporary files to write (:iss...
closes #4365.
https://api.github.com/repos/pandas-dev/pandas/pulls/4366
2013-07-25T18:30:57Z
2013-07-26T13:59:24Z
2013-07-26T13:59:23Z
2014-06-13T11:27:15Z
World Bank I/O docs and minimal improvement
diff --git a/doc/source/io.rst b/doc/source/io.rst index 7dddc43b136cf..04f73f22610d1 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -2584,3 +2584,123 @@ Tthe dataset names are listed at `Fama/French Data Library import pandas.io.data as web ip=web.DataReader("5_Industry_Portfolios", "famafrench") ...
- DOC: Simple example of how to use Pandas' World Bank IO functions. - ENH: Return a DataFrame full of floats instead of full of strings RE: https://github.com/pydata/pandas/issues/4354
https://api.github.com/repos/pandas-dev/pandas/pulls/4364
2013-07-25T16:57:51Z
2013-07-25T18:48:29Z
2013-07-25T18:48:29Z
2013-07-26T14:17:24Z
Fix issue #4345: graphics test failure
diff --git a/doc/source/release.rst b/doc/source/release.rst index e9af4ccf50dc4..cf81456b73e54 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -74,6 +74,8 @@ pandas 0.13 (:issue:`4102`, :issue:`4014`) in ``*.hist`` plotting methods - Fixed bug in ``PeriodIndex.map`` where using ``str`` woul...
closes #4345 The `test_time_series_plot_color_with_empty_kwargs` method in `test_graphics.py` uses the matplotlib default color cycle rather than 'r', 'g', and 'b'.
https://api.github.com/repos/pandas-dev/pandas/pulls/4360
2013-07-25T15:10:46Z
2013-07-30T20:28:58Z
2013-07-30T20:28:58Z
2014-06-26T03:36:51Z
BUG: Fix brittle pivot margins
diff --git a/doc/source/release.rst b/doc/source/release.rst index 90f7585ba7ab9..ba1446d033010 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -102,6 +102,7 @@ pandas 0.13 set _ref_locs (:issue:`4403`) - Fixed an issue where hist subplots were being overwritten when they were called us...
closes #3334 Brittle pivot margins Issue was that pivot tables that use all columns of the original DataFrame in rows and cols failed on the margin computation. This is a special case for margins: one should use the index itself as the value. ``` >> df = DataFrame({'Response' : ['Y', 'N' ,'N', 'Y', 'Y', 'N'], ...
https://api.github.com/repos/pandas-dev/pandas/pulls/4358
2013-07-25T14:19:36Z
2013-08-12T13:21:40Z
null
2014-06-23T03:12:15Z
TST/BUG/CLN: make stata IO tests use temporary files for writing
diff --git a/doc/source/release.rst b/doc/source/release.rst index 6ad7436faae02..7b174611652de 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -52,6 +52,8 @@ pandas 0.13 (:issue:`4102`, :issue:`4014`) in ``*.hist`` plotting methods - Fixed bug in ``PeriodIndex.map`` where using ``str`` woul...
closes #4353
https://api.github.com/repos/pandas-dev/pandas/pulls/4356
2013-07-25T12:59:39Z
2013-07-25T16:44:04Z
2013-07-25T16:44:04Z
2014-06-19T16:27:30Z
ER: HDFStore raising an invalid TypeError rather than ValueError when appending with a diff block ordering (GH4096)
diff --git a/doc/source/release.rst b/doc/source/release.rst index 55d0858ebbcde..54fa4d30bac0a 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -44,6 +44,9 @@ pandas 0.13 **Bug Fixes** + - ``HDFStore`` raising an invalid ``TypeError`` rather than ``ValueError`` when appending + with a diffe...
related to #4096 (fixes error printing)
https://api.github.com/repos/pandas-dev/pandas/pulls/4355
2013-07-25T12:16:24Z
2013-07-25T12:28:33Z
2013-07-25T12:28:33Z
2014-07-16T08:20:23Z
TST/BUG: make sure read_html tests work on python 2.6
diff --git a/doc/source/release.rst b/doc/source/release.rst index 99a51d476838c..37550f7ff5fb0 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -61,6 +61,7 @@ pandas 0.13 (:issue:`4353`) - Fixed an issue where ``DataFrame.sum`` was slower than ``DataFrame.mean`` for integer valued frame...
closes #4351.
https://api.github.com/repos/pandas-dev/pandas/pulls/4352
2013-07-25T03:35:07Z
2013-07-26T23:56:38Z
2013-07-26T23:56:37Z
2014-06-23T07:28:09Z
DOC/BUG: fix doc build error because a frame was being redefined
diff --git a/doc/source/indexing.rst b/doc/source/indexing.rst index 213a7ab659dae..d2f16c798fdb3 100644 --- a/doc/source/indexing.rst +++ b/doc/source/indexing.rst @@ -512,6 +512,12 @@ Selecting values from a DataFrame with a boolean critierion now also preserves input data shape. ``where`` is used under the hood as ...
https://api.github.com/repos/pandas-dev/pandas/pulls/4350
2013-07-25T01:16:29Z
2013-07-25T02:00:36Z
2013-07-25T02:00:36Z
2014-06-26T11:47:45Z
DOC: correct release notes version
diff --git a/doc/source/release.rst b/doc/source/release.rst index 3afb92848b143..55d0858ebbcde 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -35,6 +35,9 @@ pandas 0.13 **Improvements to existing features** + - ``read_html`` now raises a ``URLError`` instead of catching and raising a + ``...
https://api.github.com/repos/pandas-dev/pandas/pulls/4349
2013-07-25T00:04:32Z
2013-07-25T00:21:57Z
2013-07-25T00:21:57Z
2014-07-15T19:05:58Z
BUG: fill_value is ignored when reindexing empty series
diff --git a/doc/source/release.rst b/doc/source/release.rst index 55d0858ebbcde..74ae07f5f0fbf 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -44,6 +44,9 @@ pandas 0.13 **Bug Fixes** + - ``fill_value`` parameter was ignored in ``Series.reindex()`` if the object + was empty (:issue:`4346`)...
Here's a snippet depicting the, probably, buggy behaviour: ``` python >>> import pandas as pd >>> s = pd.Series() >>> s.reindex([1,2,3]) 1 NaN 2 NaN 3 NaN dtype: float64 >>> s.reindex([1,2,3], fill_value=0.0) 1 NaN 2 NaN 3 NaN dtype: float64 >>> pd.version.version '0.12.0.dev-d7c6eb1' ``` I'd expect the l...
https://api.github.com/repos/pandas-dev/pandas/pulls/4346
2013-07-24T19:10:18Z
2013-09-24T01:30:08Z
null
2014-06-25T22:22:35Z
ENH/API: add right-hand-side bool methods to DataFrame
diff --git a/doc/source/release.rst b/doc/source/release.rst index 19ad27f33e621..4f0b82684c00c 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -35,6 +35,9 @@ pandas 0.13 **API Changes** +- ``DataFrame`` now supports being the right hand side operand in boolean + operators (:issue:`4331`) + *...
closes #4331
https://api.github.com/repos/pandas-dev/pandas/pulls/4334
2013-07-23T21:47:16Z
2013-07-24T00:51:05Z
null
2014-07-15T15:10:11Z
SQL file structure for legacy / sql alchemy
diff --git a/ci/requirements-2.6.txt b/ci/requirements-2.6.txt index ac77449b2df02..a61aeaefa8a26 100644 --- a/ci/requirements-2.6.txt +++ b/ci/requirements-2.6.txt @@ -4,3 +4,4 @@ python-dateutil==2.1 pytz==2013b http://www.crummy.com/software/BeautifulSoup/bs4/download/4.2/beautifulsoup4-4.2.0.tar.gz html5lib==1.0...
First step for #4163, replacing my PR #4323 aimed at the master branch.
https://api.github.com/repos/pandas-dev/pandas/pulls/4333
2013-07-23T21:43:53Z
2013-07-24T22:12:57Z
2013-07-24T22:12:57Z
2014-06-23T17:14:24Z
SQL alchemy file structure
diff --git a/ci/requirements-2.6.txt b/ci/requirements-2.6.txt index ac77449b2df02..a61aeaefa8a26 100644 --- a/ci/requirements-2.6.txt +++ b/ci/requirements-2.6.txt @@ -4,3 +4,4 @@ python-dateutil==2.1 pytz==2013b http://www.crummy.com/software/BeautifulSoup/bs4/download/4.2/beautifulsoup4-4.2.0.tar.gz html5lib==1.0...
partial solutions to #4163 Merge this into the sql branch so we can start incorporating bug fixes into the new file structure of `sql.py` / `sql_legacy.py`.
https://api.github.com/repos/pandas-dev/pandas/pulls/4323
2013-07-22T21:52:25Z
2013-07-24T22:13:36Z
null
2014-07-24T09:06:28Z
DOC: Update computation.rst
diff --git a/doc/source/computation.rst b/doc/source/computation.rst index eca5bf902aa39..ffa47c6a3a049 100644 --- a/doc/source/computation.rst +++ b/doc/source/computation.rst @@ -450,7 +450,7 @@ average as .. math:: - y_t = \alpha y_{t-1} + (1 - \alpha) x_t + y_t = (1 - \alpha) y_{t-1} + \alpha x_t One ...
A wider span means a smaller alpha, which means each x_t has less impact on the ewma.
https://api.github.com/repos/pandas-dev/pandas/pulls/4321
2013-07-22T21:10:29Z
2013-09-01T11:49:20Z
null
2014-06-27T11:45:28Z
TST: skip some tests if scikits is installed but not scipy GH3376
diff --git a/pandas/stats/tests/test_moments.py b/pandas/stats/tests/test_moments.py index 88dfcaf5ce7ae..6312a28595935 100644 --- a/pandas/stats/tests/test_moments.py +++ b/pandas/stats/tests/test_moments.py @@ -18,6 +18,11 @@ N, K = 100, 10 +def _skip_if_no_scipy(): + try: + import scipy.stats + exc...
#3376
https://api.github.com/repos/pandas-dev/pandas/pulls/4320
2013-07-22T20:42:44Z
2013-07-25T01:15:06Z
2013-07-25T01:15:06Z
2014-07-16T08:20:11Z
Arguably better handling of input data in constructor for DataFrame (fix for #4297)
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 401a7746953cb..26877752017e3 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -5680,49 +5680,71 @@ def _arrays_to_mgr(arrays, arr_names, index, columns, dtype=None): return create_block_manager_from_arrays(arrays, arr_names, axes) def...
The problem was basically an odd restriction to `list` ,`tuple`, `dict`, or `numpy.ndarray` for data structure given as input to any constructor for DataFrame. Much cruder than a possible issue around buffer protocols I thought (the whole issue report went off on a tangent anyway ;-) ). The source did not have much (a...
https://api.github.com/repos/pandas-dev/pandas/pulls/4317
2013-07-22T16:11:19Z
2013-09-13T15:19:08Z
null
2014-06-12T15:05:29Z
Added ind and bw_method kwargs to KdePlot
diff --git a/doc/source/release.rst b/doc/source/release.rst index 929c167cd1340..56d51183a1834 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -30,6 +30,10 @@ pandas 0.13 **Release date:** not-yet-released **New features** + - ``plot(kind='kde')`` now accepts the optional parameters ``bw_metho...
Adds ability to set the bandwidth used for the kde and the indices at which it is evaluated. The first is passed to the bw_method kwarg for scipy.stats.gaussian_kde (for scipy >= 0.11.0); the second is passed to gkde.evaluate. For the case when scipy < 0.11.0 but bw_method is specified, bw_method is ignored (not passed...
https://api.github.com/repos/pandas-dev/pandas/pulls/4316
2013-07-22T14:42:51Z
2013-08-26T19:14:23Z
2013-08-26T19:14:23Z
2014-06-26T17:39:32Z
ENH: to_csv() date formatting
diff --git a/doc/source/release.rst b/doc/source/release.rst index 7776ee1efba4f..494b22c7ff403 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -60,6 +60,9 @@ New features - Clipboard functionality now works with PySide (:issue:`4282`) - New ``extract`` string method returns regex matches more...
This commit adds support for formatting datetime object output from to_csv() closes #2583 ``` python In [3]: spx = DataReader('^GSPC', data_source='yahoo') In [4]: spx.head() Out[4]: Open High Low Close Volume Adj Close Date ...
https://api.github.com/repos/pandas-dev/pandas/pulls/4313
2013-07-22T05:09:16Z
2013-10-12T14:11:50Z
2013-10-12T14:11:50Z
2014-06-14T12:30:29Z
TST: make sure test passes even if components link isn't present
diff --git a/pandas/io/tests/test_data.py b/pandas/io/tests/test_data.py index 849f79afe3855..e760ddff518f5 100644 --- a/pandas/io/tests/test_data.py +++ b/pandas/io/tests/test_data.py @@ -10,7 +10,7 @@ from pandas.io import data as web from pandas.io.data import DataReader, SymbolWarning from pandas.util.testing im...
closes #4309
https://api.github.com/repos/pandas-dev/pandas/pulls/4310
2013-07-21T16:12:14Z
2013-07-21T17:10:32Z
2013-07-21T17:10:32Z
2014-07-16T08:20:06Z
ENH: add integer sheetname support in read_excel
diff --git a/doc/source/io.rst b/doc/source/io.rst index c9a42f373ee6e..7dddc43b136cf 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -1532,6 +1532,26 @@ advanced strategies read_excel('path_to_file.xls', 'Sheet1', index_col=None, na_values=['NA']) +.. versionadded:: 0.13 + +There are now two way...
closes #4301
https://api.github.com/repos/pandas-dev/pandas/pulls/4308
2013-07-20T22:02:54Z
2013-07-25T14:25:01Z
2013-07-25T14:25:01Z
2014-06-26T17:59:33Z
TST: change a small float comparison to np.allclose (GH4306)
diff --git a/pandas/io/tests/test_json/test_ujson.py b/pandas/io/tests/test_json/test_ujson.py index fbfac34f5073c..86aeecf169b28 100644 --- a/pandas/io/tests/test_json/test_ujson.py +++ b/pandas/io/tests/test_json/test_ujson.py @@ -106,7 +106,7 @@ def test_encodeDoubleTinyExponential(self): num = -1e-45 ...
closes #4306
https://api.github.com/repos/pandas-dev/pandas/pulls/4307
2013-07-20T20:46:37Z
2013-07-20T20:59:21Z
2013-07-20T20:59:21Z
2014-06-18T18:00:51Z
CLN: let URLError fall through in pandas.io.html._read
diff --git a/doc/source/release.rst b/doc/source/release.rst index f85f98a96fa1e..91fd854d54e85 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -111,6 +111,8 @@ pandas 0.12 of the default datetime.min and datetime.max (respectively), thanks @SleepingPills - ``read_html`` now raises when no t...
https://api.github.com/repos/pandas-dev/pandas/pulls/4305
2013-07-20T17:05:06Z
2013-07-25T00:00:01Z
2013-07-25T00:00:01Z
2014-06-13T08:22:58Z
BUG/TST: Fix io.sql.write_frame replace bug and complete test coverage of if_exists functionality
diff --git a/pandas/io/sql.py b/pandas/io/sql.py index 11b139b620175..a7588cc741352 100644 --- a/pandas/io/sql.py +++ b/pandas/io/sql.py @@ -196,15 +196,23 @@ def write_frame(frame, name, con, flavor='sqlite', if_exists='fail', **kwargs): if_exists='append' else: if_exists='fail' + ...
This fixes #2971 and #4110. This also provides test coverage for the different values for the if_exists argument for io.sql.write_frame.
https://api.github.com/repos/pandas-dev/pandas/pulls/4304
2013-07-20T04:58:52Z
2014-02-16T22:16:38Z
null
2014-06-20T19:13:10Z
BUG: explicity change nan -> NaT when assigning to datelike dtypes
diff --git a/pandas/core/common.py b/pandas/core/common.py index ddacb98a2ddf3..eba0379a2c824 100644 --- a/pandas/core/common.py +++ b/pandas/core/common.py @@ -42,6 +42,7 @@ class AmbiguousIndexError(PandasError, KeyError): _NS_DTYPE = np.dtype('M8[ns]') _TD_DTYPE = np.dtype('m8[ns]') _INT64_DTYPE = np.dtype(np.int...
closes #4292 essentially was doing a assignment of `np.nan` to a numpy array of dtype `datetime64[ns]` which works correct (set's the value to `iNaT`) on little endian, for some reason on big endian doesn't work, explicity change the `nan` to `iNaT`
https://api.github.com/repos/pandas-dev/pandas/pulls/4302
2013-07-20T00:38:24Z
2013-07-20T01:36:54Z
2013-07-20T01:36:53Z
2014-07-10T06:34:22Z
ENH: expose ujson precise_float argument on decode
diff --git a/pandas/io/json.py b/pandas/io/json.py index ce95c3394ce2c..c3e56a05f13b0 100644 --- a/pandas/io/json.py +++ b/pandas/io/json.py @@ -119,7 +119,8 @@ def _format_dates(self): self.obj[c] = self._format_to_date(self.obj[c]) def read_json(path_or_buf=None, orient=None, typ='frame', dtyp...
The new version of ujson takes a boolean `precise_float` argument when decoding, this should be exposed when decoding pandas objects.
https://api.github.com/repos/pandas-dev/pandas/pulls/4300
2013-07-19T23:36:46Z
2013-07-20T00:58:15Z
2013-07-20T00:58:15Z
2014-06-19T13:51:40Z
ENH: ujson better handling of very large and very small numbers, throw ValueError for bad double_precision arg #4042
diff --git a/pandas/io/tests/test_json/test_ujson.py b/pandas/io/tests/test_json/test_ujson.py index 19c482d8b3590..fbfac34f5073c 100644 --- a/pandas/io/tests/test_json/test_ujson.py +++ b/pandas/io/tests/test_json/test_ujson.py @@ -41,7 +41,7 @@ class UltraJSONTests(TestCase): def test_encodeDecimal(self): ...
closes #4042 This makes ujson handle very big and very small numbers a bit better, it doesn't help with precision but it should at least be able to handle very small and large exponentials now: ``` In [4]: from pandas.json import dumps In [5]: dumps(1e-5) Out[5]: '0.00001' In [6]: dumps(1e-6) Out[6]: '0.000001' In...
https://api.github.com/repos/pandas-dev/pandas/pulls/4299
2013-07-19T23:09:52Z
2013-07-20T01:45:17Z
2013-07-20T01:45:17Z
2014-07-16T08:19:56Z
Use psutil to set process affinity (test_perf.py) + minor pylint-friendliness for ._ix
diff --git a/README.rst b/README.rst index 85868176722bd..da789e704ebad 100644 --- a/README.rst +++ b/README.rst @@ -99,8 +99,8 @@ Optional dependencies - `BeautifulSoup4`_ and `html5lib`_ (Any recent version of `html5lib`_ is okay.) - - `BeautifulSoup4`_ and `lxml`_ - - `BeautifulSoup4`_ and `html...
please test test_perf.py -- I have rebased against master and had to resolve conflicts Cheers,
https://api.github.com/repos/pandas-dev/pandas/pulls/4296
2013-07-19T20:02:59Z
2013-07-20T00:30:57Z
2013-07-20T00:30:57Z
2014-06-15T07:02:25Z
TST: raise an error json serialization of floats that cannot be accurate represented
diff --git a/doc/source/io.rst b/doc/source/io.rst index 653ac2cb10b69..a78075548b51d 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -1020,6 +1020,11 @@ Writing to a file, with a date index and a date column dfj2.to_json('test.json') open('test.json').read() +.. warning:: + + Currently ``usjon`` ...
related to #4042 ``` In [1]: DataFrame([[1e-16,'foo',1e-8]],columns=list('ABC')).to_json() ValueError: ujson currently cannot accurately format float data less than 1e-15. A work-around is to multiply the data by a large positive factor and divide on deseriliazation ```
https://api.github.com/repos/pandas-dev/pandas/pulls/4295
2013-07-19T18:06:43Z
2013-07-19T23:49:12Z
null
2014-08-11T07:09:11Z
DOC: Fix typo.
diff --git a/doc/source/basics.rst b/doc/source/basics.rst index 05f9111497c08..677284572ca6f 100644 --- a/doc/source/basics.rst +++ b/doc/source/basics.rst @@ -1228,7 +1228,7 @@ You can get/set options directly as attributes of the top-level ``options`` attr pd.options.display.max_rows -There is also an API co...
Smallest PR ever.
https://api.github.com/repos/pandas-dev/pandas/pulls/4286
2013-07-18T13:36:31Z
2013-07-19T01:50:27Z
2013-07-19T01:50:27Z
2014-07-16T08:19:50Z
Update CONTRIBUTING.md with note on attribution in PRs
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9c9adba7edab4..24e26ecd8b431 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -78,6 +78,15 @@ your contribution or address the issue you're having. - For extra brownie points, use "git rebase -i" to squash and reorder commits in your PR so that the histo...
Issue raised by #4140. Objections?
https://api.github.com/repos/pandas-dev/pandas/pulls/4285
2013-07-18T12:02:08Z
2013-07-18T21:04:36Z
2013-07-18T21:04:36Z
2014-07-16T08:19:49Z
TST: ujson dont force endianness #4274
diff --git a/pandas/io/tests/test_json/test_pandas.py b/pandas/io/tests/test_json/test_pandas.py index e57eacc80647f..bc6ba1a45136c 100644 --- a/pandas/io/tests/test_json/test_pandas.py +++ b/pandas/io/tests/test_json/test_pandas.py @@ -145,7 +145,7 @@ def _check_all_orients(df, dtype=None, convert_axes=True, raise_ok=...
https://api.github.com/repos/pandas-dev/pandas/pulls/4284
2013-07-18T10:27:55Z
2013-07-18T11:25:04Z
2013-07-18T11:25:04Z
2014-06-18T21:16:11Z
BUG: Fixed non-unique indexing memory allocation issue with .ix/.loc (GH4280)
diff --git a/doc/source/release.rst b/doc/source/release.rst index f3029cfe41349..b5871643f4c1d 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -235,7 +235,8 @@ pandas 0.12 names (:issue:`3873`) - Bug in non-unique indexing via ``iloc`` (:issue:`4017`); added ``takeable`` argument to ...
closes #4280 Had a weird memory allocation scheme (that's why is a _scheme_!) when determining a non-unique indexer. Fixed to use a dynamic schema ``` In [1]: columns = list('ABCDEFG') def gen_test(l,l2): return pd.concat([ DataFrame(randn(l,len(columns)),index=range(l),columns=columns), ...
https://api.github.com/repos/pandas-dev/pandas/pulls/4283
2013-07-18T02:41:10Z
2013-07-18T03:00:27Z
2013-07-18T03:00:27Z
2014-07-09T17:56:10Z
TST: add basic clipboard test
diff --git a/.travis.yml b/.travis.yml index eecb4a1695fd6..7945ac945076f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,20 +3,20 @@ language: python python: - 2.6 -env: - global: - - NOSE_ARGS="not slow" UPLOAD=true - matrix: include: + - python: 2.6 + env: NOSE_ARGS="not slow" CLIPBOARD=xclip ...
https://api.github.com/repos/pandas-dev/pandas/pulls/4282
2013-07-18T02:10:08Z
2013-07-25T22:06:17Z
2013-07-25T22:06:17Z
2014-06-18T01:09:04Z
BUG: fix data.py regression
diff --git a/doc/source/release.rst b/doc/source/release.rst index f3029cfe41349..76a84d40400d0 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -342,6 +342,8 @@ pandas 0.12 - Fixed bug in initializing ``DatetimeIndex`` with an array of strings in a certain time zone (:issue:`4229`) - Fixe...
get_data_famafrench was not returning any data because of an incorrect slice and read + splitlines != readlines for zipfiles
https://api.github.com/repos/pandas-dev/pandas/pulls/4281
2013-07-18T00:59:57Z
2013-07-18T03:15:21Z
2013-07-18T03:15:21Z
2014-06-13T10:27:53Z
TST/CI: remove html5lib from 3.2 build
diff --git a/ci/requirements-3.2.txt b/ci/requirements-3.2.txt index 4b63fe3215973..e907a2fa828f1 100644 --- a/ci/requirements-3.2.txt +++ b/ci/requirements-3.2.txt @@ -2,7 +2,6 @@ python-dateutil==2.1 pytz==2013b openpyxl==1.6.2 xlrd==0.9.2 -html5lib==1.0b2 numpy==1.6.2 cython==0.19.1 numexpr==2.1
closes #4277
https://api.github.com/repos/pandas-dev/pandas/pulls/4278
2013-07-17T13:41:04Z
2013-07-17T20:26:01Z
2013-07-17T20:26:01Z
2014-07-16T08:19:39Z
TST: properly skip html5lib
diff --git a/pandas/io/tests/test_html.py b/pandas/io/tests/test_html.py index 2be8d15e3f960..a83d85b89846e 100644 --- a/pandas/io/tests/test_html.py +++ b/pandas/io/tests/test_html.py @@ -50,7 +50,7 @@ def _skip_if_none_of(module_names): else: not_found = [module_name for module_name in module_names if n...
closes #4275
https://api.github.com/repos/pandas-dev/pandas/pulls/4276
2013-07-17T13:34:28Z
2013-07-17T14:37:44Z
2013-07-17T14:37:44Z
2014-06-16T19:19:22Z
Easier sub-classing for Series and DataFrame
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 401a7746953cb..d1a1c5f6b2945 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -233,7 +233,7 @@ def f(self, other, axis=default_axis, level=None, fill_value=None): return self._combine_series(casted, na_op, fill_value, ...
This is a relatively trival 'fix', which makes it easier to sub-class Pandas Series' and Dataframes. Basically, it makes more consistent use of `self._constructor` when constructing outputs from operations on Series' and DataFrames. For example, with these changes, this is now possible: ``` python In [1]: from pandas ...
https://api.github.com/repos/pandas-dev/pandas/pulls/4271
2013-07-16T22:33:59Z
2013-07-22T18:53:02Z
null
2014-07-02T17:36:34Z
TST/CI: add scikits.timeseries wheel back
diff --git a/ci/requirements-2.7.txt b/ci/requirements-2.7.txt index 34b48e1bd7802..6a94d48ad7a5f 100644 --- a/ci/requirements-2.7.txt +++ b/ci/requirements-2.7.txt @@ -12,7 +12,7 @@ xlrd==0.9.2 patsy==0.1.0 html5lib==1.0b2 lxml==3.2.1 -http://downloads.sourceforge.net/project/pytseries/scikits.timeseries/0.91.3/sci...
closes #4268
https://api.github.com/repos/pandas-dev/pandas/pulls/4270
2013-07-16T21:59:30Z
2013-07-16T22:17:54Z
2013-07-16T22:17:54Z
2014-06-16T09:24:22Z
CLN: define __hash__ directly for _NaT; needed for some builds on py3k
diff --git a/pandas/tslib.pyx b/pandas/tslib.pyx index eb1b460df0bca..3439e6bb37eb7 100644 --- a/pandas/tslib.pyx +++ b/pandas/tslib.pyx @@ -581,6 +581,10 @@ cdef inline bint is_timestamp(object o): cdef class _NaT(_Timestamp): + def __hash__(_NaT self): + # py3k needs this defined here + return h...
closes #4266
https://api.github.com/repos/pandas-dev/pandas/pulls/4269
2013-07-16T21:50:48Z
2013-07-16T22:13:25Z
2013-07-16T22:13:25Z
2014-07-16T08:19:34Z
TST: skip if no html5lib since bs4 needs it
diff --git a/doc/source/release.rst b/doc/source/release.rst index 3b7d25789aa40..f3029cfe41349 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -341,6 +341,7 @@ pandas 0.12 (:issue:`4226`) - Fixed bug in initializing ``DatetimeIndex`` with an array of strings in a certain time zone (:is...
closes #4265.
https://api.github.com/repos/pandas-dev/pandas/pulls/4267
2013-07-16T21:29:15Z
2013-07-16T22:02:45Z
2013-07-16T22:02:44Z
2014-07-05T02:36:23Z
BLD/TST/CI: add script to show skipped tests at the end of a build
diff --git a/.travis.yml b/.travis.yml index 96dba262ebfb6..eecb4a1695fd6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -49,3 +49,4 @@ script: after_script: - ci/print_versions.py + - ci/print_skipped.py /tmp/nosetests.xml diff --git a/ci/print_skipped.py b/ci/print_skipped.py new file mode 100755 index 00000000...
closes #4261.
https://api.github.com/repos/pandas-dev/pandas/pulls/4262
2013-07-16T16:47:01Z
2013-07-16T20:31:00Z
2013-07-16T20:31:00Z
2014-07-16T08:19:31Z
TST/BLD: add proper skips for bad bs4 version
diff --git a/ci/requirements-2.6.txt b/ci/requirements-2.6.txt index 3873f56fa6070..ac77449b2df02 100644 --- a/ci/requirements-2.6.txt +++ b/ci/requirements-2.6.txt @@ -2,3 +2,5 @@ numpy==1.6.1 cython==0.19.1 python-dateutil==2.1 pytz==2013b +http://www.crummy.com/software/BeautifulSoup/bs4/download/4.2/beautifulsou...
Make sure things are being properly skipped because of a bad bs4 version. Also adds a 4.2.0 known bad version of bs4 to 26 travis build so that we can verify that tests are being skipped when the version is bad.
https://api.github.com/repos/pandas-dev/pandas/pulls/4259
2013-07-16T14:31:36Z
2013-07-16T21:29:53Z
2013-07-16T21:29:53Z
2014-07-16T08:19:30Z
ENH: Dataframe isin2
diff --git a/doc/source/indexing.rst b/doc/source/indexing.rst index e8d9fd52cf352..213a7ab659dae 100644 --- a/doc/source/indexing.rst +++ b/doc/source/indexing.rst @@ -456,6 +456,39 @@ and :ref:`Advanced Indexing <indexing.advanced>` you may select along more than df2.loc[criterion & (df2['b'] == 'x'),'b':'c'] ...
fixes #4211, an alternative (on top of) #4237 DataFrame isin method: ``` In [11]: df = pd.DataFrame([['a', 'a', 'c'], ['b', 'e', 'a'], ['c', 'a', 'f']], columns=['A', 'A', 'B']) In [12]: df Out[12]: A A B 0 a a c 1 b e a 2 c a f In [13]: df.isin(['a']) Out[13]: A A B 0 True True ...
https://api.github.com/repos/pandas-dev/pandas/pulls/4258
2013-07-16T13:32:27Z
2013-07-24T21:45:38Z
2013-07-24T21:45:38Z
2014-06-20T16:16:29Z
TST: no need for flavor testing in skip
diff --git a/pandas/io/tests/test_html.py b/pandas/io/tests/test_html.py index d7c46ea898b33..ad6c2d215be32 100644 --- a/pandas/io/tests/test_html.py +++ b/pandas/io/tests/test_html.py @@ -43,9 +43,17 @@ def _skip_if_no(module_name): def _skip_if_none_of(module_names): if isinstance(module_names, basestring): ...
closes #4214, #4252, #4253
https://api.github.com/repos/pandas-dev/pandas/pulls/4257
2013-07-16T13:15:20Z
2013-07-16T14:19:22Z
2013-07-16T14:19:22Z
2014-06-28T10:41:40Z
ENH: Keep original stack when exception happened in dataframe.apply
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 401a7746953cb..a8dd798deb821 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -4488,7 +4488,7 @@ def _apply_standard(self, func, axis, ignore_failures=False): except (NameError, UnboundLocalError): # pragma: no cover ...
when using raise e, the error stack app user received will begin in _apply_standard method. Use raise instead, so that user could received error stack in funv(v) call. Easier for user to debug.
https://api.github.com/repos/pandas-dev/pandas/pulls/4254
2013-07-16T10:48:28Z
2013-08-21T13:32:23Z
null
2014-07-11T22:39:12Z
CLN: Remove unused and cleanup imports throughout.
diff --git a/pandas/core/common.py b/pandas/core/common.py index ddacb98a2ddf3..fc08ae6ac5153 100644 --- a/pandas/core/common.py +++ b/pandas/core/common.py @@ -4,24 +4,21 @@ import itertools import re -from datetime import datetime +import codecs +import csv from numpy.lib.format import read_array, write_array ...
Cleans up imports throughout pandas, removing unused and reordering to better match PEP8 where reasonable. Thanks to PyCharm for making this much easier. Doesn't change any .pyx or .pyd files. (inspired by import issue in #4249)
https://api.github.com/repos/pandas-dev/pandas/pulls/4251
2013-07-16T02:52:45Z
2013-07-31T12:20:38Z
null
2014-06-26T17:39:32Z
BUG: remove six import
diff --git a/pandas/core/reshape.py b/pandas/core/reshape.py index 1b3aa0f962e10..cb34d0bad5df7 100644 --- a/pandas/core/reshape.py +++ b/pandas/core/reshape.py @@ -5,8 +5,6 @@ import numpy as np -import six - from pandas.core.series import Series from pandas.core.frame import DataFrame @@ -691,7 +689,7 @@ def...
closes #4249
https://api.github.com/repos/pandas-dev/pandas/pulls/4250
2013-07-16T00:07:26Z
2013-07-16T13:19:21Z
2013-07-16T13:19:21Z
2014-07-12T05:11:20Z
BLD: use mpl 1.1.1 in python 2.7 production travis build
diff --git a/ci/requirements-2.7.txt b/ci/requirements-2.7.txt index c39f5301c5d39..34b48e1bd7802 100644 --- a/ci/requirements-2.7.txt +++ b/ci/requirements-2.7.txt @@ -6,7 +6,7 @@ cython==0.19.1 bottleneck==0.6.0 numexpr==2.1 tables==2.3.1 -matplotlib==1.2.1 +matplotlib==1.1.1 openpyxl==1.6.2 xlrd==0.9.2 patsy==...
https://api.github.com/repos/pandas-dev/pandas/pulls/4248
2013-07-15T22:29:22Z
2013-07-15T23:17:07Z
2013-07-15T23:17:07Z
2014-07-16T08:19:24Z
API: implement non-unique indexing in series (GH4246)
diff --git a/doc/source/release.rst b/doc/source/release.rst index de4cea17f6d99..3b7d25789aa40 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -235,6 +235,7 @@ pandas 0.12 names (:issue:`3873`) - Bug in non-unique indexing via ``iloc`` (:issue:`4017`); added ``takeable`` argument to ...
closes #4246 ``` In [3]: s = Series([1,2,3,4],['foo','bar','foo','bah']) In [4]: s.ix[['foo','bar','bah','bam']] Out[4]: foo 1 foo 3 bar 2 bah 4 bam NaN dtype: float64 In [5]: s[['foo','bar','bah','bam']] Out[5]: foo 1 foo 3 bar 2 bah 4 bam NaN dtype: float64 ```
https://api.github.com/repos/pandas-dev/pandas/pulls/4247
2013-07-15T21:55:08Z
2013-07-15T22:56:02Z
2013-07-15T22:56:02Z
2014-06-25T22:17:51Z
DOC: Fixed erroneous method calls in 10min.rst. 'pd.' was missing - Issue #4244
diff --git a/doc/source/10min.rst b/doc/source/10min.rst index e3cfcc765d7c3..9e30a8cf5ed15 100644 --- a/doc/source/10min.rst +++ b/doc/source/10min.rst @@ -279,7 +279,7 @@ by the indexes .. ipython:: python - s1 = pd.Series([1,2,3,4,5,6],index=date_range('20130102',periods=6)) + s1 = pd.Series([1,2,3,4,5,6],i...
Added 'pd.' to the examples in 10min.rst (10 Minutes to Pandas).
https://api.github.com/repos/pandas-dev/pandas/pulls/4245
2013-07-15T19:54:16Z
2013-08-01T16:33:39Z
null
2014-06-15T13:59:46Z
DOC: Fix typos in CONTRIBUTING.md
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7fdb1c53cc15b..9c9adba7edab4 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,6 +1,6 @@ ###Guidelines -All contributions, bug reports, bug fixes, documentation improvments, +All contributions, bug reports, bug fixes, documentation improvements, enhancemen...
Fix a few minor typos.
https://api.github.com/repos/pandas-dev/pandas/pulls/4243
2013-07-15T18:31:15Z
2013-07-15T23:01:07Z
2013-07-15T23:01:07Z
2014-07-16T08:19:20Z
CLN: replace __repr__ with __unicode__ for string printing (to use StringMixIn)
diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py index d6ad6aa0c351a..3c08213bf26d1 100644 --- a/pandas/io/pytables.py +++ b/pandas/io/pytables.py @@ -1293,7 +1293,7 @@ def __init__(self, values=None, kind=None, typ=None, cname=None, data=None, bloc self.dtype_attr = u"%s_dtype" % self.name ...
https://api.github.com/repos/pandas-dev/pandas/pulls/4241
2013-07-15T12:59:23Z
2013-07-15T13:14:13Z
2013-07-15T13:14:13Z
2014-07-16T08:19:19Z
BLD: use wheels and newer scipy bc of py33 scipy issue
diff --git a/ci/install.sh b/ci/install.sh index 5c681a707ce49..1b7ec3f647763 100755 --- a/ci/install.sh +++ b/ci/install.sh @@ -21,9 +21,8 @@ echo "inside $0" pip install -I git+https://github.com/pypa/pip@42102e9deaea99db08b681d06906c2945f6f95e2#egg=pip pv="${TRAVIS_PYTHON_VERSION:0:1}" [ "$pv" == "2" ] && pv="" -...
closes #4239 #4194 using scipy 0.10 for 2.7 builds and 0.12 for 3.2 and 3.3 builds
https://api.github.com/repos/pandas-dev/pandas/pulls/4240
2013-07-15T03:51:42Z
2013-07-15T04:02:51Z
2013-07-15T04:02:51Z
2014-07-03T21:40:16Z
TST: remove fudgy ujson test #4223
diff --git a/pandas/io/tests/test_json/test_ujson.py b/pandas/io/tests/test_json/test_ujson.py index f838f8b7ea15c..19c482d8b3590 100644 --- a/pandas/io/tests/test_json/test_ujson.py +++ b/pandas/io/tests/test_json/test_ujson.py @@ -92,17 +92,6 @@ def test_encodeDecodeLongDecimal(self): encoded = ujson.dumps(s...
Removed ambiguous ujson test, see #4223, #4186.
https://api.github.com/repos/pandas-dev/pandas/pulls/4238
2013-07-14T23:54:55Z
2013-07-15T01:07:52Z
2013-07-15T01:07:52Z
2014-06-16T17:36:41Z
ENH: DataFrame isin
diff --git a/doc/source/indexing.rst b/doc/source/indexing.rst index e8d9fd52cf352..4f8fc5e78ece3 100644 --- a/doc/source/indexing.rst +++ b/doc/source/indexing.rst @@ -456,6 +456,36 @@ and :ref:`Advanced Indexing <indexing.advanced>` you may select along more than df2.loc[criterion & (df2['b'] == 'x'),'b':'c'] ...
WIP for now. See #4211 for more info. A few things to check before this is ready to merge: This is basically a convenience method. I use the `Series` method for each column passed, and aggregate the methods sensibly. A few questions before merge though: - Do we have a preference for `any`/`all` vs. `and`/`or`? Se...
https://api.github.com/repos/pandas-dev/pandas/pulls/4237
2013-07-14T14:21:47Z
2013-07-24T21:45:47Z
2013-07-24T21:45:47Z
2014-06-23T00:41:35Z
BUG: Boolean indexing on an empty series loses index names
diff --git a/pandas/src/inference.pyx b/pandas/src/inference.pyx index f4474bfb5f853..defab9712c6c0 100644 --- a/pandas/src/inference.pyx +++ b/pandas/src/inference.pyx @@ -41,10 +41,6 @@ def infer_dtype(object _values): _values = list(_values) values = list_to_object_array(_values) - n = len...
#4235
https://api.github.com/repos/pandas-dev/pandas/pulls/4236
2013-07-14T00:18:58Z
2013-08-23T13:03:40Z
null
2014-06-14T18:14:51Z
BUG: initialize DatetimeIndex with array of strings (#4229)
diff --git a/doc/source/release.rst b/doc/source/release.rst index 2d9b3649b6f22..de4cea17f6d99 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -338,6 +338,8 @@ pandas 0.12 - Fixed the legend displaying in ``DataFrame.plot(kind='kde')`` (:issue:`4216`) - Fixed bug where Index slices weren't ca...
Possibly a fix for #4229. The rationale is that an array of strings should be handled in the same way as a list of strings (after applying `np.asarray(list)`), and I supposed that the list was handling the timezone correctly. ## More in detail: - handling of the list of strings: https://github.com/pydata/pandas/blob...
https://api.github.com/repos/pandas-dev/pandas/pulls/4234
2013-07-13T18:27:35Z
2013-07-14T19:20:15Z
2013-07-14T19:20:15Z
2014-06-18T22:09:26Z