Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-12530

Handle inline pandas objects in pandas docstrings

Details

    • Improvement
    • Status: Open
    • P3
    • Resolution: Unresolved
    • None
    • None
    • dsl-dataframe
    • None

    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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bhulette Brian Hulette
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m