Kaplan-Meier Estimation uses the distinction between an observed event and the end of an observation. In equipment records, a component may remain functional when its observation stops. Its recorded duration then supplies a lower bound on the unknown event time, rather than an exact failure time. The estimator preserves that difference through a sequence of conditional survival fractions.
The official SciPy 1.16.0 ecdf documentation explains right censoring with fanbelts that were still functional when their tests concluded. Their precise survival times were unknown, but exceeded the recorded durations. Other belts broke, providing observed event times.
This is a distinction about information. If observation ends at time three, the record does not say the event occurred at three. It also does not give the final lifetime. Treating every observation end as a failure would replace incomplete knowledge with an event that was never recorded. Discarding the record entirely would lose the period during which that unit was observed without the event.

Consider six invented units, all observed from time zero. Events occur at times two, five and eight. Observation ends without an event for the other units at times three, six and nine. These arbitrary times illustrate the calculation; they are not a test dataset or a proposed equipment life.
Immediately before the first event, six units are available in the risk set. One experiences the event, leaving five event-free among those six. After the censoring time at three, that censored unit no longer contributes to later observed risk sets. Thus four units remain available immediately before the event at five.
The NIST Dataplot Kaplan-Meier explanation orders both failure and censoring times, while including only failure entries in the product that forms its ordinary estimate. Its factors express the remaining fraction at each observed failure.
For the invented sequence, the first factor is five-sixths. At time five, one event among four still-observed units gives a factor of three-fourths. Multiplying five-sixths by three-fourths gives five-eighths. Censoring at six leaves two observed units before time eight; the event there adds a factor of one-half, giving five-sixteenths.
For example, dividing all three events by six would count the events against one fixed denominator. It would leave out the changing observation history that supplies the conditional fractions. The denominator consequently belongs to the risk set at that event time. It is not always the initial six. The product links those successive conditional fractions, explaining why an observed failure later in the sequence need not produce the same vertical change as the first failure.

At times three and six, the example's estimate remains at its previous level. Those entries record the end of observation without an event. They matter because the next event is evaluated against a smaller observed risk set, but they do not supply their own event factor.
This creates two distinct jobs for the timeline. Event marks identify where the survival curve steps down. Censoring marks identify information that changes who remains observable later. A graph that uses the same symbol for both would conceal the reason that a horizontal portion can still contain meaningful observation changes.
In this example, the final remaining unit is censored at nine. The plotted estimate stays at five-sixteenths through that last observation. There is no observed event at nine to supply another downward factor. This leaves the unit's later event time unknown rather than adding an invented terminal failure.
The SciPy example has a different sequence and reaches zero at its last observed event. Its numerical endpoint belongs to that example. Comparing the two sequences shows why the final record's type matters: the largest recorded time can represent either a known event or a lower bound, and those alternatives carry different information.
SciPy 1.16.0 documents support here for uncensored and right-censored observations supplied through its censored-data representation. It explicitly states that other forms of censoring are not supported by this function at that version. That implementation scope should stay attached to the named function rather than becoming a general statement about every survival-analysis method.
More statistical mechanisms appear in the industrial data section and technical article directory. Reading the original observation type, the changing risk set and each event factor together explains the step curve. It also preserves the difference between a worked estimate from available observations and knowledge of event times that have not been observed.