Skip to content

Instantly share code, notes, and snippets.

@karamanbk
Last active September 10, 2024 02:58
Show Gist options
  • Save karamanbk/314d3d5483b9be1d2cc7f9694368f3bc to your computer and use it in GitHub Desktop.
Save karamanbk/314d3d5483b9be1d2cc7f9694368f3bc to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jeanetamcfoam
Copy link

Hi Baris,

Thank you so much for this wonderful report!

I was wondering why I am getting such error for:

Line Number 95

total_user_count = tx_retention[tx_retention.MinPurchaseYearMonth == selected_month].MinPurchaseYearMonth.count()

error:
AttributeError: 'DataFrame' object has no attribute 'MinPurchaseYearMonth'

Thanks in advance,
Jeanet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment