[
https://issues.apache.org/jira/browse/BEAM-12541?focusedWorklogId=615202&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-615202
]
ASF GitHub Bot logged work on BEAM-12541:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 25/Jun/21 20:51
Start Date: 25/Jun/21 20:51
Worklog Time Spent: 10m
Work Description: TheNeuralBit commented on pull request #15086:
URL: https://github.com/apache/beam/pull/15086#issuecomment-868826479
R: @rohdesamuel (I think this will be the last one I have for you :D)
--
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: 615202)
Time Spent: 20m (was: 10m)
> 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: 20m
> 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)