I am reading a csv file into a dataframe and writing it to a sqlite db table and getting this warning:
UserWarning: The spaces in these column names will not be changed. In pandas versions < 0.14, spaces were converted to underscores.
dtype=dtype)
The data as 762 rows which I have confirmed at the start of the script and right before the line that writes the file to the db table with:
print(dfw.shape)
When I look in the database, there are 915 rows and the last 153 rows are all Null.
I am only just learning python and can't think of any reasons for this. A google search on adding additional rows with pandas to_sql has not turned up anything.
Any ideas?