Home > other >  How to deal with TypeError: 'type' object is not subscriptable
How to deal with TypeError: 'type' object is not subscriptable

Time:02-04

My current operation is in the execution, by python in excel to add a row, the code is as follows:


But the error TypeError: 'type' object is not subscriptable (pictured), check for a Google and baidu, also didn't find the right solution for your guidance!

CodePudding user response:

Series is the function, use parentheses calls the function JPN=pd. The Series (... )
Have you written in brackets
  • Related