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

[python][tests] fixed typo #2732

Merged
merged 2 commits into from
Feb 3, 2020
Merged

[python][tests] fixed typo #2732

merged 2 commits into from
Feb 3, 2020

Conversation

StrikerRUS
Copy link
Collaborator

I have no idea how pd.np.random occurred there 😃

Fix warning:

  /Users/travis/build/microsoft/LightGBM/tests/python_package_test/test_engine.py:717: FutureWarning: The pandas.np module is deprecated and will be removed from pandas in a future version. Import numpy directly instead
    "E": pd.Categorical(pd.np.random.permutation(['z', 'y'] * 30),

@guolinke guolinke merged commit 8588990 into master Feb 3, 2020
@StrikerRUS StrikerRUS deleted the typo branch February 4, 2020 22:12
@guolinke guolinke added the fix label Mar 1, 2020
@StrikerRUS StrikerRUS added maintenance and removed fix labels Mar 1, 2020
@lock lock bot locked as resolved and limited conversation to collaborators Apr 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants