cgre-aachen / gemgis

Spatial data processing for geomodeling
https://gemgis.readthedocs.io/en/latest
GNU Lesser General Public License v3.0
258 stars 41 forks source link

conflicts between gemgis and pandas #326

Closed ada-hou closed 8 months ago

ada-hou commented 8 months ago

Describe the bug A clear and concise description of what the bug is. After import gemgis, pandas only retains two decimal places. To Reproduce Steps to reproduce the behavior: pandans = 2.0.1 gemgis = 1.1.8

code: `import pandas as pd

aaa = [[111.8065315459521, 36.86729095761402]]

print("Using Pandas:") print(pd.DataFrame(data=aaa))

import gemgis print("\nUsing gemgis:") print(pd.DataFrame(data=aaa)) `

result:

Using Pandas: 0 1 0 111.806532 36.867291

Using gemgis: 0 1 0 111.81 36.87

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

AlexanderJuestel commented 8 months ago

Hello, are you using any GemGIS function?

ada-hou commented 8 months ago

image I found the setting of pd in Gemgis

ada-hou commented 8 months ago

But I found a new problem, I re -initiated an issue