Hello, everybody.
This is my first completed project on Dataquest. Took me a week to finish it.
I would highly appreciate any feedback concerning my code, clarity of data analysis and its representation through markdowns, as well as the integrity of the project in general.
Welcome to the community and congratulations for having completed your first project on on Exploring Ebay Car Sales Data. Your introduction, the use of markdown cell, use of comments , the conclusion are so informative, great work indeed. I have noticed some unique approaches in some parts of your workings ,which has broaden my understanding. For example, while removing the outliers, you have successfully managed the whole task with the help of quantiles ,never imagined of that , thumbs up for this buddy!.
Below is an alternative of renaming the columns and will render the same output as yours, though it’s like time consuming by entering all the column names but I think it’s more readable.
here’s another alternative for converting camel to snake
def change_case(str):
res = [str[0].lower()]
for c in str[1:]:
if c in ('ABCDEFGHIJKLMNOPQRSTUVWXYZ'):
res.append('_')
res.append(c.lower())
else:
res.append(c)
return ''.join(res)
snake_headers = []
for row in all_headers:
snake = change_case(row)
snake_headers.append(snake)
print(snake_headers)