[
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}}.
With this change we identify DeferredBase instances in the args and replace
them with their original value.
was:
Currently our doctest framework doesn't handle cases like
{{pd.DataFrame({'col': pd.Series(..)})}} well. 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
>
> 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)