by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Dr .Muhammad Anjum Iqbal
    @DrMuhammadAnju1_twitter
    @rsvp Sir, I have 2 years data on daily basis for 12 months , I want to convert it in to monthly averages for each moth , Please help me . I am using jupyter . I am new user , Please help me
    @mtesseracted Sir, I have 2 years data on daily basis temparature for 12 months , I want to convert it in to monthly averages for each moth , Please help me . I am using jupyter . I am new user , Please help me
    Dr .Muhammad Anjum Iqbal
    @DrMuhammadAnju1_twitter
    @rsvp Sir, I have 2 years data on daily basis for 12 months , I want to convert it in to monthly averages for each moth , Please help me . I am new user , Please help me to write the code
    @pleabargain Sir, I have 2 years data on daily basis for 12 months , I want to convert it in to monthly averages for each moth , Please help me . I am new user , Please help me to write the code
    Dr .Muhammad Anjum Iqbal
    @DrMuhammadAnju1_twitter
    Actually my data is like this .... let me explain about my data . I have daily data about Maximum Temperature for a location from 1980-2010. e.g . Janurar 1980 , 1, 2, 3....31 days , Feb 1980, 1, 2, 3,... 28 days, March 1980, 1, 2, 3, .... 31days , April 1980, 1, 2, 3, 31 days , May 1980 , 1, 2, 3, 31 days , june 1980, 1, 2, 3...30days, july 1980, 1, 2, 3, 30 days , Aug 1980, 1, 2, 3, 31 days , Sep 1980, 1, 2, 3...30days, Oct 1980, 1, 2, 3, ....31 days, Nov 1980, 1, 2, 3, ...30 days, Dec 1980 , 1, 2, 3, ...31 days. similarly for year Janurar 1981 , 1, 2, 3....31 days , Feb 1981, 1, 2, 3,... 28 days, March 1981, 1, 2, 3, .... 31days , April 1981, 1, 2, 3, 31 days , May 1981 , 1, 2, 3, 31 days , june 1981, 1, 2, 3...30days, july 1981, 1, 2, 3, 30 days , Aug 1981, 1, 2, 3, 31 days , Sep 1981, 1, 2, 3...30days, Oct 1981, 1, 2, 3, ....31 days, Nov 1981, 1, 2, 3, ...30 days, Dec 1981 , 1, 2, 3, ...31 days. So I want average All january from 1980-2010, Average All Feb 1980-2010, Average All march 1980-2010, Average All May 1980-2010, Average All June 1980-2010, Average of All July 1980--2010, Average of All Aug 1980-2010, Average of All Sept 1980-2010, Average of All Oct 1980-2010, Average of All Nov 1980-2010, Average of All Dec 1980-2010. Because all this data is already on daily basis from 1980-2010 for each month . I hope now you have cleared.
    @KoulickS Actually my data is like this .... let me explain about my data . I have daily data about Maximum Temperature for a location from 1980-2010. e.g . Janurar 1980 , 1, 2, 3....31 days , Feb 1980, 1, 2, 3,... 28 days, March 1980, 1, 2, 3, .... 31days , April 1980, 1, 2, 3, 31 days , May 1980 , 1, 2, 3, 31 days , june 1980, 1, 2, 3...30days, july 1980, 1, 2, 3, 30 days , Aug 1980, 1, 2, 3, 31 days , Sep 1980, 1, 2, 3...30days, Oct 1980, 1, 2, 3, ....31 days, Nov 1980, 1, 2, 3, ...30 days, Dec 1980 , 1, 2, 3, ...31 days. similarly for year Janurar 1981 , 1, 2, 3....31 days , Feb 1981, 1, 2, 3,... 28 days, March 1981, 1, 2, 3, .... 31days , April 1981, 1, 2, 3, 31 days , May 1981 , 1, 2, 3, 31 days , june 1981, 1, 2, 3...30days, july 1981, 1, 2, 3, 30 days , Aug 1981, 1, 2, 3, 31 days , Sep 1981, 1, 2, 3...30days, Oct 1981, 1, 2, 3, ....31 days, Nov 1981, 1, 2, 3, ...30 days, Dec 1981 , 1, 2, 3, ...31 days. So I want average All january from 1980-2010, Average All Feb 1980-2010, Average All march 1980-2010, Average All May 1980-2010, Average All June 1980-2010, Average of All July 1980--2010, Average of All Aug 1980-2010, Average of All Sept 1980-2010, Average of All Oct 1980-2010, Average of All Nov 1980-2010, Average of All Dec 1980-2010. Because all this data is already on daily basis from 1980-2010 for each month . I hope now you have cleared.
    mtesseracted
    @mtesseracted
    @DrMuhammadAnju1_twitter if you only have the max temperatures, then you can only get the average max, which is what I assume you're asking. Can you send a link to the data? The answer depends on how the data is being stored.
    @DrMuhammadAnju1_twitter if you've read all the data for one month into a numpy array, you can simply do arrayName.mean()
    Dr .Muhammad Anjum Iqbal
    @DrMuhammadAnju1_twitter
    @mtesseracted sure
    Albert Camin
    @albertcamin
    Hello! I'm new in Python. I have done some courses, but I feel I still know nothing. Could someone advice me some object oriented Python course?
    Dr .Muhammad Anjum Iqbal
    @DrMuhammadAnju1_twitter
    @albertcamin me is also like you
    Dr .Muhammad Anjum Iqbal
    @DrMuhammadAnju1_twitter
    @vanvictorlim hi sir, need some help plz
    @pleabargain hi sir, need some help plz
    @mtesseracted hi sir, need some help plz
    @shuvrobiswas hi sir, i need some help plz
    @vanvictorlim hi sir, I need some help plz
    Dr .Muhammad Anjum Iqbal
    @DrMuhammadAnju1_twitter
    @basnijholt sir, are you there ? plz i need some help plz
    Dr .Muhammad Anjum Iqbal
    @DrMuhammadAnju1_twitter
    Please is there any one who can help me happily
    @albertcamin hi plz are you there , can help me plz?
    Dr .Muhammad Anjum Iqbal
    @DrMuhammadAnju1_twitter
    I am just new user
    for python, following is a crop simulation model and is written in python
    https://pcse.readthedocs.io/en/stable/
    https://pcse.readthedocs.io/en/develop/pcse_intro.html
    https://pcse.readthedocs.io/en/master/quickstart.html
    Sir, I want to know from where it should be started to understand and how I can rum in my note book
    how I can start please help me in this matter
    Dr .Muhammad Anjum Iqbal
    @DrMuhammadAnju1_twitter
    in my p.c already Python 3.5.2 and I want to update it new one which is python 3.7 version . how I can update it ?
    Florian Magin
    @fmagin
    I am currently trying to write a plugin for Binary Ninja to embed an IPython Kernel into the process environment of the application (to access the APIs and current state that are otherwise just available via a pretty bad custom interpreter they provide).
    It works for Python 2, but for Python 3 the kernel only seems to start, indicated by the the kernel-*.json file being dropped in /run/user/1000/jupyter and then not responding to the console trying to connect
    Florian Magin
    @fmagin
    The issue might be related to jupyter/jupyter_console#163 , at least the traceback I get when trying to connect is fairly similiar
    My question is: What can I do to debug this? Starting the kernel messes with stdout/stderr of the application and breaks the internal console so I might not be getting all error messages
    Dr .Muhammad Anjum Iqbal
    @DrMuhammadAnju1_twitter
    Hi colleagues , when I opened my jupyter file I got the meassage of "500 : Internal Server Error" but before this files were working , why this error message ?
    Todd A. Anderson
    @DrTodd13
    I have started an mpi ipcluster. then in ipython I do cluster=ipyparallel.Client(profile='mpi'). Then I do dview = cluster[:]. On that line I get the error NoEnginesRegistered: Can't build targets without any engines.
    Adam Ginsburg
    @keflavich

    I'm trying to start an ipython notebook on a server, and as soon as I open an actual notebook, the server freezes. With --debug enabled, the last thing I see is:

    [D 12:24:05.661 NotebookApp] Starting kernel: ['/lustre/naasc/users/aginsbur/anaconda/bin/python', '-m', 'ipykernel_launcher', '-f', '/users/aginsbur/.local/share/jupyter/runtime/kernel-16ac5137-2e89-4c1b-b31f-6327bcbd5967.json']
    [D 12:24:05.665 NotebookApp] Connecting to: tcp://127.0.0.1:56419

    after which the server is totally frozen and doesn't respond to anything, including ctrl-c; I have to kill -9 to end the process

    Can anyone suggest what might be going wrong, or how to figure it out? Regular ipython sessions work fine, loading other files (txt, png, etc) from the notebook server work, but not starting a notebook kernel.
    Dr .Muhammad Anjum Iqbal
    @DrMuhammadAnju1_twitter
    Hi i DO NOT KNOW , it is proper platform about my problem ! but if any body knows . please let me know . my question is "to get R in python for window "
    Dr .Muhammad Anjum Iqbal
    @DrMuhammadAnju1_twitter
    Hi Dears

    @DrMuhammadAnju1_twitter
    Sir, this website is not working ? why?

    https://www.learnpython.org/en/Basic_String_Operations

    runaway-xfce
    @runaway-xfce
    @runaway-xfce
    Hi, I'm trying to run this program:
    song = input("Tell me your favorite song: ")
    print(song)
    print(song)
    print(song)
    But everytime I run the program and write a name for the input shows up that the "name i wrote" is not definied
    Someones can help me please?
    Min RK
    @minrk
    @runaway-xfce input is the right line in Python 3, but if you are using Python 2, you want raw_input. input evaluates the text you input, so e.g. 5 becomes the number 5 instead of the text '5'
    Max
    @mbs77
    Hello, I am trying to get JupyterLab running on Ubuntu, but I am getting IPython errors with "NameError Traceback (most recent call last)"
    "NameError: name 'XXXXX' is not defined" no matter what I do, the code works perfectly in R
    Alex Gaudio
    @adgaudio
    Hello. I'm new to this channel and hoping someone can help with this question: I use IPython with "vi" mode. How can I add a configuration to enable "C-a" to move to beginning of line while in insert mode? I have this setting in my inputrc, but IPython does not read the inputrc file anymore. Thank you!
    sitalk
    @sitalk
    Hello everyone.
    Does anybody know if there is a way to get the cell tag (from the cell metadata) by using IPython ?
    Thanks in advance
    Jeff Zhang
    @zjffdu
    Hi everyone, where can I find the display protocol of jupyter notebook. especially on how jupyter update the cell output in streaming scenario. Thanks
    Min RK
    @minrk
    @zjffdu that's defined in the jupyter messaging protocol
    tbitowt
    @tbitowt
    Hello, I have a question regarding Pycharm integration. Are you able to get IPython completion in PyCharm IDE?
    I mean, I wrote my own completer by @complete_object, and it's not completing (even in PyCharm console)
    shaik sumiya
    @shaiksumiya_gitlab
    i have installed anaconda3.7.6 version but i am unable to access jupyter notebook. its showing permission to port denied. can u please help me
    Sidafa Conde
    @sconde
    @shaiksumiya_gitlab post the error
    Carlos del Cacho Vicente
    @delcacho
    hello, one quick question. How can I run some R lines at startup in IRKernel to customize the kernel for my users? In the Python kernel, I can pass a --config parameter with my extra options, but this does not seem to be available for R.
    Pinkmei
    @Pinkmei
    Dear Jupyter Experts, I installed statsmodels using pip with satisfaction in python. I have been trying to install statsmodels in Jupyter Notebook to run, however got ModuleNotFoundError. Can anyone help please? thank you.

    ModuleNotFoundError Traceback (most recent call last)

    <ipython-input-1-085740203b77> in <module>
    ----> 1 import statsmodels.api as sm
    ModuleNotFoundError: No module named 'statsmodels'

    I was puzzled that why statsmodels worked smoothly in python, why can't be found in Jupyter Notebook? Is there any step that I might be missing. Thank you in advance.
    JonB
    @JonB451
    Hi. Does anyone know please how to show which kernel iPython is connected to at the moment?