TypeError: unhashable type: 'list' when use groupby in python – stackoverflow.com 00:25 Posted by Unknown No Comments There is something wrong when I use groupby method: data = pd.Series(np.random.randn(100),index=pd.date_range('01/01/2001',periods=100)) keys = lambda x: [x.year,x.month] data.groupby(keys).mean() ... from Hot Questions - Stack Exchange OnStackOverflow via Blogspot Share this Unknown
0 Comment to "TypeError: unhashable type: 'list' when use groupby in python – stackoverflow.com"
Post a Comment