Skip to content

Can dcast/melt "just work" with data.frame input? #7614

Closed

Description

@MichaelChirico

Follow-up to #7612 -- is there a reason not to just reshape input as-if it's data.table?

This would be convenient, and match behavior of other functions like rbindlist()/fread() that don't require the user to coerce their input in order to get access to our implementations.

Activity

  1. manmita commented on Jan 27, 2026

    @manmita
    Contributor

    Hii,
    I would like to takeup this task.

    The plan is to add a check to see if its data.frame and not data.table and coerce it to data.table

  2. MichaelChirico commented on Jan 27, 2026

    @MichaelChirico
    MemberAuthor

    Hi Manmita, go ahead. I don't think we even need to do coercion.

  3. tdhock commented on Jan 27, 2026

    @tdhock
    Member

    seems ok to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    reshape

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions