Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Data Science
  3. Question
Data Science

How to solve the issue of “ valueerror: input contains nan, infinity or a Value too large for dtyp float ?

Asked by Dipika Agarwal Jul 17, 2024 948 views 2 answers
Share

About this question

I am currently working as a data analyst for a particular financial-based company. My task is to process a large dataset of stock prices, which includes various numerical columns such as open price, close price, and also volume. The dataset is stored in a CSV file and I am currently using Python’s Panda library to read and analyze the data. When I was performing a series of calculations I found a particular error which was stating that “ valueerror: input contains nan, infinity or a Value too large for dtype(‘float64’)”. How can I troubleshoot and resolve this particular issue? 

Your answer

2 Answers

Sunrise Interest Latest answer

Answered on Aug 5, 2024

This issue really requires experience to select  foodle and process data well. Before running a program, it is necessary to have a main and backup plan. Valuable and good knowledge sharing for the best reception.

Was this helpful?

More Data Science discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Data Science Blogs

Guides, tips and career advice on Data Science from JanBask experts.