Skip to content
This repository was archived by the owner on Aug 17, 2024. It is now read-only.

Commit dc2936d

Browse files
committed
Merge branch 'hotfix/findcorrection'
2 parents 86f5496 + 63af5c7 commit dc2936d

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
## Presentation
55

6-
dataframe-js provides another way to work with data by using DataFrame, a powerfull data structure already used in some languages (Spark, Python, R, ...).
6+
dataframe-js provides another way to work with data in javascript (browser or nodejs) by using DataFrame, a powerfull data structure already used in some languages (Spark, Python, R, ...).
77

88
A DataFrame is simply built on two concepts:
99
- **Columns** providing ways to select your data and reorganize them.

tests/dataframe-test.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,10 @@ test('DataFrame rows can be', (assert) => {
270270
], 'filtered by passing a column/value object'
271271
);
272272
assert.deepEqual(
273-
df.find({column1: 6}).toArray(), [6, '4', undefined], 'found and returned'
273+
df.find({column1: 6}).toArray(), [6, '4', undefined], 'found a row and returned it'
274+
);
275+
assert.deepEqual(
276+
df.find({column1: 12}), undefined, 'found nothing and returned undefined'
274277
);
275278
assert.deepEqual(
276279
df.map((line) => line.set('column1', 3)).toArray(), [

0 commit comments

Comments
 (0)