Skip to content

CrossTab.xTabCount change column type to CategoryColumn #229

@jorgaf

Description

@jorgaf

Hello,

Thanks for this great tool.

I have a Table with the number of tweets and retweets published by hour. I am using CrossTab.xTabCount to count the number de post by hour. My code looks something like this:
Table tblTweetsByHour = CrossTab.xTabCount(tweetsByHourTable, colHour, tweetsByHourTable.categoryColumn("isRT"));

Then, I tried to sort (asc) the table (tblTweetsByHour) using the hour (colHour), but no working. Trying to solve the problem, I noticed hour's column is now a Category column.

I think CrossTab.xTabCount does not should change the data type of the columns.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions