Skip to content

Count should always return a data-frame #160

Open
@holgerbrandl

Description

@holgerbrandl

Currently df.rowsCount() and df.count() do the same ie are redudnant for ungrouped data-frames. However, for sake of consistency, count() should always return a data-frame irrespective if data is grouped or not.

In particular, this type of consistency made dplyr hugely popular, because it guaranteed that all major functions work df-input -> df-output without exception (grouping or not)

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions