<jupyter_start><jupyter_text>How to merge dataframes? **pd.merge(df1, df2, left_on=df['column_name'], right_on=df2['column_name'])**where:**df1** - first DataFrame**df2** - second DataFrame**left_on** : label or list, or array-like    Column or index level names to join on in the left DataFrame. Can also    be an array or list of arrays of the length of the left DataFrame.    These arrays are treated as if they are columns.    **right_on** : label or list, or array-like    Column or index level names to join on in the right DataFrame. Can also    be an array or list of arrays of the length of the right DataFrame.    These arrays are treated as if they are columns.    **how** : {'left', 'right', 'outer', 'inner'}, default 'inner'    Type of merge to be performed.    * left: use only keys from left frame, similar to a SQL left outer join;      preserve key order.    * right: use only keys from right frame, similar to a SQL right outer join;      preserve key order.    * outer: use union of keys from both frames, similar to a SQL full outer      join; sort keys lexicographically.    * inner: use intersection of keys from both frames, similar to a SQL inner      join; preserve the order of the left keys. How to count distance between points? use **geodesic( [x1, y1] , [x2, y2] ).km**, example:<jupyter_code>geodesic( [ 52.258697,19.121618 ]  , [ 50.258697,19.021618 ] ).km<jupyter_output><empty_output><jupyter_text>How to plot on map with matplotlib?<jupyter_code>#Create a new figure.
fig = plt.figure(figsize=(20,10))

#A scatter plot of *y* vs *x* with varying marker size and/or color.
plt.scatter( 19.021618, 50.258697, color='red', s=100)

#Convert a Matplotlib Figure to a Leafle
mplleaflet.display(fig=fig)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.10102156640181612, 'fraction_numerical': 0.036322360953461974, 'mean_word_length': 4.110144927536232, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '80593', 'license': 'MIT', 'n_tokens_mistral': 576, 'n_tokens_neox': 536, 'n_words': 237, 'path': 'citybike/meeting_2/notebooks/helper.ipynb', 'repo_name': 'AnjaliRavenly/dw-katowice-project', 'size': '1762'}