|
3 | 3 | [](https://coveralls.io/github/PolyMathOrg/DataFrame?branch=master) |
4 | 4 | [](https://raw.githubusercontent.com/PolyMathOrg/DataFrame/master/LICENSE) |
5 | 5 |
|
6 | | -DataFrame is a tabular data structure for data analysis in [Pharo](https://pharo.org/). |
| 6 | +DataFrame is a tabular data structure for data analysis in [Pharo](https://pharo.org/). It organizes and represents data in a tabular format, resembling a spreadsheet or database table. It is designed to handle structured data and offer various functionalities for data manipulation and analysis. DataFrames are used as visualization tools for Machine Learning and Data Science related tasks. |
7 | 7 |
|
8 | | -<img width="700" src="img/weatherDf.png"> |
| 8 | +<img width="700" src="img/weatherDfDataInspector.png"> |
9 | 9 |
|
10 | 10 | ## Installation |
11 | 11 | To install the latest stable version of DataFrame (`pre-v3`), go to the Playground (`Ctrl+OW`) in your Pharo image and execute the following Metacello script (select it and press Do-it button or `Ctrl+D`): |
@@ -58,37 +58,68 @@ weather := DataFrame withRows: #( |
58 | 58 | (-2.3 false -) |
59 | 59 | (3.2 true rain)). |
60 | 60 | ``` |
| 61 | +| | 1 | 2 | 3 | |
| 62 | +|-------|------|-------|------| |
| 63 | +| **1** | 2.4 | true | rain | |
| 64 | +| **2** | 0.5 | true | rain | |
| 65 | +| **3** | -1.2 | true | snow | |
| 66 | +| **4** | -2.3 | false | - | |
| 67 | +| **5** | 3.2 | true | rain | |
| 68 | + |
61 | 69 |
|
62 | 70 | ### Removing the third row of the data frame |
63 | 71 |
|
64 | 72 | ```Smalltalk |
65 | 73 | weather removeRowAt: 3. |
66 | 74 | ``` |
67 | | -<img width="700" src="img/weatherDfRemoveRow.png"> |
| 75 | +| | 1 | 2 | 3 | |
| 76 | +|-------|------|-------|------| |
| 77 | +| **1** | 2.4 | true | rain | |
| 78 | +| **2** | 0.5 | true | rain | |
| 79 | +| **4** | -2.3 | false | - | |
| 80 | +| **5** | 3.2 | true | rain | |
68 | 81 |
|
69 | 82 | ### Adding a row to the data frame |
70 | 83 |
|
71 | 84 | ```Smalltalk |
72 | | -weather addRow: #(-1.2 true snow) named:''. |
| 85 | +weather addRow: #(-1.2 true snow) named: 6. |
73 | 86 | ``` |
74 | | -<img width="700" src="img/weatherDfAddRow.png"> |
| 87 | +| | 1 | 2 | 3 | |
| 88 | +|-------|------|-------|------| |
| 89 | +| **1** | 2.4 | true | rain | |
| 90 | +| **2** | 0.5 | true | rain | |
| 91 | +| **4** | -2.3 | false | - | |
| 92 | +| **5** | 3.2 | true | rain | |
| 93 | +| **6** | -1.2 | true | snow | |
75 | 94 |
|
76 | 95 | ### Replacing the data in the first row and third column with 'snow' |
77 | 96 |
|
78 | 97 | ```Smalltalk |
79 | 98 | weather at:1 at:3 put:#snow. |
80 | 99 | ``` |
81 | | -<img width="700" src="img/weatherDfReplaceData.png"> |
| 100 | +| | 1 | 2 | 3 | |
| 101 | +|-------|------|-------|------| |
| 102 | +| **1** | 2.4 | true | snow | |
| 103 | +| **2** | 0.5 | true | rain | |
| 104 | +| **4** | -2.3 | false | - | |
| 105 | +| **5** | 3.2 | true | rain | |
| 106 | +| **6** | -1.2 | true | snow | |
82 | 107 |
|
83 | 108 | ### Transpose of the data frame |
84 | 109 |
|
85 | 110 | ```Smalltalk |
86 | 111 | weather transposed. |
87 | 112 | ``` |
88 | | -<img width="700" src="img/weatherDfTranspose.png"> |
| 113 | +| | 1 | 2 | 4 | 5 | 6 | |
| 114 | +|-------|------|------|-------|------|------| |
| 115 | +| **1** | 2.4 | 0.5 | -2.3 | 3.2 | -1.2 | |
| 116 | +| **2** | true | true | false | true | true | |
| 117 | +| **3** | snow | rain | - | rain | snow | |
89 | 118 |
|
90 | | -## DataFrame Booklet |
| 119 | +## Documentation and Literature |
91 | 120 |
|
92 | | -For more information, please read [Data Analysis Made Simple with Pharo DataFrame](https://github.com/SquareBracketAssociates/Booklet-DataFrame) - a booklet that serves as the main source of documentation for the DataFrame project. It describes the complete API of DataFrame and DataSeries data structures, and provides examples for each method. |
| 121 | +1. [Data Analysis Made Simple with Pharo DataFrame](https://github.com/SquareBracketAssociates/Booklet-DataFrame) - a booklet that serves as the main source of documentation for the DataFrame project. It describes the complete API of DataFrame and DataSeries data structures, and provides examples for each method. |
93 | 122 |
|
94 | 123 | [](https://github.com/SquareBracketAssociates/Booklet-DataFrame) |
| 124 | + |
| 125 | +2. Zaytsev Oleksandr, Nick Papoulias and Serge Stinckwich. [Towards Exploratory Data Analysis for Pharo](https://dl.acm.org/doi/10.1145/3139903.3139918) In Proceedings of the 12th edition of the International Workshop on Smalltalk Technologies, pp. 1-6. 2017. |
0 commit comments