使用时dplyr::arrange(),它无法正确排序数据。这是一个例子:
library(dplyr)\n\nwds <- structure(list(\n Word = c("\xce\xb8\xce\xad\xcf\x83\xce\xb7", "\xcf\x84\xce\xb1\xcf\x87\xcf\x85\xce\xb4\xcf\x81\xce\xbf\xce\xbc\xce\xb5\xce\xaf\xce\xbf", "\xce\xb3\xcf\x81\xce\xb1\xce\xbc\xce\xbc\xce\xb1\xcf\x84\xcf\x8c\xcf\x83\xce\xb7\xce\xbc\xce\xbf", "\xcf\x80\xcf\x81\xce\xbf\xcf\x83\xcf\x80\xce\xac\xce\xb8\xce\xb5\xce\xb9\xce\xb1", "\xcf\x84\xce\xb7\xce\xbb\xce\xb5\xcf\x86\xcf\x89\xce\xbd\xcf\x8e", \n "\xce\xb5\xcf\x80\xce\xb9\xce\xba\xce\xbf\xce\xb9\xce\xbd\xcf\x89\xce\xbd\xcf\x8e", "\xcf\x85\xcf\x80\xce\xbf\xce\xb3\xcf\x81\xce\xb1\xcf\x86\xce\xae", "\xce\xb3\xce\xbb\xcf\x8e\xcf\x83\xcf\x83\xce\xb1", "\xce\xad\xce\xbe\xce\xbf\xce\xb4\xce\xbf\xcf\x82", "\xce\xbc\xce\xae\xce\xbd\xcf\x85\xce\xbc\xce\xb1", \n "\xcf\x80\xcf\x81\xce\xb1\xce\xb3\xce\xbc\xce\xb1\xcf\x84\xce\xb9\xce\xba\xcf\x8c\xcf\x84\xce\xb7\xcf\x84\xce\xb1", "\xce\xbc\xcf\x85\xcf\x83\xcf\x84\xce\xb9\xce\xba\xcf\x8c", "\xce\xb4\xce\xb9\xce\xb1\xce\xb4\xce\xaf\xce\xba\xcf\x84\xcf\x85\xce\xbf", "\xce\xb4\xce\xaf\xce\xba\xcf\x84\xcf\x85\xce\xbf"), \n trans2 = c("the seat, position, job, post, station, status", \n "the post office, postal service", "the postage stamp", \n "the attempt (to do something), try (to accomplish something)",\n "to phone, to telephone (the act of calling someone)", \n "to talk, interact, contact, communicate", "the signature, (fig) agreement",\n "the (anatomy, shoe, figuratively) tongue, language, (fish …Run Code Online (Sandbox Code Playgroud) 我尝试将其安装在单独的环境中并arviz单独安装。是import pymc3 as pm行不通的。
AttributeError: module 'arviz' has no attribute 'geweke'
Run Code Online (Sandbox Code Playgroud)