Skip to content

Commit c82687c

Browse files
authored
pyspark 2023 comin' in hot 🔥
1 parent 21c2a4b commit c82687c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ df.write.csv('/path/to/your/output/file')
8484
df = df.collect()
8585

8686
# Get results (WARNING: in-memory) as list of Python dicts
87-
dicts = [row.asDict() for row in df.collect()]
87+
dicts = [row.asDict(recursive=True) for row in df.collect()]
8888

8989
# Convert (WARNING: in-memory) to Pandas DataFrame
9090
df = df.toPandas()

0 commit comments

Comments
 (0)