Repository navigation
Render DataFrames as interactive notebook tables - #94
Conversation
833cec5 to
a4eb66b
Compare
a4eb66b to
11b55d4
Compare
|
Hi @TorreyBetts ! When you have a chance, could you please review PR #94? I’ve rebased it onto the current Thanks! |
Verso takes contributions under the DCO, and for an MIT project the value of that is a clean provenance chain on every commit, so CONTRIBUTING.md asks for a real name and a reachable email rather than a handle and a GitHub noreply address. If that's not something you want to update your commit with, it's okay. Let me know and I'll recreate your work on my end and make sure you get credited for it. |
Signed-off-by: Andrey Vernigora <[email protected]>
Signed-off-by: Andrey Vernigora <[email protected]>
11b55d4 to
7e4782f
Compare
Thanks for clarifying. I’ve updated both commits to use my real name and reachable email for the author, committer, and The code itself is unchanged, and the PR remains conflict-free. The CI checks should run again shortly. |
Signed-off-by: Andrey Vernigora <[email protected]>
Summary
Verso.DataFrameextension forMicrosoft.Data.Analysis.DataFramevaluesPSObjectvalues through reflectionWhy
PowerShell data-analysis modules can expose
Microsoft.Data.Analysis.DataFrame, but the default output only reveals the object'sColumnsandRowsproperties. A notebook needs a readable table while preserving extension isolation from the language kernel that owns the runtime assembly.The extension deliberately has no compile-time dependency on
Microsoft.Data.Analysis. It recognizes and reads the public DataFrame shape through reflection, avoiding type-identity conflicts when PowerShell loads a different version or load context.User impact
Both implicit PowerShell output and explicit display now produce the same table:
Manual validation used the Palmer Penguins dataset: 344 rows and 8 columns, with the preview correctly reporting
Showing 100 of 344 rows.Validation
dotnet test Verso.sln --no-restoreVerso.DataFrame.Tests: 11 passedverso.dataframe.formatterVerso.DataFramehas noMicrosoft.Data.AnalysisdependencyDisplay $penguinsusing the PowerShell DataFrame moduleThe full solution test suite passes. Existing dependency-analysis and documentation warnings are unchanged.