Closed ddemland closed 3 years ago
Thanks for reporting this bug. It should be addressed now. Try out the latest version 2.3.0 that I've just published.
Thank you
David
From: Zhenyong Zhu notifications@github.com Sent: Wednesday, September 16, 2020 11:52 AM To: fslaborg/Deedle Deedle@noreply.github.com Cc: ddemland demland@cox.net; Author author@noreply.github.com Subject: Re: [fslaborg/Deedle] call is ambiguous between the following methods or properties FrameExtensions.Sum and FrameStatsExtensions.Sum (#514)
Thanks for reporting this bug. It should be addressed now. Try out the latest version 2.3.0 that I've just published.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fslaborg/Deedle/issues/514#issuecomment-693594623 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAQRGQBUTWX65QOJYHQE6DSGECNJANCNFSM4RPFGRPA . https://github.com/notifications/beacon/AAAQRGQTKN2ERUFBTVJFIFTSGECNJA5CNFSM4RPFGRPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFFLWT7Y.gif
I am using Deedle NuGet packet in VS 2019 version 2.2.0. When I add the following code:
var normalizedDf = Frame.CreateEmpty<int, string>(); var average = ecommerceDF.Columns[features].Sum() / ecommerceDF.RowCount; foreach (var feature in features) { normalizedDf.AddColumn(feature, (ecommerceDF[feature] - average[feature]) / ecommerceDF[feature].StdDev()); }
I get a compiler error:
Error CS0121 The call is ambiguous between the following methods or properties: 'FrameExtensions.Sum<R, C>(Frame<R, C>)' and 'FrameStatsExtensions.Sum<R, C>(Frame<R, C>)' MarketingLists C:\Users\DDemland\source\repos\MarketingLists\MarketingLists\MarketingList.cs 391 Active
When I revert back to version 2.1.0 the error does not occur. How do I fix this?
Thank You,
David Demland