Welcome, Guest: Join Nairaland / LOGIN! / Trending / Recent / New
Stats: 2,638,319 members, 6,172,411 topics. Date: Saturday, 27 February 2021 at 07:42 PM

Chronicle Of A Data Scientist/analyst - Programming (87) - Nairaland

Nairaland Forum / Science/Technology / Programming / Chronicle Of A Data Scientist/analyst (111724 Views)

Looking For A Data Scientist To Help Me With These Questions / Data Scientist Only / Aspiring Data Scientist. (2) (3) (4)

(1) (2) (3) ... (84) (85) (86) (87) (Reply) (Go Down)

Re: Chronicle Of A Data Scientist/analyst by Marveaux(m): 1:02am On Feb 13
Mrves111:


Thank you very much bro so I should now used
is.path.cv2.imread()?
I'm not really sure what you mean,but anyways ,you can also try putting that particular part of the code in a try except block in case you have faulty images in your directory.
Re: Chronicle Of A Data Scientist/analyst by Kennyking1234: 12:03am On Feb 14
Marveaux:

I'm not really sure what you mean,but anyways ,you can also try putting that particular part of the code in a try except block in case you have faulty images in your directory.
kennyking1234:
Python Bootcamp 2020 Build 15 working Applications and Games [BEST SELLER]

FREE For 12 Hrs

Learn complete python with basics, data science, data visualisation, desktop graphical applications and python for web.

https://coursevania.com/courses/python-bootcamp-2020-build-15-working-applications-and-games/ class.
Re: Chronicle Of A Data Scientist/analyst by mbhs139(m): 11:18pm On Feb 15
mbhs139:
Life of a data analyst in the abroad

Protect yourself. Take care of your health as a data analyst, because you sit for too long.

Get a sit-stand table/desk

When you sit a little, you stand a little. It's an automatic adjustable height table. You can adjust it to heights of your choice.

Ask your HR to get you one.

1 Like

Re: Chronicle Of A Data Scientist/analyst by Sirwallace(m): 11:28am On Feb 17
herein is a project on Top Popular 5000 Movies scraped from http://IMDB.com Between 2016 and 2020, 1000 movies for each year. I used Python Beautiful Soup, pandas and Power BI for visualization. Here is the link to the GithubRepo: https://github.com/Olawale-Ajayi/Web-Scraped-IMDB-Movies-Analysis/blob/main/IDMB_Movies.ipynb


And Here is the catch, if you needed to do similar analysis for any year, there is a function in the code you just input that get you dataframe straight away. function takes these parameters: Year range (in string) No of Movies Base_url in the code Agent-Users(also found in the)

5 Likes

Re: Chronicle Of A Data Scientist/analyst by Elouise: 10:40pm On Feb 17
Hello guys,
I'd like to know if a first degree is necessarily a rate limiting step in getting Data Analyst/Science roles in nigeria?
If it is, are there ways to bypass this, say certifications?
If this can work, please can you recommend any. I'll really appreciate a reply, thank you very much.
Re: Chronicle Of A Data Scientist/analyst by elvisgaga: 8:41am On Feb 19
Hello guys, I want to start sql but I would prefer to learn offline (ie getting data from my local pc). I don't know how to get about it. Have searched Google , I keep getting more confused. Please I need help.
Re: Chronicle Of A Data Scientist/analyst by elvisgaga: 12:35am On Feb 22
elvisgaga:
Hello guys, I want to start sql but I would prefer to learn offline (ie getting data from my local pc). I don't know how to get about it. Have searched Google , I keep getting more confused. Please I need help.
Re: Chronicle Of A Data Scientist/analyst by ibromodzi: 6:45am On Feb 22
Mrves111:
I want to perform multiple image processing using opencv in jupyter notebook. I tried to upload the datasets (images) that's stored in my desktop using this code:

import os
import numpy as np
import cv2

img = cv2.imread('/User/victor/Desktop/data/mask/facemask.jpg', 0)
img



import os
import numpy as np
import cv2

resize_width = 100
resize_height = 100
path = '/User/victor/Desktop/data/mask/facemask
images = [] # List to append the images as 2D numpy arrays.
target = [] # List to append the target
originalrepo = [] # Create a repo for flattened pixels

