#๐ Assignemnt
42 messages ยท Page 1 of 1 (latest)
@wanton furnace
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
What do tou struggle with ?
What did you try ?
population.with_columns("time", np.arange(1970,2021)), "population_total", population_total
Why do you think it does not work ?
Okay, so what do you think you are doing with this line ?
You need to use .show() to print it on screen
And you need to assign this table to a variable named b_pop, as per the assignement
I understood but specifically, why did you use this method, with these arguments ?
Im sorry if this sound dumb but isnt it what it asking for
What do you think with_columns does ?
Creating a tbl with name colums and their values
I'll let you find some documentation to understand what this method do
I python reference sheet the prof print out
What you need is to filter on date and geo, and select two columns from the 3
And does it says that using with_column with a string and a range can be used to filter a table on the value of the column ?
Idk what library you are using, but I would tell you to look for this library's documentation on how to select a column and filter
wait I just used .drop
Are you using pandas ?
no python
python alone do not open tables, you need a library for that
The thing you import at the beginning of the file
Or the software you are using to code idk
Im working on jupyter the prof had already set everything up just need to plug a code in
Okay so look at the first lines when you see imports
Yeah there is something else too
?
This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.