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.filter
¶
DStream.
filter
(
f
:
Callable
[
[
T
]
,
bool
]
)
→ pyspark.streaming.dstream.DStream
[
T
]
[source]
¶
Return a new DStream containing only the elements that satisfy predicate.
pyspark.streaming.DStream.countByWindow
pyspark.streaming.DStream.flatMap