Click or drag to resize
EnumerableExtensions Class
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>>>`. [category:Frame and series operations]
Inheritance Hierarchy
SystemObject
  DeedleEnumerableExtensions

Namespace:  Deedle
Assembly:  Deedle (in Deedle.dll) Version: 1.2
Syntax
C#
[SerializableAttribute]
public class EnumerableExtensions

The EnumerableExtensions type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberToOrdinalSeriesV
Convert the `IEnumerable` to a `Series`, using the seuqence as the values of the resulting series. The keys are generated ordinarilly, starting from 0.
Public methodStatic memberToSeriesK, V
Convert the `IEnumerable` to a `Series`, using the keys and values of the `KeyValuePair` as keys and values of the resulting series.
Public methodStatic memberToSparseSeriesK, 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.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also