forked from pandas-dev/pandas
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Version 0.19.2 * tag 'v0.19.2': (78 commits) RLS: v0.19.2 DOC: update release notes for 0.19.2 TST: skip gbq upload test as flakey DOC: clean-up v0.19.2 whatsnew DOC: update Pandas Cheat Sheet (GH13202) DOC: Pandas Cheat Sheet TST: matplotlib 2.0 fix in log limits for barplot (GH14808) (pandas-dev#14957) flake8 fix import Remove test - from 0.20.0 PR slipped in PERF: fix getitem unique_check / initialization issue cache and remove boxing (pandas-dev#14931) CLN: Resubmit of GH14700. Fixes GH14554. Errors other than Indexing… Clean up construction of Series with dictionary and datetime index BUG: .fillna() for datetime64 with tz is passing thru floats BUG: Patch read_csv NA values behaviour ENH: merge_asof() has type specializations and can take multiple 'by' parameters (pandas-dev#13936) [Backport pandas-dev#14886] BUG: regression in DataFrame.combine_first with integer columns (GH14687) (pandas-dev#14886) Fixed KDE Plot to drop the missing values (pandas-dev#14820) ENH: merge_asof() has left_index/right_index and left_by/right_by (pandas-dev#14253) (pandas-dev#14531) TST: correct url for test file on s3 (xref pandas-dev#14587) ...
- Loading branch information
Showing
153 changed files
with
10,021 additions
and
4,592 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,15 @@ | ||
#### Code Sample, a copy-pastable example if possible | ||
#### A small, complete example of the issue | ||
|
||
```python | ||
# Your code here | ||
|
||
``` | ||
#### Problem description | ||
|
||
[this should explain **why** the current behaviour is a problem and why the expected output is a better solution.] | ||
|
||
#### Expected Output | ||
|
||
#### Output of ``pd.show_versions()`` | ||
|
||
<details> | ||
# Paste the output here pd.show_versions() here | ||
# Paste the output here | ||
|
||
</details> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,23 @@ | ||
from .pandas_vb_common import * | ||
from pandas.util.decorators import cache_readonly | ||
|
||
|
||
class DataFrameAttributes(object): | ||
class getattr_dataframe_index(object): | ||
goal_time = 0.2 | ||
|
||
def setup(self): | ||
self.df = DataFrame(np.random.randn(10, 6)) | ||
self.cur_index = self.df.index | ||
|
||
def time_get_index(self): | ||
def time_getattr_dataframe_index(self): | ||
self.foo = self.df.index | ||
|
||
def time_set_index(self): | ||
self.df.index = self.cur_index | ||
|
||
|
||
class CacheReadonly(object): | ||
class setattr_dataframe_index(object): | ||
goal_time = 0.2 | ||
|
||
def setup(self): | ||
self.df = DataFrame(np.random.randn(10, 6)) | ||
self.cur_index = self.df.index | ||
|
||
class Foo: | ||
|
||
@cache_readonly | ||
def prop(self): | ||
return 5 | ||
self.obj = Foo() | ||
|
||
def time_cache_readonly(self): | ||
self.obj.prop | ||
def time_setattr_dataframe_index(self): | ||
self.df.index = self.cur_index |
Oops, something went wrong.