I try to execute two DataFrames and get an error 'TypeError: cannot concatenate a non-NDFrame object'
. I look around, there are many people who get this error, most of the time when they try to do something other than what their code really does (so the answers answer their specific, but unrelated questions)
My question is not to solve my specific problem, but to understand the error ... What is an object other than NDFrame? Why can't it be concatenated?
Also, why does this apply to NDFrames (What is it and where do I use them?) Are there all NDFrames in DataFrames? Are there any NDFrames that are not DataFrames?) ...
I would understand if he said 'TypeError: cannot concatenate a non-DataFrame object'
(although I'm not sure that they were not the DataFrames cause of my error) These are basically my curiosity quests, I am not trying to find any error ...
source
share