Oct-04-2020, 12:54 PM
I'm fairly new in python so it happens that on certain problems I'm getting really stuck from time to time. I have already checked the web not finding a proper solution. I'm importing a CSV file having one column defined as (STR) with test_df=pd.read_csv(('Mappe41.csv'), dtype={'Payment Transaction ID':'str'}......
Once I'm running the code the output on python shell and subsequently in Excel shows still the data as int. Any idea why? here below the output
4528 2.00804E+17
4529 2.00804E+17
4530 2.00804E+17
4531 2.00805E+17
Name: Payment Transaction ID, Length: 4532, dtype: object
Once I'm running the code the output on python shell and subsequently in Excel shows still the data as int. Any idea why? here below the output
4528 2.00804E+17
4529 2.00804E+17
4530 2.00804E+17
4531 2.00805E+17
Name: Payment Transaction ID, Length: 4532, dtype: object