(options: ConfigsType)
| 26 | lowMemoryMode: boolean; |
| 27 | |
| 28 | constructor(options: ConfigsType) { |
| 29 | const { |
| 30 | tableDisplayConfig, |
| 31 | tableMaxRow, |
| 32 | tableMaxColInConsole, |
| 33 | dtypeTestLim, |
| 34 | lowMemoryMode, |
| 35 | } = { |
| 36 | tableDisplayConfig: {}, |
| 37 | tableMaxRow: 10, |
| 38 | tableMaxColInConsole: 10, |
| 39 | dtypeTestLim: 500, |
| 40 | lowMemoryMode: false, |
| 41 | ...options |
| 42 | } |
| 43 | this.tableDisplayConfig = tableDisplayConfig |
| 44 | this.tableMaxRow = tableMaxRow // The maximum number of rows to display in console |
| 45 | this.tableMaxColInConsole = tableMaxColInConsole // The maximum number of columns to display in console |
| 46 | this.dtypeTestLim = dtypeTestLim // The number of rows to use when inferring data type |
| 47 | this.lowMemoryMode = lowMemoryMode // Whether to use minimal memory or not. |
| 48 | } |
| 49 | |
| 50 | setTableDisplayConfig(config: BaseUserConfig & TableUserConfig) { |
| 51 | this.tableDisplayConfig = config; |
nothing calls this directly
no outgoing calls
no test coverage detected