Last answered:

02 Jul 2024

Posted on:

12 Sept 2022

1

temporary fill - is it necessary?

cant we use temporary mean as temporary fill value? instead of first filling with temporary fill and changing it to temporary mean?

3 answers ( 0 marked as helpful)
Posted on:

20 Oct 2022

1

I think you are right as the goal is just removing nulls whatever the substituting value is

Posted on:

04 Jan 2023

0

I had the same problem with this approach. I don't think you can. Temp value is only an integer a 0 demintion array i.e. ( ), while temp mean values are 1D array i.e (6, ).
Python won't know how to replace "one" missing value with such an array.


temporary_fill = 64002.0
temporary_mean = array([ 2250.25,    46.11,   365.  ,  3895.99,  5160.75, 16571.44])
Posted on:

02 Jul 2024

0

the argument fill_value can only take one value, which mean you can not use an array to fill the "fill_value"

Submit an answer