HyukjinKwon opened a new pull request, #41655: URL: https://github.com/apache/spark/pull/41655
### What changes were proposed in this pull request? This PR proposes to add one newline into the example of `mapInPandas`. ### Why are the changes needed? You copy and paste the example:  and it does not work: ``` >>> def filter_func(iterator): ... for pdf in iterator: ... yield pdf[pdf.id == 1] ... df.mapInPandas(filter_func, df.schema).show() File "<stdin>", line 4 df.mapInPandas(filter_func, df.schema).show() ^ ``` We should add one more line to match ### Does this PR introduce _any_ user-facing change? Yes, it changes the example of `mapInPandas` copy-pastable ### How was this patch tested? Manually tested. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
