Skip to content

[DOC] Copy text button not copying entire content #621

@dagardner-nv

Description

@dagardner-nv

Report incorrect documentation

Location of incorrect documentation
The first code box under the Examples section in:
https://docs.rapids.ai/api/cudf/stable/user_guide/api_docs/api/cudf.core.column.string.stringmethods.split/#cudf.core.column.string.StringMethods.split

Describe the problems or issues found in the documentation
The box contains this code:

import cudf
data = ["this is a regular sentence",
    "https://docs.python.org/index.html", None]
s = cudf.Series(data)
s
0            this is a regular sentence
1    https://docs.python.org/index.html
2                                  <NA>
dtype: object

clicking the copy button results in the following:

import cudf
data = ["this is a regular sentence",
s = cudf.Series(data)
s

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions