Junior — Senior
Code review and script optimization
livecode
Task condition
It is necessary to check the existing code and improve its readability and efficiency.
import pandas as pd
data_frame = pd.read_csv("data.csv", sep=",", header=None)
if data_frame.values.sum() == 10:
print(True)
else:
print(False)