我跑完之后
$ docker run --rm -v "/c/users/vipul rao/documents/github/wappalyzer:/opt/wappalyzer" -it wappalyzer/dev
我收到以下错误the input device is not a TTY. If you are using mintty, try prefixing the command with 'winpty'
我应该在这里使用我在MINGW64的Windows 8上运行.
example.csv
row
india - manager- intel
india -sales-manager-amazon
banglore -ccm- head - county- jp morgan
Run Code Online (Sandbox Code Playgroud)
我用过的代码
df = pd.read_csv("example.csv", sep=',')
v = df.pop('row').str.split('-', expand=True)
v.columns = ['location', 'position', 'company']
Run Code Online (Sandbox Code Playgroud)
预期产出
location position company
india manager intel
india sales-manager amazon
banglore ccm- head - county jp morgan
Run Code Online (Sandbox Code Playgroud)
数据
行
Burgess Hill,英国西萨塞克斯郡 - 全球消费者技术高级副总裁兼首席信息官 - 美国伦敦,英国 - 技术副总裁 - 工作流程和运营及创始人 - Hogarth Worldwide英国阿伯丁 - 高级特殊核心分析顾问/技术专家 - COREX集团英国伦敦 - ED,Equity Derivatives Technology,伦敦 - 摩根士丹利伦敦,英国 - 首席商务官,集团技术 - BP Staines,英国萨里 - 战略与建筑集团董事,IS - Centrica …