What is a delimiter?
<p>I am new to making CSV files with Python, and I am doing it to work with LDA (Latent Dirichlet Allocation). It says in a tutorial video </p>

<pre><code>with open('test.csv', 'w') as fp:
    a = csv.writer(fp,delimiter=',')
</code></pre>

<p>I know <code>fp</code> means file pointer, yet I don't know how that relates to <code>delimiter</code> or what a <code>delimiter</code> is.</p>

<p>A delimiter is what separates values from each other. So the csv writer will separate values using a comma since the delimiter keyword argument is set to a comma mark <code>delimiter=','</code>.</p>

python csv