Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Submissions for "EDA with SAP HANA" developer challenge: Week 1 - Setup

Vitaliy-R
Developer Advocate
Developer Advocate

This discussion thread is to submit your solution for Week 1, if participating in the March 2023 developer challenge for SAP Community. The topic is "Exploratory Data Analysis with SAP HANA and Python".

Please use this separate thread to ask your questions and discuss issues. Keep this thread for your submissions only.

30 REPLIES 30

dinah
Product and Topic Expert
Product and Topic Expert

f1se4
Explorer

Week 1 --> GitHub notebook link

Note. I'm using python 3.11. If the next weeks the challenge impacts on python version I will recreate an environment for this, but now, just to check.

Thx!!! And good challenge to all!

Sergi García. 
Customer - Solution Architech

 

Vitaliy-R
Developer Advocate
Developer Advocate

Thank you for the submission. I suggested Python 3.10, as I had an issue with one of the 3rd party dependencies not working with Python 3.11 last month yet.

0 Kudos

Ah, perfect! So I will continue with 3.10 ^^

Thank you!!

Sergi

abcl0653
Product and Topic Expert
Product and Topic Expert

Week 1 Submission link 

sourabh3ss
Product and Topic Expert
Product and Topic Expert

gphadnis2000
Participant

Hi,

Please find week 1 submission.

https://github.com/UZOIQ4SW/HANA-EDA/blob/main/Week1.ipynb

 

Thanks and Regards,

Gaurav Phadnis

Sergiu
Contributor

Week one submission here.

Vitaliy-R
Developer Advocate
Developer Advocate
0 Kudos

Thanks for submitting!

I see you commented the line

# print("SAP HANA DB version: ", myconn.hana_version())

in your notebook.

Was there any issue with that line?

I have resubmitted without commented lines. 🙂

Mariusz
Explorer

kyvraoaiml
Explorer

Hi, Please find my week 1 Submission.  I have removed user credentials from ConnectionContext. 

Week1 Assignment 

For me below statement did not work. So I used above syntax.

myconn=hdf.ConnectionContext(userkey='DevChallenger')

 

0 Kudos

Do you want to discuss the issue you had setting up HANA user store on the client side in the https://groups.community.sap.com/t5/application-development/questions-re-quot-eda-with-sap-hana-quot... ?

Hi  @Vitaliy-R ,

Please find my week 1 Submission.  I have removed user credentials from ConnectionContext.

https://github.com/salimnisar/SAP-community-developer-challenge-eda-hana/blob/main/Week%201.ipynb

Regards,
Salim 

Thank you for your submission @former_member122105 .

Have you had problems setting up a user credential store that would eliminate the need using user+password in the code?

Regards,
-Vitaliy

Hi Vitaliy

I made some revisions to the file that I shared with you earlier. After reviewing it again, I realized that I had forgotten to include some important steps in the process. I have now updated the file and Please take a moment to review the updated file. https://github.com/salimnisar/SAP-community-developer-challenge-eda-hana/blob/main/updated%20-%20Wee...

Regards,
Salim Nisar

Vitaliy-R
Developer Advocate
Developer Advocate
0 Kudos

Thanks to all for joining Week 1 so far! I would like to remind you that the Week 2 challenge has been available since yesterday: please see "The Timeline" in https://blogs.sap.com/2023/03/08/sap-community-developer-challenge-eda-with-sap-hana-and-python/

Plus, I would really appreciate your feedback about challenges added as comments to that blog post: what you liked, what you think can be improved, what you were missing to get started successfully, if challenges starting from the Week 2 were too easy or too hard. 

Thank you!

sainithesh21
Active Participant

obinym
Explorer

Hi Vit,

find my fantastic improvement of the notebook here - only took me two days to set up a DB connection because I was struggling on my Ubuntu 18.04 stuck with python 3.6.9 - upgraded to 20.x and python 3.8.x and "shapely" is still missing on requirements somewhere - manually pip installed. Now ready to go and to learn the fantastic improvement of having HDB as a pandas backend 😉

https://github.com/obinym/sap-community-developer-challenge-eda-hana/blob/main/notebooks/challenges/...

 Happy Learning everyone,

Oskar

Vitaliy-R
Developer Advocate
Developer Advocate

Hi Osk. Thanks for joining!

I know setup took quite a few steps, if someone does it for the first time.

Yeah, Python 3.6 is like 5 years old now. 
“shapely” is listed in https://help.sap.com/doc/cd94b08fe2e041c2ba778374572ddba9/2022_4_QRC/en-US/Installation.html, but is not required this time, as we are not going to use geospatial data in this challenge. 
I did include it into step 2 of https://github.com/SAP-samples/sap-community-developer-challenge-eda-hana/blob/main/setup/miniconda.... just to avoid that red message.

Thanks for your effort and looking 👀 forward to week 2 submission. 
-Vitaliy

richa_dwivedi
Explorer
0 Kudos

Thank you for joining @richa_dwivedi ! But there is one last cell missing in your notebook

print(myconn.sql("SELECT NOW() FROM DUMMY").collect().CURRENT_TIMESTAMP[0])

comparing to the https://github.com/SAP-samples/sap-community-developer-challenge-eda-hana/blob/main/notebooks/challe... 

Could you check your notebook, update and resubmit it?

Thank you!

Hi @Vitaliy-R ,

Thanks for informing, I've updated the changes in the  provided week1.ipynb  submission.

Thanks & Regards,

Richa 

moh_ali_square
Explorer

Hi, 

Thanks for the opportunity to learn about HANA machine learning

 

please find link below for my week1 file :

https://github.com/m-hefnawy/sap-community-developer-challenge-eda-hana/blob/main/notebooks/challeng...

Akash-B-R
Product and Topic Expert
Product and Topic Expert

Hello,

I can't believe I almost missed this.

Hope I am not too late.

My submission for week 1: EDA HANA Week 1 Akash-B-R .

Wonderful new topic. The setup was the biggest hurdle. The exercises were enjoyable.

The details are much appreciated.

Thank you.

Vitaliy-R
Developer Advocate
Developer Advocate
0 Kudos

Thank you. And thank you for joining @Akash-B-R!