Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ st.header("Dataset Overview")
|
|
| 16 |
st.write("Below are the first 10 rows of the dataset:")
|
| 17 |
st.write(df.head(10))
|
| 18 |
st.write(f"The shape of dataset before cleaning is: {df.shape}")
|
| 19 |
-
Drop irrelevant columns
|
| 20 |
columns_to_drop = [
|
| 21 |
'Rep Full Name', 'Senator Full Name', 'Usage Description 3',
|
| 22 |
'Usage Description 2', 'Congressional Full Name', 'Address'
|
|
|
|
| 16 |
st.write("Below are the first 10 rows of the dataset:")
|
| 17 |
st.write(df.head(10))
|
| 18 |
st.write(f"The shape of dataset before cleaning is: {df.shape}")
|
| 19 |
+
#Drop irrelevant columns
|
| 20 |
columns_to_drop = [
|
| 21 |
'Rep Full Name', 'Senator Full Name', 'Usage Description 3',
|
| 22 |
'Usage Description 2', 'Congressional Full Name', 'Address'
|