8088e4f41282ace03e0c522f8c6a2656cd52906f,examples/new.py,,,#,9

Before Change


    write("Progress:")
    my_progress_bar = write.progress(0)
    write("Loss:")
    loss_table = pd.DataFrame(columns=["loss"])
    loss_table = write.dataframe(loss_table)
    for i in range(100):
        my_progress_bar.progress(i)
        loss = random.randint(0, 100)

After Change


with Notebook() as write:
    write.header("My awesome program", level=3)
    write("hello world")
    my_array = np.random.randn(100, 100)
    write("my array", my_array)

    progress = write.progress(0)
    for i in range(100):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: streamlit/streamlit
Commit Name: 8088e4f41282ace03e0c522f8c6a2656cd52906f
Time: 2018-02-14
Author: adrien.g.treuille@gmail.com
File Name: examples/new.py
Class Name:
Method Name:


Project Name: EducationalTestingService/factor_analyzer
Commit Name: 2bfd6edc4c2e1c32aa39c05ad6a65576ba0f9979
Time: 2021-03-25
Author: jeremy.m.biggs@gmail.com
File Name: tests/test_factor_analyzer.py
Class Name: TestFactorAnalyzer
Method Name: test_analyze_rotation_value_error


Project Name: streamlit/streamlit
Commit Name: b246f26f5bb081970697a9f030a3982caf9efc97
Time: 2018-03-18
Author: adrien.g.treuille@gmail.com
File Name: examples/new.py
Class Name:
Method Name:


Project Name: EducationalTestingService/factor_analyzer
Commit Name: 2bfd6edc4c2e1c32aa39c05ad6a65576ba0f9979
Time: 2021-03-25
Author: jeremy.m.biggs@gmail.com
File Name: tests/test_factor_analyzer.py
Class Name: TestFactorAnalyzer
Method Name: test_analyze_impute_value_error