title: Creating dataframe from pandas, unknown error on Pycharm
body: <p>I have data that looks like this:<a href="https://i.stack.imgur.com/QqLhj.png" rel="nofollow noreferrer">data</a></p>
  
  <p>I want to put this data into a dataframe but I get the following errors:</p>
  
  <pre><code>  File "pandas/_libs/parsers.pyx", line 562, in pandas._libs.parsers.TextReader.__cinit__
    File "pandas/_libs/parsers.pyx", line 790, in pandas._libs.parsers.TextReader._get_header
  UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
  </code></pre>
  
  <p>Here is my code:</p>
  
  <h1>Import necessary modules</h1>
  
  <pre><code>import pandas as pd
  import numpy as np
  import matplotlib.pyplot as plt
  import seaborn as sns
  sns.set()
  
  # Import data into a dataframe
  df = pd.read_csv("ETHData.csv")
  df.head()
  </code></pre>
  
  <p>As suggested by some users I changed the <code>df = pd.read_csv("ETHData.csv",encoding='latin1')</code> and received this output:</p>
  
  <pre><code>0  NaN
  1  NaN
  2  NaN
  3  NaN
  4  NaN
  </code></pre>
  
  <p><strong>Update:</strong></p>
  
  <p>Simply copying and pasting the data from a .txt format to a .csv format solved the problem. Here is the correct output now:</p>
  
  <pre><code>       DateTime  Price [USD]
  0  7/30/15 0:00          0.0
  1  7/31/15 0:00          0.0
  2   8/1/15 0:00          0.0
  3   8/2/15 0:00          0.0
  4   8/3/15 0:00          0.0
  </code></pre>