BUG: Use generic **kwargs to catch changes in pandas method APIs