Skip to content

Commit 8d08434

Browse files
authored
Default Length for StringDataFrameColumn (dotnet#2921) (dotnet#2923)
1 parent 3b4aafa commit 8d08434

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.Data.Analysis/StringDataFrameColumn.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public partial class StringDataFrameColumn : DataFrameColumn, IEnumerable<string
1919
{
2020
private List<List<string>> _stringBuffers = new List<List<string>>(); // To store more than intMax number of strings
2121

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

0 commit comments

Comments
 (0)