diff --git a/python/pyarrow/pandas_compat.py b/python/pyarrow/pandas_compat.py index 5063882651e91..e6a3f90fde1f8 100644 --- a/python/pyarrow/pandas_compat.py +++ b/python/pyarrow/pandas_compat.py @@ -200,6 +200,8 @@ def construct_metadata(columns_to_convert, df, column_names, column_field_names, ---------- columns_to_convert : list[pd.Series] df : pandas.DataFrame + column_names : list[str | None] + column_field_names: list[str] index_levels : List[pd.Index] index_descriptors : List[Dict] preserve_index : bool