Can Deedle be effectively used from IronPython? It might seem perverse to do so, but it looks like getting pandas to fully work from IronPython might be difficult - there are some inactive porting projects and methods using IronClad but its not clear if anyone has actually successfully done so. Using a pure .NET solution like Deedle seems like a better route.
Using deedle from IronPython
280 Views Asked by btrask At
2
There are 2 best solutions below
0

Deedle is a standard .NET library. My knowledge of IronPython is somewhat limited, but I think it lets you work with .NET languages - and so it should work with Deedle too. The Deedle documentation has a number of examples showing how to use it from C#, so if you know how to use other .NET libraries from IronPython, you should be able to translate the C# examples to IronPython.
My personal experience is that trying to make CPython libraries such as pandas to work on ironpython is a dead-end. Although there is a way to do it, it is very unstable and unreliable.
Deedle seems like the next obvious choice, and it works. You just need to add the reference to the assembly, and also be careful on how IronPython handle generic arguments.
So then you can create dataframes with the existing Api, such as:
yields...