excel - Large table to be transformed by moving 200+ columns to rows
问题描述
Given a relative massive table I have recieved which is (currently) in excel. 25k rows and 225 columns. First column is "event_Id", 2nd "organizer" 3rd-225 "participants".
I would like to transfer it to 3 columns from the 225, where event_Id and organizer can repeat, but the participant columns I would like to pivot into one column, though I have no idea how. Pulling it column by column to the pivot table columns does not feel to effective, especially if I need to repeat the process somehow.
current:
id1 organizer1 partic1 partic2 partic3 partic4
id2 organizer4 partic5 partic2 partic6
desired:
id1 organizer1 partic1
id1 organizer1 partic2
id1 organizer1 partic3
id1 organizer1 partic4
id2 organizer4 partic5
id2 organizer4 partic2
id2 organizer4 partic6
any idea is welcome- dont need to stick to excell- can go to sql, tableau...
解决方案
推荐阅读
- c - 比较 c 语言中的 2 个月名称字符串,例如 feb>jan
- view - 在 Html.RadioButtonFor 中设置默认选中的单选按钮
- java - 异常未处理
- python - QuerySelectMultipleField 默认值
- bazel - 使用`bazel test ...`时如何选择要运行的测试
- math - python AttributeError:模块'math'没有属性'comb'
- bash - 遍历 bash 上的 txt 文件中的列表
- javascript - 为什么一个大的正数小于0?
- laravel - 使用数据透视表过滤数据 Laravel Eloquent
- total.js - 通过 RestBulider 发送和接收文件