diff --git a/lab/webapp/src/components/FileUpload/components/DependentColumnInput/index.jsx b/lab/webapp/src/components/FileUpload/components/DependentColumnInput/index.jsx index 789309361..28d00db84 100644 --- a/lab/webapp/src/components/FileUpload/components/DependentColumnInput/index.jsx +++ b/lab/webapp/src/components/FileUpload/components/DependentColumnInput/index.jsx @@ -21,35 +21,39 @@ class DependentColumnInput extends Component { // TODO - fix dropdown values render() { const { depColDropdown, dependentCol, depColCallback } = this.props; + window.console.log('dependentCol', dependentCol); return (
Dependent Column
-Categorical features have a discrete number of categories that do not have an intrinsic order.
- Some examples include sex ("male", "female") or eye color ("brown", "green", "blue"...).
-
- Describe these features using a comma separated list of the field names:
- sex, eye_color
Ordinal features have a discrete number of categories,
- and the categories have a logical order. Some examples include size ("small",
- "medium", "large"), or rank results ("first", "second", "third").
-
- Describe these features using a json map. The map key is the name of the field,
- and the map value is an ordered list of the values the field can take:
- {"{\"rank\":[\"first\", \"second\", \"third\"], \"size\":[\"small\", \"medium\", \"large\"]}"}
hi
); - let innerContent; - - if(dataPrev && dataPrev.data) { - innerContent = dataPrev.data.slice(0, 100).map((row, i) => -{errorMsg}
); - window.setTimeout(this.errorPopupTimeout, 4555); - } - // check if file with filename has been selected, if so then use css to show form - this.state.selectedFile && this.state.selectedFile.name ? - formInputClass = "file-upload-form-show-inputs" : null; - // display file extension Popup - let openFileTypePop; - this.state.openFileTypePopup ? openFileTypePop = this.state.openFileTypePopup : openFileTypePop = false; - // file input - let fileInputElem = ( - -Please select new dataset
-
- Supported file types: (csv, tsv)