You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Brian Hulette (Jira)" <ji...@apache.org> on 2021/09/01 18:52:00 UTC
[jira] [Updated] (BEAM-12530) FakePandasObject should handle inline
pandas objects
[ https://issues.apache.org/jira/browse/BEAM-12530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Hulette updated BEAM-12530:
---------------------------------
Description:
Currently our doctest framework doesn't handle cases like
{code:python}
pd.DataFrame({'col': pd.Series(..)})
{code}
The pd.Series is replaced with a DeferredSeries and passed to {{pd.DataFrame}}. We should make it identify DeferredBase instances in the args and replace them with their original value.
was:
Currently our doctest framework doesn't handle cases like
{code:python}
pd.DataFrame({'col': pd.Series(..)})
{code}
The pd.Series is replaced with a DeferredSeries and passed to {{pd.DataFrame}}. With this change we identify DeferredBase instances in the args and replace them with their original value.
> FakePandasObject should handle inline pandas objects
> ----------------------------------------------------
>
> Key: BEAM-12530
> URL: https://issues.apache.org/jira/browse/BEAM-12530
> Project: Beam
> Issue Type: Improvement
> Components: dsl-dataframe
> Reporter: Brian Hulette
> Priority: P2
> Labels: stale-P2
>
> Currently our doctest framework doesn't handle cases like
> {code:python}
> pd.DataFrame({'col': pd.Series(..)})
> {code}
> The pd.Series is replaced with a DeferredSeries and passed to {{pd.DataFrame}}. We should make it identify DeferredBase instances in the args and replace them with their original value.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)