Here I propose renaming the following methods to align with conventions adopted by xarray/pandas/pyarrow:
- Rename
_GMT_DATASET.to_dataframe to .to_pandas.
- Rename
_GMT_GRID.to_dataarray and _GMT_IMAGE.to_dataarray to .to_xarray
Reference:
Since _GMT_DATASET/_GMT_GRID/_GMT_IMAGE are internal data structures, we can rename these functions without deprecation warnings. Of course, we can also go with the deprecation cycle if you think it's necessary.