Forum Discussion
Read from semantic models (Semantic Link) No Longer Working
Hi All,
I've been using Semantic Link to pull data. Code worked this morning but stopped this evening. There were no changes to our environment. I tried code in a new notebook with the same result.
I get the following various error:
- Error: TypeError: got an unexpected keyword argument 'pandas_convert_dtypes'
import sempy.fabric as fabric
dataset = "dataset"
#call measures
data = fabric.evaluate_measure(dataset,
measure="measure",
groupby_columns=["Dimension[groupby1]"],
pandas_convert_dtypes=True)
- Anonymous2 years ago
Hi jdevries192 ,
Apologies for the issue you have been facing. I suggest you not to use pandas_convert_dtypes at all - I don't think you need it, as we always convert the types with respect to latest release - 0.3.6.
With the latest released we removed the parameter as we've implemented a stable behavior that converts the types more reliable.
Latest Documentation will be roll out in some days. Sorry for the inconvenience.Untill then you can use help(fabric.evaluate_measure).
Hope it is helpful. Please let me know incase of any further queries.
1 Reply
- AnonymousNot applicable
Hi jdevries192 ,
Apologies for the issue you have been facing. I suggest you not to use pandas_convert_dtypes at all - I don't think you need it, as we always convert the types with respect to latest release - 0.3.6.
With the latest released we removed the parameter as we've implemented a stable behavior that converts the types more reliable.
Latest Documentation will be roll out in some days. Sorry for the inconvenience.Untill then you can use help(fabric.evaluate_measure).
Hope it is helpful. Please let me know incase of any further queries.