e51237f2b5cc77ca0705fbd8890c52757eabb249,janitor/finance.py,,_convert_currency,#Any#Any#Any#,12

Before Change


        "ZAR",
    }

    assert (
        from_currency in currency_set
    ), f"from_currency must be one of {currency_set}"
    assert (
        to_currency in currency_set
    ), f"to_currency must be one of {currency_set}"

After Change


    url = "https://api.exchangeratesapi.io"

    if historical_date:
        check("historical_date", historical_date, [datetime, date])
        if isinstance(historical_date, datetime):
            if historical_date < datetime(1999, 1, 4):
                raise ValueError(
                    "historical_date:datetime must be later than 1999-01-04!"
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: ericmjl/pyjanitor
Commit Name: e51237f2b5cc77ca0705fbd8890c52757eabb249
Time: 2018-12-04
Author: sam.p.zuckerman@gmail.com
File Name: janitor/finance.py
Class Name:
Method Name: _convert_currency


Project Name: ericmjl/pyjanitor
Commit Name: d49d45e5832a3bab9c90812412a4c29ff73ad0d4
Time: 2018-11-18
Author: ericmajinglong@gmail.com
File Name: janitor/functions.py
Class Name:
Method Name: add_column


Project Name: ericmjl/pyjanitor
Commit Name: d49d45e5832a3bab9c90812412a4c29ff73ad0d4
Time: 2018-11-18
Author: ericmajinglong@gmail.com
File Name: janitor/functions.py
Class Name:
Method Name: round_to_fraction


Project Name: ericmjl/pyjanitor
Commit Name: d49d45e5832a3bab9c90812412a4c29ff73ad0d4
Time: 2018-11-18
Author: ericmajinglong@gmail.com
File Name: janitor/functions.py
Class Name:
Method Name: limit_column_characters


Project Name: ericmjl/pyjanitor
Commit Name: d49d45e5832a3bab9c90812412a4c29ff73ad0d4
Time: 2018-11-18
Author: ericmajinglong@gmail.com
File Name: janitor/functions.py
Class Name:
Method Name: row_to_names