'Pandas read_csv function cuts off html link with three dots
I have exported a data from a website containing multiple html links into a CSV file. I wanted to load this file to Python ad df to further work on it, however I have noticed that the links are cut off and end with "...", making them invalid. In the CSV file the links are perfectly correct. I assume there is some underlying condition that limits the length of a string imported into a data frame. Could you please help me with the issue? It seems trivial, but I was banging my head against the wall for a two hours now. 
Solution 1:[1]
There is nothing wrong with the data, the links are not trimmed. What you see is Jupyter Notebook adjusting what is displayed to fit information on the display.
You can override the default behaviour and set the max number of characters yourself with:
pd.set_option('display.width', 666)
See the set_option for reference.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Lukasz Tracewski |
