A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pandas-dev/pandas/issues/4712 below:

Unused (and undocumented) `kind` parameter in `read_excel` · Issue #4712 · pandas-dev/pandas · GitHub

closes #4563

Why does read_excel take a kind parameter at all? It gets passed to the ExcelFile constructor, set on the object and then (as far as I can tell) never gets used for anything.

This should either be removed from the signature (which doesn't affect anything, because it will be accepted into kwds anyways) or added into the docs and then actually used for something.

if we remove it, just need to add a:

# Remove this branch in 0.14
if 'kind' in kwargs:
   warnings.warn("Kind is deprecated and will be removed in a future version of pandas")
   kwargs.pop('kind')

Was not previously being used for anything anyways.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4