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
+58-40Lines changed: 58 additions & 40 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,79 +46,94 @@ easy and intuitive. It is heavily inspired by [Pandas](https://pandas.pydata.org
46
46
- Robust data preprocessing functions like [OneHotEncoders](https://danfo.jsdata.org/api-reference/general-functions/danfo.onehotencoder), [LabelEncoders](https://danfo.jsdata.org/api-reference/general-functions/danfo.labelencoder), and scalers like [StandardScaler](https://danfo.jsdata.org/api-reference/general-functions/danfo.standardscaler) and [MinMaxScaler](https://danfo.jsdata.org/api-reference/general-functions/danfo.minmaxscaler) are supported on DataFrame and Series
47
47
48
48
49
+
## Installation
50
+
There are three ways to install and use Danfo.js in your application
51
+
* For Nodejs applications, you can install the [__danfojs-node__]() version via package managers like yarn and/or npm:
49
52
50
-
To use Danfo.js via script tags, copy and paste the CDN below to the body of your HTML file
53
+
```bash
54
+
npm install danfojs-node
55
+
56
+
or
57
+
58
+
yarn add danfojs-node
59
+
```
60
+
For client-side applications built with frameworks like React, Vue, Next.js, etc, you can install the [__danfojs__]() version:
61
+
62
+
```bash
63
+
npm install danfojs
64
+
65
+
or
66
+
67
+
yarn add danfojs
68
+
```
69
+
70
+
For use directly in HTML files, you can add the latest script tag from [JsDelivr](https://www.jsdelivr.com/package/npm/danfojs) to your HTML file:
**danfojs-base** is the core module of Danfo.js. Danfojs-node and Danfojs-browser folders simply extends/export this functions and classes from this module.
4
+
5
+
## Folders and Files
6
+
7
+
-__aggregators__: All files that contain functions that aggregate data.
8
+
-__core__: Holds the core classes of Danfo.js.
9
+
-`daterange`: Class that represents a date range.
10
+
-`datetime`: Class that represents a date and time.
11
+
-`frame`: Class that represents a frame.
12
+
-`series`: Class that represents a series.
13
+
-`generic`: Class that represents a generic object.
14
+
-`indexing`: Class that represents an indexing.
15
+
-`math.ops`: Class that represents a math operation.
16
+
-`strings`: Class that represents a string.
17
+
-__io__: Holds the IO classes of Danfo.js.
18
+
-__browser__: Holds the browser IO classes.
19
+
-`io.csv`: Holds the CSV IO classes.
20
+
-`io.json`: Holds the JSON IO classes.
21
+
-`io.excel`: Holds the excel IO classes.
22
+
-__node__: Holds the node IO classes for Node.js
23
+
-`io.csv`: Holds the CSV IO classes for Node.js
24
+
-`io.json`: Holds the JSON IO classes for Node.js
25
+
-`io.excel`: Holds the excel IO classes for Node.js
26
+
-__plotting__: Holds the plotting classes
27
+
-__plotly__: Holds the plotting class for Plotly charts.
28
+
-__vega__: (Stub) Holds the plotting class for Vega charts.
29
+
-__shared__
30
+
-`config`: Holds the configuration class.
31
+
-`defaults`: Holds the default values for the configuration class.
0 commit comments