Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
Bahrudin Hrnjica committed Oct 26, 2019
1 parent 55c0127 commit 82e0cf8
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 14 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ bin-release/
/test/Daany.Test.App
/build.ps1
/build.ps1.bak
/nuget.exe
Binary file added daanyIcon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 1 addition & 9 deletions src/daany.df/Daany.DataFrame.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Daany - C# library for data analysis and transformation with the implementation
<RepositoryUrl>https://github.com/bhrnjica/daany</RepositoryUrl>
<PackageIcon>daanyIcon.png</PackageIcon>
<PackageTags>ml.net, data preparation, data analytics</PackageTags>
<Version>0.3.0</Version>
<Version>0.3.1</Version>
<PackageReleaseNotes>MIT License

Copyright (c) 2019 Bahrudin Hrnjica
Expand Down Expand Up @@ -49,14 +49,6 @@ SOFTWARE.</PackageReleaseNotes>
<PlatformTarget>AnyCPU</PlatformTarget>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<NoWarn>1701;1702;CA1303; IDE1006</NoWarn>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<NoWarn>1701;1702;CA1303; IDE1006</NoWarn>
</PropertyGroup>

<ItemGroup>
<Compile Remove="util\Table.cs" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/daany.ext/Daany.DataFrame.Ext.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Daany - C# library for data analysis and transformation with the implementation
<PackageProjectUrl>https://bhrnjica.github.io/daany/</PackageProjectUrl>
<RepositoryUrl>https://github.com/bhrnjica/daany</RepositoryUrl>
<PackageTags>ml.net, data preparation, data analytics</PackageTags>
<Version>0.3.0</Version>
<Version>0.3.1</Version>
<PackageReleaseNotes>MIT License

Copyright (c) 2019 Bahrudin Hrnjica
Expand Down
2 changes: 1 addition & 1 deletion src/daany.math/daany.math.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Daany - C# library for data analysis and transformation with the implementation
<PackageProjectUrl>https://bhrnjica.github.io/daany/</PackageProjectUrl>
<RepositoryUrl>https://github.com/bhrnjica/daany</RepositoryUrl>
<PackageTags>ml.net, data preparation, data analytics</PackageTags>
<Version>0.3.0</Version>
<Version>0.3.1</Version>
<PackageReleaseNotes>MIT License

Copyright (c) 2019 Bahrudin Hrnjica
Expand Down
2 changes: 1 addition & 1 deletion src/daany.stat/daany.stat.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Daany - C# library for data analysis and transformation with the implementation
<PackageProjectUrl>https://bhrnjica.github.io/daany/</PackageProjectUrl>
<RepositoryUrl>https://github.com/bhrnjica/daany</RepositoryUrl>
<PackageTags>ml.net, data preparation, data analytics</PackageTags>
<Version>0.3.0</Version>
<Version>0.3.1</Version>
<PackageReleaseNotes>MIT License

Copyright (c) 2019 Bahrudin Hrnjica
Expand Down
7 changes: 5 additions & 2 deletions test/XUnit.Test/df/11CalculatedColumn.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@ public void AddCalculatedColumn_Test01()
};
//
var df = new DataFrame(dict);
var df01 = df.AddCalculatedColumn("col11", (row, i) => i + 11);

var sCols = new string[] { "col11" };
var df01 = df.AddCalculatedColumns(sCols, (row, i) => calculate(row,i) );
//local function declaration
object[] calculate(object[] row, int i)
{return new object[1] { i + 11 };}
//column test
var c1 = new int[] { 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 };

Expand Down

0 comments on commit 82e0cf8

Please sign in to comment.