JasonKessler / scattertext

Beautiful visualizations of how language differs among document types.
Apache License 2.0
2.23k stars 289 forks source link

Fix FutureWarning: read_table is deprecated, use read_csv instead, pa… #42

Closed millengustavo closed 5 years ago

millengustavo commented 5 years ago

…ssing sep='\t'

Hi, First of all thanks for the awesome work. Since pandas version 0.24 the read_table function is deprecated, so a FutureWarning is issued every time the get_background_frequency_df is called. The warning recommends using read_csv passing sep='\t' instead of read_table.

This pull request only changes that.

JasonKessler commented 5 years ago

Looks great, and thanks so much!