Is it necessary to have this as an Index method? Could it just be in common
instead?
On Nov 3, 2013 9:27 PM, "Tom Augspurger" <notifications@github.com> wrote:

> In pandas/core/index.py:
>
> > @@ -2373,6 +2373,16 @@ def format(self, space=2, sparsify=None, adjoin=True, names=False,
> >          else:
> >              return result_levels
> >
> > +    def conform_to_shape(self, N, K=1):
>
> @jreback <https://github.com/jreback> Something like this?
> Panel.to_frame() has the selector business that filters out any row that
> will contain a NaN.
> I wasn't sure if that would make sense as an argument for this function,
> so I left it out and I filter in to_frame() after calling this.
>
> I'll add a docstring/example. Is this the name you'd like? Also, I hope
> the location is okay. I put it below format since it's kind of format
> related.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/pydata/pandas/pull/5417/files#r7393330>
> .
>