[
https://issues.apache.org/jira/browse/BEAM-7389?focusedWorklogId=285205&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-285205
]
ASF GitHub Bot logged work on BEAM-7389:
----------------------------------------
Author: ASF GitHub Bot
Created on: 30/Jul/19 19:53
Start Date: 30/Jul/19 19:53
Worklog Time Spent: 10m
Work Description: rosetn commented on pull request #9184: [BEAM-7389] Add
code examples for Filter page
URL: https://github.com/apache/beam/pull/9184#discussion_r308868776
##########
File path: website/src/documentation/transforms/python/element-wise/filter.md
##########
@@ -18,25 +18,168 @@ See the License for the specific language governing
permissions and
limitations under the License.
-->
-# Filter
-<table align="left">
- <a target="_blank" class="button"
+# Filter
+
+<script type="text/javascript">
+localStorage.setItem('language', 'language-py')
+</script>
+
+<table>
+ <td>
+ <a class="button" target="_blank"
href="https://beam.apache.org/releases/pydoc/current/apache_beam.transforms.core.html#apache_beam.transforms.core.Filter">
- <img src="https://beam.apache.org/images/logos/sdks/python.png"
width="20px" height="20px"
- alt="Pydoc" />
- Pydoc
+ <img src="https://beam.apache.org/images/logos/sdks/python.png"
+ width="20px" height="20px" alt="Pydoc" />
+ Pydoc
</a>
+ </td>
</table>
<br>
+
Given a predicate, filter out all elements that don't satisfy that predicate.
May also be used to filter based on an inequality with a given value based
on the comparison ordering of the element.
## Examples
Review comment:
I suggest a brief explanation of the high level process. For example,
"In the following examples, we create a pipeline with a
<code>PCollection</code> of produce with their icon, name, and duration. Then,
we apply <code>Filter</code> in multiple ways to filter out produce by their
duration value."
----------------------------------------------------------------
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]
Issue Time Tracking
-------------------
Worklog Id: (was: 285205)
Time Spent: 23h (was: 22h 50m)
> Colab examples for element-wise transforms (Python)
> ---------------------------------------------------
>
> Key: BEAM-7389
> URL: https://issues.apache.org/jira/browse/BEAM-7389
> Project: Beam
> Issue Type: Improvement
> Components: website
> Reporter: Rose Nguyen
> Assignee: David Cavazos
> Priority: Minor
> Time Spent: 23h
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)