#!/usr/bin/env python3
"""
Deduplication Example
Demonstrates how to use the `.distinct()` operator to filter out consecutive duplicate values from a stream.
"""
= 0.1
# Create a stream that emits repeating values
# We simulate this by creating a base ticker and mapping it to integer division
# This should produce sequences like 0, 0, 0, 1, 1, 1, 2, 2, 2...
=