Data Science with Python and Dask by Jesse Daniel;

Data Science with Python and Dask by Jesse Daniel;

Author:Jesse Daniel; [C. Daniel, Jesse]
Language: eng
Format: epub
ISBN: 9781617295607
Publisher: Simon & Schuster
Published: 2019-07-03T00:00:00+00:00


② Use the assign-rename pattern to add the Series object as a column of the original DataFrame.

In listing 6.15, the apply function is used to create a new Series containing the result of the calculation; then we assign the column to our existing DataFrame and rename it. We’re about halfway done with calculating the right denominator now. Let’s check in with how we’re doing. Figure 6.15 shows our progress so far.

Figure 6.15 Our progress so far calculating the right denominator of the Brown-Forsythe equation



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.