8000 feat: Added diff() function to DataFrame by NeonSpork · Pull Request #414 · javascriptdata/danfojs · GitHub
[go: up one dir, main page]

Skip to content

feat: Added diff() function to DataFrame #414

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Mar 9, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
chore: undo accidental change of description string
  • Loading branch information
NeonSpork committed Mar 8, 2022
commit 8d4c911cfcd3a9946dfbef172827b2ed5371d7df
2 changes: 1 addition & 1 deletion src/danfojs-browser/tests/core/frame.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ describe("DataFrame", function () {
assert.deepEqual(df.dtypes, [ "string", "int32", "float32", "string" ]);
assert.deepEqual(df.index, [ 0, 1, 2, 3 ]);
});
it("Add new dfd.Series to DataFrame works", function () {
it("Add new Series to DataFrame works", function () {
let data = { alpha: [ "A", "B", "C", "D" ], count: [ 1, 2, 3, 4 ], sum: [ 20.3, 30.456, 40.90, 90.1 ] };
let df = new dfd.DataFrame(data);
const newdf = df.addColumn("new_column", new dfd.Series([ "a", "b", "c", "d" ]));
Expand Down
0