MrPowers opened a new issue, #1796:
URL: https://github.com/apache/sedona/issues/1796

   Some Python code snippets are missing backslashes, like this one:
   
   ```python
   df = sedona.read.format("geojson").load("PATH/TO/MYFILE.json")
      .withColumn("prop0", 
f.expr("properties['prop0']")).drop("properties").drop("type")
   ```
   
   We could also run all these snippets through a code format tool.  Here's how 
this is formatted with black:
   
   ```python
   df = (
       sedona.read.format("geojson")
       .load("PATH/TO/MYFILE.json")
       .withColumn("prop0", f.expr("properties['prop0']"))
       .drop("properties")
       .drop("type")
   )
   ```


-- 
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]

Reply via email to