I have workout log data in the CSV format of shape:
Just to give a little context on the data, the rows are not indexable by Date because the date column contains duplicates for each named workout. What I'm trying to do is to filter rows from the start of my training cycle (15/08/2022) to perform some analysis. How do I go about doing that in Deedle using C#?
using Deedle;
using System.Net.Sockets;
using System.Runtime.CompilerServices;
using System.Security.Cryptography.X509Certificates;
namespace Volume_Analysis_Tool
{
public class Program
{
static void Main(string[] args)
{
Frame<int, string> workouts = Frame.ReadCsv(Path.Combine(Environment.CurrentDirectory, "./data/strong218049301181757984.csv"),
hasHeaders: true,
separators: ";",
inferTypes: true);
var startOfMeso = workouts.GroupRowsBy<DateTime>("Date");
startOfMeso.Rows.After(new Tuple<DateTime, int>(new DateTime(day: 15, month: 8, year: 2022), 1));
startOfMeso.Print();
}
}
}
So far I got to here, but the issue is that when I try to filter after, I actually have to supply an index.
