Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lernen Preprocessing Data | Performing One More AB Test
A/B Testing in Python
course content

Kursinhalt

A/B Testing in Python

A/B Testing in Python

1. What is A/B Test?
2. The First A/B Test
3. Performing One More AB Test

book
Preprocessing Data

Imagine that last chapter you read 14 days ago. And you already have the file with all the data fixed during this period for the analyzing results of the A/B test. Now we are going to prepare all data received for the analysis.

So after rereading the task, we can make 2 points:

  • The test was held with the Web devices;
  • The test started after the 2021-01-10 Let's create a new DataFrame that will fit well with our needs.

Use DataFrame.query() function to create new DataFrame with options needed. Go here to learn more about the pandas library.

Aufgabe

Swipe to start coding

  1. Import the pandas with the pd alias.
  2. Save only 'Web' platform into the new df named df_platform using the DataFrame.query() function.
  3. Save the information fixed only after the '2021-01-10' into the df_ab variable.
  4. Show what is inside the df_ab variable.

Lösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 3. Kapitel 3
toggle bottom row

book
Preprocessing Data

Imagine that last chapter you read 14 days ago. And you already have the file with all the data fixed during this period for the analyzing results of the A/B test. Now we are going to prepare all data received for the analysis.

So after rereading the task, we can make 2 points:

  • The test was held with the Web devices;
  • The test started after the 2021-01-10 Let's create a new DataFrame that will fit well with our needs.

Use DataFrame.query() function to create new DataFrame with options needed. Go here to learn more about the pandas library.

Aufgabe

Swipe to start coding

  1. Import the pandas with the pd alias.
  2. Save only 'Web' platform into the new df named df_platform using the DataFrame.query() function.
  3. Save the information fixed only after the '2021-01-10' into the df_ab variable.
  4. Show what is inside the df_ab variable.

Lösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 3. Kapitel 3
Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
Wir sind enttäuscht, dass etwas schief gelaufen ist. Was ist passiert?
some-alt