Skip to content

Python Code to get String and value from one file to another file. #8121

@bhrigwish

Description

@bhrigwish

Feature description

I am trying a Python Code to get a string and a value from one file to another. Below is the description:

File 1:
Part Reference| Vehicle Applications
XYZ1123 | Lodgy 12+, Captur 13+
ABC1147 | Golf 11+, Polo 14+

File 2:
Car Model | Total Sales
Lodgy | 1000
Captur | 400
Golf | 11000
Polo | 9000

I am looking for an output where in File 1 it appears next to Vehicle APplication the Car Model Names from File 2 and the sum of Car Model got.

I am working on Google COlab and got 2 files using pandas.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementThis PR modified some existing files

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions