Python Snippets: Dropping Infinite Values From Dataframes in Pandas
Infinite values can occur more often than people expect, especially for calculated data. For example, in a recent post I calculated the Twitter Follower-Friend ratio by dividing the followers_count series by the friends_count series.
Last updated on Oct 13, 2022
1 min read