# EnumerableExtensions

Namespace: Deedle
Attributes:
[<Extension>]

Contains C#-friendly extension methods for various instances of IEnumerable that can be used for creating Series<'K, 'V> from the IEnumerable value. You can create an ordinal series from IEnumerable<'T> or an indexed series from IEnumerable<KeyValuePair<'K, 'V>> or from IEnumerable<KeyValuePair<'K, OptionalValue<'V>>>.

### Static members

 Static member Description  EnumerableExtensions.ToOrdinalSeries(...)  Signature: observations:seq<'V> -> Series Type parameters: 'V Attributes: [] Convert the IEnumerable to a Series, using the seuqence as the values of the resulting series. The keys are generated ordinarilly, starting from 0.  EnumerableExtensions.ToSeries(...)  Signature: observations:seq> -> Series<'K,'V> Type parameters: 'K, 'V Attributes: [] Convert the IEnumerable to a Series, using the keys and values of the KeyValuePair as keys and values of the resulting series.  EnumerableExtensions.ToSparseSeries(...)  Signature: observations:seq>> -> Series<'K,'V> Type parameters: 'K, 'V Attributes: [] Convert the IEnumerable to a Series, using the keys and values of the KeyValuePair as keys and values of the resulting series. OptionalValue.Missing can be used to denote missing values.