votes up 0

Called plot accessor for type (type(data).__name__), expected Series or DataFrame

Package:
pandas
github stars 30911
Exception Class:
TypeError

Raise code

    ("xerr", None),
                ("secondary_y", False),
                ("sort_columns", False),
                ("xlabel", None),
                ("ylabel", None),
            ]
        else:
            raise TypeError(
                f"Called plot accessor for type {type(data).__name__}, "
                "expected Series or DataFrame"
            )

        if args and isinstance(data, ABCSeries):
            positional_args = str(args)[1:-1]
            keyword_args = ", ".join(
            

NO FIXES YET

Just press the button and we will add solution
to this exception as soon as possible

* As many users press the button, the faster we create a fix

Add a possible fix

Please authorize to post fix