From 9fd8f87961d26c58420b57d85eb6fd4fdb305d63 Mon Sep 17 00:00:00 2001 From: Rising Odegua Date: Sun, 30 May 2021 12:30:43 +0100 Subject: [PATCH] Fixes #198 Update ctypes type --- danfojs-browser/types/core/frame.d.ts | 2 +- danfojs-node/types/core/frame.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/danfojs-browser/types/core/frame.d.ts b/danfojs-browser/types/core/frame.d.ts index b6992b50..466b1ea0 100644 --- a/danfojs-browser/types/core/frame.d.ts +++ b/danfojs-browser/types/core/frame.d.ts @@ -334,7 +334,7 @@ export class DataFrame extends Ndframe { * Returns the data types in the DataFrame * @return {Array} list of data types for each column */ - get ctypes(): any[]; + get ctypes(): Series; /** * Make plots of Series or DataFrame. * Uses the Plotly as backend, so supports Plotly's configuration parameters diff --git a/danfojs-node/types/core/frame.d.ts b/danfojs-node/types/core/frame.d.ts index 21887049..4913c6f1 100644 --- a/danfojs-node/types/core/frame.d.ts +++ b/danfojs-node/types/core/frame.d.ts @@ -334,7 +334,7 @@ export class DataFrame extends Ndframe { * Returns the data types in the DataFrame * @return {Array} list of data types for each column */ - get ctypes(): any[]; + get ctypes(): Series; /** * Make plots of Series or DataFrame. * Uses the Plotly as backend, so supports Plotly's configuration parameters