tormaroe / fsprettytable Goto Github PK
View Code? Open in Web Editor NEWRepresent tabular data in visually appealing ASCII tables using F#
Home Page: http://tormaroe.github.io/FsPrettyTable
License: MIT License
Represent tabular data in visually appealing ASCII tables using F#
Home Page: http://tormaroe.github.io/FsPrettyTable
License: MIT License
Add an applyRows
function which for instance can be used to select just the top 10 rows.
Consider just apllying when formatting, and include a clearRowApplication
or something..
table
|> sortByProjection
(fun row -> row.[0] |> String.length)
Add features to support creation of markdown tables. Need alignment indicators++. Add a style with all the presets needed.
From Python tutorial:
If you have some data in a string of HTML code using <table>
, say in the variable html_string, you can make a PrettyTable of it as follows
from prettytable import from_html
pts = from_html(html_string)
The variable pts will then be a list of PrettyTable objects. There will be one PrettyTable for each <table>
in the HTML code.
If you know for a fact that your HTML code will only contain one table, then instead of using from_html to get a list of length one, you can use the from_html_one function which will return just one PrettyTable object directly. If you give from_html_one a string containing several <table>
s, it will throw an Exception.
Hi @tormaroe, I can see it's been a while since you touched this. Any plans to get it upgraded to netstandard
?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.