Counts

Counts[list]

给出一个关联,它的键是 list 的不同元素, 值给出这些元素出现在 list 中的次数.

更多信息

  • Counts[list] 给出一个关联,它的键的次序与作为元素首次出现在 list 中的次序相同.

范例

基本范例  (2)

Wolfram Research (2014),Counts,Wolfram 语言函数,https://reference.wolfram.com/language/ref/Counts.html.

文本

Wolfram Research (2014),Counts,Wolfram 语言函数,https://reference.wolfram.com/language/ref/Counts.html.

CMS

Wolfram 语言. 2014. "Counts." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/Counts.html.

APA

Wolfram 语言. (2014). Counts. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/Counts.html 年

BibTeX

@misc{reference.wolfram_2024_counts, author="Wolfram Research", title="{Counts}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/Counts.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_counts, organization={Wolfram Research}, title={Counts}, year={2014}, url={https://reference.wolfram.com/language/ref/Counts.html}, note=[Accessed: 21-November-2024 ]}