腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(2839)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
2
回答
群
quantile
_transform
现在,sklearn.preprocessing有一个非常好的
quantile
_transform函数,但是我似乎不能把它塞进熊猫tranform或apply功能中,date: (x - x.mean()) / x.std()但
quantile
_transform
浏览 2
修改于2018-03-12
得票数 1
回答已采纳
2
回答
按组汇总wtd.
quantile
我希望使用Hmisc::wtd.
quantile
为具有许多重复日期的数据文件创建一个新的df。我正在按日期分组,使用summarize()对日期进行聚合,并试图在每个日期上使用wtd.
quantile
() (带有权重)。这也是一个相当大的数据集。$weight, ptile50 = Hmisc::wtd.
quantile
(., .$weight, ptile90 = Hmisc::w
浏览 1
提问于2018-09-20
得票数 4
回答已采纳
1
回答
Pandas DataFrame TypeError:
quantile
()缺少一个必需的位置参数:'
quantile
'?
content'] = pd.to_numeric(df['content'], errors='coerce')print(df['content'].rolling(2).
quantile
()) raise错误:TypeError:
quantile
()缺少1个必需的位置参数:“”
quantile
“”
浏览 33
提问于2020-03-05
得票数 2
回答已采纳
2
回答
Grafana多值浮子histogram_
quantile
嗨,我强迫histogram_
quantile
出问题了。如果我将变量设置为多值,那么我就可以重复面板了。然后我发现错误,上面写着 histogram_
quantile
($percentile, avg((rate(http_server_requests_seconds_bucket
浏览 1
提问于2018-08-09
得票数 1
回答已采纳
1
回答
sparklyr::sdf_
quantile
()错误
正在尝试使用sparklyr::sdf_
quantile
()。mtc <- copy_to(sc, mtcars, "mtcars")我得到以下错误(通过yarn使用spark 1.6.0 ):[45] broom_0.4.3mtc %>% sdf_
quantile
浏览 2
提问于2018-01-29
得票数 3
回答已采纳
1
回答
R中“
Quantile
`”函数的行为
我可能犯了一个错误,但让我从一个例子开始:y <- x[ x >
quantile
( x, 0.1 ) ]a <- x[ x >
quantile
( x, c( 0.1, 0.2, 0.3 ) ) ]> x <- rnorm( 100 ) > length( x[ x > <em
浏览 2
修改于2013-03-09
得票数 4
回答已采纳
2
回答
熊猫rolling_
quantile
虫?
例如,rolling_
quantile
:>> col = 5>>0.822900 0.251972 array([ 0.57216415, 0.
浏览 4
提问于2015-02-04
得票数 4
1
回答
从pandas.
quantile
分配值
我只是尝试让数据的分位数被签署到另一个dataframe上,比如:结果是0 NaN
浏览 0
修改于2018-02-01
得票数 2
回答已采纳
1
回答
来自CreditMetrics的cm.
quantile
生成NaN
"Ca-C", "WR", "Default")))library(CreditMetrics) # donwloadable from CRAN repository cm.
quantile
浏览 1
提问于2012-10-15
得票数 0
回答已采纳
1
回答
使用Pandas.Series.
quantile
()时获取错误
>>> s = Series([1, 2, 3, 4]) 2.50.25 1.75>>> s = pd.Series([1, 2, 3, 4])0 12 3dtype: int64 >>> s.
quantile
(0
浏览 2
修改于2015-11-12
得票数 0
回答已采纳
1
回答
df.
quantile
(axis = 1)抛出NaN
我试图使用df.
quantile
()函数沿轴= 1计算分位数。-11-01 01:30:00 14.7689 14.4992 ... 11.0294 > q10 = df.
quantile
dtype: float64> q10 = list() q10.append(df.iloc[k,:].
quantile
浏览 2
修改于2020-12-27
得票数 0
回答已采纳
1
回答
基于
Quantile
()与qcut分配列
运行dfq = dfq.
quantile
([.1, .25, .50, .75, .9]),它返回以下内容,我认为这对于“收入中位数”是正确的。dfq['
quantile
'] = pd.qcut(dfq['Median Income'], 5, labels=['10%','25%','50%','75%','90%']) 但结果似乎与使用分位数函数不同
浏览 0
提问于2020-08-20
得票数 0
1
回答
使用r中的
quantile
()来查找值
在类中使用
quantile
()函数是我到目前为止的代码: p <- seq(.01,.99,.01) sample_quantiles <-
quantile
(act_scores, p) 我试图在数据集中找到与值
浏览 18
修改于2021-10-14
得票数 0
2
回答
计算错误的np.
quantile
?
在某些设置下,np.
quantile
在确定正确的分位数时会出错。这是一个bug吗?, 359, 361, 345, 324, 386, q = np.
quantile
浏览 21
修改于2019-04-05
得票数 2
1
回答
stat_
quantile
中的分位数是什么?
mggp <- ggplot(data=msamp, mapping=aes(x=year, y=rating)) + stat_
quantile
(formula
浏览 0
修改于2016-05-11
得票数 5
1
回答
什么时候使用np.
quantile
和np.percentile?
我正在尝试区分应该使用np.
quantile
()或np.percentile()的场景。>>> import numpy as np>>> np.
quantile
(a, 0.5)>>> np.percentile(a, 50)它们都给出了相同的结果,并在其实现中调用了_
quantile
_unchecked()。
浏览 0
修改于2020-03-13
得票数 16
1
回答
R中scale_
quantile
函数所用的公式是什么?
我想知道由dynutils包在包scale_
quantile
中是什么公式。我想检查一下,我是否能达到像这样的手工计算一样的结果。# Air quality datasetdat = data$Wind q_005 =
quantile
(dat, 0.005) #Filtering the data based on the <
浏览 0
提问于2021-07-26
得票数 0
回答已采纳
1
回答
Python加权分位数为R wtd.
quantile
()
我想将R包Hmisc::wtd.
quantile
()转换为python。以下是R中的示例: 我以为参考,逻辑似乎与R不同:def weighted_
quantile
(values, quantiles, sample_weightsample_weight)/np.sum(sample_weight) weighted_
quantile
浏览 4
修改于2022-07-12
得票数 0
回答已采纳
2
回答
d3.scale.
quantile
是如何工作的?
quantize = d3.scale.
quantile
().domain([0, 15]).range(d3.range(9));1- 15 范围从0到8,quantize.quantiles
quantile
是如何工作的?
浏览 3
修改于2013-06-06
得票数 17
1
回答
quantile
_split函数中的r-自动排除
我所做的工作如下: group_by(Var2) %>% summarise(Var1 = mean(Var1)) The `x` argument provided to
quantile
浏览 5
提问于2020-05-27
得票数 1
回答已采纳
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
第 8 页
第 9 页
第 10 页
第 11 页
点击加载更多
领券