Skip to content

API: Design questions for HDFStore.append #60920

Open
@JakeTT404

Description

@JakeTT404

I'm new and am trying to put together a PR for documentation improvements surrounding HDFStore. I've been looking at HDFStore.append() and have encountered several instances where I am unsure of what the best practice is:

  • Many parameters are unused or have no effect by nature. Do we keep these and document them with an additional statement that they are unused, or do we remove them/un-document them?
  • Some parameters do have effects but their variable names are misleading such as min_itemsize that defines the max size of string columns and axes that change the axis of appending (though technically correct can be misleading). Do we keep them as is and document them as normal or modify the names throughout?
  • Some parameters have default values of None which are later overwritten by sub-function default values (e.g. nan_rep and chunksize). Do we back-propagate the default values into all sub-functions such that we can document correct default values?
  • Is there a point in having an append parameter when there exists both append() and put() which act as near identical wrappers for the same function _write_to_group()?

Any opinions or resources regarding this will be helpful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    API DesignIO HDF5read_hdf, HDFStoreNeeds DiscussionRequires discussion from core team before further action

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions