-
-
Notifications
You must be signed in to change notification settings - Fork 17.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Read Stata version 118 files closes #9882 #10516
Conversation
I think you should create a class for each version should be simpler to maintain |
Having separate classes would work with |
easy,
you would simply change the impl and call methods on the worker class, while the external API would remain the same. The big advantage would be that this would leave all of the existing classes parsed the same; adding something new should be straightforward and minimal changes. |
I still don't get it. StataReader is either used as an iterator, or the user calls the read or data methods to obtain some or all of the data as a DataFrame. StataReader also has some additional methods and attributes like variable_labels whose implementation depends on the file version. If there were subclasses for different dta versions it seems to me that we would need to monkey patch the subclass methods into the base class (since the caller will obtain an instance of the base class not the correct subclass that matches the data file format). Also complicating matters is the fact that we have to read partway through the file before we know what the version is. |
just trying to make it easier / more extensibile. It seems that every time this stata format changes this needs a big rewrite. |
I agree that it is sort of a mess. But the pieces that are version-specific are intertwined with code that works for all versions. The format changes are substantial as well, so to some degree the complexity is unavoidable. |
I don't think Stata runs on any big endian platforms, so the only tests that matter here are
Of course with out a writer, the only one of these that will matter is #3. |
Nice work! Unfortunately, I don't have access to a big-endian computer :( |
parsed_118["Bytes"] = parsed_118["Bytes"].astype('O') | ||
|
||
expected = DataFrame.from_records( | ||
[['Cat', 'Bogota', 'Bogotá', 1, 1.0, 'option b Ã\x9cnicode', 1.0], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, is option b Ã\x9cnicode
as intended?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right I fixed this now.
Is there a minimum Stata version that is supported? Some of the format info seems to be for very old, untested versions. This could be cleaned up. |
typlist = [struct.unpack(self.byteorder + 'H', | ||
self.path_or_buf.read(2))[0] | ||
for i in range(self.nvar)] | ||
self.typlist = [None]*self.nvar |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
more idiomatic to have something like this:
def f(typ):
if typ <= 2045:
return str(typ)
try:
return self.DTYPE_MAP_XML[typ]
except KeyError:
raise ValueError("cannot convert stata dtype [{0}]"
.format(typ))
self.dtyplist = map(f, typlist)
@kshedden I put a couple of examples of some code sharing that I think can be done (rather than inheriting from base classes, you can do it this way as well). To reduce the future maitenance burden. |
u'Ints': u'int data', | ||
u'Cities': u'Here are some cities', | ||
u'Floats': u'float data'} | ||
for k in vl.keys(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use tm.assert_dict_equal
couple of minor comments. looks good though. after fix, pls squash/rebase. ping when green. |
@jreback -- this should be all set to go now. |
Read Stata version 118 files closes #9882
@kshedden thanks! great effort on this! |
I think this can still use an update in the documentation? (where they mention which versions read_stata supports: http://pandas.pydata.org/pandas-docs/stable/io.html#reading-from-stata-format) And maybe also a whatsnew note? @kshedden can you do that in another PR? |
Ah, I see @jreback already did the whatsnew :-) |
yes, @kshedden pls add a note (or section) on compatiblity (e.g. what versions are supported) in io.rst |
🍰 Thanks to all involved - this makes my life way easier! |
commit 608a28e4e27ad8724841e892f7985355a01dad8a Merge: 047839c 2c25c21 Author: Spencer Carrucciu <scarrucciu@remedypartners.com> Date: Thu Aug 20 11:38:01 2015 -0400 Merge branch 'master' of https://github.com/scarrucciu/pandas commit 047839cfe5f0a2a0c9a3e6a474ece0702fecc5b7 Author: Spencer Carrucciu <scarrucciu@remedypartners.com> Date: Thu Aug 20 11:37:47 2015 -0400 10441 implement __reduce__/__setstate__ for Period pickle support commit 2c25c21f27c2902afaef5b14e8e4d9b564647c5a Merge: a4cc715 235570d Author: Spencer Carrucciu <scarrucciu@remedypartners.com> Date: Thu Aug 20 10:30:37 2015 -0400 Merge branch 'master' of https://github.com/scarrucciu/pandas commit a4cc7154ff9d2b063a47b300f324e6eff5a5697a Author: Spencer Carrucciu <scarrucciu@remedypartners.com> Date: Thu Aug 20 10:30:20 2015 -0400 10441 add period series to create_data in generate_legacy_data commit f64f7467cab6464a9ac30581ecb7ef0571602e52 Author: Spencer Carrucciu <scarrucciu@remedypartners.com> Date: Thu Aug 20 10:21:26 2015 -0400 10441 Use self.round_trip_pickle to test in test_period commit 235570d212c3c2b2bfea1a68b15109abeef5ad15 Author: Spencer Carrucciu <scarrucciu@remedypartners.com> Date: Thu Aug 20 10:21:26 2015 -0400 use self.round_trip_pickle to test in test_period commit 95f2db4e1e181c77b5caa864fe20c2a85840fc87 Author: Spencer Carrucciu <scarrucciu@remedypartners.com> Date: Thu Aug 20 09:48:52 2015 -0400 add _create_period to generate_legacy_storage_files commit c2d0e87f9da7007536840b6c2dc2935b12f515aa Merge: 278930e 2ef546d Author: Spencer Carrucciu <scarrucciu@remedypartners.com> Date: Thu Aug 20 09:43:49 2015 -0400 Merge branch 'master' of https://github.com/pydata/pandas commit 2ef546dcfa3c818afa6ae849865e4b7cf64436af Merge: 35284b5 9375460 Author: Jeff Reback <jeff@reback.net> Date: Thu Aug 20 08:54:55 2015 -0400 Merge pull request #10826 from sinhrks/merge_empty BUG: Merge with empty dataframe may raise IndexError commit 35284b564bc284e60ec19fa8fde0190a3ba80492 Merge: 3e35c84 96b7e27 Author: Jeff Reback <jeff@reback.net> Date: Thu Aug 20 08:48:09 2015 -0400 Merge pull request #10858 from behzadnouri/cat-attr removes categories & ordered from CategoricalIndex attributes commit 96b7e27553ef956602dd8c5e73425de356cc3617 Author: behzad nouri <behzadnouri@gmail.com> Date: Wed Aug 19 19:35:10 2015 -0400 removes categories & ordered from CategoricalIndex attributes commit 3e35c842f37265ac7339908869d4cc7bdef784d9 Author: Jeff Reback <jeff@reback.net> Date: Wed Aug 19 17:37:51 2015 -0400 DOC: fix doc-string in Categorical constructor, #10356 commit 9311a3924dd4097916928dee68a286284a98ca2f Merge: 2396370 17ec1d9 Author: Jeff Reback <jeff@reback.net> Date: Wed Aug 19 16:52:33 2015 -0400 Merge pull request #10738 from nickeubank/patch_sample_to_return_copy amend sample to return copy and align weight axis commit 17ec1d930d0ca05bc25bbf8c196afacb1b66cf30 Author: Nick Eubank <nickeubank@gmail.com> Date: Wed Aug 19 10:57:04 2015 -0700 amend sample to return copy and align weight axis commit 2396370ddfa1110f9a2d4ae304bd09ad53c560f5 Merge: 94ec946 9c60d18 Author: Jeff Reback <jeff@reback.net> Date: Wed Aug 19 06:53:27 2015 -0400 Merge pull request #10853 from kawochen/TST-FIX-10837 TST: GH10837 remove test_ujson.py reliance on dict iteration order commit 94ec9461394827413b2ea7305b0f33640c8ff9b2 Author: Jeff Reback <jeff@reback.net> Date: Tue Aug 18 21:07:06 2015 -0400 PERF: add in numexpr to asv add to .gitignore commit c29a230417279f32bbcef78a81ef1d312ef023c6 Merge: 6d60d76 6c598fa Author: Joris Van den Bossche <jorisvandenbossche@gmail.com> Date: Wed Aug 19 11:21:38 2015 +0200 Merge pull request #10854 from rgieseke/patch-1 DOC: fix Panel4D docstring commit 6d60d76c6985b0030b992e9763515a40e67efc3b Merge: d27068f ee7a094 Author: Joris Van den Bossche <jorisvandenbossche@gmail.com> Date: Wed Aug 19 11:12:07 2015 +0200 Merge pull request #10852 from chris-b1/cookbook DOC: Excel formatting and searchsorted cookbook examples commit 6c598fab8af391b4240ef112759d065e54a6928a Author: Robert Gieseke <rob.g@web.de> Date: Wed Aug 19 10:54:24 2015 +0200 DOC: fix Panel4D docstring Just took this from https://github.com/pydata/pandas/blob/master/doc/source/dsintro.rst#panel4d-experimental commit 9c60d182399ddc4ccdf166f23b6e196e57d455c0 Author: Ka Wo Chen <kawoc@tepper.cmu.edu> Date: Tue Aug 18 23:57:56 2015 -0400 TST: GH10837 remove test_ujson.py reliance on dict iteration order commit ee7a0947a27b254c1a37092d0b5aff3d3055746b Author: Chris <cbartak@gmail.com> Date: Tue Aug 18 21:51:09 2015 -0500 DOC: Excel formatting and searchsorted cookbook commit d27068f8b78661a64580340a5ab230d0dad17760 Merge: 310f9e4 201760e Author: Jeff Reback <jeff@reback.net> Date: Tue Aug 18 20:32:16 2015 -0400 Merge pull request #9715 from qwhelan/vbench_to_asv PERF: add initial asv config and vbench->asv conversion script commit 310f9e449a6e17d4b26ecc68b6af6115244fc9d2 Author: Jeff Reback <jeff@reback.net> Date: Tue Aug 18 20:20:37 2015 -0400 COMPAT: windows compat for #9838 commit ab769d87ad54ac84f6d4aa9fec44eb2d266e9b39 Merge: 5052900 22af130 Author: Jeff Reback <jeff@reback.net> Date: Tue Aug 18 19:37:09 2015 -0400 Merge pull request #10840 from chris-b1/valuecounts-float64 PERF: value_counts_float64 #10821 commit 5052900583b18fd86771928faffa665408beee38 Merge: 931e0e5 0468cad Author: Stephan Hoyer <shoyer@gmail.com> Date: Tue Aug 18 16:05:06 2015 -0700 Merge pull request #10411 from shoyer/max_distance ENH: tolerance argument for limiting pad, backfill and nearest neighbor reindexing commit 0468cadc7f3a225fc04f7ef6b93c1a7bb0cc5c00 Author: Stephan Hoyer <shoyer@climate.com> Date: Tue Jun 23 00:03:23 2015 -0600 ENH: add tolerance to get_indexer, get_loc and reindex commit 22af130187a6363d447525ecb69a705c322655e0 Merge: f0706b1 8bb17cb Author: chris-b1 <cbartak@gmail.com> Date: Tue Aug 18 15:45:38 2015 -0500 Merge pull request #1 from insertinterestingnamehere/fused_cleanup Fused cleanup commit 8bb17cb02c31bb89e87a8fbddec0537fabd1d81d Author: Ian Henriksen <insertinterestingnamehere@gmail.com> Date: Tue Aug 18 11:39:15 2015 -0600 CLN: Combined build_count_table_int64 and build_count_table_float64 into a single function using fused types. commit cf002dcce4adcf45e1256b6f16aa2e2833a4cfc5 Author: Ian Henriksen <insertinterestingnamehere@gmail.com> Date: Tue Aug 18 11:25:25 2015 -0600 CLN: Combined value_count_in64 and value_count_float64 into a single routine using fused types. commit 931e0e5596e5714ecab5665d10735c155a2313f7 Author: Evan Wright <evanpw@gmail.com> Date: Sat Apr 4 15:13:33 2015 -0400 BUG: DataFrame.where does not respect axis parameter when shape is symmetric (GH #9736) commit 5314a5fb181f7eee0248d0ab6af3cd57c1733448 Merge: a0242ba 6c3da7f Author: Jeff Reback <jeff@reback.net> Date: Tue Aug 18 07:09:49 2015 -0400 Merge pull request #10686 from kawochen/BUG-FIX-10581 BUG: GH10581 where read_msgpack does not respect encoding commit a0242ba65ab704f91684df15f8f4e576acd6f97d Author: Jeff Reback <jeff@reback.net> Date: Tue Aug 18 07:07:42 2015 -0400 clean up some imports commit 8ccdf4821f2dcac2b2c0f210d07679b5178f0211 Author: Clearfield Christopher <chris.clearfield@gmail.com> Date: Sat Aug 15 19:50:50 2015 -0700 BUG: Fix MLK and Memorial day date representations, #9760 commit 914b5dd3b551c52952b5f98f5004116dcdbea3d0 Merge: bc45bca 99b90de Author: Jeff Reback <jeff@reback.net> Date: Tue Aug 18 06:51:57 2015 -0400 Merge pull request #10716 from sinhrks/salign BUG: Series.align with MultiIndex may be inverted commit bc45bcac3964b91c57ee782ce1ce87b14fec1a0e Merge: a4875d6 7a9268d Author: Jeff Reback <jeff@reback.net> Date: Tue Aug 18 06:48:47 2015 -0400 Merge pull request #10810 from sinhrks/dup_doc DOC: Updated drop_duplicates doc commit a4875d66cc5813f3494123dfdc9b2daa8f9a2306 Merge: 20a85f8 451f308 Author: Jeff Reback <jeff@reback.net> Date: Tue Aug 18 06:47:43 2015 -0400 Merge pull request #10841 from MatthewGilbert/master DOC: Fix for #10823, updating min_periods docstring commit 20a85f8b7bdc89d40ae336a8bc5e161560bd40a3 Merge: 13cb1a7 f07e582 Author: Jeff Reback <jeff@reback.net> Date: Tue Aug 18 06:44:03 2015 -0400 Merge pull request #10838 from jreback/mi_panel BUG: Panel setitem with a multiindex #10360 (partial) commit 451f3080e65553ab74dacf5837a53340e35e9385 Author: Matthew Gilbert <matthew.gilbert12@gmail.com> Date: Mon Aug 17 22:09:17 2015 -0400 DOC: Fix for #10823, updating min_periods docstring commit f0706b1843883f12807baeaad8a6046dd8f767e9 Author: Chris <cbartak@gmail.com> Date: Mon Aug 17 20:46:55 2015 -0500 PERF: value_counts_float64 #10821 commit 6c3da7f0dc67727590b9bdccd40a56e10fc58341 Author: Ka Wo Chen <kawoc@tepper.cmu.edu> Date: Tue Jul 28 02:49:52 2015 -0400 BUG: GH10581 where read_msgpack does not respect encoding ENH: msgpack submodule version updated to 0.4.6 commit f07e582aef5a3ca6e3f406c56c38a8b26b6c69d9 Author: Jeff Reback <jeff@reback.net> Date: Mon Aug 17 18:24:11 2015 -0400 BUG: Panel setitem with a multiindex #10360 (partial) commit 13cb1a77471104cf89d0d74a6c5ee8c0c9c1247c Merge: 35cc80d e4368de Author: Jeff Reback <jeff@reback.net> Date: Mon Aug 17 16:50:10 2015 -0400 Merge pull request #10836 from cel4/fix_locale_failure skipped failing test on non-engish locales commit e4368de1ea2a6f62290ade05875f4c645c79c0f4 Author: cel4 <cel4@users.noreply.github.com> Date: Mon Aug 17 19:22:26 2015 +0200 skipped failing test on non-engish locales commit 93754600e50afeb4e0636c09e17739aac6f03df4 Author: sinhrks <sinhrks@gmail.com> Date: Sat Aug 15 22:55:42 2015 +0900 BUG: Merge with empty dataframe may raise IndexError commit 35cc80d83ee3e2065245b40f803f489ab641136d Merge: 05a8bad 780396b Author: Jeff Reback <jeff@reback.net> Date: Mon Aug 17 07:09:50 2015 -0400 Merge pull request #10825 from evanpw/csv_eof Fix handling of EOF in 'c' csv parser commit 05a8badce4a786eed17d6a4fc1287c84023024da Merge: 551f424 fe58ee3 Author: Jeff Reback <jeff@reback.net> Date: Sun Aug 16 05:54:59 2015 -0400 Merge pull request #10829 from dvmk/master Minor fix to error messages ('See the the caveats in the documentatio… commit 551f424e38fb3be9e685e995e375704caa1fca11 Merge: 2113672 a61d299 Author: Joris Van den Bossche <jorisvandenbossche@gmail.com> Date: Sun Aug 16 10:28:53 2015 +0200 Merge pull request #10812 from jorisvandenbossche/depr-combine Deprecate combineAdd and combineMult (GH10735) commit fe58ee396b564284539b4c45ad928a3311a1b912 Author: David Kelly <davidkelly999@gmail.com> Date: Sun Aug 16 03:27:07 2015 -0500 Minor fix to error messages ('See the the caveats in the documentation...') commit 2113672040a884e8a3b18881e9608fed795e1129 Author: Luis Ortiz <LuisOrtiz@Verizon.NET> Date: Mon Jul 13 17:07:31 2015 +0000 BUG: GH8243 Change unary - to ~. Fixes numpy warning in ols. commit 780396b0098da830197cb0fcd230ca5c652193e7 Author: Evan Wright <evanpw@gmail.com> Date: Sat Aug 15 09:57:01 2015 -0400 BUG: Fix handling of EOF in 'c' csv parser (GH #10728, #10548) commit 433602022bfbb9ee2424b77694c60f276065dee8 Author: Safia Abdalla <seabdalla@gmail.com> Date: Fri Jul 10 21:38:33 2015 -0700 ENH: Added functionality in resample to resolve #10530 Added tests for updated resample function Changed if-statement to be lower-bound inclusive Undid previous change to if statement Fixed typo in resample.py Fixed typo in _get_time_bins Updated _resample_timestamp function Updated condition in if-statement Updated exceptions raised in resample Moved test case into proper file Fixed typo in test case Updated tests for resampling fix ENH: Updated code for fixing #10530 Removed extraneous print statements from tests Moved code for fix to _get_time_delta_bins function Updated tests for resample TimeDeltaIndex with base Updated code for resample TimeDeltaIndex with base Removed print statements from test case Removed print statement in tests Added note to what's new Removed extra whitespace Removed addtional whitespace Removed whitespace Removed whitespace in resample.py Removed more whitespace in resample.py Removed more whitespace commit 09c4f73d7f331e70c26094374452e43821171fe4 Merge: 58db03e 661b7d7 Author: Jeff Reback <jeff@reback.net> Date: Sat Aug 15 18:22:36 2015 -0400 Merge pull request #10827 from evanpw/empty_nrows_chunksize Bug in read_csv when using nrows or chunksize on a file containing only a header commit 58db03eec9bd6d78976b844267c3c1a9f61a8eb3 Author: cel4 <cel4@users.noreply.github.com> Date: Tue Dec 30 14:28:51 2014 +0100 ERR: improved error message when concatenating an empty sequence of dataframes, #9157 commit 661b7d766ef5acd609087fa960285f4e78986e6f Author: Evan Wright <evanpw@gmail.com> Date: Sat Aug 15 12:39:29 2015 -0400 BUG: read_csv fails when using nrows or chunksize on a file containing only a header (GH #9535) commit a61d299c16e676805215d651096d593d60b80ade Author: Joris Van den Bossche <jorisvandenbossche@gmail.com> Date: Thu Aug 13 10:33:34 2015 +0200 Deprecate combineAdd and combineMult (GH10735) commit bcc7b0b6f8329c421d1991d1b4989afdc46ab90c Merge: 63c587d c0ff3e7 Author: Jeff Reback <jeff@reback.net> Date: Fri Aug 14 14:40:52 2015 -0400 Merge pull request #10808 from ajcr/iloc-negative-index BUG: fix bounds for negative ints when using iloc (GH 10779) commit c0ff3e7d03071f0a2847796b966d7279b18ac3bd Author: ajcr <ajcriley@gmail.com> Date: Thu Aug 13 19:57:15 2015 +0100 BUG: fix bounds for iloc with negative integers (GH10779, GH10547) commit 63c587d9233ac18fb938a0cb9f1612a78ec7a7e2 Author: Jeff Reback <jeff@reback.net> Date: Fri Aug 14 12:31:33 2015 -0400 TST: skip shape comparison test in test_testing commit 8e15810e38ea32e7ee61ad148e20f88fd49f58e8 Author: Jeff Reback <jeff@reback.net> Date: Fri Aug 14 12:03:45 2015 -0400 DOC: doc/setup fixes for #9711 commit 7ed0b26d9594173cf5545348ab0a318880a3f5e2 Author: jreback <jeff@reback.net> Date: Fri Aug 14 11:47:22 2015 -0400 TST: need to use platform int on .take commit b2bc0a04a0726100acc3524874ef6b5cff607dae Merge: a2ac432 4694a42 Author: Jeff Reback <jeff@reback.net> Date: Fri Aug 14 11:40:16 2015 -0400 Merge pull request #9711 from kshedden/sas_xport SAS xport file reader commit 4694a428fd63e971159fffea4559e589088881e9 Author: Kerby Shedden <kshedden@umich.edu> Date: Fri Aug 14 04:03:38 2015 -0400 Minor changes following code review commit a2ac43240339a0a03bfb5028d579bf3b7d268664 Merge: f6d7c49 ac97541 Author: Jeff Reback <jeff@reback.net> Date: Thu Aug 13 09:07:42 2015 -0400 Merge pull request #10744 from chris-b1/dateoffset-add Allow DateOffset addition with Series commit ac975417636ae37eaa14dc3d5c23db80ceaf0a97 Author: Chris <cbartak@gmail.com> Date: Mon Aug 3 23:24:22 2015 -0500 ENH: Allow DateOffset operations with Series commit 7a9268d98ff92fc73bfa77c282422270baf16592 Author: sinhrks <sinhrks@gmail.com> Date: Wed Aug 12 13:34:53 2015 +0900 DOC: Updated drop_duplicates doc commit f6d7c491f8896235f1ddc86e48963fdba0adfeb2 Merge: 12e6fe5 c06dd9b Author: Sinhrks <sinhrks@gmail.com> Date: Wed Aug 12 22:51:50 2015 +0900 Merge pull request #10791 from sinhrks/take_freq BUG: Index.take may add unnecessary freq attribute commit 12e6fe5bee23cc41bd3bcb4acf653486bde64501 Merge: e945d7e 140995e Author: Jeff Reback <jeff@reback.net> Date: Wed Aug 12 09:44:32 2015 -0400 Merge pull request #10776 from kawochen/BUG-FIX-10747 BUG: GH10747 where cast_to_nanoseconds from NaT fails commit e945d7ed8f5507f0f0879609ee96670bfcaf4550 Merge: 490b940 5149e8c Author: Joris Van den Bossche <jorisvandenbossche@gmail.com> Date: Wed Aug 12 13:37:32 2015 +0200 Merge pull request #10794 from jorisvandenbossche/doc-dev-versionadded DOC: add guideline to use versionadded directive to contributing docs (GH10215) commit 5149e8c7688eab1fb56009cded6d5f80411bb8a9 Author: Joris Van den Bossche <jorisvandenbossche@gmail.com> Date: Tue Aug 11 11:12:26 2015 +0200 DOC: add guideline to use versionadded directive to contributing docs (GH10215) commit 490b9406341d797c2df33af44d25c6d4cf99e9ad Merge: 60c1a1d b6444e0 Author: Joris Van den Bossche <jorisvandenbossche@gmail.com> Date: Wed Aug 12 11:55:47 2015 +0200 Merge pull request #10795 from sinhrks/dup_test TST: Suppress warnings of drop_duplicates tests commit 60c1a1db072fbfeb4eda1e028957b23261ab19fa Merge: 25be2f2 113b1ad Author: Joris Van den Bossche <jorisvandenbossche@gmail.com> Date: Wed Aug 12 11:31:13 2015 +0200 Merge pull request #10803 from IamGianluca/fix_issue_10750 BUG: Allow read_sql_table to read from views commit 113b1adc4b4fa267ca668766a94e1a378d06d821 Author: Gianluca Rossi <grossi@quantcast.com> Date: Wed Aug 12 08:02:14 2015 +0100 BUG: Allow read_sql_table to read from views commit 140995eec716fabcd2e77388417133acc85144d9 Author: Ka Wo Chen <kawoc@tepper.cmu.edu> Date: Sun Aug 9 02:39:22 2015 -0400 BUG: GH10747 in astyping of a NaT-like commit 25be2f22d59f7750788f8a130fb539f8d60de488 Author: Joris Van den Bossche <jorisvandenbossche@gmail.com> Date: Wed Aug 12 00:42:00 2015 +0200 DOC: fix namespace commit c06dd9ba32370b0df280d58aab8cfb59e4dc0e20 Author: sinhrks <sinhrks@gmail.com> Date: Tue Aug 11 07:20:01 2015 +0900 BUG: Index.take may add unnecessary freq attribute commit b6444e0bb8f4d2cb7388eea129feec499a89dbaa Author: sinhrks <sinhrks@gmail.com> Date: Tue Aug 11 16:03:56 2015 +0900 TST: Suppress warnings of drop_duplicates tests commit 016dbe61853152d74904f4e168ae12597bda704e Author: ganego <ganego@sogetthis.com> Date: Mon Aug 10 14:49:43 2015 +0200 Update install.rst - Added hint regarding pip install on low memory machines. - Added hint to python 3 version of pandas from distributon repos. commit 1e394fee3e4890fa7a905a962434d11e9033961b Merge: 529288e 4ed857e Author: Sinhrks <sinhrks@gmail.com> Date: Tue Aug 11 01:27:46 2015 +0900 Merge pull request #10507 from sinhrks/test_assert TST: make assertion messages more understandable commit 478af3b28cbbb040a9dac97212924389965e36f6 Author: Kerby Shedden <kshedden@umich.edu> Date: Mon Mar 23 09:39:34 2015 -0400 Support for reading SAS xport files commit 4ed857e1616d407d5223180d0130b6d982b4ef85 Author: sinhrks <sinhrks@gmail.com> Date: Fri Jun 26 04:54:37 2015 +0900 TST: make assertion messages more understandable commit 529288e0d187aeff7617ec10e287559bc5407c1c Merge: 0259ace 1b913ba Author: Sinhrks <sinhrks@gmail.com> Date: Sun Aug 9 04:46:01 2015 +0900 Merge pull request #10236 from sinhrks/duplicated ENH: duplicated and drop_duplicates now accept keep kw commit 0259acef1085499c7a9c6a875162880a5020c7de Merge: a6df004 ec2064a Author: Sinhrks <sinhrks@gmail.com> Date: Sun Aug 9 04:43:55 2015 +0900 Merge pull request #10718 from sinhrks/cat_dttz BUG: Categorical doesn't show tzinfo properly commit 1b913ba6671f0210e7f1ebaff203f57a31e2fe51 Author: sinhrks <sinhrks@gmail.com> Date: Sun Mar 30 21:18:22 2014 +0900 ENH: duplicated and drop_duplicates now accept take=all kw commit a6df0042532a0ed116b2ffdeab7de0268d7572d8 Merge: e9b1a10 9642ec9 Author: Sinhrks <sinhrks@gmail.com> Date: Sat Aug 8 23:38:46 2015 +0900 Merge pull request #10305 from sinhrks/pidx_order BUG: PeriodIndex.order doesnt preserve freq commit ec2064aecfe943215dd812898d8737f6391996f5 Author: sinhrks <sinhrks@gmail.com> Date: Sat Aug 1 23:06:52 2015 +0900 BUG: Categorical doesn't show tzinfo properly commit 9642ec98735f805ffab9bb011bb02c75cc680b99 Author: sinhrks <sinhrks@gmail.com> Date: Mon Jun 8 22:26:25 2015 +0900 BUG: PeriodIndex.order doesnt preserve freq commit e9b1a1009f3aed2b1aad834779ec277526f9fd6a Merge: 5a4d60f 32f5517 Author: Jeff Reback <jeff@reback.net> Date: Sat Aug 8 08:18:12 2015 -0400 Merge pull request #10433 from behzadnouri/stack-dupl-indx BUG: closes bug in stack when index is not unique commit 99b90de62e416d7f649f1153df0cbfc8702ec980 Author: sinhrks <sinhrks@gmail.com> Date: Sat Aug 1 09:40:40 2015 +0900 Series.align with MultiIndex may be inverted commit 5a4d60f9e400ebc4bd68df6b77bb3c7dce8ce2f2 Merge: ff163a8 a209fe4 Author: Joris Van den Bossche <jorisvandenbossche@gmail.com> Date: Fri Aug 7 12:54:07 2015 +0200 Merge pull request #10418 from carpevitam/master improve documentation for pandas.Series.interpolate commit a209fe487fbf4b798ad7a23b3fb3d038203346df Author: Andy Li <acli@berkeley.edu> Date: Tue Jun 23 13:25:54 2015 -0700 improve documentation for pandas.Series.interpolate commit 32f551795031bee130bb2dc2aa3812b5f78df947 Author: behzad nouri <behzadnouri@gmail.com> Date: Wed Jun 24 19:43:34 2015 -0400 closes bug in stack when index is not unique commit ff163a863da98f30c362956cd65e1e8fad7e3bd0 Merge: 83d4dfd d0bcb06 Author: Jeff Reback <jeff@reback.net> Date: Thu Aug 6 11:16:59 2015 -0400 Merge pull request #10757 from jbuyl/fix-read-stata-column-reordering BUG: Fix dtypes order when ordering is different from original file in pandas.io.stata.read_stata commit d0bcb06ba0213a369cd4d7682084b0f4cd440239 Author: Jonas Buyl <jonas.buyl@gmail.com> Date: Thu Aug 6 14:37:29 2015 +0200 Fix column reordering commit 83d4dfd3e3ba20693605ab3e3129e2b7ed42b785 Author: seth-p <padowitz@yahoo.com> Date: Wed Sep 3 10:11:49 2014 -0400 ENH: Added api_rst_coverage.py (#8166) commit 278930e4628524187c87150a2b10446b12310791 Merge: c8e8a10 4f7b514 Author: Spencer Carrucciu <scarrucciu@remedypartners.com> Date: Wed Aug 5 17:47:01 2015 -0400 Merge branch 'master' of https://github.com/scarrucciu/pandas commit c8e8a1069afb40e3f2f6a3fad0b9e6172bbf410f Author: Spencer Carrucciu <scarrucciu@remedypartners.com> Date: Wed Aug 5 17:46:25 2015 -0400 Squashed commit of the following: commit 4f7b514076358a66cbbc1bc629b7a5dc8ff17cbe Author: Spencer Carrucciu <scarrucciu@remedypartners.com> Date: Thu Jun 25 22:27:01 2015 -0400 changed to test_round_trip commit 22d9ad5b141fcc3663050a05d54634a0a092272b Author: Spencer Carrucciu <scarrucciu@remedypartners.com> Date: Thu Jun 25 19:50:32 2015 -0400 move def test_round_trip_pickle to tseries.test.test_period.py commit 81f76f226a81c9aae0d1cb52476650d6da861f2e Author: Spencer Carrucciu <scarrucciu@remedypartners.com> Date: Thu Jun 25 19:46:13 2015 -0400 move to tseries tests commit f55d3dc90d68e622d365a2a7ad6ae0468ffcabab Author: Spencer Carrucciu <scarrucciu@remedypartners.com> Date: Thu Jun 25 19:42:48 2015 -0400 create test for period class with pickle round trip method commit f9c517fc92be0314be8a184f456bb32a17fb8218 Author: Spencer Carrucciu <scarrucciu@remedypartners.com> Date: Thu Jun 25 13:47:09 2015 -0400 implement __reduce__/__setstate__ for Period pickle support commit c74820e4a5b3a2970fe90ce28104ee235684c506 Merge: 0e0a364 2a2a6d1 Author: Sinhrks <sinhrks@gmail.com> Date: Wed Aug 5 19:29:55 2015 +0900 Merge pull request #10346 from sinhrks/to_html_bug BUG: df.to_html(index=False) renders index.name commit 0e0a364377e29da131b975d7bb6bdc4f69507cb0 Merge: 7f820f9 fb74f18 Author: Joris Van den Bossche <jorisvandenbossche@gmail.com> Date: Wed Aug 5 10:12:32 2015 +0200 Merge pull request #10733 from jorisvandenbossche/doc-to_datetime DOC: to_datetime outdated example commit 7f820f9f664635474dcf05199648cc28b35b6d49 Merge: 0479a80 0fbc88a Author: Joris Van den Bossche <jorisvandenbossche@gmail.com> Date: Wed Aug 5 08:44:58 2015 +0200 Merge pull request #10751 from fpinter/patch-1 Fix docstring spelling commit 0479a806584c0c1df7ffd2c7bd9b2ce4a495a7de Merge: f1719b7 39b8ce3 Author: Jeff Reback <jeff@reback.net> Date: Tue Aug 4 18:30:32 2015 -0400 Merge pull request #10393 from cpcloud/df-partial-sort Add nlargest/nsmallest for DataFrame commit 0fbc88a3e5376ff507755f23b50c099fc7f580d7 Author: Frank Pinter <fpinter@users.noreply.github.com> Date: Tue Aug 4 14:32:21 2015 -0700 Fix docstring spelling "analagous" -> "analogous" commit f1719b72c46f88807dd91cf6a092c2da12e676ca Merge: 4309dac 2289185 Author: Joris Van den Bossche <jorisvandenbossche@gmail.com> Date: Tue Aug 4 23:15:43 2015 +0200 Merge pull request #10749 from jorisvandenbossche/doc-fixes DOC: fix some doc build errors/warnings commit 2289185ca41f50c0e25b0c86c515f4f90eb88ad6 Author: Joris Van den Bossche <jorisvandenbossche@gmail.com> Date: Tue Aug 4 20:46:26 2015 +0200 DOC: fix some doc build errors/warnings commit 4309dac743c8c9cb5327770eee7e60f52050425a Merge: 94e394a 6bdcb16 Author: Tom Augspurger <thomas-augspurger@uiowa.edu> Date: Tue Aug 4 12:38:52 2015 -0500 Merge pull request #10729 from TomAugspurger/categorical-value_counts API: CategoricalIndex for value_counts commit 39b8ce3c26250528856aecb323ee96ca075b385b Author: Phillip Cloud <cpcloud@gmail.com> Date: Mon Apr 13 11:30:21 2015 -0400 Implement nlargest and nsmallest for DataFrames commit 6bdcb164929cad21375db6b1de803f34edd52890 Author: Tom Augspurger <tom.w.augspurger@gmail.com> Date: Thu Jul 30 18:07:19 2015 -0500 API: CategoricalIndex for value_counts Changes ``Categorical.value_counts`` to return a Series with a CategoricalIndex. Previously the Series and an Index. commit 94e394a237d0a3cba6f6a5e1c35e7cfbf06212af Merge: d3fed34 117ea52 Author: Jeff Reback <jeff@reback.net> Date: Tue Aug 4 08:27:27 2015 -0400 Merge branch 'kawochen-TST-TestMsgpack-gen' commit 117ea520ba6f394e425425a67c9a719b814222b1 Author: Ka Wo Chen <kawoc@tepper.cmu.edu> Date: Mon Aug 3 23:25:36 2015 -0400 TST: test_packers.TestMsgpack checks for minimum structure and extra keys commit d3fed34cc6706576d8b60e943b66c6c42d5df6f6 Author: Jeff Reback <jeff@reback.net> Date: Tue Aug 4 08:19:30 2015 -0400 Revert "Merge pull request #10743 from kawochen/TST-TestMsgpack-gen" This reverts commit f00e51cd4eb96537357b33932c9d78711ca4bdc9, reversing changes made to 58ae9dbf8a8ce919dfbe3b02dbb2a0c96b4e8db7. commit f00e51cd4eb96537357b33932c9d78711ca4bdc9 Merge: 58ae9db c574d2c Author: Jeff Reback <jeff@reback.net> Date: Tue Aug 4 07:47:19 2015 -0400 Merge pull request #10743 from kawochen/TST-TestMsgpack-gen TST: test_packers.TestMsgpack checks for minimum structure and extra … commit c574d2ccfeb0cf7bfe3a7a2498face7664e3cca8 Author: Ka Wo Chen <kawoc@tepper.cmu.edu> Date: Mon Aug 3 23:25:36 2015 -0400 TST: test_packers.TestMsgpack checks for minimum structure and extra keys commit 58ae9dbf8a8ce919dfbe3b02dbb2a0c96b4e8db7 Merge: 304a5f4 cf1f181 Author: Jeff Reback <jeff@reback.net> Date: Mon Aug 3 18:03:11 2015 -0400 Merge pull request #10724 from ajcr/GH9431 BUG: pd.unique should respect datetime64 and timedelta64 dtypes (GH9431) commit cf1f181b8dcd5f4a7f2989deac9f928c91e43520 Author: ajcr <ajcriley@gmail.com> Date: Sun Aug 2 12:12:41 2015 +0100 BUG: pd.unique should respect datetime64 and timedelta64 dtypes (GH9431) commit fb74f18ea165154aec4d8af31b1c315a8474fea0 Author: Joris Van den Bossche <jorisvandenbossche@gmail.com> Date: Mon Aug 3 14:56:47 2015 +0200 DOC: to_datetime outdated example commit 304a5f445c40a849ae99ff94e3df6e173e9cbfac Merge: babfc0d 30d9a7f Author: Jeff Reback <jeff@reback.net> Date: Mon Aug 3 08:40:41 2015 -0400 Merge branch 'mortada-dt_strftime' commit babfc0db14ee06a6c44276041c92d9f63c11f6f4 Merge: f88ce3b d751c63 Author: Jeff Reback <jeff@reback.net> Date: Mon Aug 3 08:09:19 2015 -0400 Merge pull request #10731 from jreback/data TST: better testing for io/data commit 30d9a7fcbaa276aed5c743d50311442108773c76 Merge: f88ce3b 4348781 Author: Jeff Reback <jeff@reback.net> Date: Mon Aug 3 07:09:04 2015 -0400 Merge branch 'dt_strftime' of https://github.com/mortada/pandas into mortada-dt_strftime commit d751c63bb01335847b1c52cdd95ff5317c892ea2 Author: Jeff Reback <jeff@reback.net> Date: Mon Aug 3 07:06:46 2015 -0400 TST: better testing for io/data commit f88ce3b8b265a21840b0eec831f46fc5b147174f Author: Joris Van den Bossche <jorisvandenbossche@gmail.com> Date: Mon Aug 3 00:01:02 2015 +0200 DOC: fix whitespace in whatsnew commit 4b1cb266ce436f8712e8ea51cdd065f54a00fe98 Merge: 574a9df 22eb63c Author: Jeff Reback <jeff@reback.net> Date: Sun Aug 2 17:54:09 2015 -0400 Merge branch 'filter' commit 22eb63cbbc46c1610d57b7ce796d140d97059a67 Author: Jeff Reback <jeff@reback.net> Date: Sun Aug 2 17:46:23 2015 -0400 xref #10711, remove more iget warnings commit 574a9dfadeb75de44f8463914c1571bcf240eec0 Merge: 4024ec2 2226780 Author: Joris Van den Bossche <jorisvandenbossche@gmail.com> Date: Sun Aug 2 23:46:24 2015 +0200 Merge pull request #10680 from jorisvandenbossche/doc-iter DOC: improve docs on iteration commit 4024ec250929401f6da3310bf5aacae6143edeec Merge: ae30697 66cec77 Author: Jeff Reback <jeff@reback.net> Date: Sun Aug 2 17:26:30 2015 -0400 Merge pull request #10513 from rosnfeld/issue_10451 BUG: display.precision options seems off-by-one (GH10451) commit ae3069750c6ded330345d04daee0cf7cb823a8af Author: Jeff Reback <jeff@reback.net> Date: Sun Aug 2 13:12:33 2015 -0400 DOC: move Categorical.name to deprecations section commit 0ed46a0786f226ada80cfc8bf8795ff715625025 Merge: 3bc19e5 b69bde6 Author: Jeff Reback <jeff@reback.net> Date: Sun Aug 2 13:07:09 2015 -0400 Merge pull request #10719 from jreback/irow DEPR: deprecate irow,icol,iget_value,iget in Series/DataFrame, #10711 commit 43487815b6003841fafc192b126d8c1e245ce5a2 Author: Mortada Mehyar <mortada.mehyar@gmail.com> Date: Wed May 13 10:53:02 2015 -0700 ENH: support .strftime for datetimelikes (closes #10086) commit 3bc19e5d68329709f9c97d11f19fe95af83c16fb Author: Jeff Reback <jeff@reback.net> Date: Sat Aug 1 10:17:14 2015 -0400 BLD: remove fake_pyrex commit fc08800ae71a18f2d5fa581c1d1713ebc3fbb908 Author: Andrea Bedini <andreabedini@users.noreply.github.com> Date: Tue May 19 16:41:59 2015 +1000 BLD: Stop distributing ez_setup.py, #10168 The distributed version of ez_setup is few years out of date and the python packaging world is a fast moving target. Recent versions of Python 2 and 3 provide setuptools and pip out of the box. For other Python versions, we can point users to the official and up to date instructions at https://packaging.python.org/en/latest/installing.html commit 66cec775f3e283b3f6e6c02d07e4d0552772dac7 Author: Andrew Rosenfeld <rosnfeld@gmail.com> Date: Mon Jul 6 00:14:23 2015 +0100 BUG: display.precision options seems off-by-one (GH10451) commit b69bde6d9485fdd139ace82f4e84f2944fe30bbe Author: Jeff Reback <jeff@reback.net> Date: Sat Aug 1 10:57:34 2015 -0400 DEPR: deprecate irow,icol,iget_value,iget in Series/DataFrame, #10711 commit e13739a458aad695b94892dc211f427fe459230d Author: Jeff Reback <jeff@reback.net> Date: Sun Aug 2 09:16:44 2015 -0400 DOC: edits in io.rst commit 6b04681110e1c3fc6419562c54c4a626ca607c0e Author: Jeff Reback <jeff@reback.net> Date: Sat Aug 1 12:18:05 2015 -0400 DOC: release date revert commit fd4651af867d7efc077f431d79f3a8e0d8c41ebf Author: Jeff Reback <jeff@reback.net> Date: Sat Aug 1 11:53:38 2015 -0400 DOC: more whatsnew fixes commit 2a2a6d1c25b7279dd7a19668de2260cc0e6b04ee Author: sinhrks <sinhrks@gmail.com> Date: Sat Jun 13 17:59:47 2015 +0900 BUG: df.to_html(index=False) renders index.name commit b1a1613e6c33777194b6aeb578a535705ef1ae0f Author: Jeff Reback <jeff@reback.net> Date: Sat Aug 1 10:34:00 2015 -0400 DOC: whatsnew updates commit e26b3b9bc5bfe3995cd7cd5d728710dc2b0b5947 Merge: 4157902 a42a90e Author: Joris Van den Bossche <jorisvandenbossche@gmail.com> Date: Sat Aug 1 01:48:23 2015 +0200 Merge pull request #10714 from msund/patch-1 updating account info commit a42a90ea532fd3fb47e5b23481f1fa4fe3f24f5e Author: msund <Matt@plot.ly> Date: Fri Jul 31 16:45:38 2015 -0700 updating account info commit 41579024d9da564a6b206690e2c92800ac426528 Merge: b281e65 2377b5c Author: Jeff Reback <jeff@reback.net> Date: Fri Jul 31 18:37:48 2015 -0400 Merge pull request #10097 from nickeubank/patch-1 Default values for dropna to "False" (issue 9382) commit b281e6570bc3bb3773520eff0b6965d5691e3ba2 Merge: 03be332 987b7e7 Author: Jeff Reback <jeff@reback.net> Date: Fri Jul 31 18:35:22 2015 -0400 Merge pull request #10674 from jreback/dt_default API: #10636, changing default of to_datetime to raise, deprecating coerce in favor of errors commit 2377b5c1aafa33fb5a3fb3966e0bb16b8bcd2c6a Author: Nick Eubank <nickeubank@gmail.com> Date: Sat May 9 15:42:12 2015 -0700 Change pytable default for dropna to false (9382) commit 03be33210908713d71def9ec7ca7612867e67c63 Merge: fb2ebb6 0786158 Author: Jeff Reback <jeff@reback.net> Date: Fri Jul 31 07:14:36 2015 -0400 Merge pull request #10705 from jseabold/index-optional-pivot ENH: Index optional pivot commit 222678030bb721264fcee2fb992227a092b7e131 Author: Joris Van den Bossche <jorisvandenbossche@gmail.com> Date: Mon Jul 27 01:12:25 2015 +0200 DOC: improve docs on iteration commit fb2ebb667e6a5532663899a34074ee539a7355e8 Merge: 829893d c0b43fa Author: Joris Van den Bossche <jorisvandenbossche@gmail.com> Date: Fri Jul 31 09:23:04 2015 +0200 Merge pull request #10701 from jorisvandenbossche/fix-warning-test TST: fix usage of assert_produces_warning commit 078615847c6e402db67aab31c95ef1742341066e Author: Skipper Seabold <jsseabold@gmail.com> Date: Thu Jul 30 11:05:14 2015 -0500 ENH: Make index optional in pivot. Closes #3962 TST: Test for index is None in pivot DOC: Add release note DOC: Formatting DOC: Document index=None commit 829893dbcb0d6a0fe04144acde392ac8fbf719d8 Merge: 8ae292c 5aa48ff Author: Joris Van den Bossche <jorisvandenbossche@gmail.com> Date: Thu Jul 30 23:19:39 2015 +0200 Merge pull request #10706 from msund/patch-1 adding plotly to ecosystem commit 987b7e7e586b8df1d127406c69e0a9094a1a5322 Author: Jeff Reback <jeff@reback.net> Date: Sat Jul 25 10:24:04 2015 -0400 API: #10636, changing default of to_datetime to raise, deprecating coerce in favor of errors commit 8ae292c933e40a507e6256222039eb68e61c3fe7 Author: Jeff Reback <jeff@reback.net> Date: Thu Jul 30 14:33:19 2015 -0400 TST: winfix on dtype comparison, xref #10124 commit 5aa48ff47c1aaec44713495f28cc69d03e8fa0d8 Author: msund <Matt@plot.ly> Date: Thu Jul 30 11:05:08 2015 -0700 Adding plotly to ecosystem commit 0e7906717a5e973ca5d9f571cd6fd098f7c864ea Author: Jeff Reback <jeff@reback.net> Date: Thu Jul 30 13:37:22 2015 -0400 fix up conda build recipe commit 70cb34c1bdbafaafe80c7587f45203805f58eaf7 Merge: ee5aa9e c84ab54 Author: Jeff Reback <jeff@reback.net> Date: Thu Jul 30 12:09:29 2015 -0400 Merge pull request #10124 from evanpw/issue_10114 BUG: Filter/transform fail in some cases when multi-grouping with a datetime-like key commit ee5aa9e919ab796d105f1d97d571f30b00948a10 Merge: 0b9db63 71b9cbb Author: Jeff Reback <jeff@reback.net> Date: Thu Jul 30 11:49:15 2015 -0400 Merge pull request #10619 from agijsberts/outer_indexer_right_empty Fix bug in outer_indexer where the special case of an empty right array resulted in bogus return data. commit 0b9db63ad46722e14c072cef5158c0b0c0d24f1e Author: Jeff Reback <jeff@reback.net> Date: Thu Jul 30 11:10:55 2015 -0400 TST: change Fred test to just look for some data commit cd8150d385fbf34f61767aefec7550aade949749 Merge: 92da9ed b8b4a69 Author: Jeff Reback <jeff@reback.net> Date: Thu Jul 30 10:36:19 2015 -0400 Merge pull request #10703 from jreback/index_sort BUG: Bug in Index construction with a mixed list of tuples #10697) commit b8b4a69187cb73be2c59daf9621c0bf964552a84 Author: Jeff Reback <jeff@reback.net> Date: Thu Jul 30 08:20:39 2015 -0400 BUG: Bug in Index construction with a mixed list of tuples #10697) commit c0b43fab91ac2fb08b1b824a2ee829c0fabba397 Author: Joris Van den Bossche <jorisvandenbossche@gmail.com> Date: Thu Jul 30 11:13:26 2015 +0200 TST: fix usage of assert_produces_warning commit c84ab54b0268bc79b132209d9e5f5653d402af96 Author: Evan Wright <ewright@knight.com> Date: Tue May 12 16:49:02 2015 -0400 BUG: Filter/transform fail in some cases when multi-grouping with a datetime-like key (GH #10114) commit 92da9edd1f6e7d0beaf2e6c003838d3b4f96c90e Merge: d197833 976a045 Author: Sinhrks <sinhrks@gmail.com> Date: Wed Jul 29 23:05:50 2015 +0900 Merge pull request #9814 from sinhrks/tsplot_df BUG: Repeated time-series plot causes memory leak commit 71b9cbbc71432b593430b23ece36cf67145a273d Author: agijsberts <agijsberts@users.noreply.github.com> Date: Sun Jul 19 01:56:35 2015 +0200 Fixed bug in outer_indexer where the special case of an empty right array resulted in bogus return data. commit d197833c7d0f31daf71d7ab718549f9711bfa318 Merge: e2f1344 8be4d00 Author: Jeff Reback <jeff@reback.net> Date: Tue Jul 28 17:59:19 2015 -0400 Merge pull request #10248 from nipunreddevil/patch-1 Added link to aggregation and plotting time series commit e2f1344715d0d2998a05728ca08afe77dff49e30 Merge: c06f9ce 4ae02cf Author: Sinhrks <sinhrks@gmail.com> Date: Wed Jul 29 06:45:17 2015 +0900 Merge pull request #10512 from sinhrks/test_nparray TST: Deprecate assert_numpy_array_equivalent commit 4ae02cfbd31ffa13ef7e9f95754c33c27dccfad7 Author: sinhrks <sinhrks@gmail.com> Date: Sun Jul 5 08:03:47 2015 +0900 TST: Deprecate assert_numpy_array_equivalent commit c06f9ce1b98ed9fdd6d0515ca600d73d350aad5b Merge: a743743 29f1f42 Author: Sinhrks <sinhrks@gmail.com> Date: Wed Jul 29 00:28:20 2015 +0900 Merge pull request #10508 from sinhrks/groupby_dtcat BUG: Groupby(sort=False) with datetime-like Categorical raises ValueError commit 29f1f42418d161b4690375acde5d5743bdd10772 Author: sinhrks <sinhrks@gmail.com> Date: Sat Jul 4 10:27:11 2015 +0900 BUG: Groupby(sort=False) with datetime-like Categorical raises ValueError commit a7437430b5cb62e49a79b64d18eccfb2b4d6367f Author: Garrett-R <garrettreynolds5@gmail.com> Date: Sat Jun 27 21:25:41 2015 -0700 MAINT: minor refactoring and some documentation MAINT: minor readability edits to conf.py DOC: fix typos in documentation commit 7559522f4c599874cd05718acee452afe87e53c4 Author: Jan Rudolph <jan.daniel.rudolph@gmail.com> Date: Mon Jul 20 14:57:17 2015 +0200 BUG: allow duplicate column names if they are not merged upon, #10639 commit 1d295cd95f8b06d28ddd026ec0ec3373effaf172 Author: Jeff Reback <jeff@reback.net> Date: Fri Jul 24 18:16:11 2015 -0400 provide proper index coercion with _shallow_copy for insert,delete,append operations commit 06a4d9130106c968dacbaeb6103e22cf8abb40d8 Author: maximilianr <maximilian@sixtycapital.com> Date: Fri Jul 24 14:25:06 2015 -0400 Drop & insert on subtypes of index return their subtypes, #10620 commit bd73cd0149b7b7adaea6117664fecdc94a3f7dcf Author: Christoph Gohlke <cgohlke@uci.edu> Date: Sun Jul 26 19:17:44 2015 -0700 Remove duplicate code commit 3db0e8271eb8d352c97f06beddf81fdc4f74a16f Author: Christoph Gohlke <cgohlke@uci.edu> Date: Sun Jul 26 19:26:49 2015 -0700 Use Visual Studio 2013+ signbit function Use Visual Studio 2015+ stdint.h Don't define inline for Visual Studio 2015 commit a677217bb53ac518f612283a4681c7f3b86fe382 Merge: 18928c8 3793da0 Author: Joris Van den Bossche <jorisvandenbossche@gmail.com> Date: Mon Jul 27 10:32:22 2015 +0200 Merge pull request #10666 from scls19fr/issue_10654 read_sql/to_sql can accept database URI as con parameter commit 18928c83a2d6729d0c4815cbd83a5d8c47e6c861 Author: Joris Van den Bossche <jorisvandenbossche@gmail.com> Date: Mon Jul 27 09:55:59 2015 +0200 DOC: fix table in whatsnew commit 201760e4bb9ecbf5d479c210ae270c558235b089 Author: Chris Whelan <topherwhelan@gmail.com> Date: Sun Jul 26 19:21:46 2015 -0700 PERF: add initial asv config and vbench->asv conversion script commit 703f418b9b07a9c7dda622708851bb30de452773 Author: Chris Whelan <topherwhelan@gmail.com> Date: Sun Jul 26 19:20:49 2015 -0700 Fixes for vb_suite commit 9fed74d8147b18c6ecdf7ff248f2e151d2f90277 Author: Chris Whelan <topherwhelan@gmail.com> Date: Sun Jul 26 19:20:31 2015 -0700 Add period.pyx to package commit 3793da09c5a65c5b90ad742fc41a027f29a2c366 Author: scls19fr <s.celles@gmail.com> Date: Fri Jul 24 13:56:01 2015 +0200 read_sql/to_sql can accept database URI as con parameter (:issue:`10214`) read_sql/to_sql can accept database URI as con parameter (issue 10666) read_sql/to_sql can accept database URI as con parameter (issue 10666) read_sql/to_sql can accept database URI as con parameter (issue 10666) read_sql/to_sql can accept database URI as con parameter (issue 10666) commit 355b4623d842633746b29b6e7f1724af4cd87dae Merge: 30cbb02 e4639ee Author: jreback <jeff@reback.net> Date: Sat Jul 25 21:54:21 2015 -0400 Merge pull request #10632 from JanSchulz/rem_cat_name Remove Categorical.name commit e4639ee14f5562125886bca607e3a9615db0c439 Author: Jan Schulz <jasc@gmx.net> Date: Sun Jul 19 23:28:13 2015 +0200 Remove Categorical.name to make it more numpy.ndarray like `name` was initialy introduced to save the name of a Series/column during a groupby, when categorical was mostly a helper for that. See here for the discussion: https://github.com/pydata/pandas/issues/10482 Closes: #10482 commit 30cbb0212321566772f3a82a56fddac1f3285541 Merge: 5cb70d9 c3effa6 Author: jreback <jeff@reback.net> Date: Sat Jul 25 10:52:12 2015 -0400 Merge pull request #10658 from ajcr/GH9428 BUG: GH9428 promote string dtype to object dtype for empty DataFrame commit c3effa622d1a09549d58fd513c1eeab07b364233 Author: ajcr <ajcriley@gmail.com> Date: Wed Jul 22 22:56:59 2015 +0100 BUG: GH9428 promote string dtype to object dtype for empty DataFrame commit 5cb70d93a53f8a556c49bc4f3e78c135225944e2 Merge: 2f0c344 3d10b59 Author: jreback <jeff@reback.net> Date: Fri Jul 24 19:09:30 2015 -0400 Merge pull request #10662 from kshedden/stata118_doc Small doc update for Stata 118 support commit 2f0c344191be435b0302ad8e8af4ca3183f2fcf5 Author: Jeff Reback <jeff@reback.net> Date: Fri Jul 24 15:16:49 2015 -0400 TST: move test_parsing of s3 buckets to pandas-test public bucket commit df23f918cecbaf755cfdfc559a9ae98131fb390b Merge: 0d9bfa1 a92bd76 Author: jreback <jeff@reback.net> Date: Fri Jul 24 14:43:40 2015 -0400 Merge pull request #10649 from mdagost/url_gzip_fix ENH: allow gzip de-compression for files specified by a url commit 0d9bfa11281260f5cf2758e159d3724585367382 Author: Jeff Reback <jeff@reback.net> Date: Fri Jul 24 09:56:16 2015 -0400 add in .gz file to the repo for testing commit d739ec32ac8b14d3e1b520127784df89bc9f7189 Merge: 2242fd9 abb2df5 Author: jreback <jeff@reback.net> Date: Fri Jul 24 09:50:18 2015 -0400 Merge pull request #10644 from schettino72/gh10408-vectorized-setting-timestamp-column BUG: (GH10408, GH10412) in vectorised setting of timestamp columns commit 2242fd90b7242d6303455e312060e52fc87a197e Merge: ebea3a3 81d9e0b Author: jreback <jeff@reback.net> Date: Fri Jul 24 09:44:14 2015 -0400 Merge pull request #10637 from mortada/index_compare_tests BUG: made behavior of operator equal for CategoricalIndex consistent,… commit a92bd760797c2bb63041e46f7ab6ab74f9521869 Author: Michelangelo D'Agostino <mdagostino@civisanalytics.com> Date: Tue Jul 21 09:21:13 2015 -0500 ENH: Allow gzip de-compression for files specified by a url. commit 3d10b5924f212366ed7c4bf43f702d1bb809d8da Author: Kerby Shedden <kshedden@umich.edu> Date: Thu Jul 23 22:09:30 2015 -0400 Revise version support statement commit 9e34368063e58c9f8b53dd59685433c921f07d27 Author: Kerby Shedden <kshedden@umich.edu> Date: Thu Jul 23 10:09:59 2015 -0400 Small doc update for Stata 118 support commit abb2df5de15d98721ed7ee9ca2ba0f5b3d468eab Author: Eduardo Schettino <schettino72@gmail.com> Date: Tue Jul 21 15:22:50 2015 +0800 BUG: (GH10408, GH10412) in vectorised setting of timestamp columns Fix setting values with python datetime.date and numpy datetime64. commit ebea3a358a84d65c5a5fe44c8d6740f9f030106f Author: Jeff Reback <jeff@reback.net> Date: Thu Jul 23 07:40:33 2015 -0400 DOC: release note for #10516/#9882 commit 35fa0ccdc4d269c56a16c0b27d350d38bcfc7dc8 Merge: 31b7464 d194844 Author: jreback <jeff@reback.net> Date: Thu Jul 23 07:37:58 2015 -0400 Merge pull request #10516 from kshedden/stata118 Read Stata version 118 files closes #9882 commit 31b746403ceb5103c84d3365e71ce595771c2311 Merge: ed13da0 b298492 Author: jreback <jeff@reback.net> Date: Thu Jul 23 07:16:38 2015 -0400 Merge pull request #10659 from chris-b1/rolling-name BUG: #10565 Series.name lost in rolling_* funcions commit d194844d928185bc9b64dda2964f7a9c13eb9c08 Author: Kerby Shedden <kshedden@umich.edu> Date: Mon Jul 6 07:25:58 2015 -0400 Add support for dta version 118. commit b298492fe06e2b4c114f82dfc85d6bd26fa81feb Author: Chris <cbartak@gmail.com> Date: Wed Jul 22 19:12:38 2015 -0500 BUG: #10565 Series.name lost in rolling_* commit ed13da0e04ddf715ed527933167923792cdb2c65 Author: Jeff Reback <jeff@reback.net> Date: Wed Jul 22 14:19:17 2015 -0400 DOC: more enhancedperf fixes commit 8ec1c99c2056c836e75fa6f328faa33d4359b1c0 Author: Jeff Reback <jeff@reback.net> Date: Wed Jul 22 12:09:41 2015 -0400 DOC: use sub-headings in enhancedperformance.rst commit 81d9e0be80a5331db161f92800670cbdf2516af3 Author: Mortada Mehyar <mortada.mehyar@gmail.com> Date: Mon Jul 20 21:05:48 2015 +0800 BUG: made behavior of operator equal for CategoricalIndex consistent, improved unit tests commit 976a0452c353547936d17078162ff46938085179 Author: sinhrks <sinhrks@gmail.com> Date: Sun Apr 5 12:45:29 2015 +0900 BUG: Repeated time-series plot causes memory leak commit 3bf13ac52d3b3831eefdf75162eef206c0e200b6 Merge: 818f0a7 640c5cb Author: jreback <jeff@reback.net> Date: Wed Jul 22 06:52:51 2015 -0400 Merge pull request #10614 from nickeubank/update_numba_docs Extended docs on numba commit 818f0a7e88762e9ac77609024ecb96ea185f4667 Merge: 6c48d12 dd538a3 Author: Sinhrks <sinhrks@gmail.com> Date: Wed Jul 22 19:49:05 2015 +0900 Merge pull request #9894 from sinhrks/subplots_style ENH/BUG: color cannot be applied to line subplots commit 640c5cb5e82b9118b9a9c013f578d87ac27ac4e7 Author: Nick Eubank <nickeubank@gmail.com> Date: Fri Jul 17 11:15:24 2015 -0700 Extended docs on numba commit 6c48d12d090f0a3f4d9a5c2d891e56f4485476e2 Merge: 751164d eefa29f Author: Tom Augspurger <thomas-augspurger@uiowa.edu> Date: Tue Jul 21 07:59:38 2015 -0500 Merge pull request #10604 from stephen-hoover/more-permissive-s3-reads ENH: More permissive S3 reading commit 751164daac71c749bac8131499c372eb5736075b Merge: c62cf68 022d7c5 Author: jreback <jeff@reback.net> Date: Tue Jul 21 08:39:43 2015 -0400 Merge pull request #10630 from jreback/winbuild TST: windows compat for testing / msgpack commit c62cf68fce9a156f7c7c2a74a6d2eda6448435cd Merge: a7a6e70 1eeeded Author: jreback <jeff@reback.net> Date: Tue Jul 21 07:40:02 2015 -0400 Merge pull request #10605 from Winterflower/9789-pandas-doc DOC: 9789 Added missing letter, fixed link and Examples formatting. commit a7a6e70459ca386c320f7a8dab5efec63e870f8c Merge: 384eb45 df249e8 Author: jreback <jeff@reback.net> Date: Tue Jul 21 07:37:50 2015 -0400 Merge pull request #10643 from kawochen/CLN-10566 CLN: Remove duplicate implementations of bind_method; typo in compat commit 022d7c5721f98a1ed30b61f73b3714022ec143ff Author: Jeff Reback <jeff@reback.net> Date: Sun Jul 19 16:40:17 2015 -0400 TST: skip buggy ujson tests on win-64/py2.7 commit b0c14c18aa52992c4c2b9cdc7b0da34e88a0ade2 Author: Jeff Reback <jeff@reback.net> Date: Sun Jul 19 16:06:01 2015 -0400 API: mspack compat on windows / right dtype.name rather than dtype.num commit 0efd52b04a7620cfa78a7d068dd7790344ffb717 Author: Jeff Reback <jeff@reback.net> Date: Fri Jul 17 18:47:32 2015 -0400 TST: skip buggy parsing test on win-64 commit dd538a3da306dbae4fcd929a0e1c0bb90845ccb2 Author: sinhrks <sinhrks@gmail.com> Date: Sun Apr 12 11:09:58 2015 +0900 ENH/BUG: color cannot be applied to line subplots commit 384eb45587172b67c5de358b3e3c05cb0f61cdbd Author: Safia Abdalla <seabdalla@gmail.com> Date: Mon Jul 20 23:06:17 2015 -0700 BUG: Fixed typo-related bug to resolve #9266 Fixed typo in _convert_to_ndarrays Added tests for typo fix commit d06537478486887042ef89141707f6b05695995e Author: Artemy Kolchinsky <akolchin@indiana.edu> Date: Thu Jul 9 14:13:09 2015 -0400 BUG: get_dummies not returning SparseDataFrame Tests redo commit df249e8dbf1cc0098329914245789c3f7673c449 Author: Ka Wo Chen <kawoc@tepper.cmu.edu> Date: Tue Jul 21 02:14:13 2015 -0400 CLN: Remove duplicate implementations of bind_method; typo in compat commit eefa29fa7ef332cada4a611ddd6bb22830a553a5 Author: Stephen Hoover <Stephen.LD.Hoover@gmail.com> Date: Thu Jul 16 14:30:42 2015 -0500 ENH: More permissive S3 reading When calling `get_bucket`, boto will by default try to establish that the S3 bucket exists by listing all of the keys that exist in it. This behavior is controlled by the "validate" keyword, which defaults to True. If your access key doesn't have permission to read everything in a bucket (even if you do have permission to read the file you're trying to access), this generates an uninformative exception. This PR sets "validate=False". This means that boto will trust you that the bucket exists, and not try to check immediately. If the bucket actually doesn't exist, the `get_contents_as_string` call a couple of lines later will generate the exception "S3ResponseError: S3ResponseError: 404 Not Found". One of the test cases expected a failure when reading the file "s3://cant_get_it/tips.csv"; with the changes in this PR, this file is now accessible. commit a3cca397fd07a7ddd607d892aee9e307413c9856 Merge: d25a9f3 1f01990 Author: jreback <jeff@reback.net> Date: Mon Jul 20 19:24:49 2015 -0400 Merge pull request #10615 from chris-b1/master PERF: Improve perf of to_datetime with ISO format commit 1f0199033e2e72e51fc412373fe48c8d6be38797 Author: Chris <cbartak@gmail.com> Date: Sat Jul 18 12:19:10 2015 -0500 PERF: Improve perf of to_datetime with ISO format commit d25a9f38119f3adde82abbc1c9f035429643a80d Merge: 5a9a9da a36988b Author: Sinhrks <sinhrks@gmail.com> Date: Tue Jul 21 06:19:08 2015 +0900 Merge pull request #10558 from sinhrks/numexpr_0dim BUG: pd.eval with numexpr engine coerces 1 element numpy array to scalar commit a36988b30d0e43a0e0c6edec37a17dcdb6bf310a Author: sinhrks <sinhrks@gmail.com> Date: Sun Jul 12 10:27:14 2015 +0900 BUG: pd.eval with numexpr engine coerces 1 element numpy array to scalar commit 1eeededdf45bb6403a0ed99f9dca4e750e7b7890 Author: Winterflower <camillamon@gmail.com> Date: Thu Jul 16 21:34:00 2015 +0100 DOC: 9789 Added missing letter, added link, fixed examples formatting DOC 9798: Fixed link and examples formatting Fixed for PEP8 compliance commit 5a9a9da80c1a8b3e146f579f581261257b604f66 Merge: 4bb45b1 59dd18b Author: jreback <jeff@reback.net> Date: Sat Jul 18 11:00:58 2015 -0400 Merge pull request #10613 from jreback/stata ENH: add StataReader context manager to ensure closing of the path commit 59dd18b3aeae80292f533d8ef1803cbad2eb4869 Author: Jeff Reback <jeff@reback.net> Date: Fri Jul 17 19:49:28 2015 -0400 ENH: add StataReader context manager to ensure closing of the path commit 4bb45b15bb4561e2fbb869a523e9258a91391542 Merge: 061c506 ed775bc Author: jreback <jeff@reback.net> Date: Sat Jul 18 09:30:43 2015 -0400 Merge pull request #10527 from kawochen/BUG-FIX-9618 BUG: GH9618 in read_msgpack where DataFrame has duplicate column names commit 061c5066ca8fcbe0ddb5242024c31053da76e3c6 Merge: 3089006 904aaea Author: jreback <jeff@reback.net> Date: Sat Jul 18 07:20:37 2015 -0400 Merge pull request #10577 from santegoeds/bugfix/csv_reader-empty-data-with-dtype-args Fixed bug where read_csv ignores dtype arg if input is empty. commit ed775bc5dd6771c492bf0b3c918a768f60835cf9 Author: Ka Wo Chen <kawoc@tepper.cmu.edu> Date: Tue Jul 7 23:59:15 2015 -0400 BUG: GH9618 in read_msgpack where DataFrame has duplicate column names commit 30890064941ef86325dc99225c9aa750eeb4a75b Merge: d7c31ca 6955de6 Author: jreback <jeff@reback.net> Date: Fri Jul 17 20:03:27 2015 -0400 Merge pull request #10497 from bwillers/categorical_shift BUG: CategoricalBlock shift GH9416 commit 904aaea9232e0ea4a34a07f5c911cf11fb273074 Author: Tjerk Santegoeds <tsan@tdias.com> Date: Sun Jul 5 18:21:12 2015 +0200 BUG: pd.read_csv uses dtype arg with empty input commit d7c31ca0a4831e11e86a1700da1915afd0d81741 Merge: c87fa18 68b43d8 Author: Sinhrks <sinhrks@gmail.com> Date: Sat Jul 18 06:03:49 2015 +0900 Merge pull request #10609 from sinhrks/fama TST: test_read_famafrench fails with HTTP 404 commit c87fa18cc22c15d37c023581fad9a46fff31534d Author: Ka Wo Chen <kawoc@tepper.cmu.edu> Date: Wed Jun 17 02:10:24 2015 -0400 ERR: GH9513 NaT methods now raise ValueError, return np.nan or return NaT commit b06105595868cf35bd60cc1b131de94ea3577176 Author: Jeff Reback <jeff@reback.net> Date: Fri Jul 17 10:39:04 2015 -0400 DOC: corrections for None/np.nan comparisons commit 2da060ce4a3635ece00ed947d26510be1a13cb08 Author: Jeff Reback <jeff@reback.net> Date: Fri Jul 17 10:22:53 2015 -0400 DOC: enhanced docs for #10569 commit 0de48d0dff01ca1b8f9b9aaf20958bcd4d6abf79 Merge: 5b97367 effb676 Author: jreback <jeff@reback.net> Date: Fri Jul 17 09:58:58 2015 -0400 Merge pull request #10569 from jreback/comp ERR: Boolean comparisons of a Series vs None will now be equivalent to null comparisons commit effb6761e1e7608c44e9bd1e02dfef2137c928fc Author: Jeff Reback <jeff@reback.net> Date: Fri Jul 17 09:30:49 2015 -0400 misc import cleanups commit 0bd25ab0c44e5e0a82c1abcca57d517a5fcc7659 Author: Jeff Reback <jeff@reback.net> Date: Fri Jul 17 09:26:20 2015 -0400 DOC: whatsnew changes commit 4def8e48d9aaa645b2a20a93ba0ad43417024ca1 Author: Jeff Reback <jeff@reback.net> Date: Fri Jul 17 08:58:44 2015 -0400 TST: fixes stata datetimelike comparisons for #10606 commit 26ee43e82390e52121b563d15ca1c68425d5b5fc Author: Kerby Shedden <kshedden@umich.edu> Date: Fri Jul 17 02:44:10 2015 -0400 Align options in chunk and full file read commit b381327acd2855b5b1e23ad87f25bee84cb322ce Author: Jeff Reback <jeff@reback.net> Date: Thu Jul 16 20:59:06 2015 -0400 DEPR: remove unordered types depreceation usage in core/index.py commit 8016a7f4443c7c1a8985a2acdd828fcfae6abedd Author: Jeff Reback <jeff@reback.net> Date: Thu Jul 16 14:23:49 2015 -0400 DEPR: remove visible deprecation warning for slicing in test_internals commit dccf5ebf7224af8fa26e0fc529c9b873f0393431 Author: Jeff Reback <jeff@reback.net> Date: Thu Jul 16 10:04:09 2015 -0400 DEPR: remove numpy deprecation warnings for i8 vs integer comparisions commit 4fe7c68728da2174f7ccd290a43e358f16a1a6f9 Author: Jeff Reback <jeff@reback.net> Date: Sat Jul 11 09:36:37 2015 -0500 ERR: Boolean comparisons of a Series vs None will now be equivalent of to null comparisions, rather than raise TypeError, xref, #1079 commit 5b973674bb4ac2ec17e0519912a2ec7cda7986b0 Merge: 0c19941 f1598d3 Author: Joris Van den Bossche <jorisvandenbossche@gmail.com> Date: Fri Jul 17 15:46:29 2015 +0200 Merge pull request #10600 from jorisvandenbossche/doc-whatsnew-fixes DOC: some formatting fixes in whatsnew commit 0c19941fe6c983442a5e4cf18c47626dcda8cb26 Merge: c740bb0 6213fb3 Author: jreback <jeff@reback.net> Date: Fri Jul 17 09:05:06 2015 -0400 Merge pull request #10597 from cpcloud/cat-perf Improve categorical concat speed by ~20x commit 68b43d802f30ce596a9f7e7aac31e995f5c016fa Author: sinhrks <sinhrks@gmail.com> Date: Fri Jul 17 19:01:13 2015 +0900 TST: test_read_famafrench fails with HTTP 404 commit 6213fb37e38228c681ef99e7a86f3dec4a58a408 Author: Phillip Cloud <cpcloud@gmail.com> Date: Wed Jul 15 18:08:33 2015 -0400 Improve categorical concat perf by ~20x commit f1598d3e6f10b92c72090a431a972e7628e76bb5 Author: Joris Van den Bossche <jorisvandenbossche@gmail.com> Date: Thu Jul 16 11:15:59 2015 +0200 DOC: ignore deprecation warnings for convert_objects (GH10265) commit 95a90e0108248ed9aa81d227c54d7bbc15309913 Author: Joris Van den Bossche <jorisvandenbossche@gmail.com> Date: Thu Jul 16 11:01:43 2015 +0200 DOC: some formatting fixes in whatsnew commit c740bb0de6913c46c47c71ed06600821b2082876 Merge: 5c906ff d5ff457 Author: Joris Van den Bossche <jorisvandenbossche@gmail.com> Date: Thu Jul 16 10:32:48 2015 +0200 Merge pull request #9947 from mortada/index_compare operator equal on Index should behavior similarly to Series commit d5ff45775bf5a542b627a1ac2a170b8fb39501c3 Author: Mortada Mehyar <mortada.mehyar@gmail.com> Date: Mon Apr 20 00:38:43 2015 -0700 BUG: operator equal on Index should behavior similarly to Series commit 5c906ff9262a2e1c250486eef5420da38cddf63d Merge: e023f2f c4a0147 Author: jreback <jeff@reback.net> Date: Wed Jul 15 20:08:25 2015 -0400 Merge pull request #10370 from jreback/build CI: use versioneer to have PEP440 versions commit e023f2f7d7739ab0c509d53f97066b6e60b04917 Author: Jeff Reback <jeff@reback.net> Date: Wed Jul 15 20:05:08 2015 -0400 TST: skip famafrench test for now commit 1381e51d3d6479264b9eaa116f903bfc35f2f9b3 Merge: b3c338d 84781f1 Author: Joris Van den Bossche <jorisvandenbossche@gmail.com> Date: Thu Jul 16 01:37:23 2015 +0200 Merge pull request #10589 from bashtage/convert-objects-doc-fix DOC: Small improvement to convert_objects doc commit b3c338d20df125349115a1b5af680f466a5b6264 Merge: c538b3f c734896 Author: Joris Van den Bossche <jorisvandenbossche@gmail.com> Date: Thu Jul 16 01:36:26 2015 +0200 Merge pull request #10593 from Winterflower/pandas-doc-10371 DOC-10371 Add note regarding supported interpolation methods for Series/DF commit c7348965855bb914825607d0c62caca4c2e8ad43 Author: Winterflower <camillamon@gmail.com> Date: Wed Jul 15 22:36:34 2015 +0100 Bug-10371: Add note regarding supported interpolation methods for MultiIndex series/dfs 10371: Added separating line and pretty formatting commit c538b3f9fcbbc2c3149ee462b64317168ec4a856 Author: jreback <jeff@reback.net> Date: Wed Jul 15 19:05:29 2015 -0400 TST: dtype comparisons on windows, xref #10472 commit 84781f1af1993ba35754c72600d807b2b0db4f6b Author: Kevin Sheppard <kevin.sheppard@treasury.gov> Date: Wed Jul 15 17:03:12 2015 -0400 DOC: Small improvement to convert_objects doc Fix small issues in convert_objects doc [skip ci] commit 6246cc1bb5149863de09b470530b69f7e22cad87 Merge: 5b1e500 a80577e Author: Sinhrks <sinhrks@gmail.com> Date: Wed Jul 15 23:31:09 2015 +0900 Merge pull request #9813 from sinhrks/plot_test TST: Split graphics_test to main and others commit a80577e2e5bafac3e4b15fca521a61527f55868e Author: sinhrks <sinhrks@gmail.com> Date: Sun Apr 5 17:35:33 2015 +0900 TST: Split graphics_test to main and others commit 5b1e500ebf0637a98763bcf0892f26ae5d101b33 Merge: 50c1ee8 c2ea0d4 Author: jreback <jeff@reback.net> Date: Tue Jul 14 11:52:23 2015 -0400 Merge pull request #7599 from sinhrks/parsenat API/BUG: Make consistent datetime string parse function commit 50c1ee89d0d3d063920e4f6b5c8e031f3f5407c1 Merge: 35c0863 e9d6678 Author: jreback <jeff@reback.net> Date: Tue Jul 14 08:47:25 2015 -0400 Merge pull request #10265 from bashtage/enforce-coercion-conversion BUG: Ensure 'coerce' actually coerces datatypes commit e9d6678ac98c56ac057baa1a7be2e32a8aed5896 Author: Kevin Sheppard <kevin.sheppard@treasury.gov> Date: Thu Jul 9 13:59:31 2015 -0400 CLN: PEP 8 improvements commit 0727803b27e6b0299a903a47aecde0b747c91b7e Author: Kevin Sheppard <kevin.sheppard@economics.ox.ac.uk> Date: Sun Jul 12 23:15:13 2015 -0400 BUG: Ensure 'coerce' actually coerces datatypes Changes behavior of convert objects so that passing 'coerce' will ensure that data of the correct type is returned, even if all values are null-types (NaN or NaT). closes #9589 commit 35c086396084fb929b6de40f7d7f3fa48d6f3b25 Merge: d00258e c6bab91 Author: jreback <jeff@reback.net> Date: Mon Jul 13 09:14:25 2015 -0400 Merge pull request #10502 from jorisvandenbossche/remove-na_fvalues CLN: remove na_fvalues from TextFileReader (read_csv et al) signature (GH10481) commit d00258e57302fc2d72ec1a6c3f75d58de705f7f4 Merge: 98961c5 3bd9b26 Author: Joris Van den Bossche <jorisvandenbossche@gmail.com> Date: Mon Jul 13 15:12:02 2015 +0200 Merge pull request #10561 from jorisvandenbossche/doc-imports DOC: consistent imports (GH9886) part IV commit 98961c57ee4ee8de97562fe2d82dbb1f587d0d8c Merge: 83b2320 271ae44 Author: jreback <jeff@reback.net> Date: Mon Jul 13 08:42:41 2015 -0400 Merge pull request #10473 from bashtage/hdf-complex BUG: Enable complex values to be written to HDF commit 271ae441c1d0256b9c8b61449b21644e39c70cbf Author: Kevin Sheppard <kevin.sheppard@treasury.gov> Date: Mon Jun 29 15:17:55 2015 -0400 BUG: Enable complex values to be written to HDF Enable table format to be used to store complex values in DataFrames, Panels and Panel4Ds. Add tests for both fixed and panel. Add exception when attempting to write Series with complex values. closes #10447 commit 83b232089b9292b11d4b9b00c0e50cc4a829f016 Merge: df1f5cf eccbfa7 Author: jreback <jeff@reback.net> Date: Mon Jul 13 06:56:10 2015 -0400 Merge pull request #10443 from bashtage/read-hdf-singleton ENH: Simplify using read_hdf for HDF files with one dataset commit eccbfa7f0caf89b93957633006a8b21b1c2bde99 Author: Kevin Sheppard <kevin.sheppard@treasury.gov> Date: Thu Jun 25 15:51:03 2015 -0400 ENH: Simplify using read_hdf for HDF files with one dataset Allow read_hdf to be used without a key when a single pandas object is stored in a HDF file. Raises if multiple pandas objects found. commit df1f5cfe6b37bdba08e925a9f83d232b47a48afa Merge: e660c05 ece8223 Author: jreback <jeff@reback.net> Date: Sun Jul 12 22:40:09 2015 -0400 Merge pull request #10557 from kjordahl/bug/pickle-subclass-metadata Pickle subclass metadata commit ece82234d3e3cd55b12e2443fb7fb6b778f2fb25 Author: Kelsey Jordahl <kjordahl@enthought.com> Date: Sun Jul 12 15:03:06 2015 -0500 ENH: Add attributes to serialize ENH: Add _metadata to _internal_names TST: Test for serialized metadata in subclass TST: Move test subclassed dataframe to testing utils to make it pickleable CLN: Remove __getstate__() from Series DOC: Add to whatsnew commit 3bd9b2695be12ec6f2e12865ee58d50226af6474 Author: Joris Van den Bossche <jorisvandenbossche@gmail.com> Date: Sun Jul 5 21:12:45 2015 +0200 DOC: consistent imports (GH9886) part IV commit c2ea0d4d1f7333dfb5f35d0795267d8894a37d83 Author: sinhrks <sinhrks@gmail.com> Date: Sat Jun 28 20:13:35 2014 +0900 BUG: each date parsing funcs results differently commit e660c058a662426afc4d8855aabf4677f01b4a4c Merge: b9e5f1e d82721c Author: jreback <jeff@reback.net> Date: Sat Jul 11 11:47:31 2015 -0500 Merge pull request #10542 from schettino72/10151-cleanup-up-platform-python-version-checks CLN: cleanup up platform / python version checks. fix GB10151 commit b9e5f1e8c29dde55e517cb53ce14834170c4bfb5 Merge: b855bb5 d555682 Author: Stephan Hoyer <shoyer@gmail.com> Date: Sat Jul 11 01:45:10 2015 -0500 Merge pull request #10493 from clarkfitzg/histogram_label ENH: GH10485 'Frequency' label for Series.plot commit b855bb53fa9ac9bf3d1c181c6a11ebbd498df743 Merge: 2b8b180 98fdcb6 Author: Joris Van den Bossche <jorisvandenbossche@gmail.com> Date: Sat Jul 11 01:17:52 2015 +0200 Merge pull request #10262 from artemyk/mysql_numeric_identifier TST: test_sql: properly drop tables with names that need to be quoted commit d82721cf173acbbc27129152bb51d2b1d7a7c528 Author: Eduardo Sche…
closes #9882
This extends the Stata reader to handle version 118 (stata 14) format files.
It correctly handles the test file posted by @makmanalp. I don't have stata14 now to generate additional test files, but I'm not sure that it's necessary.
There is one point I'm not sure about, relating to the way that strls are indexed by a weird composite of a short and a 6 byte integer. The stata docs aren't clear on how this 8 byte composite should (or shouldn't) be byteswapped when the file and local endianness don't match. We currently byteswap it in this case (inheriting from our dta117 code) but I'm not sure that this is correct.
I can confirm that it works when the file and local machine are both little endian, which covers the most common situation.
I haven't looked at the writer much, it seems to always write version 114 files.