0 votes
in PySpark by
What do you understand by custom profilers in PySpark?

1 Answer

0 votes
by

PySpark supports custom profilers. The custom profilers are used for building predictive models. Profilers are also used for data review to ensure that it is valid, and we can use it in consumption. When we require a custom profiler, it has to define some of the following methods:

  1. stats: This is used to return collected stats of profiling.
  2. profile: This is used to produce a system profile of some sort.
  3. dump: This is used to dump the profiles to a specified path.
  4. dump(id, path): This is used to dump a specific RDD id to the path given.
  5. add: This is used for adding profile to existing accumulated profile. The profile class has to be selected at the time of SparkContext creation.

Related questions

0 votes
asked Mar 13, 2022 in PySpark by rajeshsharma
0 votes
asked Mar 13, 2022 in PySpark by rajeshsharma
...