[Python] Pandas - Dataframe ํจ์ ๋ชจ์
merge result_df = pd.merge(df1, df2, how='left', on='key') result_df = pd.merge(df1, df2, how='left', left_on='name1', right_on='name2') drop column df.drop(columns=['datetime'], inplace=True) reset index df.reset_index(inplace=True, drop=True) new col with apply df['new_col'] = df.apply(lambda x: json.loads(x['loc'])['c'][1], axis=1) sort # ์ด ์ด๋ฆ ์์ axis=1 # ๋ด๋ฆผ์ฐจ์ ascending=False df.sort_values(b..