how to include decimal in number when importing xl...
# datascience
u
how to include decimal in number when importing xlxs
a
Can you please specify? Number values should be completely preserved. Try converting to
Double
from the previous thread, does it help?
u
Nope - I update the xlxs data but it doesn't include decimals when I read the xlxs using dataFrame
a
Could you please specify in what column?
u
I am specifying the all overflow numbers when it becomes E notation
a
You mean numbers that don't fit in Double? Do you want to parse them as BigDecimal?
u
It fit but it display E-notation - I don't know if I solve it in a best case - I make it Big decimal
a
So, it's only display problem? With a workaround I wrote in a previous thread (I applied convert to
Double?
for all columns with wrong type), all E notations are gone in display, see screenshots. Do you still have them?
🎉 1
🙌 1
u
Wow amazing, Thanks. The problem solved