difference between {str} and {str_} in Python

Viewed 6173

I am trying to debug a code in Python. When I go to debug mode and look at the variable word in a similar code that works fine, I see the type of this variable is shown as {str}, but in the other code that does not work correctly I see the type of word in the debugger is shown as {str_}. What is the difference between these and how can I convert a variable type {str_} to a type {str}.

Here is part of the code:

cv = CountVectorizer(min_df=1, charset_error="ignore", stop_words="english", max_features=200)
counts = cv.fit_transform([text]).toarray().ravel()
words = np.array(cv.get_feature_names())
...
for word, count in zip(words, counts):

I use PyCharm to debug, and it is in Python 3.3.

I appreciate any help on this.

1 Answers
Related