fslaborg / Deedle

Easy to use .NET library for data and time series manipulation and for scientific programming
http://fslab.org/Deedle/
BSD 2-Clause "Simplified" License
924 stars 196 forks source link

Missing operators on string concatenation #482

Closed zyzhu closed 4 years ago

zyzhu commented 4 years ago

See the stackoverflow question https://stackoverflow.com/questions/58451804/concatenating-two-string-columns-using-deedle-in-c-sharp

.Net already overloaded + operator to concatenate two strings. Naturally + should work on the following cases. Series<'K, string> + Series<'K, string>, Series<'K, string> + string, string + Series<'K, string>, Series<'K, string> + Frame, Frame + Series<'K, string>, Frame + string string + Frame

Frame + Frame is a bit tricky as frame values were by default converted to float for general purposes. A new method Frame.strConcat can be added to solve the problem.