Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1-Write a script in Python that delete all data discrepancies from a file as follows. The next 2 entries need to be discarded because the

1-Write a script in Python that delete all data discrepancies from a file as follows.

The next 2 entries need to be discarded because the session ID and the 4th character of the exercise ID do not match as illustrated in the next 2 lines.

4, 91, Es_5_2, TextEditor_Es_5_2, 13.11.2014 11:37:41, 13.11.2014 11:37:53, 27673, 6, 0, 2, 0, 252, 0

4, 91, Es_5_2, Other, 13.11.2014 11:37:54, 13.11.2014 11:37:59, 343, 0, 0, 4, 0, 171, 0

The next entry need NoT be discarded.

4, 91, Es_4_4, Blank, 13.11.2014 11:37:39, 13.11.2014 11:37:39, 0, 0, 0, 0, 0, 0, 0

- Note that the file contains hundreds of lines and these are only examples.

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

Advances In Databases And Information Systems 22nd European Conference Adbis 2018 Budapest Hungary September 2 5 2018 Proceedings Lncs 11019

Authors: Andras Benczur ,Bernhard Thalheim ,Tomas Horvath

1st Edition

3319983970, 978-3319983974

More Books

Students also viewed these Databases questions

Question

2. Place a value on the outcomes.

Answered: 1 week ago