How do I return the dataframe from a function in Python?

前端 未结 0 556
半阙折子戏
半阙折子戏 2021-01-18 02:49

So here is my code:

    def assign(x):
        x=dataDct[\'{}\'.format(x)]
        x=x[x[\'_id\'].str.contains("784561B7F90F")]
        return(x)


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题