You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Nicholas Chammas (Jira)" <ji...@apache.org> on 2020/08/21 17:43:00 UTC

[jira] [Created] (SPARK-32686) Un-deprecate inferring DataFrame schema from list of dictionaries

Nicholas Chammas created SPARK-32686:
----------------------------------------

             Summary: Un-deprecate inferring DataFrame schema from list of dictionaries
                 Key: SPARK-32686
                 URL: https://issues.apache.org/jira/browse/SPARK-32686
             Project: Spark
          Issue Type: Improvement
          Components: PySpark, SQL
    Affects Versions: 3.1.0
            Reporter: Nicholas Chammas


Inferring the schema of a DataFrame from a list of dictionaries feels natural for PySpark users, and also mirrors [basic functionality in Pandas|https://stackoverflow.com/a/20638258/877069].

This is currently possible in PySpark but comes with a deprecation warning. We should un-deprecate this behavior if there are no deeper reasons to discourage users from this API, beyond wanting to push them to use {{Row}}.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org