[ 
https://issues.apache.org/jira/browse/BEAM-12945?focusedWorklogId=654783&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-654783
 ]

ASF GitHub Bot logged work on BEAM-12945:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 23/Sep/21 22:08
            Start Date: 23/Sep/21 22:08
    Worklog Time Spent: 10m 
      Work Description: codecov[bot] commented on pull request #15573:
URL: https://github.com/apache/beam/pull/15573#issuecomment-926196935


   # 
[Codecov](https://codecov.io/gh/apache/beam/pull/15573?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
 Report
   > Merging 
[#15573](https://codecov.io/gh/apache/beam/pull/15573?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
 (7df772e) into 
[master](https://codecov.io/gh/apache/beam/commit/8e3c1deb105f179f6f109ed37ad5e29412914302?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
 (8e3c1de) will **decrease** coverage by `0.01%`.
   > The diff coverage is `90.90%`.
   
   [![Impacted file tree 
graph](https://codecov.io/gh/apache/beam/pull/15573/graphs/tree.svg?width=650&height=150&src=pr&token=qcbbAh8Fj1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)](https://codecov.io/gh/apache/beam/pull/15573?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #15573      +/-   ##
   ==========================================
   - Coverage   83.76%   83.75%   -0.02%     
   ==========================================
     Files         444      444              
     Lines       60319    60340      +21     
   ==========================================
   + Hits        50529    50537       +8     
   - Misses       9790     9803      +13     
   ```
   
   
   | [Impacted 
Files](https://codecov.io/gh/apache/beam/pull/15573?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
 | Coverage Δ | |
   |---|---|---|
   | 
[sdks/python/apache\_beam/dataframe/frames.py](https://codecov.io/gh/apache/beam/pull/15573/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vZGF0YWZyYW1lL2ZyYW1lcy5weQ==)
 | `94.78% <90.90%> (-0.09%)` | :arrow_down: |
   | 
[.../python/apache\_beam/testing/test\_stream\_service.py](https://codecov.io/gh/apache/beam/pull/15573/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vdGVzdGluZy90ZXN0X3N0cmVhbV9zZXJ2aWNlLnB5)
 | `88.37% <0.00%> (-4.66%)` | :arrow_down: |
   | 
[sdks/python/apache\_beam/utils/interactive\_utils.py](https://codecov.io/gh/apache/beam/pull/15573/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vdXRpbHMvaW50ZXJhY3RpdmVfdXRpbHMucHk=)
 | `92.68% <0.00%> (-2.44%)` | :arrow_down: |
   | 
[...che\_beam/runners/interactive/interactive\_runner.py](https://codecov.io/gh/apache/beam/pull/15573/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vcnVubmVycy9pbnRlcmFjdGl2ZS9pbnRlcmFjdGl2ZV9ydW5uZXIucHk=)
 | `90.74% <0.00%> (-1.86%)` | :arrow_down: |
   | 
[...pache\_beam/runners/interactive/interactive\_beam.py](https://codecov.io/gh/apache/beam/pull/15573/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vcnVubmVycy9pbnRlcmFjdGl2ZS9pbnRlcmFjdGl2ZV9iZWFtLnB5)
 | `75.60% <0.00%> (-1.16%)` | :arrow_down: |
   | 
[sdks/python/apache\_beam/runners/direct/executor.py](https://codecov.io/gh/apache/beam/pull/15573/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vcnVubmVycy9kaXJlY3QvZXhlY3V0b3IucHk=)
 | `96.46% <0.00%> (-0.55%)` | :arrow_down: |
   | 
[...eam/runners/interactive/interactive\_environment.py](https://codecov.io/gh/apache/beam/pull/15573/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vcnVubmVycy9pbnRlcmFjdGl2ZS9pbnRlcmFjdGl2ZV9lbnZpcm9ubWVudC5weQ==)
 | `91.39% <0.00%> (+0.15%)` | :arrow_up: |
   
   ------
   
   [Continue to review full report at 
Codecov](https://codecov.io/gh/apache/beam/pull/15573?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
   > **Legend** - [Click here to learn 
more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by 
[Codecov](https://codecov.io/gh/apache/beam/pull/15573?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
 Last update 
[8e3c1de...7df772e](https://codecov.io/gh/apache/beam/pull/15573?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
 Read the [comment 
docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 654783)
    Time Spent: 20m  (was: 10m)

> DataFrame API fails to import with pandas 1.0.x
> -----------------------------------------------
>
>                 Key: BEAM-12945
>                 URL: https://issues.apache.org/jira/browse/BEAM-12945
>             Project: Beam
>          Issue Type: Bug
>          Components: dsl-dataframe
>    Affects Versions: 2.32.0
>            Reporter: Brian Hulette
>            Assignee: Brian Hulette
>            Priority: P2
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The DataFrame API expects pandas.DataFrame to have the attributes "backfill", 
> "bfill", so it fails to import when pandas 1.0.x is installed:
> {code}
> In [1]: import pandas as pd                                                   
>                                                                               
>                                                                    [11/1919]
>                                                                               
>                                       
> In [2]: pd.__version__                                    
> Out[2]: '1.0.5'                                           
>                                                                               
>                                       
> In [3]: from apache_beam.dataframe.convert import to_dataframe                
>                                       
> ---------------------------------------------------------------------------   
>                                       
> AttributeError                            Traceback (most recent call last)   
>                                       
> <ipython-input-3-26ab6682f699> in <module>                
> ----> 1 from apache_beam.dataframe.convert import to_dataframe                
>                                       
>                                                           
> ~/working_dir/beam/sdks/python/apache_beam/dataframe/convert.py in <module>   
>                                       
>      30 from apache_beam.dataframe import frame_base      
>      31 from apache_beam.dataframe import schemas         
> ---> 32 from apache_beam.dataframe import transforms      
>      33                                                   
>      34 if TYPE_CHECKING:                                 
> ~/working_dir/beam/sdks/python/apache_beam/dataframe/transforms.py in 
> <module>                                      
>      30 from apache_beam import transforms                
>      31 from apache_beam.dataframe import expressions     
> ---> 32 from apache_beam.dataframe import frames  # pylint: 
> disable=unused-import                                   
>      33 from apache_beam.dataframe import partitionings   
>      34 from apache_beam.utils import windowed_value      
> ~/working_dir/beam/sdks/python/apache_beam/dataframe/frames.py in <module>    
>                                       
>     148                                                   
>     149                                                   
> --> 150 class DeferredDataFrameOrSeries(frame_base.DeferredFrame):            
>                                       
>     151   def _render_indexes(self):                      
>     152     if self.index.nlevels == 1:                   
> ~/working_dir/beam/sdks/python/apache_beam/dataframe/frames.py in 
> DeferredDataFrameOrSeries()                       
>     297   ffill = _fillna_alias('ffill')                  
>     298   bfill = _fillna_alias('bfill')                  
> --> 299   backfill = _fillna_alias('backfill')            
>     300   pad = _fillna_alias('pad')                      
>     301                                                   
> ~/working_dir/beam/sdks/python/apache_beam/dataframe/frames.py in 
> _fillna_alias(method)                             
>      94   return frame_base.with_docs_from(pd.DataFrame)(                     
>                                       
>      95       frame_base.args_to_kwargs(pd.DataFrame)(    
> ---> 96           frame_base.populate_defaults(pd.DataFrame)(wrapper)))       
>                                       
>      97                                                   
>      98                                                   
> ~/working_dir/beam/sdks/python/apache_beam/dataframe/frame_base.py in 
> wrap(func)                                    
>     559   For internal use only. No backwards compatibility guarantees."""    
>                                       
>     560   def wrap(func):                                 
> --> 561     base_argspec = getfullargspec(unwrap(getattr(base_type, 
> func.__name__)))                                
>     562     if not base_argspec.defaults:                 
>     563       return func                                 
> AttributeError: type object 'DataFrame' has no attribute 'backfill'
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to