# EnumerableExtensions

Namespace: Deedle

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  ToOrdinalSeries(observations)  Signature: observations:seq<'V> -> Series Type parameters: 'V Convert the IEnumerable to a Series, using the seuqence as the values of the resulting series. The keys are generated ordinarilly, starting from 0.  ToSeries(observations)  Signature: observations:seq> -> Series<'K,'V> Type parameters: 'K, 'V Convert the IEnumerable to a Series, using the keys and values of the KeyValuePair as keys and values of the resulting series.  ToSparseSeries(observations)  Signature: observations:seq>> -> Series<'K,'V> Type parameters: 'K, 'V 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.