In my calculations I get infinite values and following error:

> 
> ValueError: Input contains NaN, infinity or a value too large for > dtype('float64').
> 
> 
> 

The problem starts when I wanted the log of some of the columns in the data frame.
I believe the value and floating point gets really big after log. Then I rounded the value to one decimal point.
The problem still is there although it worked with most of the columns.

e.g.

```
df['log_tweets_reply'] = np.round(np.log(df['tweets'] * df['reply']), 1)

```

So how can I solve this problem?