You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Beam JIRA Bot (Jira)" <ji...@apache.org> on 2022/04/07 16:59:00 UTC

[jira] [Updated] (BEAM-14066) Update DataFrame rsplit() api once pandas rsplit() supports regex

     [ https://issues.apache.org/jira/browse/BEAM-14066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Beam JIRA Bot updated BEAM-14066:
---------------------------------
    Labels: dataframe-api stale-assigned  (was: dataframe-api)

> Update DataFrame rsplit() api once pandas rsplit() supports regex
> -----------------------------------------------------------------
>
>                 Key: BEAM-14066
>                 URL: https://issues.apache.org/jira/browse/BEAM-14066
>             Project: Beam
>          Issue Type: Sub-task
>          Components: dsl-dataframe, sdk-py-core
>            Reporter: Andy Ye
>            Assignee: Andy Ye
>            Priority: P3
>              Labels: dataframe-api, stale-assigned
>
> `rsplit` API does not support regex as an argument even though its documentation [does|https://pandas.pydata.org/docs/reference/api/pandas.Series.str.rsplit.html]. This issue was [filed|https://github.com/pandas-dev/pandas/issues/29633] a while ago. Once the issue is fixed, update the `rsplit` api once the fix in pandas is released.
> Relevant Pandas source code:
>  * [rsplit|https://github.com/pandas-dev/pandas/blob/v1.4.1/pandas/core/strings/accessor.py#L853-L857] 
>  * [_str_rsplit|https://github.com/pandas-dev/pandas/blob/60c2940fcf28ee84b64ebda813adfd78a68eea9f/pandas/core/strings/object_array.py#L343]



--
This message was sent by Atlassian Jira
(v8.20.1#820001)