I have 4 CSV Files: CSV Files Picture
I want to combine the 4 files into one data frame. I have to Use the Invoices.Customer_ID and Customers.ID. When combining, I also have to make sure that the result set only contains customers and articles for which there are invoices and invoice items.
I have this simple code that reads the CSV file and displays the data.
from datetime import date, datetime
import os
import pandas as pd
article_csv = pd.read_csv('Input/Artikel.csv')
Invoices_items_csv = pd.read_csv('Input/Rechnungen_Positionen.csv')
Customers_csv = pd.read_csv('Input/Kunden.csv')
Invoices_csv = pd.read_csv('Input/Rechnungen.csv')
Can someone help me here to achieve this goal? Thanks in advance