pandas version requirement
Revise required pandas version (2.1.2 works).
pd.DataFrame
does not have attribute 'map' in older versions of pandas (e.g. 1.5.3) that is used here:
File ~\aaad\data\default_importer.py:82, in df_importer.<locals>._check_load_columns(block)
79 raise Exception(f"Multi-column {dobj.name} nor columns {dobj.columns_df} found in available columns: " + ", ".join(available_columns))
81 # As we allow DataFrames to contain lists, we need to flatten the data matrix only across second dimension
---> 82 data_mat_sub = data[cols].map(lambda x: x if isinstance(x, list) else [x]).values.tolist()
83 data_mat_sub = np.array(data_mat_sub).reshape(len(data_mat_sub), -1)
84 data_mat.append(data_mat_sub)
File ~\pandas\core\generic.py:5902, in NDFrame.__getattr__(self, name)
5895 if (
5896 name not in self._internal_names_set
5897 and name not in self._metadata
5898 and name not in self._accessors
5899 and self._info_axis._can_hold_identifiers_and_holds_name(name)
5900 ):
5901 return self[name]
-> 5902 return object.__getattribute__(self, name)
AttributeError: 'DataFrame' object has no attribute 'map'