In [1]:
#r "nuget:Microsoft.Data.Analysis, 0.2.0"
#r "nuget:MathNet.Numerics,4.9.0"
#r "nuget:XPlot.Plotly"
Installing package Microsoft.Data.Analysis, version 0.2.0...............done!
Successfully added reference to package Microsoft.Data.Analysis, version
Installing package MathNet.Numerics, version 4.9.0.....done!
Successfully added reference to package MathNet.Numerics, version
Installing package XPlot.Plotly......done!
Successfully added reference to package XPlot.Plotly, version
In [2]:
using MathNet.Numerics;
using Microsoft.Data.Analysis;
using System;
using XPlot.Plotly;
In [3]:
var df = Microsoft.Data.Analysis.DataFrame.LoadCsv("Data/german.csv");
In [4]:
df.Columns
Out[4]:
indexNullCountLengthNameDataType
001000System.Single
101000Status of existing checking accountSystem.String
201000Duration in monthSystem.Single
301000Credit historySystem.String
401000PurposeSystem.String
501000Credit amountSystem.Single
601000Savings account/bondsSystem.String
701000Present employment sinceSystem.String
801000Installment rate in percentage of disposable incomeSystem.Single
901000Personal status and sexSystem.String
1001000Other debtors / guarantorsSystem.String
1101000Present residence sinceSystem.Single
1201000PropertySystem.String
1301000Age in yearsSystem.Single
1401000Other installment plansSystem.String
1501000HousingSystem.String
1601000Number of existing credits at this bankSystem.Single
1701000JobSystem.String
1801000Number of people being liable to provide maintenance forSystem.Single
1901000TelephoneSystem.String
2001000foreign workerSystem.String
2101000ClassSystem.Single
In [5]:
var chart = Chart.Plot(new Graph.Scatter() {y = df["Credit amount"]});
In [6]:
display(chart)
In [ ]: