You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+94-25Lines changed: 94 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,38 +25,83 @@ A fast, safe, and intuitive DataFrame library.
25
25
26
26
## Why use this DataFrame library?
27
27
28
-
* Encourages concise, declarative, and composable data pipelines through a powerful abstraction model.
28
+
* Encourages concise, declarative, and composable data pipelines.
29
29
* Static typing makes code easier to reason about and catches many bugs at compile time—before your code ever runs.
30
30
* Delivers high performance thanks to Haskell’s optimizing compiler and efficient memory model.
31
31
* Designed for interactivity: expressive syntax, helpful error messages, and sensible defaults.
32
32
33
-
## Installing
34
-
35
-
### Jupyter notebook
36
-
* We have a [hosted version of the Jupyter notebook](https://ihaskell-dataframe-crf7g5fvcpahdegz.westus2-01.azurewebsites.net/lab/) on azure sites.
37
-
* Use the Dockerfile in the [ihaskell-dataframe](https://github.com/mchav/ihaskell-dataframe) to build and run an image with dataframe integration.
38
-
* For a preview check out the [California Housing](https://ihaskell-dataframe-crf7g5fvcpahdegz.westus2-01.azurewebsites.net/lab/tree/California%20Housing.ipynb) notebook.
39
-
40
-
### CLI
41
-
* Install Haskell (ghc + cabal) via [ghcup](https://www.haskell.org/ghcup/install/) selecting all the default options.
42
-
* Install snappy (needed for Parquet support) by running: `sudo apt install libsnappy-dev`.
43
-
* To install dataframe run `cabal update && cabal install dataframe`
44
-
* Open a Haskell repl with dataframe loaded by running `cabal repl --build-depends dataframe`.
45
-
* Follow along any one of the tutorials below.
46
-
47
-
48
-
## What is exploratory data analysis?
49
-
We provide a primer [here](https://github.com/mchav/dataframe/blob/main/docs/exploratory_data_analysis_primer.md) and show how to do some common analyses.
33
+
## Example usage
50
34
51
-
## Coming from other dataframe libraries
52
-
Familiar with another dataframe library? Get started:
53
-
*[Coming from Pandas](https://github.com/mchav/dataframe/blob/main/docs/coming_from_pandas.md)
54
-
*[Coming from Polars](https://github.com/mchav/dataframe/blob/main/docs/coming_from_polars.md)
55
-
*[Coming from dplyr](https://github.com/mchav/dataframe/blob/main/docs/coming_from_dplyr.md)
* Intuitive, SQL-like API to get from data to insights.
100
+
* Create type-safe references to columns in a dataframe using `:exponseColumns`
101
+
* Type-safe column transformations for faster and safer exploration.
102
+
* Fluid, chaining API that makes code easy to reason about.
58
103
59
-
### Code example
104
+
### Standalone script example
60
105
```haskell
61
106
-- Useful Haskell extensions.
62
107
{-# LANGUAGE OverloadedStrings #-} -- Allow string literal to be interpreted as any other string type.
@@ -108,6 +153,30 @@ Full example in `./examples` folder using many of the constructs in the API.
108
153
### Visual example
109
154

110
155
156
+
## Installing
157
+
158
+
### Jupyter notebook
159
+
* We have a [hosted version of the Jupyter notebook](https://ihaskell-dataframe-crf7g5fvcpahdegz.westus2-01.azurewebsites.net/lab/) on azure sites.
160
+
* Use the Dockerfile in the [ihaskell-dataframe](https://github.com/mchav/ihaskell-dataframe) to build and run an image with dataframe integration.
161
+
* For a preview check out the [California Housing](https://ihaskell-dataframe-crf7g5fvcpahdegz.westus2-01.azurewebsites.net/lab/tree/California%20Housing.ipynb) notebook.
162
+
163
+
### CLI
164
+
* Install Haskell (ghc + cabal) via [ghcup](https://www.haskell.org/ghcup/install/) selecting all the default options.
165
+
* Install snappy (needed for Parquet support) by running: `sudo apt install libsnappy-dev`.
166
+
* To install dataframe run `cabal update && cabal install dataframe`
167
+
* Open a Haskell repl with dataframe loaded by running `cabal repl --build-depends dataframe`.
168
+
* Follow along any one of the tutorials below.
169
+
170
+
171
+
## What is exploratory data analysis?
172
+
We provide a primer [here](https://github.com/mchav/dataframe/blob/main/docs/exploratory_data_analysis_primer.md) and show how to do some common analyses.
173
+
174
+
## Coming from other dataframe libraries
175
+
Familiar with another dataframe library? Get started:
176
+
*[Coming from Pandas](https://github.com/mchav/dataframe/blob/main/docs/coming_from_pandas.md)
177
+
*[Coming from Polars](https://github.com/mchav/dataframe/blob/main/docs/coming_from_polars.md)
178
+
*[Coming from dplyr](https://github.com/mchav/dataframe/blob/main/docs/coming_from_dplyr.md)
0 commit comments