Why does `Integral(a, b)` w.r.t. `IndexedBase(c)[d]` give `Integral(0, b)` and not just `0`?

351
January 25, 2017, at 00:07 AM

When I integrate sympy.Integral(a, b) with regard to c[d], i.e. with regard to IndexedBase(c)[d], I get Integral(0, b) which is clearly just 0, as .doit() will show. Why is it shown as Integral(0, b) rather than 0?

In [416]: (sympy.Integral(a, b)).diff(sympy.IndexedBase(c)[d])
Out[416]: 
⌠     
⎮ 0 db
⌡     
Rent Charter Buses Company
READ ALSO
Error with Python Code on Zapier

Error with Python Code on Zapier

I wrote this simple script to do availability tests using the Shadowrun 5E rules based on data from a google form using ZapierHowever, Zapier returns an error when I run this cool

528
Python: Using selenium to download Tableau Server View

Python: Using selenium to download Tableau Server View

I am trying to use selenium webdriver to interact with Tableau ServerI want to download a

683
Python Outlook Sent Folder

Python Outlook Sent Folder

I created an automated email sender in Python for OutlookIt works fine, but I was wondering if it is possible to save the emails it sends in the sent folder

587
Python - Creating dictionary with arrays from file

Python - Creating dictionary with arrays from file

I would like to create a dictionary from a text file

469