@@ -23,12 +23,10 @@ import {
2323 LoadObjectDataType ,
2424 AxisType ,
2525 ArrayType1D ,
26- ArrayType2D ,
27- CsvOutputOptionsNode ,
26+ ArrayType2D
2827} from '../shared/types'
2928import ErrorThrower from '../shared/errors' ;
3029import { BASE_CONFIG , DATA_TYPES } from '../shared/defaults' ;
31- import { toCSV , toJSON , toExcel } from "../io"
3230import { Tensor , tensor1d , tensor2d } from "@tensorflow/tfjs-node"
3331
3432const utils = new Utils ( ) ;
@@ -426,10 +424,10 @@ export default class NDframe implements NDframeInterface {
426424 * - `header`: Boolean indicating whether to include a header row in the CSV file.
427425 * - `sep`: Character to be used as a separator in the CSV file.
428426 */
429- toCSV ( options ?: CsvOutputOptionsNode ) : string
430- toCSV ( options ?: CsvOutputOptionsNode ) : string | void {
431- return toCSV ( this , options ) ;
432- }
427+ // toCSV(options?: CsvOutputOptionsNode): string
428+ // toCSV(options?: CsvOutputOptionsNode): string | void {
429+ // return toCSV(this, options);
430+ // }
433431
434432 /**
435433 * Converts a DataFrame or Series to JSON.
@@ -447,10 +445,10 @@ export default class NDframe implements NDframeInterface {
447445 * }
448446 * ```
449447 */
450- toJSON ( options ?: { format ?: "row" | "column" , filePath ?: string } ) : object
451- toJSON ( options ?: { format ?: "row" | "column" , filePath ?: string } ) : object | void {
452- return toJSON ( this , options ) ;
453- }
448+ // toJSON(options?: { format?: "row" | "column", filePath?: string }): object
449+ // toJSON(options?: { format?: "row" | "column", filePath?: string }): object | void {
450+ // return toJSON(this, options);
451+ // }
454452
455453
456454 /**
@@ -459,9 +457,9 @@ export default class NDframe implements NDframeInterface {
459457 * - `sheetName`: The sheet name to be written to. Defaults to `'Sheet1'`.
460458 * - `filePath`: The filePath to be written to. Defaults to `'./output.xlsx'`.
461459 */
462- toExcel ( options ?: { filePath ?: string , sheetName ?: string } ) : void {
463- return toExcel ( this , options ) ;
464- }
460+ // toExcel(options?: { filePath?: string, sheetName?: string }): void {
461+ // return toExcel(this, options);
462+ // }
465463
466464 /**
467465 * Pretty prints a DataFrame or Series to the console
0 commit comments