Merge branch 'dev' of https://github.com/lyhue1991/danfojs into lyhue… · javascriptdata/danfojs@fecaa61 · GitHub | Latest TMZ Celebrity News & Gossip | Watch TMZ Live
Skip to content

Commit fecaa61

Browse files
committed
Merge branch 'dev' of https://github.com/lyhue1991/danfojs into lyhue1991-dev
2 parents 580cc06 + 7ec7929 commit fecaa61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/danfojs-base/io/node/io.excel.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ const $readExcel = async (filePath: string, options: ExcelInputOptionsNode = {})
7171
const arrBufInt8 = new Uint8Array(arrBuf);
7272
const workbook = read(arrBufInt8, { type: "array", ...parsingOptions });
7373
const worksheet = workbook.Sheets[workbook.SheetNames[sheet]];
74-
const data = utils.sheet_to_json(worksheet);
74+
const data = utils.sheet_to_json(worksheet,{'defval':null});
7575
const df = new DataFrame(data, frameConfig);
7676
resolve(df);
7777
});
@@ -89,7 +89,7 @@ const $readExcel = async (filePath: string, options: ExcelInputOptionsNode = {})
8989

9090
const workbook = readFile(filePath, parsingOptions);
9191
const worksheet = workbook.Sheets[workbook.SheetNames[sheet]];
92-
const data = utils.sheet_to_json(worksheet);
92+
const data = utils.sheet_to_json(worksheet,{'defval':null});
9393
const df = new DataFrame(data, frameConfig);
9494
resolve(df);
9595
})

0 commit comments

Comments
 (0)

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.