Skip to content

Too many indexers #10

Description

@Saadi4469

In line 271 of the code vic_auto.py, I am getting the following error:

IndexingError: Too many indexers
Please advise a solution to this!
Thank you
Just to show the print of dfm2 after line 270, I get the following print:

           0         1         2    3  ...         2    3    4     new
0    0.062420  0.689541  0.248040  0.0  ...  0.248040  0.0  0.0  266566
1    0.000000  0.285827  0.714173  0.0  ...  0.714173  0.0  0.0  266568
2    0.004425  0.516267  0.479309  0.0  ...  0.479309  0.0  0.0  267494
3    0.000000  0.491338  0.508662  0.0  ...  0.508662  0.0  0.0  267495
4    0.000000  0.649343  0.350657  0.0  ...  0.350657  0.0  0.0  267496
..        ...       ...       ...  ...  ...       ...  ...  ...     ...
251  0.000000  0.986212  0.013788  0.0  ...  0.013788  0.0  0.0  286058
252  0.000000  1.000000  0.000000  0.0  ...  0.000000  0.0  0.0  286980
253  0.000000  1.000000  0.000000  0.0  ...  0.000000  0.0  0.0  286981
254  0.000000  1.000000  0.000000  0.0  ...  0.000000  0.0  0.0  286982
255  0.000000  1.000000  0.000000  0.0  ...  0.000000  0.0  0.0  287909

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions