forked from dotnet/machinelearning
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explode column types and generate converters (dotnet#2857)
* Explode column types and generate converters * Clean this * sq * sq * Cherry pick for next commit * sq * Undo unnecessary change
- Loading branch information
Prashanth Govindarajan
authored
Mar 4, 2020
1 parent
355d3fb
commit 9e10004
Showing
22 changed files
with
1,772 additions
and
381 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
// See the LICENSE file in the project root for more information. | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace Microsoft.Data.Analysis | ||
{ | ||
public partial class BooleanDataFrameColumn : PrimitiveDataFrameColumn<bool> | ||
{ | ||
public BooleanDataFrameColumn(string name, IEnumerable<bool?> values) : base(name, values) { } | ||
|
||
public BooleanDataFrameColumn(string name, IEnumerable<bool> values) : base(name, values) { } | ||
|
||
public BooleanDataFrameColumn(string name, long length = 0) : base(name, length) { } | ||
|
||
public BooleanDataFrameColumn(string name, ReadOnlyMemory<byte> buffer, ReadOnlyMemory<byte> nullBitMap, int length = 0, int nullCount = 0) : base(name, buffer, nullBitMap, length, nullCount) { } | ||
|
||
internal BooleanDataFrameColumn(string name, PrimitiveColumnContainer<bool> values) : base(name, values) { } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
// See the LICENSE file in the project root for more information. | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace Microsoft.Data.Analysis | ||
{ | ||
public partial class ByteDataFrameColumn : PrimitiveDataFrameColumn<byte> | ||
{ | ||
public ByteDataFrameColumn(string name, IEnumerable<byte?> values) : base(name, values) { } | ||
|
||
public ByteDataFrameColumn(string name, IEnumerable<byte> values) : base(name, values) { } | ||
|
||
public ByteDataFrameColumn(string name, long length = 0) : base(name, length) { } | ||
|
||
public ByteDataFrameColumn(string name, ReadOnlyMemory<byte> buffer, ReadOnlyMemory<byte> nullBitMap, int length = 0, int nullCount = 0) : base(name, buffer, nullBitMap, length, nullCount) { } | ||
|
||
internal ByteDataFrameColumn(string name, PrimitiveColumnContainer<byte> values) : base(name, values) { } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
// See the LICENSE file in the project root for more information. | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace Microsoft.Data.Analysis | ||
{ | ||
public partial class CharDataFrameColumn : PrimitiveDataFrameColumn<char> | ||
{ | ||
public CharDataFrameColumn(string name, IEnumerable<char?> values) : base(name, values) { } | ||
|
||
public CharDataFrameColumn(string name, IEnumerable<char> values) : base(name, values) { } | ||
|
||
public CharDataFrameColumn(string name, long length = 0) : base(name, length) { } | ||
|
||
public CharDataFrameColumn(string name, ReadOnlyMemory<byte> buffer, ReadOnlyMemory<byte> nullBitMap, int length = 0, int nullCount = 0) : base(name, buffer, nullBitMap, length, nullCount) { } | ||
|
||
internal CharDataFrameColumn(string name, PrimitiveColumnContainer<char> values) : base(name, values) { } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.