TopicGPT
TopicGPT copied to clipboard
Running the sample got ValueError: Expected 2D array, got 1D array instead
ValueError: Expected 2D array, got 1D array instead:
array=[nan nan nan nan nan nan nan nan nan nan].
Reshape your data either using array.reshape(-1, 1) if your data has a single feature or array.reshape(1, -1) if it contains a single sample.