Closed Gabrielvon closed 6 years ago
@Gabrielvon I now understand what you meant, disregard my previous comment, sorry. I believe you are right, the lecture 38 has a mistake.
Please report the error to Quantopian support as the Quantopian lectures are not developed as part of Alphalens project, so we (the community, which is not Quantopian employees only) cannot make change to the Lectures material, only Quantopian can.
@luca-s Understood. Thanks!
Thanks to you @Gabrielvon
I have added the correction here: https://github.com/quantopian/research_public/pull/223. Thanks, @Gabrielvon.
I just came across the Lecture 38: Factor Analysis and felt confused by first line in Turnover section.
Since factor_data is a dataframe with columns [1, 5, 10, 'factor', 'group', 'factor_quantile'],
what is the logic of extracting the max and min value from this list with the code in the original script like above?
Question: Is the code in the jupyter notebook in the lecture incorrect? If not, could you illustrate a bit how to use this function? Big thanks!
Below is the code for entire function.