for root, dirs, files in os.walk(path):
for file in files:
with open(os.path.join(root, file), "r"wink as auto:
img = cv2.imread(root+'/'+file, 0)
img = cv2.resize(img, (resize_width, resize_height))
images.append(img)
# Append the flattened image to the pixel repo
originalrepo.append(img.flatten())
# Append the folder where the image is to the target list
target.append(root.replace(path,'').replace('/',''))
# Convert the repo list into numpy array
originalrepo = np.array(originalrepo)
print(originalrepo)
print(target)

I got this error :"opencv(4.5.1)/private/var/folders/nz/vv4_9tw56nv9kvyaszvwg80000gn/T/pip-req-build-39p1qqfs/opencv/modules/imgproc/src/resize.cpp:4051: error: (-215:Assertion failed) !seize. Empty() in function 'resize'

Please I'm appealing for assistance, if there's another simpler code I could use or if I made any error.
Note that I opened the jupyter notebook in the same folder that the dataset are located.

Please always use the code formatting tool to make your codes easier to read. That being said, I'm not really sure what you are trying to do but I believe you could use the Pillow library to do the same.
Re: Chronicle Of A Data Scientist/analyst by Mrves111: 11:42am On Feb 22
ibromodzi:


Please always use the code formatting tool to make your codes easier to read. That being said, I'm not really sure what you are trying to do but I believe you could use the Pillow library to do the same.

I'm really sorry for presenting the code this way, I will be using the code formatting tool in future. I got that error because there was some DS store files stored in the images folder. I delete them and then run the code again. It works perfectly fine. Thank you Marveaux, Ibromodzi, Drybones and everyone, I appreciate your unalloyed supports

2 Likes

Re: Chronicle Of A Data Scientist/analyst by elvisgaga: 5:34pm On Feb 22
[quote author=elvisgaga post=99300007][/quote]
Re: Chronicle Of A Data Scientist/analyst by Felixitie(m): 6:01pm On Feb 22
elvisgaga:
Hello guys, I want to start sql but I would prefer to learn offline (ie getting data from my local pc). I don't know how to get about it. Have searched Google , I keep getting more confused. Please I need help.

In what sense? What type of data are u talking about?. Do you mean offline videos, books or what?.
Re: Chronicle Of A Data Scientist/analyst by elvisgaga: 6:27pm On Feb 22
Felixitie:


In what sense? What type of data are u talking about?. Do you mean offline videos, books or what?.
am sorry if my explanation is not clear enough, the thing is the online tutorial requires me to input the sql code direct in thier platform online but I would like to run the code offline but I don't know if am to use notepad, I researched it, I was seeing setting up local server but I still want the gurus here to break it down for me. Thanks
Re: Chronicle Of A Data Scientist/analyst by Marveaux(m): 6:37pm On Feb 22
elvisgaga:
am sorry if my explanation is not clear enough, the thing is the online tutorial requires me to input the sql code direct in thier platform online but I would like to run the code offline but I don't know if am to use notepad, I researched it, I was seeing setting up local server but I still want the gurus here to break it down for me. Thanks
Download and install sql server 2017 ( developer edition) and sql server management studio (SSMS).Find a YouTube tutorial to help you understand how to use it. Good luck
Re: Chronicle Of A Data Scientist/analyst by cutiedave(m): 5:46pm On Feb 23
Hi guys...

Is there any TABLEAU guru here...

There is a project I'm about to get on data analysis and dashboard creation with tableau...

I would work on the analysis and cleaning of data...

I just need a tableau expert for dashboard creation...

If you are an expert with tableau, do well to send me a PM...

The project kicks off in one week...

We would discuss payment as we go on

Thanks
Re: Chronicle Of A Data Scientist/analyst by hakeemhakeem(m): 4:37am On Feb 25
I would like to appreciate all contributors of this thread especially the op reason is this post revamped my 20 years dream of programming left incomplete, it better late than never. this is my 3rd months on SQL but am having some challenge on my script I tried using 2 fk on this table below. pls problem shared is a problem halved
created table supplier (
supplier_id number (7)not null,
supplier_name varchar2(20)not null,
country varchar2(20),
phone number (30)not null,
dates date,
orders_id number (7)not null,
qty number (7)not null,
amounts number (10,2),
shipping_id number (7)not null,
shipping_name varchar2(30),
constraint supplier_pk primary key(supplier_id),
constraint orders_pk foreign key(orders_id),
constraint shipping_pk foreign key (shipping_id),
reference orders(orders_id),
reference shipping(shipping_id));
error report missing keyword
pls urgent attention
Re: Chronicle Of A Data Scientist/analyst by Marveaux(m): 8:04pm On Feb 25
hakeemhakeem:
I would like to appreciate all contributors of this thread especially the op reason is this post revamped my 20 years dream of programming left incomplete, it better late than never. this is my 3rd months on SQL but am having some challenge on my script I tried using 2 fk on this table below. pls problem shared is a problem halved
created table supplier (
supplier_id number (7)not null,
supplier_name varchar2(20)not null,
country varchar2(20),
phone number (30)not null,
dates date,
orders_id number (7)not null,
qty number (7)not null,
amounts number (10,2),
shipping_id number (7)not null,
shipping_name varchar2(30),
constraint supplier_pk primary key(supplier_id),
constraint orders_pk foreign key(orders_id),
constraint shipping_pk foreign key (shipping_id),
reference orders(orders_id),
reference shipping(shipping_id));
error report missing keyword
pls urgent attention
Shouldn't that be "references" not "reference"?
Re: Chronicle Of A Data Scientist/analyst by hakeemhakeem(m): 6:40am On Feb 26
Marveaux:
Shouldn't that be "references" not "reference"?
thank it typography here but on the PC I wrote references
Re: Chronicle Of A Data Scientist/analyst by hakeemhakeem(m): 6:41am On Feb 26
Marveaux:
Shouldn't that be "references" not "reference"?
thank it typography here but on the PC I wrote' references'
Re: Chronicle Of A Data Scientist/analyst by hakeemhakeem(m): 7:17am On Feb 26
this is the work on pc

Re: Chronicle Of A Data Scientist/analyst by Marveaux(m): 6:15pm On Feb 26
hakeemhakeem:
this is the work on pc
It's unclear, you're missing a keyword according to the error, although I can't tell which one. Can you take a better picture?
Re: Chronicle Of A Data Scientist/analyst by hakeemhakeem(m): 6:29pm On Feb 26
Marveaux:

It's unclear, you're missing a keyword according to the error, although I can't tell which one. Can you take a better picture?

alright I would try get clear pix
Re: Chronicle Of A Data Scientist/analyst by Tesvin: 9:47am
Sirwallace:


you never know when excel will come handy on the job.

very powerful if you can get the advanced concept for analytics.

DAX, power query, power pivot, pivot table and cool visualization will do fine.

Pls which version of the Microsoft Office has this features or is it only on office 365
Re: Chronicle Of A Data Scientist/analyst by Felixitie(m): 10:10am
Tesvin:


Pls which version of the Microsoft Office has this features or is it only on office 365

They are all in the excel 2016, you can download the excel power query add-in if you use lower version.
Re: Chronicle Of A Data Scientist/analyst by Sirwallace(m): 11:01am
Tesvin:


Pls which version of the Microsoft Office has this features or is it only on office 365
Office 2016 and above will to fine
Re: Chronicle Of A Data Scientist/analyst by Tesvin: 11:09am
Felixitie:


They are all in the excel 2016, you can download the excel power query add-in if you use lower version.
Thanks, will get office 2016 or a higher version
Re: Chronicle Of A Data Scientist/analyst by Tesvin: 11:10am
Sirwallace:

Office 2016 and above will to fine
Thanks, will probably get office 2016 or a higher version

(1) (2) (3) ... (84) (85) (86) (87) (Reply)

Freely Download Music, Videos, And Games All In One Place / I Want To Learn Programming. Which Language Should I Start With?

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2021 Oluwaseun Osewa. All rights reserved. See How To Advertise. 93
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.