Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Old MathJax webview Old MathJax webview Old MathJax webview please do in python I will give upvote surely save file in particular folder please do

Old MathJax webview

Old MathJax webview
Old MathJax webview

image text in transcribed

image text in transcribed

please do in python I will give upvote surely save file in particular folder please do asap. show output please

model run ts should be decrease by 60 days and validity ts increse by 90 days

you need to update date of validity ts and model run ts as mention above for all lines.

consider date by today

Out[28]: {"MODEL_ID': 6, "MODEL NAME': 'device rec MODEL RUN TS': '20210910 00:00:00 VALIDITY TS': "20220310 00:00:00 'SERVICE NUMBER': '447867640171 "OUTPUT': [{'RECOMMENDED SKUE 200399 RECOMMENDED DEVICE: Samsung Galaxy S9 midnight black', RECOMMENDED_METHOD PRIORITY E3, RECOMMENDED METHOD: 'most common_per_os', "PRODUCT_CATALOGUE_NAME: "Samsung Galaxy S9 midnight black', REC_RANK': 6}, { 'RECOMMENDED SKU': 213258, "RECOMMENDED_DEVICE': Samsung S21 56 grey 128GB', RECOMMENDED METHOD PRIORITY: 3, RECOMMENDED METHOD: most common_per_os', "PRODUCT_CATALOGUE_NAME': 'Samsung 521 56 grey 128GB', REC_RANK":2}, {'RECOMMENDED SKU': 214880) RECOMMENDED DEVICE: SAMSUNG GALAXY A525 56 black', RECOMMENDED METHOD PRIORITY: 3, RECOMMENDED METHOD: most common per os PRODUCT CATALOGUE NAME" : SAMSUNG GALAXY A52s 5G black', REC RANK: 8}, {RECOMMENDED SKU: 207433 RECOMMENDED DEVICES Samsung Galaxy S20 Plus 128GB grey', RECOMMENDED METHOD PRIORITY: 3, RECOMMENDED METHODmost common per oss "PRODUCT_CATALOGUE NAME: Samsung Galaxy S20 Plus 128GB grey', REC RANK': 4}, { 'RECOMMENDED SKU: 205501'. RECOMMENDED DEVICE : Apple iPhone SE 2020 64GB black', RECOMMENDED METHOD PRIORITY' B. RECOMMENDED METHOD 'most common_per_os! 'PRODUCT_CATALOGUE NAME: Apple iPhone SE 2020 64GB black', REC_RANK': 7}, {'RECOMMENDED SKU': 211686" RECOMMENDED_DEVICE': "Google Pixel 5 5G sage', RECOMMENDED_METHOD PRIORITY': 3, RECOMMENDED METHOD' : most common_per_os', "PRODUCT_CATALOGUE_NAME': 'Google Pixel 5 5G sage', "REC_RANK': 5}, {'RECOMMENDED SKU': '213813', RECOMMENDED_DEVICE': 'Xiaomi Mi 11 grey', RECOMMENDED_METHOD PRIORITY': 3, RECOMMENDED_METHOD': 'most_common_per_os', "PRODUCT_CATALOGUE NAME': 'Xiaomi Mi 11 grey'. "REC_RANK": 1))) In [ ]: PLEASE DO IN PYTHON PYTHON PYTHON I want change following things by using array given below "MODEL_RUN_TS' Date change should be less than 60 days I 'VALIDITY_TS' Date change should be more than 90 days SERVICE NUMBER' should be replace with sn=[31201466,31209876, 34529876,67435889] RECOMMENDED SKU' for first index replace with rec_sku1=[29,30,46,78] RECOMMENDED_SKU' for second index replace with rec_sku2=[89,76,43,13] same for other 'RECOMMENDED_SKU' you can take array value with your own after this save this file in json format in particular folder Please do this in Python show output I will definitely give 5 upvote . If you dont know how to do this dont attemt I will give downvote surely

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Jeffrey A. Hoffer Fred R. McFadden

9th Edition

B01JXPZ7AK, 9780805360479

More Books

Students also viewed these Databases questions