Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -34,6 +34,13 @@ def create_vector_db():
|
|
34 |
column_headers = list(df.columns.values)
|
35 |
print(column_headers)
|
36 |
pd.options.display.max_colwidth = 400
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
print(df.iloc[[3]])
|
38 |
print(df.iloc[[17]])
|
39 |
|
|
|
34 |
column_headers = list(df.columns.values)
|
35 |
print(column_headers)
|
36 |
pd.options.display.max_colwidth = 400
|
37 |
+
df = df.drop(columns=[1, 2])
|
38 |
+
|
39 |
+
print(df.iloc[[3]])
|
40 |
+
df[0] = df[0].astype('string', errors='raise').copy()
|
41 |
+
datatypes = df.dtypes
|
42 |
+
print(datatypes)
|
43 |
+
|
44 |
print(df.iloc[[3]])
|
45 |
print(df.iloc[[17]])
|
46 |
|