idx is a variable name and not an index
idx is a variable name and not an index

line 636, there was a .ix[idx] replaced by .iloc[idx] but this was incorrect since idx is a variable name and not an index. 
julioasotodv/spark-df-profiling,julioasotodv/spark-df-profiling