XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.0
    • 3.4.0
    • Connect
    • None

    Description

      File "/Users/s.singh/personal/spark-oss/python/pyspark/sql/connect/dataframe.py", line 650, in pyspark.sql.connect.dataframe.DataFrame.fillna
      Failed example:
          df.na.fill(50).show()
      Expected:
          +---+------+-----+----+
          |age|height| name|bool|
          +---+------+-----+----+
          | 10|  80.5|Alice|null|
          |  5|  50.0|  Bob|null|
          | 50|  50.0|  Tom|null|
          | 50|  50.0| null|true|
          +---+------+-----+----+
      Got:
          +----+------+-----+----+
          | age|height| name|bool|
          +----+------+-----+----+
          |10.0|  80.5|Alice|null|
          | 5.0|  50.0|  Bob|null|
          |50.0|  50.0|  Tom|null|
          |50.0|  50.0| null|true|
          +----+------+-----+----+
          <BLANKLINE>

      Attachments

        Activity

          People

            podongfeng Ruifeng Zheng
            techaddict Sandeep Singh
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: