Overview
Getting Started
User Guides
API Reference
Development
Migration Guides
Spark SQL
Pandas API on Spark
Structured Streaming
MLlib (DataFrame-based)
Spark Streaming (Legacy)
MLlib (RDD-based)
Spark Core
Resource Management
Errors
pyspark.streaming.DStream.map
¶
DStream.
map
(
f
:
Callable
[
[
T
]
,
U
]
,
preservesPartitioning
:
bool
=
False
)
→ pyspark.streaming.dstream.DStream
[
U
]
[source]
¶
Return a new DStream by applying a function to each element of DStream.
pyspark.streaming.DStream.leftOuterJoin
pyspark.streaming.DStream.mapPartitions