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

Fix the annoying Pandas warnings #92

Open
EgorKraevTransferwise opened this issue Apr 7, 2022 · 0 comments
Open

Fix the annoying Pandas warnings #92

EgorKraevTransferwise opened this issue Apr 7, 2022 · 0 comments
Assignees
Labels
bug Something isn't working P1 Top priority

Comments

@EgorKraevTransferwise
Copy link
Collaborator

A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Prepare the data as '...'
  2. Run '....'
  3. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Your environment

  • Version of auto-causality, e.g branch/commit #/release/tag
  • Source type and setup
  • Target type and setup

Additional context
Add any other context about the problem here.

@EgorKraevTransferwise EgorKraevTransferwise added the bug Something isn't working label Apr 7, 2022
@EgorKraevTransferwise EgorKraevTransferwise self-assigned this Apr 7, 2022
@EgorKraevTransferwise EgorKraevTransferwise added the P1 Top priority label Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P1 Top priority
Projects
None yet
Development

No branches or pull requests

1 participant