Skip to content

Commit 9a058d9

Browse files
committed
chore(docs): Update docstring to be more explicit
1 parent 2ad9944 commit 9a058d9

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/danfojs-base/core/frame.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1375,23 +1375,23 @@ export default class DataFrame extends NDframe implements DataFrameInterface {
13751375
* ```
13761376
* const df = new DataFrame([[1, 2, 3, 4, 5, 6], [1, 1, 2, 3, 5, 8], [1, 4, 9, 16, 25, 36]], { columns: ['A', 'B', 'C'] })
13771377
*
1378-
* // Difference with previous row
1378+
* // Percentage difference with previous row
13791379
* const df0 = df.pctChange(1)
13801380
* console.log(df0)
13811381
*
1382-
* // Difference with previous column
1382+
* // Percentage difference with previous column
13831383
* const df1 = df.pctChange(1, {axis: 0})
13841384
* console.log(df1)
13851385
*
1386-
* // Difference with previous 3rd previous row
1386+
* // Percentage difference with previous 3rd previous row
13871387
* const df2 = df.pctChange(3)
13881388
* console.log(df2)
13891389
*
1390-
* // Difference with following row
1390+
* // Percentage difference with following row
13911391
* const df3 = df.pctChange(-1)
13921392
* console.log(df3)
13931393
*
1394-
* // Difference with another DataFrame
1394+
* // Percentage difference with another DataFrame
13951395
* const df4 = df.pctChange(df3)
13961396
* console.log(df4)
13971397
* ```

0 commit comments

Comments
 (0)