Skip to content

Add note in docs for interpolate that Only method=linear interpolation is supported on MultiIndexes. #10371

Closed
@cancan101

Description

@cancan101

Trying to interpolate a DataFrame with MultiIndex:

lib/python2.7/site-packages/pandas/core/generic.pyc in interpolate(self, method, axis, limit, inplace, downcast, **kwargs)
   2868 
   2869         if isinstance(self.index, MultiIndex) and method != 'linear':
-> 2870             raise ValueError("Only `method=linear` interpolation is supported "
   2871                              "on MultiIndexes.")
   2872 

ValueError: Only `method=linear` interpolation is supported on MultiIndexes.

add a note in the docs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions