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

Show frame in jupyter notebook as pandas.DataFrame #521

Open LastsForever opened 3 years ago

LastsForever commented 3 years ago

I tried to show frame in jupyter notebook as pandas.DataFrame, but it didn't work well. The best result I got is:

image

It's not intuitive.

I hope there is a method which could help us show frame as pandas.DataFrame do in jupyter notebook:

image
zyzhu commented 3 years ago

Check out this repo. https://github.com/WalternativE/Deedle.DotNet.Interactive.Extension

@WalternativE is working on an extension in dotnet kernel to show frame and series properly. We have chatted on Slack. This extension will be eventually added here and will be published on Nuget.

If you would like to try out now. Follow the steps.

  1. Follow the nuget command here https://docs.microsoft.com/en-us/nuget/reference/cli-reference/cli-ref-sources to add https://www.myget.org/feed/Packages/gregs-experimental-packages to your local sources.
  2. Run #r "nuget: Deedle.DotNet.Interactive.Extension,0.1.0-alpha1 in your kernel.