Skip to content

Code cleanup (unused imports, unused variables...) #119

Closed
@femtotrader

Description

@femtotrader

Hello,

according to
https://landscape.io/github/pydata/pandas-datareader/
there is 2 "errors" (same line 75 in wb.py)

def download(country=['MX', 'CA', 'US'], indicator=['NY.GDP.MKTP.CD', 'NY.GNS.ICTR.ZS'], ...)

these 2 errors are

Dangerous default value [] as argument

There is also some "smells" and some "Style" issues.

Badge Code Health

can be inserted with the following reStructuredText code

.. image:: https://landscape.io/github/pydata/pandas-datareader/master/landscape.svg?style=flat
   :target: https://landscape.io/github/pydata/pandas-datareader/master
   :alt: Code Health

Kind regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions