Permalink
Commits on May 24, 2017
  1. BUG: Fix warning with c engine when skipping lines with comment (#16455)

    * Fix correct warning with c engine when skipping lines
    
    Fixed bug where c engine would not print warnings for lines
    it skipped in case the skipped line had an inline comment.
    Also, its accounting of number of fields in such lines would
    be off by one.
    
    * Use `tm.capture_stderr` to capture stderr
    
    * Add bug fix note in `whatsnew/v0.20.3.txt`
    
    * Move test to CParserTests
    
    The behavior is only applicable on the `c` engine.
    
    * Update whatsnew bug entry as per review
    pankajp committed with TomAugspurger May 24, 2017
  2. ENH: Improve error message for read_csv header argument containing no…

    …n int types. GH16338. (#16351)
    
    Adds error "header must be integer or list of integers" when the header argument is a list, tuple or numpy array containing non-integers. Initially intended to read_csv, but applies to other functions with similar header arguments. GH16338 refers to a case in which the user mixes up the "names" and "header" arguments.
    
    Revising PR16351 based on feedback
    
    Revising PR16351 lint issues
    
    Adding release note in whatsnew v0.21.0 for PR16351
    mjlove12 committed with TomAugspurger May 24, 2017
  3. BUG: strange timeseries plot behavior (#16461)

    validation tests, closes #6608.
    huguesv committed with jreback May 24, 2017
  4. Fix test assertions (#16470)

    divergentdave committed with jreback May 24, 2017
  5. COMPAT: feather-format 0.4.0 compat (#16475)

    jreback committed on GitHub May 24, 2017
  6. BUG: Don't ignore figsize in df.boxplot (#16445)

    * Propagate the figsize via the rcParams, since matplotlib doesn't allow passing it as a parameter to gca().
    
    * Update what's new for v0.21.0 and use rc_context() to temporarily change rcParams.
    
    * Move bug fix from 0.21.0 whatsnew to 0.20.2.
    
    * Allow passing in an rc to _gca() instead of just figsize, and added a test for boxplot figsize.
    
    * Fix style violations.
    huguesv committed with TomAugspurger May 24, 2017
Commits on May 23, 2017
  1. BUG: wide_to_long should check for unique id vars (#16382) (#16403)

    * BUG: wide_to_long should check for unique id vars (#16382)
    
    * Fix uncaught lint error
    
    * Add whatsnew note (bug fix)
    nuffe committed with TomAugspurger May 23, 2017
  2. DEPR: Change read_excel sheetname to sheet_name (#16442)

    * GH10559: Minor improvement: Change to_excel sheet name
    
    modify io/excel.py and relevant docs (io.rst) to use sheet_name for read_excel
    but allow sheetname to still be used for backwards compatibility.  add test_excel
    to verify that sheet_name and sheetname args produce the same result.
    
    * GH10559: Minor improvement: Change to_excel sheet name
    
    added @deprecate_kwarg to read_excel as arg changes from sheetname to sheet_name.
    moved test comments into function, add assert_produces_warning.
    
    * GH10559: Minor improvement: Change to_excel sheet name
    
    remove manual arg change, use @deprecate_kwarg to read_excel
    as arg changes from sheetname to sheet_name.
    
    * GH10559: Minor improvement: Change to_excel sheet name
    
    shorten lines under 79 char.
    
    * GH10559: Minor improvement: Change to_excel sheet name
    
    update whats new 0.21.0 Deprecations section noting sheetname deprecated
    in favor of sheet_name.
    add sheetname deprecation in read_excel() docstring.
    abarber4gh committed with TomAugspurger May 23, 2017
  3. DOC: update make.py script (#16456)

    jorisvandenbossche committed on GitHub May 23, 2017
  4. BUG: Render empty DataFrame as empty HTML table w/o raising IndexErro…

    …r. (#16441)
    
    * BUG: Render empty DataFrame as empty HTML table w/o raising IndexError.
    
    * TST: Test rendering of 2 empty-ish DataFrames (#15953)
    
    DataFrame with an index but no column, and one with a column but no index.
    Add entry to whatsnew.
    JimStearns206 committed with TomAugspurger May 23, 2017
  5. BUG: Interpolate limit=n GH16282 (#16429)

    * BUG: Interpolate limit=n GH16282
    
    * Fix: comment line over the 80 char limit
    
    * Test: Added small test for code coverage
    
    * DOC: Moved whats new comment from 0.21.0 to 0.20.2
    
    * Update v0.21.0.txt
    
    Removed extraneous newline
    WBare committed with TomAugspurger May 23, 2017
  6. DOC: remove windows build from source instructions (#16451)

    jreback committed on GitHub May 23, 2017
  7. ENH: Add the decimal.Decimal type to infer_dtypes (#15690) (#16426)

    closes #15690
    margaret committed with jreback May 23, 2017
  8. change merge validate errors to MergeError from ValueError (#16436)

    * change merge validate errors to MergeError from ValueError
    * move MergeError to pandas/errors
    nickeubank committed with jorisvandenbossche May 23, 2017
  9. DOC: add README improvements. (#16435)

    steven-cutting committed with jorisvandenbossche May 23, 2017
  10. BUG: fix isin with Series of tuples values (#16394) (#16434)

    * Swiched out "values = np.array(list(values), dtype='object')" for "values = lib.list_to_object_array(list(values))" in the isin() method found in core/algorithms.py
    Added test for comparing to a list of tuples
    jaredsnyder committed with jorisvandenbossche May 23, 2017
Commits on May 22, 2017
  1. SAS DOC update - add documentation for sas_read(format='sas7bdat') (#…

    …16420)
    
    * updating comparison_with_sas.rst to include documentation for reading sas7bdat format
    
    * DOC: update docs for read_sas(format='sas7bdat') #12700
    
    Issue #12700: DOC: update comparison_with_sas docs to include new read_sas(format='sas7bdat')
    economy committed with TomAugspurger May 22, 2017
  2. Option Page Typos (#16421)

    * capitalization update
    
    * update
    
    * undoing capitalization
    andymaheshw committed with TomAugspurger May 22, 2017
  3. PERF: don't materialize arrays on checking in groupby (#16413)

    jreback committed on GitHub May 22, 2017
  4. DOC: add google analytics to the documentation (#16412)

    jorisvandenbossche committed on GitHub May 22, 2017
  5. DOC: update tutorials.rst (#16411)

    chankeypathak committed with jorisvandenbossche May 22, 2017
  6. ENH: add validate argument to merge (#16275)

    nickeubank committed with jorisvandenbossche May 22, 2017
  7. DOC: Added examples for union_categoricals (#16397)

    closes #16390
    GuessWhoSamFoo committed with jorisvandenbossche May 22, 2017
Commits on May 20, 2017
  1. BUG: fixes #12405 by eliding values index by NaT in MPLPlot._get_xtic…

    …ks (#14540)
    
    TST: add test for fix of #12405
    DOC: update whatsnew/v0.20.2.txt
    tsdlovell committed with TomAugspurger May 20, 2017
Commits on May 19, 2017
  1. DOC: Fix doc environment variable

    Needs a hyphen
    TomAugspurger committed May 19, 2017
  2. DOC: push docs to new repo

    TomAugspurger committed May 19, 2017
Commits on May 18, 2017
  1. DOC: Try with new token (#16389)

    TomAugspurger committed on GitHub May 18, 2017
  2. TST: xfail gbq tests as having issues

    jreback committed May 18, 2017
  3. TST: remove some Panel/Panel4D deprecation warnings from tests (#16387)

    jreback committed on GitHub May 18, 2017
  4. ENH: Support fspath protocol (#16301)

    * ENH: Support fspath protocol
    
    Ensures that most of pandas readers and writers will honor the fspath
    protocol, if an object defines it.
    
    TST: remove old xfails
    
    * API: Raise AttributeError on closed HDFStore
    
    Previously, we called _check_if_open, which would raise a ClosedFileError
    whenever the desired attribute wasn't found. This prevented the check required
    for PEP519 to work properly, since hasattr shouldn't raise that error.
    
    * ENH: add __fspath__ to pandas own file-like objects
    
    - HDFStore
    - ExcelFile
    TomAugspurger committed on GitHub May 18, 2017
  5. Fixes truncated error message "C extension: umpy.core.multiarray fail…

    …ed to import" (#16366)
    davidread committed with jreback May 18, 2017
  6. DOC: minor enhancement of DataFrame.insert docstring (#16341)

    pierre-haessig committed with jorisvandenbossche May 18, 2017
  7. BUG: Categorical comparison with unordered (#16339)

    Fixes categorical comparison operations improperly considering
    ordering when two unordered categoricals are compared.
    
    Closes #16014
    TomAugspurger committed on GitHub May 18, 2017
  8. ENH: Adding 'protocol' parameter to 'to_pickle'.

    This PR aims at adding an optional `protocol` parameter to the
    function `to_pickle`.   Closes #14488. If needed, I can update the
    corresponding test (`pandas/tests/io/test_pickle.py`).
    
    Author: Jean-Baptiste Schiratti <jbschiratti@tsilinuxb49.enst.fr>
    
    Closes #16252 from jbschiratti/pickle_protocol and squashes the following commits:
    
    8eb660d [Jean-Baptiste Schiratti] Minor change on whatsnew.
    20a854d [Jean-Baptiste Schiratti] Added ref for protocol parameter + edited whatsnew.
    14bc485 [Jean-Baptiste Schiratti] Fix : removed unused import.
    7631146 [Jean-Baptiste Schiratti] Fix : added issue number.
    460ca0c [Jean-Baptiste Schiratti] Shortened paragraph addded in 'whatsnew'.
    352220b [Jean-Baptiste Schiratti] Fix : Fixed error message in 'test_read_bad_versions'.
    9c9d38f [Jean-Baptiste Schiratti] Added enhancement to 'whatsnew' file.
    35f8d18 [Jean-Baptiste Schiratti] Added tests for new 'protocol' parameter in 'to_pickle'.
    4bf0386 [Jean-Baptiste Schiratti] Added docstring for negative protocol parameter.
    04bc5c2 [Jean-Baptiste Schiratti] Added 'versionadded' tag, improved docstring + fixed import.
    66a35e8 [Jean-Baptiste Schiratti] Added 'protocol' parameter to 'to_pickle'.
    jbschiratti committed with jreback May 18, 2017
Commits on May 17, 2017
  1. PERF: improve MultiIndex get_loc performance (#16346)

    * PERF: improve hash collision check for single MI labels
    * PERF: specialized hash function for single tuples
    jorisvandenbossche committed on GitHub May 17, 2017