Re:PandaPy has the speed of NumPy and the usability of Pandas
by squaresmile on Friday January 24, 2020 @10:01PM
(#22144341)
If anyone else also wonders what does pandas.DataFrame.join do [1]:
> on : str, list of str, or array-like, optional
> Column or index level name(s) in the caller to join on the index in other, otherwise joins index-on-index.
> DataFrame.join always uses other’s index but we can use any column in df.
Interesting choices but luckily I have never been bit by this. Maybe because I first looked up on google on how to do join in pandas. Nowadays, I mostly use pd.merge though.
> on : str, list of str, or array-like, optional
> Column or index level name(s) in the caller to join on the index in other, otherwise joins index-on-index.
> DataFrame.join always uses other’s index but we can use any column in df.
Interesting choices but luckily I have never been bit by this. Maybe because I first looked up on google on how to do join in pandas. Nowadays, I mostly use pd.merge though.
[1] https://pandas.pydata.org/pandas-docs/stable/reference/api/p...