需要有关数据清理的建议

时间:2019-12-19 10:03:09

标签: sql-server excel python-3.x

需要建议。我在excel中手动清理数据,以填充每组行中的关键字。我一直在excel中手动进行。但是列表太长了,有没有办法我可以使用SQL Server或Python或任何其他工具进行实用的清理?

样本数据:

Company
Bazhou Tianjie Energy Co., Ltd.
Bazhou Tianjie Energy Co., Ltd. Huadexianqihao Gas Station
Bazhou Tianjie Energy Co., Ltd. Kuwei Gas Station
Bazhou Tianjie Energy Co., Ltd. Traffic Xilu Gas Station
Bazhou Tianjie Energy Co., Ltd. Yingxia Gas Station
Beijing Longyu Car Service Co., Ltd.
Beijing Longyu Car Service Co., Ltd. Chaoyang Branch
Beijing Longyu Car Service Co., Ltd. Qinghaihe Branch
Beijing Longyu Jinding Petroleum Products Distribution Co., Ltd.
Beijing Longyu Liangxinyuan Oil Product Co., Ltd.

输出

Bazhou Tianjie Energy
Beijing Longyu

0 个答案:

没有答案