Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Code in tutorial not working

See original GitHub issue

Thanks Cam for this great package, it is very useful.

I am currently going through the tutorial and I noticed something strange. When executing:

from lifetimes.plotting import plot_period_transactions


I get a chart which is significantly different from what you use in your page (it looks like a worse fit to me):


Do you know what can be the reason?

Also, one other minor problem: the pip install gives you a different version of your package, in which the file cdnow_customers_transactions.csv is not present.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:1
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

CamDavidsonPiloncommented, Nov 1, 2015

I can confirm I get the same thing, investigating now.

Edit: it seems to be caused by Unfortunately, I can’t recall why I made that change.

Kristallicommented, Dec 12, 2018


Read more comments on GitHub >

github_iconTop Results From Across the Web

Tutorial code not working? - Unreal Engine Forums
I was trying to do the First Person Shooter tutorial and a couple other tutorials within it such as Player input and Pawns...
Read more >
The problem with tutorials - Visual Studio Code
Writing a great tutorial isn't easy. I should know - I've written a lot of them, and not every one was a smashing...
Read more >
React.js: Example in tutorial not working - Stack Overflow
I get the following error in the console: 'XMLHttpRequest cannot load file://localhost/Users/jashua/Desktop/code/react/tut.js. Cross origin requests are only ...
Read more >
stuck in tutorial hell and never know how to start - Reddit
I hate tutorials, sometimes I know I did everything right and will reread my code 1000 times saying this should work pulling my...
Read more >
Multiversus KBI Tutorial Not Working [FIXED] -
The KBI tutorial in Multiversus does not function & bugs out sometimes and stops working so let's discuss a couple of ways to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found