Skip to content

Instantly share code, notes, and snippets.

@victormurcia
Created September 3, 2022 01:51
Show Gist options
  • Save victormurcia/8c241c8bb0631438384578360f85d17d to your computer and use it in GitHub Desktop.
Save victormurcia/8c241c8bb0631438384578360f85d17d to your computer and use it in GitHub Desktop.
lambda function for hues to frequency conversion
pixels_df['notes'] = pixels_df.apply(lambda row : hue2freq(row['hues'],scale_freqs), axis = 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment