@@ -172,14 +172,6 @@ public DataFrame CreateDataFrame(IEnumerable<int> data) =>
172
172
public DataFrame CreateDataFrame ( IEnumerable < string > data ) =>
173
173
CreateDataFrame ( ToGenericRows ( data ) , SchemaWithSingleColumn ( new StringType ( ) ) ) ;
174
174
175
- /// <summary>
176
- /// Creates a Dataframe given data as <see cref="IEnumerable"/> of type <see cref="long"/>
177
- /// </summary>
178
- /// <param name="data"></param>
179
- /// <returns>Dataframe object</returns>
180
- public DataFrame CreateDataFrame ( IEnumerable < long > data ) =>
181
- CreateDataFrame ( ToGenericRows ( data ) , SchemaWithSingleColumn ( new LongType ( ) ) ) ;
182
-
183
175
/// <summary>
184
176
/// Creates a Dataframe given data as <see cref="IEnumerable"/> of type <see cref="double"/>
185
177
/// </summary>
@@ -196,8 +188,6 @@ public DataFrame CreateDataFrame(IEnumerable<double> data) =>
196
188
public DataFrame CreateDataFrame ( IEnumerable < bool > data ) =>
197
189
CreateDataFrame ( ToGenericRows ( data ) , SchemaWithSingleColumn ( new BooleanType ( ) ) ) ;
198
190
199
- //TODO: Add support for System.Single (float)
200
-
201
191
/// <summary>
202
192
/// Executes a SQL query using Spark, returning the result as a DataFrame.
203
193
/// </summary>
@@ -295,8 +285,8 @@ private StructType SchemaWithSingleColumn(DataType dataType) =>
295
285
new StructType ( new [ ] { new StructField ( "_1" , dataType ) } ) ;
296
286
297
287
/// <summary>
298
- /// Converts rows of type T to <see cref="GenericRow"/> to return a
299
- /// <see cref="IEnumerable"/> of type <see cref=" GenericRow"/> .
288
+ /// This method is transforming each element of IEnumerable of type T input into a single
289
+ /// columned GenericRow.
300
290
/// </summary>
301
291
/// <typeparam name="T">Datatype of values in rows</typeparam>
302
292
/// <param name="rows">List of values of type T</param>
0 commit comments