Skip to content
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

ENH: inconsistent naming convention for read_excel column selection (#4988) #16488

Closed
wants to merge 67 commits into from
Closed

Commits on May 26, 2017

  1. implement changes request in PR#16488

    - removed usecols mention in Other Enhancments section,
    remains in Deprecations.
    - removed test_parse_* test methods in favor of test_usecols_* methods.
    - changed parse_cols to usecols in test_read_one_empty_col_* instead
    of catching warning.
    abarber4gh committed May 26, 2017
    Configuration menu
    Copy the full SHA
    52f2c11 View commit details
    Browse the repository at this point in the history
  2. ENH: inconsistent naming convention for read_csv and read_excel colum…

    …n selection (#4988)
    
    update API to use ‘usecols’ instead of ‘parse_cols’.  still functionally the same as ‘parse_col’,
    added test cases for ‘usecols’, added assert_produces_warning(FutureWarning) to other test
    cases that use ‘parse_cols’.
    
    refactor column use column parsing to only occur once per sheet.
    
    updated whats new with deprecated parse_col argument and other enhancements
    to usecols functionality.
    update documentation to show new usecols functionality in read_excel().
    abarber4gh committed May 26, 2017
    Configuration menu
    Copy the full SHA
    d681a0e View commit details
    Browse the repository at this point in the history
  3. no message

    abarber4gh committed May 26, 2017
    Configuration menu
    Copy the full SHA
    a4341de View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e985488 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d58669c View commit details
    Browse the repository at this point in the history
  6. removed excess blank line.

    abarber4gh committed May 26, 2017
    Configuration menu
    Copy the full SHA
    058177b View commit details
    Browse the repository at this point in the history
  7. add deprecate_kwarg from _decorators

    add `check_stacklevel=False` to `test_excel_oldindex_format()`
    abarber4gh committed May 26, 2017
    Configuration menu
    Copy the full SHA
    03593a7 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6649157 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2017

  1. Configuration menu
    Copy the full SHA
    ef487d9 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2017

  1. Configuration menu
    Copy the full SHA
    e60dc4c View commit details
    Browse the repository at this point in the history

Commits on May 30, 2017

  1. Configuration menu
    Copy the full SHA
    7efc4e8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4ca29f4 View commit details
    Browse the repository at this point in the history

Commits on May 31, 2017

  1. TST: Avoid global state in matplotlib tests (#16539)

    Replaces most uses of implicit global state from matplotlib in
    test_datetimelike.py. This was potentially causing random failures
    where a figure expected to be on a new, blank figure would instead
    plot on an existing axes (that's the guess at least).
    TomAugspurger authored May 31, 2017
    Configuration menu
    Copy the full SHA
    92d0799 View commit details
    Browse the repository at this point in the history
  2. DOC: Update to docstring of DataFrame(dtype) (#14764) (#16487)

    * Adding some more documentation on dataframe with regards to dtype
    
    * Making example for creating dataframe from np matrix easier
    VincentLa authored and jorisvandenbossche committed May 31, 2017
    Configuration menu
    Copy the full SHA
    fbdae2d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d4f80b0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9b0ea41 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d31ffdb View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    03d44f3 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e437ad5 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    58f4454 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    ee8346d View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2017

  1. Configuration menu
    Copy the full SHA
    9d7afa7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a67c7aa View commit details
    Browse the repository at this point in the history
  3. Strictly monotonic (#16555)

    TomAugspurger authored and jreback committed Jun 1, 2017
    Configuration menu
    Copy the full SHA
    cab2b6b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e0a127a View commit details
    Browse the repository at this point in the history
  5. BUG: Fixed to_html ignoring index_names parameter

    closes #16493
    
    Author: Christian Prinoth <christian@prinoth.name>
    Author: Tom Augspurger <tom.w.augspurger@gmail.com>
    Author: Christian Prinoth <c.prinoth@CPmbpro.local>
    Author: Jeff Reback <jeff.reback@twosigma.com>
    
    This patch had conflicts when merged, resolved by
    Committer: Jeff Reback <jeff.reback@twosigma.com>
    
    Closes #16495 from CRP/bugfix_16493 and squashes the following commits:
    
    567ae69 [Jeff Reback] doc corrections
    8429f9a [Tom Augspurger] Fixed lint error
    469a0e6 [Christian Prinoth] BUG: fix for bug 16493
    20d512f [Christian Prinoth] BUG: fix for bug 16493
    6bef829 [Christian Prinoth] BUG: fix for bug 16493
    426565e [Christian Prinoth] BUG: fix for bug 16493
    a40820d [Christian Prinoth] BUG: fix for bug 16493
    CRP authored and jreback committed Jun 1, 2017
    Configuration menu
    Copy the full SHA
    e3ee186 View commit details
    Browse the repository at this point in the history
  6. BUG: fixed wrong order of ordered labels in pd.cut()

    closes #16459
    
    Author: economy <the.economy@gmail.com>
    
    This patch had conflicts when merged, resolved by
    Committer: Jeff Reback <jeff.reback@twosigma.com>
    
    Closes #16466 from economy/fix_cut and squashes the following commits:
    
    29128b3 [economy] comments and whatsnew edits
    3898b72 [economy] BUG: fixed wrong order of ordered labels in pd.cut()
    economy authored and jreback committed Jun 1, 2017
    Configuration menu
    Copy the full SHA
    d419be4 View commit details
    Browse the repository at this point in the history
  7. fix linting

    jreback committed Jun 1, 2017
    2 Configuration menu
    Copy the full SHA
    fb47ee5 View commit details
    Browse the repository at this point in the history
  8. TST: writing invalid table names to sqlite (#16464)

    * Add test for bug #13206.
    
    * Improve test by reading back the values from sql and comparing. Also fixes coding style violation.
    Hugues Valois authored and TomAugspurger committed Jun 1, 2017
    Configuration menu
    Copy the full SHA
    7b106e4 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    a7760e3 View commit details
    Browse the repository at this point in the history
  10. DOC: Remove incorrect elements of PeriodIndex docstring (#16553)

    * DOC: Remove incorrect elements of PeriodIndex docstring
    
    See #9056.
    
    * Removed trailing space
    tui-rob authored and TomAugspurger committed Jun 1, 2017
    Configuration menu
    Copy the full SHA
    4ec98d8 View commit details
    Browse the repository at this point in the history
  11. TST: Make HDF5 fspath write test robust (#16575)

    The test_write_fspath_all test would fail on the HDF5 example
    occasionally (about 1/100 in my experience). Apparently you don't get an
    identical HDF5 every single time. This refactors that test out to its own where
    we write and read both versions, and compare equality that way.
    TomAugspurger authored and jreback committed Jun 1, 2017
    Configuration menu
    Copy the full SHA
    a19f9fa View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    72e0d1f View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    fc4408b View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    db419bf View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2017

  1. Configuration menu
    Copy the full SHA
    8d092d9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5f312da View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    06f8347 View commit details
    Browse the repository at this point in the history
  4. DOC: change doc build to python 3.6 (#16545)

    * DOC: change doc build to python 3.6
    
    * Remove pinning of pyqt to 4.x
    
    * Remove pinning of openpyxl
    
    * Add xsel to doc build for clipboard
    jorisvandenbossche authored Jun 2, 2017
    Configuration menu
    Copy the full SHA
    ff0d1f4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    31e67d5 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2017

  1. Configuration menu
    Copy the full SHA
    9e620bc View commit details
    Browse the repository at this point in the history
  2. PERF: vectorize _interp_limit (#16592)

    * PERF: vectorize _interp_limit
    
    * CLN: remove old implementation
    
    * fixup! CLN: remove old implementation
    TomAugspurger authored Jun 4, 2017
    Configuration menu
    Copy the full SHA
    473615e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ce3b0c3 View commit details
    Browse the repository at this point in the history
  4. BUG: convert numpy strings in index names in HDF #13492 (#16444)

    * BUG: Handle numpy strings in index names in HDF5 #13492
    
    * REF: refactor to _ensure_str
    makmanalp authored and TomAugspurger committed Jun 4, 2017
    Configuration menu
    Copy the full SHA
    18c316b View commit details
    Browse the repository at this point in the history
  5. ERRR: Raise error in usecols when column doesn't exist but length mat…

    …ches (#16460)
    
    * gh-14671 Check if usecols with type string contains a subset of names, if not throws an error
    
    * tests added for gh-14671, expected behavior of simultaneous use of usecols and names unclear so these tests are commented out
    
    * Review comments
    bpraggastis authored and TomAugspurger committed Jun 4, 2017
    Configuration menu
    Copy the full SHA
    50a62c1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    91057f3 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    bf99975 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2017

  1. Configuration menu
    Copy the full SHA
    697d026 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2017

  1. Fix some lgtm alerts (#16613)

    jhelie authored and jreback committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    10c17d4 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2017

  1. Configuration menu
    Copy the full SHA
    dfebd8a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2b44868 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    722b386 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    73930c5 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2017

  1. Configuration menu
    Copy the full SHA
    9fdea65 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    789f7bb View commit details
    Browse the repository at this point in the history
  3. CLN: make license file machine readable (#16649)

    Splits extra information about the license and copyright holders to
    AUTHORS.md.
    tswast authored and jreback committed Jun 9, 2017
    Configuration menu
    Copy the full SHA
    5aba665 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2017

  1. Configuration menu
    Copy the full SHA
    ec6bf6d View commit details
    Browse the repository at this point in the history
  2. COMPAT: numpy 1.13 test compat (#16654)

    * COMPAT: numpy 1.13 test compat
    
    * CI: fix doc build to 1.12
    jreback authored Jun 10, 2017
    Configuration menu
    Copy the full SHA
    dc716b0 View commit details
    Browse the repository at this point in the history
  3. implement changes request in PR#16488

    - removed usecols mention in Other Enhancments section,
    remains in Deprecations.
    - removed test_parse_* test methods in favor of test_usecols_* methods.
    - changed parse_cols to usecols in test_read_one_empty_col_* instead
    of catching warning.
    abarber4gh committed Jun 10, 2017
    Configuration menu
    Copy the full SHA
    d6c3189 View commit details
    Browse the repository at this point in the history
  4. ENH: inconsistent naming convention for read_csv and read_excel colum…

    …n selection (#4988)
    
    update API to use ‘usecols’ instead of ‘parse_cols’.  still functionally the same as ‘parse_col’,
    added test cases for ‘usecols’, added assert_produces_warning(FutureWarning) to other test
    cases that use ‘parse_cols’.
    
    refactor column use column parsing to only occur once per sheet.
    
    updated whats new with deprecated parse_col argument and other enhancements
    to usecols functionality.
    update documentation to show new usecols functionality in read_excel().
    abarber4gh committed Jun 10, 2017
    Configuration menu
    Copy the full SHA
    5682a05 View commit details
    Browse the repository at this point in the history
  5. no message

    abarber4gh committed Jun 10, 2017
    Configuration menu
    Copy the full SHA
    8025c0c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f07a002 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    440e6a6 View commit details
    Browse the repository at this point in the history
  8. removed excess blank line.

    abarber4gh committed Jun 10, 2017
    Configuration menu
    Copy the full SHA
    f299ea2 View commit details
    Browse the repository at this point in the history
  9. add deprecate_kwarg from _decorators

    add `check_stacklevel=False` to `test_excel_oldindex_format()`
    abarber4gh committed Jun 10, 2017
    Configuration menu
    Copy the full SHA
    5948c01 View commit details
    Browse the repository at this point in the history
  10. Merge branch 'issue#4988' of https://github.com/abarber4gh/pandas int…

    …o issue#4988
    
    * 'issue#4988' of https://github.com/abarber4gh/pandas:
      add `deprecate_kwarg` from `_decorators` add `check_stacklevel=False` to `test_excel_oldindex_format()`
      removed excess blank line.
      change parse_cols to usecols
      change tests keyword from parse_cols to usecol.
      no message
      ENH: inconsistent naming convention for read_csv and read_excel column selection (#4988)
      implement changes request in PR#16488 - removed usecols mention in Other Enhancments section, remains in Deprecations. -      removed test_parse_* test methods in favor of test_usecols_* methods. - changed parse_cols to usecols in test_read_one_empty_col_* instead of catching warning.
    rebased
    abarber4gh committed Jun 10, 2017
    Configuration menu
    Copy the full SHA
    dd7dc30 View commit details
    Browse the repository at this point in the history
  11. rebase with #16522 changes.

    abarber4gh committed Jun 10, 2017
    Configuration menu
    Copy the full SHA
    a525222 View commit details
    Browse the repository at this point in the history