You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "get_thumbnail.py", line 63, in main
df.set_value(i, 'thumbnail', filename)
File "/home/kameda/bin/miniconda3/lib/python3.5/site-packages/pandas/core/frame.py", line 1924, in set_value
series = self._get_item_cache(col)
File "/home/kameda/bin/miniconda3/lib/python3.5/site-packages/pandas/core/generic.py", line 1387, in _get_item_cache
res = self._box_item_values(item, values)
File "/home/kameda/bin/miniconda3/lib/python3.5/site-packages/pandas/core/frame.py", line 2396, in _box_item_values
return self._constructor(values.T, columns=items, index=self.index)
AttributeError: 'BlockManager' object has no attribute 'T'
The text was updated successfully, but these errors were encountered:
I think this also solved my 'Incompatible Indexer with Series' error. I'm not positive what it was but my issue was:
Concat two data frames
Take data from column of one frame and move it to column of the other
Did this using the df.iloc[n, 'Column Name'] = df.iloc[n, 'Other Column Name'] loop
I wasn't able to get the above to work and for some reason one column would randomly be a series or a data frame type. Using set_value resulted in the BlockManager error.
I re imported the data making sure to specify encoding on each (used utf-8), made sure there where no duplicate column names in the data sets, and now everything behaves as normal! Guess that's what I get for assuming, implicit < explicit when it comes to pandas!!!! Specify your encoding, keep unique names, and remember identity vs equality !
cause error in some rows:
The text was updated successfully, but these errors were encountered: