HF RL Explorer

Task: Store Different Datatypes in One NumPy Array

Task: Store Different Datatypes in One NumPy Array: a task in Terminal-Lego-15k (Harbor dataset). You need to create a Python solution that combines two NumPy arrays with different data types (strings and integers) into a single structure while preserving the original data types of each column…

The task

You need to create a Python solution that combines two NumPy arrays with different data types (strings and integers) into a single structure while preserving the original data types of each column. The standard `np.concatenate()` approach converts all data to a single dtype (typically string), which is memory…

Part of PrimeIntellect/Terminal-Lego-15k.