[ https://issues.apache.org/jira/browse/BEAM-7389?focusedWorklogId=301461&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-301461 ]
ASF GitHub Bot logged work on BEAM-7389: ---------------------------------------- Author: ASF GitHub Bot Created on: 26/Aug/19 20:28 Start Date: 26/Aug/19 20:28 Worklog Time Spent: 10m Work Description: davidcavazos commented on pull request #9289: [BEAM-7389] Add code examples for ToString page URL: https://github.com/apache/beam/pull/9289#discussion_r317783805 ########## File path: website/src/documentation/transforms/python/element-wise/tostring.md ########## @@ -19,9 +19,38 @@ limitations under the License. --> # ToString + +<script type="text/javascript"> +localStorage.setItem('language', 'language-py') +</script> + Transforms every element in an input collection a string. -## Examples -See [BEAM-7389](https://issues.apache.org/jira/browse/BEAM-7389) for updates. +## Example + +Any non-string element can be converted to a string using sandard Python functions and methods. Review comment: Apparently, there's [`util.ToString`](https://beam.apache.org/releases/pydoc/current/_modules/apache_beam/transforms/util.html#ToString). I opened #9433 to update the code samples to use it. I also updated this page to use the new snippets, but they won't render correctly until the new code samples are merged. ---------------------------------------------------------------- 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: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 301461) Time Spent: 49h 20m (was: 49h 10m) > 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: 49h 20m > Remaining Estimate: 0h > -- This message was sent by Atlassian Jira (v8.3.2#803003)