Handle inline pandas objects in pandas docstrings
Open
dataframe
improvement
P3
- Dominant language
- Java
- Stars
- 8.7k
- Forks
- 4.7k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 196
Description
Currently our doctest framework doesn't handle cases like
```
pd.DataFrame({'col': pd.Series(..)})
```
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.
Imported from Jira [BEAM-12530](https://issues.apache.org/jira/browse/BEAM-12530). Original Jira may contain additional context.
Reported by: bhulette.
Contributor guide
Assessment
This issue has not been assessed yet.