Skip to content

DOC indexing: Google search for 'pandas greater than' returns pandas.DataFrame.ge as #1, and pandas.DataFrame.gt/pandas.Series.gt aren't even found #32491

Closed
@smcinerney

Description

@smcinerney

Problem description

(I'm aware that Google SEO is not under pandas' control. However this one's quite important, and nowhere in the pandas doc does it actually tell us where/how to report SEO fails, if at all. So please tell us how and where to report things like this. Are all pandas doc pages automatically submitted to be crawled by Google?)

The indexing of pandas DataFrame/Series operators seems to have some holes:

A Google search for 'pandas greater than' returns 'pandas.DataFrame.ge' as #1, and pandas.DataFrame.gt/pandas.Series.gt aren't even found, let alone in the top 10.

  1. The Enable element-wise comparison operations in DataMatrix objects #1 hit should be pandas.DataFrame.gt
  2. pandas.Series.gt should also be found, reindex_like function #2, but they're not. Similarly Binary operations on int DataMatrix #3 pandas.Series.between, pandas.Series.ge etc.

A Google search for 'pandas less than' is slightly better:

  1. Enable element-wise comparison operations in DataMatrix objects #1 hit is pandas.DataFrame.le (pandas 1.0.1 doc)
  2. reindex_like function #2 hit is pandas.Series.le (pandas 1.0.1 doc)
  3. Binary operations on int DataMatrix #3 hit is pandas.Series.between (pandas 0.23.1 doc(?), not 1.0.x)
  4. The Enable element-wise comparison operations in DataMatrix objects #1 and reindex_like function #2 hits should be pandas.DataFrame.lt/pandas.Series.lt

Expected Output

as above

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions