scautable icon indicating copy to clipboard operation
scautable copied to clipboard

Auto-magically generate html tables from case classes

Results 28 scautable issues
Sort by recently updated
recently updated
newest added

## About this PR Updates: * 📦 [com.lihaoyi:mill-main](https://github.com/com-lihaoyi/mill) from `0.11.5` to `0.11.6` + 📜 [GitHub Release Notes](https://github.com/com-lihaoyi/mill/releases/tag/0.11.6) - [Release Notes](https://github.com/com-lihaoyi/mill#changelog) - [Version Diff](https://github.com/com-lihaoyi/mill/compare/0.11.5...0.11.6) * 📦 [com.lihaoyi:os-lib](https://github.com/com-lihaoyi/os-lib) from `0.9.1` to `0.9.3`...

Currently, we ewither get a toString, or we need to manipate strings ourselves; ```scala def typedCols = data .mapColumn["Inception Date", LocalDate](dateStr => LocalDate.parse(dateStr, dtf)) .mapColumn["ROL", String](_.toDouble.formatAsPercentage) ``` Which forces you...

Currently, I've been having the enjoyable (portable) experience importing files in resources. In mill, that requires the CSV to be in scope of the "compile" resources. We should document this....

## About this PR Updates: * 📦 [org.scalameta:scalafmt-core](https://github.com/scalameta/scalafmt) from `3.8.6` to `3.9.6` + 📜 [GitHub Release Notes](https://github.com/scalameta/scalafmt/releases/tag/v3.9.6) - [Version Diff](https://github.com/scalameta/scalafmt/compare/v3.8.6...v3.9.6) ## Usage ✅ **Please merge!** I'll automatically update this PR...

``` test("Some random CSV files") { // val whiskey = CSV.absolutePath(Generated.resourceDir0 + "testFile" + Generated.pathSep + "whiskey.csv").toSeq // assert(whiskey.length == 86) val longRow = CSV.absolutePath(Generated.resourceDir0 + "testFile" + Generated.pathSep +...

Should we autogenerate column names, or just read a `Tuple`? ``` test("Some random CSV files") { val longRow = CSV.absolutePath(Generated.resourceDir0 + "testFile" + Generated.pathSep + "bus_stop_noheader_test.csv").toSeq longRow.toSeq.ptbln } ```

```scala test("Some random CSV files") { // val whiskey = CSV.absolutePath(Generated.resourceDir0 + "testFile" + Generated.pathSep + "whiskey.csv").toSeq // assert(whiskey.length == 86) val longRow = CSV.absolutePath(Generated.resourceDir0 + "testFile" + Generated.pathSep +...

```scala test("Some random CSV files") { val longRow = CSV.absolutePath(Generated.resourceDir0 + "testFile" + Generated.pathSep + "long_row.csv").toSeq longRow.toSeq.ptbln } test("Some random CSV files") { val shortRow = CSV.absolutePath(Generated.resourceDir0 + "testFile" +...

scautable/test/resources/testFile/with_comments.csv Are comments in CSV files even a thing? https://stackoverflow.com/questions/1961006/can-a-csv-file-have-a-comment ... Maybe, with # appearing to be the most common line header for them. Pandas makes that character configurable.

This sub path, scautable/test/resources/testFile contains a bunch of files we "borrowed" from TableSaw. It would be great, to be able to parse them all.