pcoet commented on a change in pull request #14876:
URL: https://github.com/apache/beam/pull/14876#discussion_r645205789



##########
File path: sdks/python/apache_beam/dataframe/frames.py
##########
@@ -1541,9 +1568,20 @@ def __setitem__(self, key, value):
     else:
       raise NotImplementedError(key)
 
+  @frame_base.with_docs_from(pd.DataFrame)
   @frame_base.args_to_kwargs(pd.DataFrame)
   @frame_base.populate_defaults(pd.DataFrame)
   def align(self, other, join, axis, copy, level, method, **kwargs):
+    """Aligning per-level is not yet supported. Only the default,

Review comment:
       "per-level" -> "per level" (because it's technically being used as an 
adverb, and ... English is weird)

##########
File path: sdks/python/apache_beam/dataframe/frames.py
##########
@@ -1541,9 +1568,20 @@ def __setitem__(self, key, value):
     else:
       raise NotImplementedError(key)
 
+  @frame_base.with_docs_from(pd.DataFrame)
   @frame_base.args_to_kwargs(pd.DataFrame)
   @frame_base.populate_defaults(pd.DataFrame)
   def align(self, other, join, axis, copy, level, method, **kwargs):
+    """Aligning per-level is not yet supported. Only the default,
+    ``level=None``, is allowed.
+
+    Filling NaN values via ``method`` is not supported, because it is
+    `order-sensitive
+    <https://s.apache.org/dataframe-order-sensitive-operatons>`_. Only the
+    default, ``method=None``, is allowed.
+
+    ``copy=False`` is not supported because its behavior (whether or not it is
+    an inplace oepration) depends on the data."""

Review comment:
       typo: "oepration"




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to