0

I am fetching a table from a database with read_sql()

table = pd.read_sql('SELECT * FROM {}'.format(table), con=engine)

But in the result, some characters in rows are substituted by 3 dots (...).

Example:

A  B     C
1  name  example_name...
2  city  example_city...

If I explicitly populate a df with the reduced values, it is ok.

Example:

A  B     C
1  name  example_name_Name1
2  city  example_city_Name2

I googled but haven't found an answer why it happens like this.

Anna
  • 914
  • 9
  • 25

0 Answers0