Remove formats variable to avoid pd conflict
#7993
Merged
formats variable to avoid pd conflict
#7993