Questions tagged [coursera-api]

For questions about the Coursera App Platform, accessed programmatically.

Use this tag if you have questions about programming against the Coursera App Platform.

Do not use this tag for any problem you may have with homework for a Coursera course. Just use language and technology specific tags, there is no need to tag your question with the site you are using to learn.

74 questions
0
votes
0 answers

I am trying to solve this problem for 3 days from a coursera course, but I am nowhere close to an answer

Some data related to the question: RangeIndex: 38223 entries, 0 to 38222 Data columns (total 16 columns): # Column Non-Null Count Dtype --- ------ -------------- ----- 0 …
0
votes
1 answer

How can I use the deeplearning-mplstyle plt style? The use of lab of machine learning

I'm going to try machine learing lab which is conducted by Prof.Andrew Ng in my pycharm. but if I run one of it and found that it just run as follows: import math,copy import numpy as np import matplotlib.pyplot as…
bf k
  • 1
0
votes
2 answers

django.db.utils.IntegrityError not solving this part

I need a help regarding django.db.utils.IntegrityError: I read similar questions on stackoverflow before posting a new question, but I could not find the right solution. Basically, I am following a course, let's say copy-pasting the code in…
0
votes
0 answers

How do I turn Coursera's accessibility mode off?

When I visited the coursera website, I accidentally switch to this in the picture. How do I exit this "accessibility mode"? I've tried clear cookies and delete localstorage, but it still doesn't work.
bienfantaisie
  • 126
  • 1
  • 2
0
votes
0 answers

Ellipses on BIGQUERY Result Panel

I need to expand column and get rid of the ellipses (....) on the results panel of BIGQUERY SQL to show complete values I have tried to hover the cursor on the results like in excel but it would not change the cursor so I can drag or adjust
Theleague
  • 1
  • 1
0
votes
1 answer

How to understand the flaw in my simple three part python code?

My Python exercise in 'classes' is as follows: You have been recruited by your friend, a linguistics enthusiast, to create a utility tool that can perform analysis on a given piece of text. Complete the class "analyzedText" with the following…
0
votes
0 answers

How to convert from CMYK to RGB java

Im trying to make a java script to convert from cmyk to rgb, but im having problems with re results, I found the formula online but I dont know whats wrong with my script. The problem is that the outpur is wrong, e.g. Magenta should come out as…
Dindy Ba
  • 11
  • 4
0
votes
0 answers

The odd_numbers function returns a list of odd numbers between 1 and n, inclusively. Fill in the blanks in the function, using… Google Coursera

The odd_numbers function returns a list of odd numbers between 1 and n, inclusively. Fill in the blanks in the function, using list comprehension. Hint: remember that list and range counters start at 0 and end at the limit minus 1. def…
0
votes
1 answer

Unable to Commit to git/ Fatal: Exiting because of an unresolved conflict

I was trying to commit on git, but it showed an error message as screenshot displayed below "error: Committing is not possible because you have unmerged files." Error shown after git commit So I checked the git status, where as it responds as…
0
votes
3 answers

Getting Error "HWCSEC6010E: Error in checking permitted service actions. " while connecting IBM Cloud DB2

I am getting Error while connecting to IBM DB2 on cloud, When I click on "Go to UI": Getting following error: HWCSEC6010E: Error in checking permitted service actions Following is the Logs:
Ankita
  • 11
0
votes
1 answer

How to download file for Python from the Internet for the Python for Everyone class?

I am currently learning from the Python for Everyone class taught by Dr. Charles Severance on Coursera. https://www.py4e.com/code3/mbox.txt For chapter 7, the unit on files, I do not understand how I'm supposed to download this file. Furthermore,…
David KT
  • 11
  • 6
0
votes
1 answer

How do I import data and packages from REST APIs

I'm currently trying to learn Python through coursera and I'm trying to run the code but I'm running into an error when I try to install nba_api. Below I have pasted my code !pip install nba_api # I get an 'invalid syntax error' here ^^ import…
Fred Ditzian
  • 11
  • 1
  • 1
  • 3
0
votes
1 answer

Python 3: time.perf_counter() output does not match the programme processing time on Coursera

I have been working on a Coursera assignment, it required my run time to be less than 5.00 . The code is below, but my question is basically about the first and last line, where I was testing the processing time import time def…
cliff_leaf
  • 118
  • 10
0
votes
1 answer

Extend list in a specific index

Given a list of filenames, we want to rename all the files with extension hpp to the extension h. To do this, we would like to generate a new list called newfilenames, consisting of the new filenames. Fill in the blanks in the code using any of the…
0
votes
0 answers

How to reference columns that are within data frames inside of a list?

I'm new to R and am working on a code that is able to provide a list of hospitals at specific ranks from every state based on a specific condition (the last assignment from the Johns Hopkins R Programming class on Coursera). I'm auditing the class…