Skip to content

Commit a73c333

Browse files
committed
Update
1 parent 80f3741 commit a73c333

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Spreadsheet_Automation/script.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@
44
import plotly.express as px
55

66
# storing the dataset
7-
book_relative_path = input("Enter first dataset")
8-
book_prices = input("Enter second dataset")
7+
data1 = input("Enter first dataset")
8+
data2 = input("Enter second dataset")
99

1010
# reading the data
11-
data_prices = pd.read_excel(book_prices)
12-
data_home_1 = pd.read_excel(book_relative_path)
11+
data_read_1 = pd.read_excel(data1)
12+
data_read_2 = pd.read_excel(data2)
1313

1414
#print​(df_prices, df_home_1)
1515

16-
item = input("What is the basis of merging? ")
17-
data_total = data_home_1.merge(data_prices, on=item)
16+
reference = input("What is the basis of merging? ")
17+
data_total = data_read_2.merge(data_read_1, on=reference)
1818

1919

2020
#print​(df_total)

0 commit comments

Comments
 (0)