I m using Azure Databricks to convert a pandas Dataframe into a koalas data frame...
kdf = ks.DataFrame(pdf)
This results in an error message of "an integer is required (got type str)"
I tried adding a dtype of str to force the koalas dataframe to be of type string. ..
df = ks.DataFrame(pdf, dtype='str')
adding the dtype works perfectly in vs code using the databricks extention but results in an AssertionError when executed in azure databricks workspace.
It seems like azure databricks must be using a different version of koalas than the vs code databricks extention.
How can I get this to work in azure databricks?
How can I find out what version of koalas azure databricks is using and what version of koalas the databricks vs code extention is using?
I cant just use pip list to find vs code version of koalas because it is an extention, rather than an installed package.
Any help on this would be gratefully received
Laura