Skip to content

Commit

Permalink
Default Length for StringDataFrameColumn (dotnet#2921) (dotnet#2923)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysparry authored May 25, 2020
1 parent 3b4aafa commit 8d08434
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Microsoft.Data.Analysis/StringDataFrameColumn.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public partial class StringDataFrameColumn : DataFrameColumn, IEnumerable<string
{
private List<List<string>> _stringBuffers = new List<List<string>>(); // To store more than intMax number of strings

public StringDataFrameColumn(string name, long length) : base(name, length, typeof(string))
public StringDataFrameColumn(string name, long length = 0) : base(name, length, typeof(string))
{
int numberOfBuffersRequired = Math.Max((int)(length / int.MaxValue), 1);
for (int i = 0; i < numberOfBuffersRequired; i++)
Expand Down

0 comments on commit 8d08434

Please sign in to comment.