streamlit_freecodecamp icon indicating copy to clipboard operation
streamlit_freecodecamp copied to clipboard

Build 12 Data Apps in Python with Streamlit

Results 14 streamlit_freecodecamp issues
Sort by recently updated
recently updated
newest added

``` File "/home/user/.local/lib/python3.9/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/media/user/Data/streamlit_freecodecamp/app_6_eda_cryptocurrency/app.py", line 105, in df = load_data() File "/home/user/.local/lib/python3.9/site-packages/streamlit/legacy_caching/caching.py", line 543, in wrapped_func return get_or_create_cached_value() File "/home/user/.local/lib/python3.9/site-packages/streamlit/legacy_caching/caching.py", line 527, in...

When plotting the 2 SHAP figures, the figures appear, but the following warning also appears. ```python st.header('Feature Importance') plt.title('Feature importance based on SHAP values') shap.summary_plot(shap_values, X) st.pyplot(bbox_inches = 'tight') st.write('----')...

I am having trouble replicating the code and keep getting this error. The code is below import streamlit as st import pandas as pd import base64 import matplotlib.pyplot as plt...

im getting this error while running the code of streamlit repo (iris classifier ) please tell me why is this throwing up? UserWarning: X has feature names, but RandomForestClassifier was...

Changing the code in price_plot to avoid PyplotGlobalUseWarning.

Changing the data type to str in order to avoid the "("Expected bytes, got a 'int' object", 'Conversion failed for column FG% with type object')" error by the st.dataframe on...

nucleotide encoding field is specified without a type; the type cannot be inferred because it does not match any column in the data. this error kept showing for the barchart...

percent_change_1h --> percentChange1h percent_change_24h -->percentChange24h percent_change_7d -->percentChange7d market_cap -->marketCap volume_24h -->voulme24h

Changed the code to such that the graphing block of the code now resides in an if-else statement that checks whether the user has chosen any cryptocurrency and if not...

In the load_data function from lines 79 to 83 the label values for each have been changed in the CoinMarketCap data to the following: * **percent_change_1h** to **percentChange1h** * **percent_change_24h**...