shaheerawan3 commited on
Commit
4091fed
·
verified ·
1 Parent(s): 739ad6f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -43,9 +43,10 @@ if 'Close' in data.columns:
43
  st.write("Data Types:")
44
  st.write(data.dtypes)
45
 
46
- # Display unique values in the 'Close' column for debugging (corrected to use Series)
 
47
  st.write("Unique values in 'Close' column:")
48
- st.write(pd.Series(data['Close']).unique()) # Use pd.Series to ensure we're working with a Series
49
 
50
  # Ensure 'Close' prices are numeric and handle any missing values
51
  try:
 
43
  st.write("Data Types:")
44
  st.write(data.dtypes)
45
 
46
+ # Display unique values in the 'Close' column for debugging (accessing directly)
47
+ unique_close_values = data['Close'].unique() # Accessing directly without pd.Series
48
  st.write("Unique values in 'Close' column:")
49
+ st.write(unique_close_values)
50
 
51
  # Ensure 'Close' prices are numeric and handle any missing values
52
  try: