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

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

                Author: ASF GitHub Bot
            Created on: 29/Jun/21 13:41
            Start Date: 29/Jun/21 13:41
    Worklog Time Spent: 10m 
      Work Description: rohdesamuel commented on pull request #15086:
URL: https://github.com/apache/beam/pull/15086#issuecomment-869903715






-- 
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: 616294)
    Time Spent: 2.5h  (was: 2h 20m)

> fillna(value=DataFrame/Series) does not correctly fill values
> -------------------------------------------------------------
>
>                 Key: BEAM-12541
>                 URL: https://issues.apache.org/jira/browse/BEAM-12541
>             Project: Beam
>          Issue Type: Bug
>          Components: dsl-dataframe
>            Reporter: Brian Hulette
>            Assignee: Brian Hulette
>            Priority: P2
>             Fix For: 2.32.0
>
>          Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> A new doctest was added in 1.3.0 that verifies fillna with a DataFrame value:
> {code}
> df = pd.DataFrame([[np.nan, 2, np.nan, 0],
>                    [3, 4, np.nan, 1],
>                    [np.nan, np.nan, np.nan, 5],
>                    [np.nan, 3, np.nan, 4]],
>                   columns=list("ABCD"))
> df2 = pd.DataFrame(np.zeros((4, 4)), columns=list("ABCE"))
> df.fillna(df2)
>     A   B   C   D
> 0   0.0 2.0 0.0 0
> 1   3.0 4.0 0.0 1
> 2   0.0 0.0 0.0 5
> 3   0.0 3.0 0.0 4
> {code}
> Unfortunately, we fail this test. The root cause is that we don't require 
> Index partitioning when fillna is called with a DataFrame/Series value.



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

Reply via email to