This is an automated email from the ASF dual-hosted git repository.
bhulette pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new 59cb9ee [BEAM-12476] Add specific jira for sample follow-up work
(#14994)
59cb9ee is described below
commit 59cb9ee6b2ffcd0469238a893ae0528bb3d2b66b
Author: Brian Hulette <[email protected]>
AuthorDate: Fri Jun 11 08:23:21 2021 -0700
[BEAM-12476] Add specific jira for sample follow-up work (#14994)
---
sdks/python/apache_beam/dataframe/frames.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sdks/python/apache_beam/dataframe/frames.py
b/sdks/python/apache_beam/dataframe/frames.py
index 9751b87..a518242 100644
--- a/sdks/python/apache_beam/dataframe/frames.py
+++ b/sdks/python/apache_beam/dataframe/frames.py
@@ -1213,7 +1213,7 @@ class DeferredSeries(DeferredDataFrameOrSeries):
def sample(self, **kwargs):
"""Only ``n`` and/or ``weights`` may be specified. ``frac``,
``random_state``, and ``replace=True`` are not yet supported.
- See `BEAM-XXX <https://issues.apache.org/jira/BEAM-XXX>`_.
+ See `BEAM-12476 <https://issues.apache.org/jira/BEAM-12476>`_.
Note that pandas will raise an error if ``n`` is larger than the length
of the dataset, while the Beam DataFrame API will simply return the full
@@ -2236,7 +2236,7 @@ class DeferredDataFrame(DeferredDataFrameOrSeries):
def sample(self, n, frac, replace, weights, random_state, axis):
"""When ``axis='index'``, only ``n`` and/or ``weights`` may be specified.
``frac``, ``random_state``, and ``replace=True`` are not yet supported.
- See `BEAM-XXX <https://issues.apache.org/jira/BEAM-XXX>`_.
+ See `BEAM-12476 <https://issues.apache.org/jira/BEAM-12476>`_.
Note that pandas will raise an error if ``n`` is larger than the length
of the dataset, while the Beam DataFrame API will simply return the full
@@ -2259,7 +2259,7 @@ class DeferredDataFrame(DeferredDataFrameOrSeries):
f"When axis={axis!r}, only n and/or weights may be specified. "
"frac, random_state, and replace=True are not yet supported "
f"(got frac={frac!r}, random_state={random_state!r}, "
- f"replace={replace!r}). See BEAM-XXX.")
+ f"replace={replace!r}). See BEAM-12476.")
if isinstance(weights, str):
weights = self[weights]