kdevoe commited on
Commit
e1f4292
1 Parent(s): 7006d96

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ categories=['cohesion', 'syntax', 'vocabulary', 'phraseology', 'grammar', 'conve
10
  initial_scores = {category: '-' for category in categories}
11
  scores_df = pd.DataFrame(initial_scores, index=['Score'])
12
 
13
- pd.set_option('display.precision', 1)
14
 
15
  text = "Here is a sample essay."
16
 
 
10
  initial_scores = {category: '-' for category in categories}
11
  scores_df = pd.DataFrame(initial_scores, index=['Score'])
12
 
13
+ pd.set_option('display.float_format', lambda x: '%0.1f' % x)
14
 
15
  text = "Here is a sample essay."
16