sh1gechan commited on
Commit
6e8bd88
Β·
verified Β·
1 Parent(s): 00c5d8f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -136,7 +136,7 @@ def select_columns(df: pd.DataFrame, columns: list) -> pd.DataFrame:
136
 
137
  # 'Model' カラムにγƒͺンクを含む归式で再構築
138
  if 'Model' in df.columns:
139
- df['Model'] = df['Model'].apply(lambda x: f'[{x.split(">")[-2].split("<")[0]}]({x.split("href=")[1].split("\"")[1]})' if isinstance(x, str) and 'href=' in x else x)
140
 
141
  # フィルタγƒͺγƒ³γ‚°γ•γ‚ŒγŸγ‚«γƒ©γƒ γ§γƒ‡γƒΌγ‚Ώγƒ•γƒ¬γƒΌγƒ γ‚’δ½œζˆ
142
  filtered_df = df[unique_columns]
 
136
 
137
  # 'Model' カラムにγƒͺンクを含む归式で再構築
138
  if 'Model' in df.columns:
139
+ df['Model'] = df['Model'].apply(lambda x: f'[{x.split(">")[-2].split("<")[0]}]({x.split("href=")[1].split(chr(34))[1]})' if isinstance(x, str) and 'href=' in x else x)
140
 
141
  # フィルタγƒͺγƒ³γ‚°γ•γ‚ŒγŸγ‚«γƒ©γƒ γ§γƒ‡γƒΌγ‚Ώγƒ•γƒ¬γƒΌγƒ γ‚’δ½œζˆ
142
  filtered_df = df[unique_columns]