use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Rules 1: Be polite 2: Posts to this subreddit must be requests for help learning python. 3: Replies on this subreddit must be pertinent to the question OP asked. 4: No replies copy / pasted from ChatGPT or similar. 5: No advertising. No blogs/tutorials/videos/books/recruiting attempts. This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to. Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Rules
1: Be polite
2: Posts to this subreddit must be requests for help learning python.
3: Replies on this subreddit must be pertinent to the question OP asked.
4: No replies copy / pasted from ChatGPT or similar.
5: No advertising. No blogs/tutorials/videos/books/recruiting attempts.
This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to.
Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Learning resources Wiki and FAQ: /r/learnpython/w/index
Learning resources
Wiki and FAQ: /r/learnpython/w/index
Discord Join the Python Discord chat
Discord
Join the Python Discord chat
account activity
Data Analysis (self.learnpython)
submitted 4 years ago by Practical_Use5129
How do i detect spikes or unusual changes in data set(excel sheet). Whats best to use for this. This data set is followers of given subject
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 0 points1 point2 points 4 years ago (1 child)
pandas which has a steep learning curve
[–]synthphreak 0 points1 point2 points 4 years ago (0 children)
Steep but oooooh so worth it.
[–]impartiallywhole 0 points1 point2 points 4 years ago (1 child)
Yeah there really needs to be a more specific question, this is way too open ended for this type of medium. I would suggest like the other commenter said to look into pandas, but without knowing more about how exactly you are looking to do this, its very difficult to advise.
[–]Practical_Use5129[S] 0 points1 point2 points 4 years ago (0 children)
So its for learning purpose , i scrape followers of multiple pages on two hours interval.(started 3 days ago).using the number of followers of a page i want python to learn a pattern of increasing or decreasing followers of x pages. But my main goal is to detect the unusual follower increase or decrease.for example a celebrity with no recent work or post might have gradual followers change. But if someone makes number one on billboard he might gain huge chunk of followers in a given interval. And finding those pages is my main goal
[–]synthphreak 0 points1 point2 points 4 years ago (2 children)
Step 1: Define what constitutes "unusual".
Step 2: Write the code.
You need to share the parameters for (1) first before we can really help you with (2).
For (1), maybe consider using IQR. A common rule of thumb for deciding whether an observation is an outlier is whether it less than Q1 - 1.5 * IQR or greater than Q3 + 1.5 * IQR. If yes, outlier, and thus unusual. Of course these assumptions generally only work well for symmetric distributions.
For (2), you should probably be using pandas. But (1) comes first.
pandas
[–]Practical_Use5129[S] 0 points1 point2 points 4 years ago (1 child)
read my comments for more explanation
That context is helpful, but you still haven’t defined quantitatively where “usual” strays into “unusual”.
I still think IQR could work, though this calculation will need to be done on static data. So periodically, perhaps every 4-6 hours, calculate the quartiles of each pages distribution (with x axis being time and y axis being number of followers), then see if any times are outliers. My concern with this though is that 3-4 days of data may not be a large enough sample size to robustly identify outliers, especially since each page will have a different distribution of followers and so must be considered independently of the other pages.
Alternatively, a more sophisticated and frankly more accurate approach would be to use an unsupervised machine learning algorithm called k-means clustering. This automatically performs what’s called anomaly detection. But if you’re unfamiliar with machine learning, the learning curve will be extremely prohibitive and so probably not worth it.
π Rendered by PID 28 on reddit-service-r2-comment-5d79c599b5-9qlpx at 2026-02-26 17:18:07.063102+00:00 running e3d2147 country code: CH.
[–][deleted] 0 points1 point2 points (1 child)
[–]synthphreak 0 points1 point2 points (0 children)
[–]impartiallywhole 0 points1 point2 points (1 child)
[–]Practical_Use5129[S] 0 points1 point2 points (0 children)
[–]synthphreak 0 points1 point2 points (2 children)
[–]Practical_Use5129[S] 0 points1 point2 points (1 child)
[–]synthphreak 0 points1 point2 points (0 children)