Skip to content

DOC: Fixed PR09 error in pandas.testing.assert_series_equal #32358

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 29, 2020

Conversation

tolhassianipar
Copy link
Contributor

@tolhassianipar tolhassianipar commented Feb 29, 2020

Output of python scripts/validate_docstrings.py pandas.HDFStore.put:

################################################################################
####################### Docstring (pandas.HDFStore.put)  #######################
################################################################################

Store object in HDFStore.

Parameters
----------
key : str
value : {Series, DataFrame}
format : 'fixed(f)|table(t)', default is 'fixed'
    fixed(f) : Fixed format
               Fast writing/reading. Not-appendable, nor searchable.
    table(t) : Table format
               Write as a PyTables Table structure which may perform
               worse but allow more flexible operations like searching
               / selecting subsets of the data.
append   : bool, default False
    This will force Table format, append the input data to the
    existing.
data_columns : list, default None
    List of columns to create as data columns, or True to
    use all columns. See `here
    <https://pandas.pydata.org/pandas-docs/stable/user_guide/io.html#query-via-data-columns>`__.
encoding : str, default None
    Provide an encoding for strings.
dropna   : bool, default False, do not write an ALL nan row to
    The store settable by the option 'io.hdf.dropna_table'.

################################################################################
################################## Validation ##################################
################################################################################

8 Errors found:
        No extended summary found
        Parameters {'min_itemsize', 'index', 'complevel', 'errors', 'complib', 'append', 'nan_rep'} not documented
        Unknown parameters {'dropna  ', 'append  '}
        Parameter "key" has no description
        Parameter "value" has no description
        Parameter "format" description should start with a capital letter
        See Also section not found
        No examples section found

(pandas-dev) D:\Keluarga\Tolhas\Kuliah\Semester 4\DSC Pandas\pandas-tolhassianipar>python scripts/validate_docstrings.py pandas.HDFStore.put

################################################################################
####################### Docstring (pandas.HDFStore.put)  #######################
################################################################################

Store object in HDFStore.

Parameters
----------
key : str
value : {Series, DataFrame}
format : 'fixed(f)|table(t)', default is 'fixed'
    fixed(f) : Fixed format
               Fast writing/reading. Not-appendable, nor searchable.
    table(t) : Table format
               Write as a PyTables Table structure which may perform
               worse but allow more flexible operations like searching
               / selecting subsets of the data.
append   : bool, default False
    This will force Table format, append the input data to the
    existing.
data_columns : list, default None
    List of columns to create as data columns, or True to
    use all columns. See `here
    <https://pandas.pydata.org/pandas-docs/stable/user_guide/io.html#query-via-data-columns>`__.
encoding : str, default None
    Provide an encoding for strings.
dropna   : bool, default False, do not write an ALL nan row to
    The store settable by the option 'io.hdf.dropna_table'.

################################################################################
################################## Validation ##################################
################################################################################

8 Errors found:
        No extended summary found
        Parameters {'errors', 'index', 'nan_rep', 'append', 'min_itemsize', 'complevel', 'complib'} not documented
        Unknown parameters {'append  ', 'dropna  '}
        Parameter "key" has no description
        Parameter "value" has no description
        Parameter "format" description should start with a capital letter
        See Also section not found
        No examples section found

@tolhassianipar tolhassianipar changed the title solve 'check_category_order' description ends with '.' DOC: Fixed PR09 error in pandas.testing.assert_series_equal Feb 29, 2020
@WillAyd WillAyd added this to the 1.1 milestone Feb 29, 2020
@WillAyd WillAyd merged commit edc27e4 into pandas-dev:master Feb 29, 2020
@WillAyd
Copy link
Member

WillAyd commented Feb 29, 2020

Thanks @tolhassianipar

@tolhassianipar
Copy link
Contributor Author

Happy to join, thanks too :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants