Go to file
kathrynoh23 544d029267 Kathryn Odell-Hamilton
2023.9.12

This is updated information and code within planning_scatter.md,
transform.py and scatterplot.py.

Thank you very much for the video explaining how to transform.py and
scatterplot.py.

Checkpoint 1
Writing scatterplot on my own after watching the video is better the
second time, but I'd have to go back slowly step by step. I would
make a copy of the scatterplot files to experiment for a better
understanding. Planning the scatterplot was fine. I used more detailed
information that in your video.

Checkpoint 2
In transform.py, I understood most of transforming data with functions,
but after your step-by-step video it was very clear. When I previously
go stuck, I did not know how to solve the code. Some things such as
using "clamp" for "return clamp(unclamped_ratio, 0, 1)" that's were it
is abstract. How do I figure out what to write for the inside code such
as "clamp" for the function? Do I reuse words from the "function name"?

I wrote a lot of comments so I can go back to review.

Checkpoint 3
In scatterplot.py, I understood the beginning with draw_axes for both
x and y points. What was confusing to code "Drawing the points" even
with you writing out the plan. You're video explaining this was
excellent, crystal clear.

I know now how to condense the code within the function such as
"xmin, xmax = bounds(get_x_values(data))". I wrote the code out the
long way.

For the scaled_y, I wasn't thinking about using the PLOT_HEIGHT until
your video. The first time looking at scatterplot.py, I shut down at the
end section, but now I understand it.

Running the scatterplot was so great to see visually. Definitely
more involved than creating a scatterplot in Seaborn.

Question: After I run the scatterplot to see visually, how do I get
back to lab_scatter? I tried cd ~, but it didnt' work. So, I quit out of
terminal and started over.

Thank you again for the video explaining everything.

______
Originally Completed 2023.8.25
Questions Submitted

Within Unit 2, lab_scatter, I used the top-down method for
planning_scatter.md, transform.py writing code to transform data with
function, and build the scatter plot. I'm requesting assistance to
complete several sections within transform.py and scatterplot.py files.

Checkpoint 1
I believe I could write about a quarter or small segments of the code
for the scatterplot.py, but would not be able to complete it without
guidance from an instructor. The top-down method to break down the
process of the scatterplot into small blocks was straight forward when
thinking, planning, and writing it out.

Honestly, I wouldn't know how to begin the scatterplot program without
additional information and instruction from the instructor. It's
abstract and frustrating. I don't have the background experience
using Python.

Checkpoint 2

From 2.1, minimum to 2.4, clamp, I understood how to and code the
simple functions with transforming data. From 2.5, ratio to the end,
2.8, get_y_values, I was confused and lost. I felt the information
provided was minimal, my perspective only. I could look back to the
beginning information to use some of the strategies, but unable to
complete these sections. I rewatched the videos and searched within
Discord to see what issues if any my colleagues were faced with.
There was little information online about transforming data with
functions using def statements with only a return and not printing.
More examples and explanation needed to be provided to better
understand what was expected.

Checkpoint 3

The program scatterplot.py is incomplete with the following:
     Find the scaled y-position for the point.
     Use draw_point(scaled_x, scaled_y, color, size) to draw the point.

Also, it won't run correctly because transform.py file is incomplete.
     Sections 2.5, ratio to the end, 2.8, get_y_values

I understood the scatterplot.py and how the data from the other
files was imported into this program file. From Checkpoint 1,
I would have still used the same format and structure. You could
create programs to visualize data such at charts and diagrams.
2023-09-12 10:57:51 -04:00
.DS_Store Kathryn Odell-Hamilton 2023-09-09 12:59:54 -04:00
.commit_template Initial commit 2023-08-04 17:48:39 +00:00
.gitignore Initial commit 2023-08-04 17:48:39 +00:00
constants.py Kathryn Odell-Hamilton 2023-09-12 10:57:51 -04:00
generate_data.py Initial commit 2023-08-04 17:48:39 +00:00
planning_scatter.md Kathryn Odell-Hamilton 2023-09-09 12:59:54 -04:00
planning_scatter_corrected.md Kathryn Odell-Hamilton 2023-09-12 10:57:51 -04:00
plotting.py Initial commit 2023-08-04 17:48:39 +00:00
poetry.lock Kathryn Odell-Hamilton 2023-09-12 10:57:51 -04:00
pyproject.toml Initial commit 2023-08-04 17:48:39 +00:00
scatterplot.py Kathryn Odell-Hamilton 2023-09-12 10:57:51 -04:00
scatterplot_1st try before video.py Kathryn Odell-Hamilton 2023-09-12 10:57:51 -04:00
test_transform.py Initial commit 2023-08-04 17:48:39 +00:00
ticks.py Initial commit 2023-08-04 17:48:39 +00:00
transform.py Kathryn Odell-Hamilton 2023-09-12 10:57:51 -04:00
transform_1st try before video.py Kathryn Odell-Hamilton 2023-09-12 10:57:51 -04:00